TeleportToSpawnByName (Method)

From Legacy Roblox Wiki
Revision as of 12:35, 22 July 2011 by >Sncplay42 (Add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
TeleportToSpawnByName( )
Returns nil
Description: Teleports someone like Teleport, but has a second argument allowing someone to teleport to a certain spawn.
Member of: TeleportService


Example
game:GetService("TeleportService"):TeleportImpl("1818", "SomeSpawnName") --> Will teleport a player to crossroads, and if there was a spawn named "SomeSpawnName" then you would spawn there.