Multiplayer Rol System

I want to create a game like Among Us, someone is a traitor that need to kill everyone, you can select how many traitor are in each game,
how can i create the system to give a random rol?
Wich classes I need to use for that system?, like (game instance, game mode)