Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local banned = {"SomeoneYouDontLike"}
- local prefix = "[Banned] "
- local message = "You are banned from the server!"
- game.Players.PlayerAdded:Connect(function(player)
- for _, v in pairs(banned) do
- if player.Name == v then
- player:kick(prefix..message)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement