Advertisement
cat568

Untitled

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