Advertisement
tyridge77

Untitled

Jul 31st, 2015
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. Banned = {"rueben","reven","danger","w8","1080"};
  2. str = "I only ever kick idiots who kick me. Please stop and restore mutual respect.";
  3. for _,v in pairs(game.Players:GetPlayers()) do
  4. for i,c in pairs(Banned) do
  5. if v.Name:lower():match(c) then
  6. v:Kick(str);
  7. end
  8. end
  9. end
  10.  
  11. game.Players.PlayerAdded:connect(function(p)
  12. for i,c in pairs(Banned) do
  13. if p.Name:lower():match(c) then
  14. p:Kick(str);
  15. end
  16. end
  17. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement