menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
Teleportation Question
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Teleportation Question
ScaryHabits
Join Date: 2015-09-03
Post Count: 7000
#182690365
Saturday, January 30, 2016 7:37 PM GMT
So when in a game, it teleports someone, how do you make it so that in the script, it teleports people to random places like some people spawn on the bottom, some on the top, etc.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
MakerModelLua
Join Date: 2013-02-24
Post Count: 3544
#182691193
Saturday, January 30, 2016 7:49 PM GMT
If you want them to spawn in random spawns, you can make a table of spawn names, choose one randomly, and do this:
http://wiki.roblox.com/index.php?title=API:Class/TeleportService/TeleportToSpawnByName
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right