Creating a role system

So i am trying to make a system like the Murder 2 Map where you get random roles but i dont know where to start or how to even do it.