PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

GetLocalPlayerTeleportData

This function returns the teleport data the Players/LocalPlayer arrived with. It can only be called from the client.

Returns

Return Type Summary

The teleport data the Players/LocalPlayer arrived into the place with.


Code Samples


Getting LocalPlayer Teleport Data

When put into StarterPlayerScripts, this example runs when the player joins the game, and prints any teleport data provided by the player’s previous server.