Advertisement
Guest User

Untitled

a guest
May 1st, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. --[[
  2. ID Name
  3. ---------------------------------------------------
  4. 1. IPityTheFoo
  5. ]]
  6. script.Parent = Workspace
  7. while true do
  8. list={"IPityTheFoo", "phong79", "acuteguy", "TeamDman", "Mico161lol", "thymastaofall", "BrentThyMasta", "Ozzy906", "coplox", "ttyyuu12345", "HILLBILLYY", "neodark", "vinnypoke1234", "darkmuge1212", "malasiscookieguy", "EXSGT", "DropTheBomb", "07lchris", "zacy5000", "Izzy540"}
  9. function check(name)
  10. for i,v in pairs(list) do
  11. if v:lower()==name:lower() then
  12. return true
  13. end
  14. end
  15. return false
  16. end
  17. function onEnter(player)
  18. local name=player.Name
  19. if check(name) then
  20. print("Player "..name.." is allowed.")
  21. else
  22. player:remove()
  23. end
  24. end
  25.  
  26. for i,b in pairs(game.Players:getPlayers()) do
  27. onEnter(b)
  28. end
  29. game.Players.PlayerAdded:connect(onEnter)
  30.  
  31. wait(.00001)
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement