Selecting capitains from random teams

Hello, I wanted to know that when a match starts in my soccer game, a random captain is selected from one team and the other, and that they choose different features, an example of this is, when starting the game, you and another player from the opposite team are chosen as captains, and a gui appears (which only they can see)

Anyone knows?

You could randomly select someone from each team and then have two values in two folders that would change to their UserIds, and then in that list getplayersfromuserid if you ever need to get the captains as objects… This would probably be the easiest method unless you want to do a voting feature, then it would be different.

2 Likes

Thank you for the idea! I will try

1 Like