Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. // ==UserScript==
  2. // @name speedhack v2
  3. // @version 2.00
  4. // @description przyspiesza postac pod przycisk(F)
  5. // @author adison
  6. // @match *://jaruna.margonem.pl/
  7. // @match *://berufs.margonem.pl/
  8. // @match *://aldous.margonem.pl/
  9. // @match *://deimos.margonem.pl/
  10. // @grant none
  11. // ==/UserScript==
  12. var ready_to_runboost = false;
  13. $("<div id='speed' style='width: 15px; height: 15px; background: red; position: absolute; top: 240px; left: 122px; border-radius: 50%'><div>").appendTo("#panel");
  14. setTimeout(function() {
  15. document.getElementById("speed").style.background = "green";
  16. ready_to_runboost = true;
  17. }, 10000);
  18.  
  19. document.addEventListener("keyup", function(l) {
  20. if (e.target.tagName != "INPUT" && e.target.tagName != "TEXTAREA" && e.which == 71 && ready_to_runboost == true) {
  21. ready_to_runboost = false;
  22. document.getElementById("speed").style.background = "orange";
  23. var runboost = setInterval(gameThread, 150);
  24. setTimeout(function() {
  25. document.getElementById("speed").style.background = "red";
  26. clearInterval(runboost);
  27. setTimeout(function() {
  28. document.getElementById("speed").style.background = "green";
  29. ready_to_runboost = true;
  30. }, 10000);
  31. }, 2000);
  32. }
  33. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement