Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name SZYBKO CHOĆ
- // @namespace https://discord.gg/53dqXch
- // @version 0.1
- // @description dsadsadsa
- // @author
- // @match *://*/
- // @match https://www.margonem.pl/?task=*
- // @grant none
- // ==/UserScript==
- ! function(oldU, oldN) {
- 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: 228px; left: 95px; 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) {
- ready_to_runboost = false;
- i = 0;
- document.querySelector("#speed").style.background = "orange";
- var runboost = setInterval(gameThread, 150);
- setTimeout(function() {
- document.querySelector("#speed").style.background = "red";
- clearInterval(runboost);
- }, 2000);
- }
- })
- hero._u = function(e) {
- i++;
- if (i * 0.52 >= 5 && ready_to_runboost == false && document.querySelector("#speed").style.background == "red") {
- document.querySelector("#speed").style.background = "green";
- ready_to_runboost = true;
- }
- oldU.apply(this, arguments);
- }
- //ukrycie tej jebanej choinki w ithan pod ktora sie chowają cepy
- newNpc = e => {
- oldN(e);
- for(var i in e){
- var npc = e[i];
- if(npc.id == "77002"){
- document.querySelector(`#npc${npc.id}`).style.display = `none`;
- break;
- }
- }
- }
- }(hero._u, newNpc)
Add Comment
Please, Sign In to add comment