I want to assign roles to players like dead by daylight

How do I create a lobby system like dead by daylight so players can be a killer or survivor?

A bit of a vague question - are you asking how to make an entire gameplay system?!


Apart from that it might be as straightforward as flagging a player as one or the other with a boolean value. Query that value to find out who is who.