TeleportState¶
Supported Enum
Determines the current teleportation state of a player.
Description¶
Represents each stage of a player teleport as reported by the
Player.OnTeleport event. Scripts connect to Player.OnTeleport
to observe state changes throughout the teleport lifecycle and react
accordingly — for example, showing a loading screen when InProgress fires or
displaying an error when Failed fires.
Items¶
| Item | Value | Status | Notes |
|---|---|---|---|
RequestedFromServer |
0 | Supported | The server has requested that the client teleport. |
Started |
1 | Supported | The client has started attempting to teleport. |
WaitingForServer |
2 | Supported | The client is waiting for the server to respond to the teleport request. |
Failed |
3 | Supported | The teleport failed. |
InProgress |
4 | Supported | The teleport is currently in progress. The player usually disconnects and teleports to the destination after this. |
Roblox reference: TeleportState