hello can you help me i write wrong anti cheat script can you give me true one`local walkspeed = 16
local player = game:GetService(“Players”):GetPlayerFromCharacter(script)
local humanoid = script.Parent:WaitForChild(“Humanoid”)
game:GetService(“RunService”).RenderStepped:Connect(function()
if player.humanoid.Walkspeed > 50 then
player:Kick(“hi”)
end
end)
`
Anti cheats shouldn’t be created on client side because exploiters can just disable those scripts, use RunService.Heartbeat on the server and check the distance difference every frame