of     1   

Packers
#228420479Monday, December 04, 2017 7:49 AM GMT

how to make script where it teleports all the players to a place id. im making my own admin script and i wanna learn how
Shiro75
#228420874Monday, December 04, 2017 8:19 AM GMT

1. use the GetChildren function to get the list of all players in the server ## ### # #### to go through all the players in the server 3. for each player (inside the loop), use game:GetService('TeleportService'):Teleport(placeid, player)
Packers
#228421014Monday, December 04, 2017 8:30 AM GMT

ooo okay so like game:GetService('TeleportService'):Teleport(415795179, packers) ??
Packers
#228421043Monday, December 04, 2017 8:32 AM GMT

ok so i tried running the script in the developer console on my friend while we were in a game, and it just teleported me instead of him..
decla123
#228421823Monday, December 04, 2017 9:39 AM GMT

local placeId = 0 local service = game:GetService("TeleportService") function teleportAll() local plrs = game.Players:GetChildren() for i = 1, #plrs do service:Teleport(plrs[i], placeId) end end then use a function caller. * plz fix anything if i messed up xD

    of     1