SpeedHackAmount=1.1; KeyForSpeedhack = VK_LSHIFT; lastSpeed=0; function checkKeys(timer) if (isKeyPressed(KeyForSpeedhack)) then if lastspeed ~= 1 then speedhack_setSpeed(SpeedHackAmount) lastSpeed=1 end else if lastspeed ~= 0 then speedhack_setSpeed(1) lastSpeed=0 end end end t=createTimer(nil) timer_setInterval(t, 10) timer_onTimer(t, checkKeys) timer_setEnabled(t, true)