#
KONE Turnstiles API
Can you lock the turnstiles? After the alarm goes off? And easily? Yes, yes, and yes!
This is a technical page, and assumes familiarity with Roblox Studio's Explorer, alongside with Roblox's scripting language, Luau.
Located directly in the root folder after game startup, the API allows you to interface relatively easily with the turnstiles, making script automation possible, and you won't have to strictly rely on Access Cards.
#
Syntax
workspace["DWProx - KONE Turnstile 100 Single"].API:Fire(Event)
What do these mean?
Event: (string) Function for the turnstile to execute.
Turnstiles's function list is as follows:
"Normal": Normal mode of operation. Accepts card scans from both sides."Lock": Denies every card scan from both sides."Exit": Denies every card scan from the "entry" side, making the gate exit-only."Entry": Denies every card scan from the "exit" side, making the gate entry-only."Hold": The gate is constantly open, allowing for free entry/exit.
Note
Each turnstile has its own API. The 100 Single is used as an example model, but this syntax applies to all turnstiles.
Something's unclear? Visit our FAQ Page for help, or contact Whitehill Support via our Discord server for further assistance.