TeleportService jump and keeps running on the other side.
Also registered as queue_on_teleport, queueteleport.
Parameters
string
required
The Luau source to run after teleporting.
Example
Errors
Related
clearqueueonteleport: clear the queue.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Queue a script to run after a teleport.
queueonteleport(source: string) -> ()
TeleportService jump and keeps running on the other side.
Also registered as queue_on_teleport, queueteleport.
queueonteleport([[ loadstring(game:HttpGet("https://example.com/script.lua"))() ]])
| Message | Condition |
|---|---|
argument 1 must be a string of Luau source | Argument 1 was not a string. |
the script could not be written to the teleport queue | The queue entry could not be written. |
clearqueueonteleport: clear the queue.