How to make script choose teams randomly and equally?

Thank you for response and your time, but I did not understand this code and I got some questions. I will ask the questions and reply whenever you’d like.

  1. why playerlist says “player1” “player2” etc. and not maybe like:

Local PlayerList = game:getservice("Players"):GetChildren

  1. how it will work if there’s for example 11 players? I don’t think this script got function to still randomize players to teams.
1 Like