Advertisement
seb8023

Banlist script

Jul 2nd, 2015
282
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. --Banlist script by TheeDeathCaster
  2. banned={"CrimsonSword321","starwarslightsaber1","niknislol","Om3gapro5ooo","deadpool3652","KeroroGunso2016","penguin0616","Control22"}--Add the names of people you dont want allowed in the game.
  3.  
  4. function oe(ack)
  5. if ack.className=="Player"then return end
  6. for i=1,#banned do
  7. if string.lower(ack.Name)==string.lower(banned[i])then
  8. ack:remove()
  9. return
  10. end
  11. end
  12. end
  13. game:service("Players").ChildAdded:connect(oe)
  14.  
  15. c=game:service("Players"):children()
  16. for e=1,#c do
  17. oe(c[e])
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement