Advertisement
DaLittleTem

Untitled

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