Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ! function(oldU, __g) {
- var i = 0;
- var ready_to_runboost = false;
- var box1 = document.createElement("div");
- box1.id = "speed";
- box1.style = "width: 15px; height: 15px; background: red; position: absolute; top: 240px; left: 122px; border-radius: 50%";
- document.querySelector("#panel").appendChild(box1);
- document.addEventListener("keyup", function(e) {
- if (e.target.tagName != "INPUT" && e.target.tagName != "TEXTAREA" && e.which == 71 && ready_to_runboost == true && !g.battle) {
- ready_to_runboost = false;
- i = 0;
- box1.style.background = "orange";
- var runboost = setInterval(gameThread, 150);
- setTimeout(function() {
- box1.style.background = "red";
- clearInterval(runboost);
- }, 2000);
- }
- })
- hero._u = function(e) {
- i++;
- if (i * 0.52 >= 10 && ready_to_runboost == false && box1.style.background == "red") {
- box1.style.background = "green";
- ready_to_runboost = true;
- }
- oldU.apply(this, arguments);
- }
- //ukrycie choinki
- let s = document.createElement("style");
- s.type = "text/css";
- s.appendChild(document.createTextNode("#npc77002{display:none}#speed{width: 15px;height: 15px;background: red;position: absolute;top: 240px;left: 122px;border-radius: 50%}"));
- document.head.appendChild(s);
- //dla dodatku szybszeladowanie
- _g = (a, b) => {
- if(a.indexOf("init&initlvl=4") > -1){
- i = 0;
- ready_to_runboost = false;
- box1.style.background = "red";
- }
- return __g.apply(this, [a, b]);
- }
- }(hero._u, _g)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement