Yuari
Documentation
Docs/Miscellaneous/queueonteleport

queueonteleport

Queues source to run after the next teleport.

Syntax

queueonteleport(source: string) -> nil

Parameters

ParameterTypeDescription
sourcestringLuau source code to compile or execute.

Returns

TypeDescription
nilThis function does not return a value.

Description

queueonteleport is part of the Miscellaneous library. Miscellaneous helpers cover module identity, scheduler settings, teleport queueing and other process-level utilities.

The change is applied directly to the live target, so later reads observe the updated value.

The aliases queue_on_teleport(source), queueteleport(source) resolve to the same implementation.

Example

queueonteleport("print('teleported')")

Notes

  • Aliases: queue_on_teleport(source), queueteleport(source).
  • Some settings affect the module globally rather than the current script.