Player randomisation help

Give each player an ID. Then, when the button is pressed, choose a random number using a trigger, between 1 and the “Num Players” property. Then, using a relay, have everyone check with triggers if their “Player ID” equals the number chosen. If so, change their team.