Teleport (Method)

From Legacy Roblox Wiki
Revision as of 03:44, 23 July 2011 by >Emess (the argument is an integer, not a string.)
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
game:GetService("TeleportService"):Teleport(1818) --> Will supposedly teleport a player to crossroads.