Reference API Roblox

Engine API

Website

Related

Reference API Roblox

TeleportState

Determines the current teleportation state of a player.

Items 5

HistoryNameValueDescription
130RequestedFromServer0

The server has requested that the client teleport.

130Started1

The client has started attempting to teleport.

130WaitingForServer2

The client is waiting for the server to respond to the teleport request.

130Failed3

The teleport failed.

130InProgress4

The teleport is currently in progress. The player usually disconnects and teleports to the destination after this.

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.

History 6

Settings