How to make a ban script?
COMMUNITY QUESTION
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

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