Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
TeleportState
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
| Name | Value | Description |
|---|---|---|
| RequestedFromServer | 0 | The server has requested that the client teleport. |
| Started | 1 | The client has started attempting to teleport. |
| WaitingForServer | 2 | The client is waiting for the server to respond to the teleport request. |
| Failed | 3 | The teleport failed. |
| InProgress | 4 | The teleport is currently in progress. The player usually disconnects and teleports to the destination after this. |
RequestedFromServer
The server has requested that the client teleport.
| Field | Value |
|---|---|
| value | 0 |
Started
The client has started attempting to teleport.
| Field | Value |
|---|---|
| value | 1 |
WaitingForServer
The client is waiting for the server to respond to the teleport request.
| Field | Value |
|---|---|
| value | 2 |
Failed
The teleport failed.
| Field | Value |
|---|---|
| value | 3 |
InProgress
The teleport is currently in progress. The player usually disconnects and teleports to the destination after this.
| Field | Value |
|---|---|
| value | 4 |