So I'm making an Anti-Exploit and when I use my checkHumanoid function, nothing happens. I don't know why this happens. Here's my script: getVars get's the variable, that is not needed in this, I don't think. Could be that the different script isn't being executed
function getVars()
aWalkspeed = script.Parent.Parent.vars.allowedWalkspeed.Value
aJumpPower = script.Parent.Parent.vars.allowedJumpPower.Value
aMaxHealth = script.Parent.Parent.vars.allowedMaxHealth.Value
aMaxSlopeAngle = script.Parent.Parent.vars.allowedMSA.Value
aHipheight = script.Parent.Parent.vars.allowedHipHeight.Value
end
function checkHumanoid()
while true do
getVars()
if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed < aWalkspeed or game.Players.LocalPlayer.Character.Humanoid.WalkSpeed > aWalkspeed then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = aWalkspeed
end
end
end
checkHumanoid()
Thanks in advance, iiDxpeLyfe

3 comments
Either turn on FE or instead of checking walkspeed, check if their frames go over the normal 60 frames, that means they're cheating. They don't change walkspeed.
How to check if they go over 60 frames?
I think I have found why. The getVars function isn't doing anything unless you return those values.