Advertisement
jai1515hb

Untitled

Jan 4th, 2016
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. bannedlist = {"ByteDino","Razuatix","mistahFedora"}
  2. function checkban(player)
  3. for ii = 1, #bannedlist do
  4. if player.Name == bannedlist[ii] then
  5. player:Remove()
  6. m=Instance.new("Hint",Workspace)
  7. m.Text = player.Name.." Has been banned for abusing."
  8. wait(2)
  9. m:Remove()
  10. end end end
  11.  
  12.  
  13. for i, v in pairs(game.Players:GetChildren()) do
  14. checkban(v)
  15. end
  16.  
  17. function blah(blah)
  18. checkban(blah)
  19. end
  20.  
  21. game.Players.PlayerAdded:connect (blah)
  22. --[[ lego ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement