|
| 14 May 2015 07:48 PM |
| I want to detect if the player is a roblox admin. Is that possible? |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 14 May 2015 08:05 PM |
@Soybeen
UserHasBadge() only works with user-created badges |
|
|
| Report Abuse |
|
|
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 |
|
|