players = game.Players:GetChildren()
for i,v in pairs(players) do
print(v.Name .. " is on red team")
v.TeamColor = BrickColor.new("Bright red")
end
for i,v in pairs(players) do
print(v.Name .. " is on blue team")
v.TeamColor = BrickColor.new("Bright blue")
end
How can I get this to just pick 2 random teams

3 comments
Thanks ;)
ERROR< 2 people spawned on the same team, so 2 v 0 how can I fix?
I PM'ed you the fixed code!