API
wait before use this
Wait, before using this part of the documentation you must understand how the LUA works (on Roblox LUAU) otherwise you will not be able to use the API.
Welcome to the API part !
Here you can discover how the API of Ticket Machine work !
Shutdown API Command :
Shutdown API Command
local ParkingTicketMachineAPI = workspace["Palayogo Ticket Machine"].API
function Shutdown()
ParkingTicketMachineAPI:Fire("PowerOff") -- Fire the Ticket Machine API to start shutdown sequance.
end
Shutdown()
Startup API Command :
Startup API Command
local ParkingTicketMachineAPI = workspace["Palayogo Ticket Machine"].API
function PowerOn()
ParkingTicketMachineAPI:Fire("PowerOn") -- Fire the Ticket Machine API to start startup sequance.
end
PowerOn()