generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Detect If Player Is A Administrator

Previous Thread :: Next Thread 
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
14 May 2015 07:48 PM
I want to detect if the player is a roblox admin. Is that possible?
Report Abuse
iiUltimate is not online. iiUltimate
Joined: 29 Mar 2012
Total Posts: 3694
14 May 2015 07:51 PM
You could make a table with all the roblox admins, then you could make something like this:

admins={"Shedletsky", "builderman"}

game.Players.PlayerAdded:connect(function(p)
for _,v in pairs(admins) do
if (p.Name == v) then
print("An admin named " .. p .. " has joined!")
end
end
)
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
14 May 2015 07:54 PM
http://www.roblox.com/badges/roblox?userId=13268404&imgWidth=110&imgHeight=110&imgFormat=png

web apis

that's sorcus btw
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
14 May 2015 07:54 PM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=150014523


I script -~ chimmihc
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
14 May 2015 07:55 PM
you'll want to get rid of the "amp;"s since the forum is stupid
Report Abuse
xXRevengeCreeperXx is not online. xXRevengeCreeperXx
Joined: 22 Nov 2012
Total Posts: 699
14 May 2015 08:03 PM
I want a deffinite way to get the persons admin I don't want to put name or userIds a ton. If possible another way please reply.
Report Abuse
Soybeen is not online. Soybeen
Joined: 17 Feb 2010
Total Posts: 21462
14 May 2015 08:04 PM
They will have a badge next to their name in the player list.
I'm pretty sure you can also check for badges with a badgeservice

http://wiki.roblox.com/index.php?title=API:Class/BadgeService/UserHasBadge
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
14 May 2015 08:05 PM
:|

Getting someone's stuff without knowing their name, or userId?

good luck
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
14 May 2015 08:05 PM
@Soybeen

UserHasBadge() only works with user-created badges
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
14 May 2015 08:05 PM
The player list has a huge list of admins :D


I script -~ chimmihc
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image