Advertisement
Guest User

ROBLOX Lag Switch

a guest
May 17th, 2014
22,761
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.87 KB | None | 0 0
  1. Script (only copy and paste the one IN the separators (=======)):
  2.  
  3. =========================================================================================================================================
  4.  
  5. lastSpeed=1;
  6.  
  7. function checkKeys(timer)
  8. if (isKeyPressed(VK_E)) then if lastspeed ~= 10 then speedhack_setSpeed(10) lastSpeed=10 end
  9. else if lastspeed ~= 1 then speedhack_setSpeed(1) lastSpeed=1 end
  10. end
  11.  
  12. end
  13.  
  14. t=createTimer(nil)
  15. timer_setInterval(t, 100)
  16. timer_onTimer(t, checkKeys)
  17. timer_setEnabled(t, true)
  18.  
  19. =========================================================================================================================================
  20.  
  21. Press E to test the lag switch. You can change the key to anything by changing the E in (VK_E)) to something else such as Q, Z, X, C, F and all that stuff.
  22.  
  23.  
  24.  
  25.                                     -robloxjojoba
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement