Advertisement
Guest User

Untitled

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