clearqueueonteleport
Clears the teleport script queue.
Syntax
clearqueueonteleport() -> voidAliases
clearteleportqueueclear_teleport_queue
Returns
This function does not return a value.
Description
clearqueueonteleport removes any script that was queued to run after teleporting.
Example
-- Queue a script
queueonteleport("print('Hello after teleport')")
-- Change our mind
clearqueueonteleport()
-- Now nothing will run after teleportingRelated Functions
queueonteleport- Queue a teleport script