Advertisement
qufroad09

Untitled

Aug 7th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.64 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 dolocal admins = {'peacemaker554','your friend username here','your friend username here','your friend username here','your friend username here'}
  44.  
  45. -[[
  46.  
  47. -Someone else made this script. I just put it in Pastebin so you all can use it in Voidacity's Script Builder!
  48.  
  49. -Enjoy!
  50.  
  51. -]]
  52.  
  53.  
  54.  
  55. -- you need help with it
  56. -- Step(1). Replace your friend username here to your friend's username
  57. -- for example: local admins={'IICyanTheDiamondII'}
  58. -- Even you can put more friends. For example: local admins={'IICyanTheDiamondII', 'yousnip'}
  59. -- And press , and then press ' and then put your friends username and then press '
  60. -- Step(2). You're done!
  61. -- Thanks for using my MXD Admin GUI :D
  62. -- And this update it's more easier now!
  63. -- NOTE: It may work on studio.
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. --====================================--
  71. ----------------------------------------
  72. --= Don't change anything under this =--
  73. --____________________________________--
  74. --====================================--
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. local localplayer = game.Players.LocalPlayer
  82.  
  83. spawn(function()
  84. function adminsonly(name)
  85. for i = 1,#admins do
  86. if string.lower(name) == string.lower(admins[i]) then return true
  87. end
  88. return false
  89. end
  90. end
  91. end)
  92.  
  93. spawn(function()
  94. if adminsonly(localplayer.Name) or localplayer.userId == game.CreatorId then
  95. else
  96. script.Parent:remove()
  97. end
  98. end)
  99. if string.lower(name) == string.lower(admins[i]) then return true
  100. end
  101. return false
  102. end
  103. end
  104. end)
  105.  
  106. spawn(function()
  107. if adminsonly(localplayer.Name) or localplayer.userId == game.CreatorId then
  108. else
  109. script.Parent:remove()
  110. end
  111. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement