I made this script to stop exploiters but it doesn't work. Can anyone help me? There's no output. It's supposed to check every 20 seconds to prevent lag is someone is exploiting. Also its in a normal script in the workspace.
while wait(20) do
for i,v in pairs (game.Players:GetChildren()) do
wait(0.6)
H = v.Character.Humanoid
if H.WalkSpeed > 16 then
print(v.Name.."also known as"..v.Name:Sub(1,5).."has been caught exploiting. His or Her Walkspeed was changed to"..H.WalkSpeed..". They will be kicked shortly.")
wait(5)
v:Kick()
print(v.Name.."was kicked. Play fair, don't exploit.")
wait(5)
else
wait(0.6) --to prevent lag
end
end
end
end

2 comments
Actually changing the walkspeed directly isn't a very common way to speed hack. http://wiki.roblox.com/index.php?title=Stop_Speed_Hackers
I can't open that link, would you mind summarizing that for me?