AccessorFunc(plymeta, "role", "Role", FORCE_NUMBER)-- Role accessfunction plymeta:GetTraitor() return self:GetRole() == ROLE_TRAITOR endfunction plymeta:GetDetective() return self:GetRole() == ROLE_DETECTIVE endplymeta.IsTraitor = plymeta.GetTraitorplymeta.IsDetective = plymeta.GetDetective