@
johnix98 ,
I don't see any thing to make your code detected. (i tried to copy paste your code and modified some of it and it works fine)
my guess is your software or maybe how you build your work.
try using visual studio and build it properly.
hint: there are two kinds of build on visual studio try it both, one will be detected and the other will work fine.
one more thing
the SpeedHackOn() and off() is not really on and off I only used that to reverse the movements so that zombie can't touch/kill me

is kinda speed control LOL!