Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a ban script?

How to make a ban script?

1 answer

banned={"Player1"}

function oc(ack)
if ack.className=="Player"then return end
for i=1,#banned do
if string.lower(ack.Name)==string.lower(banned[i])then
ack:Kick()
return
end end end

c=game:service("Players"):children()
for i2=1,#c do
oc(c[i2])
end

1 comment

0

This is just one type of Ban script though, there are many more out there.

This discussion is preserved as it was. New answers, comments, and votes are closed.