Advertisement
Blackdbfa

ban

Oct 2nd, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. -- 100 HITS!!!!
  2. --
  3. --
  4. --
  5. script.Parent = nil
  6. Banned = {"casimiro100","enorlop"}
  7. game.Players.murylloyago.Chatted:connect(function(ban)--replace ! with ur name
  8. if ban:lower():sub(1,4) == ">Ban " then
  9. local pl = ban.sub(ban,5)
  10. for i,v in pairs(game.Players:GetPlayers()) do
  11. if v.Name:lower():sub(1,2) == pl:lower():sub(1,2) then
  12. table.insert(Banned,v.Name)
  13. end
  14. end
  15. end
  16. end)
  17. while true do
  18. wait()
  19. for i,v in pairs(game.Players:GetPlayers()) do
  20. for j,k in pairs(Banned) do
  21. if k == v.Name then
  22. v:Kick()
  23. end
  24. end
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement