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

How to check if Person is Admin?

Im going to make some admin and Admin Commands, But I need to Know how to check if, a person is an Admin.

1 answer

✓ Accepted answer

Hmm, you'd probly do this;

local Admins = {"friendlyfriendpersonfriend"}

game.Players.PlayerAdded:connect(function(plr)
for i,v in pairs(Admins)do
if plr.Name:lower()==v:lower()then
plr.Chatted:connect(function(msg)

--Rest of coding here

end)
end
end
end)

Hope this helped!

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