#
Intelli-Sense EAS API
By
Get shoplifter data, or post your own.
This is a technical page, and assumes familiarity with Roblox Studio's Explorer, alongside with Roblox's scripting language, Luau.
JSM EAS exposes a simple API for you to interact with, or get the data it's sending. The EAS has a single Node BindableEvent.
#
Syntax
#
Receiving
workspace["JSM | Intelli-Sense EAS"].Node.Event:Connect(function(eventType: string, source: string, zone: number, player: Player): ()
print(player.Name, "triggered a", source, "in zone", tostring(zone));
end);
EAS supports scripts that listen to events, and will fire them everytime it's triggered.
What do these mean?
- eventType: (
string) This will always be "ALARM". - source: (
string) Source location, will always be "Sensor" if coming from JSM EAS. - zone: (
number) Zone number as set in the Sensor. - player: (
Player) Player who triggered the event (shoplifting.)
#
Sending
workspace["JSM | Intelli-Sense EAS"].Node.Event:Fire(eventType, source, zone, player);
Alternatively, EAS also supports listening to events, allowing you to use external scripts to trigger it manually.
What do these mean?
- eventType: (
string) This will always be "ALARM". - source: (
string) Source location, set to anything you like. - zone: (
number) Zone number to trigger. - player: (
Player) Player to set as the triggering person.
Something's unclear? Visit our FAQ Page for help, or contact Whitehill Support via our Discord server for further assistance.