View difference between Paste ID: rFWS4a4K and zyRZTk31
SHOW: | | - or go back to the newest paste.
1-
local banned = {"SomeoneYouDontLike"}
1+
local banned = {"nobb93815_newaccount"}
2
local prefix = "[Banned] "
3-
local message = "You are banned from the server!"
3+
local message = "You're banned for being a dumb sped."
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)