Hey all,
I'm making an admin script and by default, all ROBLOX Admins have access to the commands - without having to constantly updating the Admin Script model of course. There's just one problem: How can I know if the player is an admin? Is there an API/Event for that?
Constructive criticism accepted. Many Thanks, Fahmi
The PlayerPermissionsModule in the CoreScripts can be copied into a regular ModuleScript to provide a way to determine if a player is an intern or admin.
After a bit of looking through some core scripts, I found that the player list checks to see if they are in the group 1200769
, and for interns it checks to see if they are rank 100 in group 12868472
.
The original script is here.
Edit: ninja'd.