this is the gamescript.
while true do
wait(25)
function getteams()
wait(10)
c=game.Players:children()
for i=1, #c do
if c[i].TeamColor==BrickColor.new(23) then
c[i].Character.Torso.CFrame = CFrame.new(Vector3.new(65.999,5.5,33.503))
wait(10)
elseif c[i].TeamColor==BrickColor.new(21) then
c[i].Character.Torso.CFrame = CFrame.new(Vector3.new(64.001,15.5,-61.497))
end
time = 30--Change to how many seconds you want.
local h = Instance.new("Hint")
h.Parent = game.Workspace
while time > 0 do
time = time -1
h.Text = "There are"..time.." seconds until the next round!"
wait(1)
game.Workspace.Map1:Destroy()
map2 = game.Lighting.Map2:clone()
map2.Parent = Workspace
end
end
game.Players.PlayerAdded:connect(getteams)
end
end

1 comment
What's "wrong"? Is it not working at all? Is there an error in the output?