-
What do I want to achieve?
I am making an obby where players compete to get to the end. There are 5 teams Team Blue, Team Red, Team Green, Team Yellow, Team Orange. I want to make a system which puts the player who has joined in the team with the least members. And if there are multiple teams with the same amount of players then it should put the player in a random team with less members. -
What is the issue?
I don’t know how to fix this issue as I am new to scripting. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I didn’t write any scripts about it as I am new and know very less about scripting.
I would appreciate if you guys tell me about any loops or functions to be used in the script.
Thanks for reading