Making teams balanced

https://devforum.roblox.com/t/rebalancing-teams/1729154

I made a thread related to this recently.

that doesn’t work either, even after trying multiple methods

can you suggest any other method, i have tried int values and math.random but they dont work