After 2 players join I need a round to start. Rounds last 180 seconds. How would I teleport players into the map?
This would teleport all players to a specific location:
location = CFrame.new(0, 0, 0) -- the position to teleport players to players = game:GetService("Players") for i, v in pairs(players:GetChildren()) do if v.Character() ~= nil then char = v.Character if char:FindFirstChild("Torso") ~= nil then v.Torso.Anchored = true wait() v.Torso.CFrame = location wait() v.Torso.Anchored = false end end end
What do you mean by 0,0,0 could I just add a small invisible brick and players would randomly be teleport to it. What is the script for that>?