View difference between Paste ID: 7NUi0if5 and njtWjdDW
SHOW: | | - or go back to the newest paste.
1-
Script (only copy and paste the one IN the separators (=======)):
1+
2
lastSpeed=1;
3-
=========================================================================================================================================
3+
4
function checkKeys(timer)
5
if (isKeyPressed(VK_E)) then if lastspeed ~= 10 then speedhack_setSpeed(10) lastSpeed=10 end
6
else if lastspeed ~= 1 then speedhack_setSpeed(1) lastSpeed=1 end
7
end
8
9
end
10
11
t=createTimer(nil)
12
timer_setInterval(t, 100)
13
timer_onTimer(t, checkKeys)
14
timer_setEnabled(t, true)