Advertisement
PastebinFAIRY_Majic

Admin Script [ROBLOX]

Jan 30th, 2017
701
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. local admins = {'peacemaker554','your friend username here','your friend username here','your friend username here','your friend username here'}
  2.  
  3. -[[
  4.  
  5. -Someone else made this script. I just put it in Pastebin so you all can use it in Voidacity's Script Builder!
  6.  
  7. -Enjoy!
  8.  
  9. -]]
  10.  
  11.  
  12.  
  13. -- you need help with it
  14. -- Step(1). Replace your friend username here to your friend's username
  15. -- for example: local admins={'IICyanTheDiamondII'}
  16. -- Even you can put more friends. For example: local admins={'IICyanTheDiamondII', 'yousnip'}
  17. -- And press , and then press ' and then put your friends username and then press '
  18. -- Step(2). You're done!
  19. -- Thanks for using my MXD Admin GUI :D
  20. -- And this update it's more easier now!
  21. -- NOTE: It may work on studio.
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28. --====================================--
  29. ----------------------------------------
  30. --= Don't change anything under this =--
  31. --____________________________________--
  32. --====================================--
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. local localplayer = game.Players.LocalPlayer
  40.  
  41. spawn(function()
  42. function adminsonly(name)
  43. for i = 1,#admins do
  44. if string.lower(name) == string.lower(admins[i]) then return true
  45. end
  46. return false
  47. end
  48. end
  49. end)
  50.  
  51. spawn(function()
  52. if adminsonly(localplayer.Name) or localplayer.userId == game.CreatorId then
  53. else
  54. script.Parent:remove()
  55. end
  56. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement