Some Lua exploits target the game's os.clock() or tick() functions, returning sped-up values. When the game thinks 100 milliseconds have passed in only 40 real milliseconds, it moves the player prematurely.
It's good practice to have a way to disable the hack ( disableSpeedHack ), restoring the original movement speed. speed hack lua script