Advertisement
jai1515hb

Untitled

Jan 3rd, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. ------------(BannedList)-------------------------------------------------------------------------------------------------------------
  2. local Settings={["Un_Removable"]= "On"}
  3. local function mFloor(x) return x - x % 1 end
  4. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  5. if Un_Removable then
  6. Game.Workspace.DescendantRemoving:connect(function(Child)
  7. if not Remove_At_Will and Child == script then
  8. script:Clone().Parent = Game.Workspace
  9. end
  10. end)
  11. end
  12. ---------
  13. local M = Instance.new("Message")
  14. M.Parent = Game.Workspace
  15. M.Text = "Loading 'name database'"
  16. wait(2)
  17. M.Text = " "
  18. wait(1)
  19. M.Text = "Names collected. Now banning through IP"
  20. wait(5)
  21. M:Remove()
  22. banned = { "ByteDino", "Mors", "booing", "5x5x5", "flamexer", "Hammy300", "TheEndOfDays", "BrownyTCat", "Drak0Master", "Aaron199572", "vinny1sabatini", "imberdine0", "TehEpicFail", "031r" , "Thunderx10", "izzatnasruna", "rsdogy", "popinman322", "laslax", "coul42", "damin8000", "farru", "ErinMaree", "alexgrade", "vlad6548", "bobby003", "doono", "damin8000", "vlad6548", "nairod7", "greg2447", "Dopey608", "tofulover230", "NumaNuma19", "CoolJulien", "eco389", "xspacenerdx10000", "mcfirno10", "actcool12", "IDynamic", "ttyyuu12345", "djdjdj"}
  23.  
  24. function banPlayer(newPlayer)
  25. for i = 1,#banned do
  26. if banned[i]:lower() == newPlayer.Name:lower() then
  27. newPlayer.Parent = nil
  28. end
  29. end
  30. end
  31.  
  32. for _,v in pairs(game:service("Players"):GetPlayers()) do
  33. for i = 1,#banned do
  34. if banned[i]:lower() == v.Name:lower() then
  35. v.Parent = nil
  36. end
  37. end
  38. end
  39.  
  40. game:service("Players").PlayerAdded:connect(banPlayer)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement