Skip to main content
Once the movement you authorized has finished, call EndMovementException to remove the exception immediately rather than waiting for its timer to expire. This page also covers ClearMovementExceptions, which removes every active exception for a player at once, and IsMovementExempt, which lets you query whether a player currently holds an exception.

EndMovementException

End a single active movement exception identified by its token.

Signature

Alias: Trace.RevokeMovementException(player, token)

Parameters

Player
required
The Player instance whose exception you want to remove.
string
required
The token returned by BeginMovementException when the exception was created.

Returns

boolean
true if the exception was found and successfully removed. false if no matching exception existed for that player and token (for example, if it had already expired or been cleared).

Example


ClearMovementExceptions

Remove all active movement exceptions for a player - both timed and manual - in a single call.

Signature

Parameters

Player
required
The Player instance whose exceptions should all be removed.

Returns

boolean
true on success.

Example


IsMovementExempt

Check whether a player currently holds an active movement exception, optionally filtering by a specific check name.

Signature

Parameters

Player
required
The Player instance to query.
string?
The name of a specific anticheat check to query. Valid values are "Teleport", "Velocity", "Fling", "Fly", and "Noclip". If omitted, the function returns true if the player holds an exception for any check.

Returns

boolean
true if the player currently has a matching active exception, false otherwise.

Example