Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name speedhack v2
- // @version 2.00
- // @description przyspiesza postac pod przycisk(F)
- // @author adison
- // @match *://deimos.margonem.pl/
- // @match *://berufs.margonem.pl/
- // @match *://fobos.margonem.pl/
- // @grant none
- // ==/UserScript==
- var ready_to_runboost = false;
- $("<div id='speed' style='width: 15px; height: 15px; background: red; position: absolute; top: 240px; left: 122px; border-radius: 50%'><div>").appendTo("#panel");
- setTimeout(function() {
- document.getElementById("speed").style.background = "green";
- ready_to_runboost = true;
- }, 10000);
- 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;
- document.getElementById("speed").style.background = "orange";
- var runboost = setInterval(gameThread, 150);
- setTimeout(function() {
- document.getElementById("speed").style.background = "red";
- clearInterval(runboost);
- setTimeout(function() {
- document.getElementById("speed").style.background = "green";
- ready_to_runboost = true;
- }, 10000);
- }, 2000);
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement