Clear teleport-queued code (sUNC clearqueueonteleport)
clear-queue-on-teleportClears any code queued by queueonteleport so nothing auto-runs on the next teleport. Use before teleporting to cancel pending execution.
Instructions
WRITES EXECUTOR STATE — clears any code previously queued with queueonteleport, via clearqueueonteleport(). After this, nothing will auto-run on the next teleport. Requires clearqueueonteleport. The call is type-guarded and pcall-wrapped: if clearqueueonteleport is missing you get { error = 'clearqueueonteleport is not available in this executor.' }. Returns { cleared } or { error }. Signature: { threadContext: number?, timeoutMs: number? }. Phase: act; cost=medium; idempotency=idempotent-write. Requires: active-client, explicit-mutation-approval. Produces: operation-receipt. Verify with: assert-state. Safety: MUTATING; writes live game/client state. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | Optional per-call deadline in milliseconds; omit it to use the tool or server default. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |