Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

[API] How can I know if the player is a ROBLOX Admin?

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

2 answers

CoreScripts hold the key

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.

1 comment

0

ninja'd?

This discussion is preserved as it was. New answers, comments, and votes are closed.