Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is my anti speed hack not working?

Asked by
trecept 367 Moderation Voter
6 years ago
Edited 6 years ago

I recently put in a local script this code in startercharacterscripts:

humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function() 
    if humanoid.WalkSpeed ~= 16 then
        player:Kick()
    end
end)

but it doesn't work at all on the exploiter, they keep changing their walkspeed to like 100 and the script is not detecting them at all. There's more to the script with detecting other stuff but none of it works on the exploiter, it's like the whole script is not detecting them. Is there any way I can fix this anti exploit?

0
Have you tried using a server script? UgOsMiLy 1074 — 6y
0
^^ Like UgOsMily said, You can't use kick with a local script Vulkarin 581 — 6y
0
if hum.WalkSpeed ~= 16 then repeat until nil end TheeDeathCaster 2368 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Why don't you do like:

humanoid.Changed:connect(function()
if humanoid.WalkSpeed ~= 16 then
player:Kick("Error occured: Walkspeed changed")
end
end)
0
It's still not working, the script isn't harming them at all trecept 367 — 6y
0
Is filtering enabled on? wilsonsilva007 373 — 6y
Ad

Answer this question