How would you evenly spread players onto new teams?
I have this code:
01 | map = game.Lighting.Crossroads:Clone() |
02 | red = game.Lighting.Red:Clone() |
03 | blue = game.Lighting.Blue:Clone() |
04 | green = game.Lighting.Green:Clone() |
05 | yellow = game.Lighting.Yellow:Clone() |
06 | map.Parent = game.Workspace |
07 | red.Parent = game.Teams |
08 | blue.Parent = game.Teams |
09 | green.Parent = game.Teams |
10 | yellow.Parent = game.Teams |
Basically, it clones maps into Workspace and teams into, well, Teams. I want to, after this, make players go on these teams, and make them even. How would one go about doing that?