I am trying to make a script to blacklist or suspend people from my game. The game is for people to come and try out scripts and exploit the game.
(The whole script won't find in the code box, sorry)
local suspended = {"Jxyzxrr"}
local blacklisted = {"bl"}
for i,v in pairs(game.Players:GetChildren()) do
if suspended == v.Name then
game.Players.LocalPlayer:Kick("Suspended for abusing. This is only temporary.")
elseif
blacklisted == v.Name then
game.Players.LocalPlayer:Kick("Blacklisted. This is permanent.")
end
end
Script above gives NO errors or doesn't do anything. It's a LocalScript inside Workspace.

1 comment
Please put in in the script format