Advertisement
Guest User

X

a guest
Apr 20th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. // ==UserScript==
  2. // @name speedhack v3
  3. // @version 0.1
  4. // @description dsadsadsa
  5. // @author adison
  6. // @match http://jaruna.margonem.pl/
  7. // @match http://game2.margonem.pl/
  8. // @match http://zorza.margonem.pl/
  9. // @match http://berufs.margonem.pl/
  10. // @match http://experimental.margonem.pl/
  11. // @match http://hypnos.margonem.pl/
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. ! function(oldU, oldN) {
  16. var i = 0;
  17. var ready_to_runboost = false;
  18. var box1 = document.createElement("div");
  19. box1.id = "speed";
  20. box1.style = "width: 15px; height: 15px; background: red; position: absolute; top: 228px; left: 95px; border-radius: 50%";
  21. document.querySelector("#panel").appendChild(box1);
  22. document.addEventListener("keyup", function(e) {
  23. if (e.target.tagName != "INPUT" && e.target.tagName != "TEXTAREA" && e.which == 71 && ready_to_runboost == true) {
  24. ready_to_runboost = false;
  25. i = 0;
  26. document.querySelector("#speed").style.background = "orange";
  27. var runboost = setInterval(gameThread, 150);
  28. setTimeout(function() {
  29. document.querySelector("#speed").style.background = "red";
  30. clearInterval(runboost);
  31. }, 2000);
  32. }
  33. })
  34. hero._u = function(e) {
  35. i++;
  36. if (i * 0.52 >= 10 && ready_to_runboost == false && document.querySelector("#speed").style.background == "red") {
  37. document.querySelector("#speed").style.background = "green";
  38. ready_to_runboost = true;
  39. }
  40. oldU.apply(this, arguments);
  41. }
  42. //ukrycie tej jebanej choinki w ithan pod ktora sie chowajÄ… cepy
  43. newNpc = e => {
  44. oldN(e);
  45. for(var i in e){
  46. var npc = e[i];
  47. if(npc.id == "77002"){
  48. document.querySelector(`#npc${npc.id}`).style.display = `none`;
  49. break;
  50. }
  51. }
  52. }
  53. }(hero._u, newNpc)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement