Ultra Fast Macros For Gaver.io & Bubla.io

Macros For Gaver.io and Bubla.io made by HarmZ

Version vom 19.10.2017. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Ultra Fast Macros For Gaver.io & Bubla.io 
// @namespace    http://tampermonkey.net/
// @version      1.2.0
// @description  Macros For Gaver.io and Bubla.io made by HarmZ
// @author       HarmZ
// @match        http://gaver.io/*
// @match        http://bubla.io/*
// @match        http://Gota.io/web/*
// @run-at       document-end
// @grant        none
// ==/UserScript==

window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);

var EjectDown = false;

var speed = 999999999999999999999999999999999999999999999999999999999999999999999;

function keydown(event) {
    if (event.keyCode == 87 && EjectDown === false) { // here we put key (W)
        EjectDown = true;
        setTimeout(eject, speed);
    }
}
function keyup(event) {
    if (event.keyCode == 87) { // here put W (*2)
        EjectDown = false;
    }
}

function eject() {
    if (EjectDown) {
        window.onkeydown({keyCode: 87}); //here put W (*3)
        window.onkeyup({keyCode: 87});
        setTimeout(eject, speed);
    }
}
var welcome="Hey Bro,check out my YT Channel for new scripts, http://bit.ly/HarmZ";
alert(welcome);
//Made by HarmZ