Advertisement
fartfart1555

banned

Jul 8th, 2017
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local banned = {"mathkid234"}
  2. local prefix = "[Banned] "
  3. local message = "You are banned from the server clown!"
  4.  
  5. game.Players.PlayerAdded:Connect(function(player)
  6. for _, v in pairs(banned) do
  7. if player.Name == v then
  8. player:kick(prefix..message)
  9. end
  10. end
  11. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement