Speedhack detector, [Bypass given]
Facepunch speedhack detector
Code:
--noSpeeding basic but precise speedhack protection by Swamp Onions
--put this code in lua/autorun/client/nospeeding.lua
speedingTickCount = 0
isSpeeding = 0
timer.Create("noSpeeding", 1, 0, function()
if speedingTickCount > ((1 / engine.TickInterval()) + 1) then
isSpeeding = isSpeeding + 1
else
isSpeeding = 0
end
speedingTickCount = 0
if isSpeeding > 5 then
--crash their game LOL
while true do end
end
end)
hook.Add("Tick", "noSpeedingTick", function()
speedingTickCount = speedingTickCount + 1
end)
Bypass
Code:
timer.Destroy("noSpeeding")
hook.Remove("Tick", "noSpeedingTick")