Ok so I need a command that makes it so that if a player is a mod, He can use the command like !undercov and it switches his group. I need it to be like
If Ply:IsUserGroup("moderator") then switch group to undercover
elseif Ply:IsUserGroup("undercover") then switch group to moderator
That is all i know that the command needs to do. It needs to be silent too. Thank you and if you help I will give you credit.
EDIT: Also is there a way to make it so when the undercover group preforms commands you see (Someone) instead of <NAMEHERE>