Advertisement
Guest User

Roblox lagswitch

a guest
Aug 30th, 2014
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. lastSpeed=1;
  2.  
  3. function checkKeys(timer)
  4. if (isKeyPressed(VK_Q)) then if lastspeed ~= 8 then speedhack_setSpeed(8) lastSpeed=8 end
  5. else if lastspeed ~= 1 then speedhack_setSpeed(1) lastSpeed=1 end
  6. end
  7.  
  8. end
  9.  
  10. t=createTimer(nil)
  11. timer_setInterval(t, 100)
  12. timer_onTimer(t, checkKeys)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement