Advertisement
YouFoundX_Exploiter

Test Admin Script (Testing)

Jan 30th, 2018
354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. local admins = {'SLINGSHOT540'}
  2.  
  3.  
  4. --====================================--
  5. ----------------------------------------
  6. --= Don't change anything under this =--
  7. --____________________________________--
  8. --====================================--
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15. local localplayer = game.Players.LocalPlayer
  16.  
  17. spawn(function()
  18. function adminsonly(name)
  19. for i = 1,#admins do
  20. if string.lower(name) == string.lower(admins[i]) then return true
  21. end
  22. return false
  23. end
  24. end
  25. end)
  26.  
  27. spawn(function()
  28. if adminsonly(localplayer.Name) or localplayer.userId == game.CreatorId then
  29. else
  30. script.Parent:remove()
  31. end
  32. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement