How do I choose a random player?

Hey so I’m trying to make a script that chooses a random player. I want the script to randomly select a player and then give it a role and have the rest of the players to have a different role. How would I do this?