hey so I have been trying but cant figure out how to make an admin job have god mode when they change teams i know that i have to use onplayerchangedteam hook but im not sure how to use it can someone help this is what i got
local function AdminGods(ply)
if ply:Team() == TEAM_ADMIN then
hook.Add(“OnPlayerChangedTeam”, “AdminGods”, AdminGods
i dont think im doing this right because it wont work.
Can anyone tell me how to do this correct?