TTT Custom groups?

Can I implement custom groups in the TTT game mode? Like the three groups are: Detective, Traitor, and Innocent. Can I add my own group somehow?

They’re called roles, and you’ll have to edit the core of the gamemode. It won’t be easy.

Does anyone have a tutorial or something to do it? Has anyone ever done it before?

That’s not a tutorial, nor is it helpful. Probably check out

that’s the outdated version, but I prefer it more, updated version is at