Another help question

I have 2 teams on my paintball server, and I wanna make it so that players are on them equally. For example, if 4 people are on, there are 2 people on red team, and two on blue team. But if there are 5, there are two on red, and 3 on blue, and if someone from red tries to go into blue, it says “This team is full”. Please help me, this is very important.

I have this on my comp. if you don’t have an answer by then, I’ll post it.

Ill add you on steam