Teleport (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
Local: This item should be used with a LocalScript in order to work as expected in online mode.
Teleport( int placeId )
Returns nil
Description: Used in a LocalScript to teleport a player to the place with ID placeId.
Member of: TeleportService


Example

This code will teleport a player to Crossroads:

game:GetService('TeleportService'):Teleport(1818)


See Also