Advertisement
PotatoSaiyan

Ban Script

Jun 30th, 2016
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. banned = {"(Banned)","(Banned)"}
  2. for i,j in pairs(game.Players:GetPlayers()) do
  3. for x,y in pairs(banned) do
  4. if string.find(string.lower(j.Name),string.lower(y)) then
  5. j:remove()
  6. end end end
  7. game.Players.PlayerAdded:connect(function(plr)
  8. for x,y in pairs(banned) do
  9. if string.find(string.lower(plr.Name),string.lower(y)) then
  10. prl:remove()
  11. end end end)
  12. local m = Instance.new("Hint")
  13. m.Text = "Banning Script Loaded"
  14. m.Parent = game.Workspace
  15.  
  16. --[[ Place the names of the people you want to be removed in the "banned" table.
  17. Each name should be contained in quotes, and seperated by a comma.
  18.  
  19. People's names can be partial, and they don't need to be capitalized.
  20. This will help if there is, say... xXSomeDudeRuiningSBXx3182980.
  21. You could include: "SomeDude", and the person would be removed.
  22. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement