// ==UserScript==
// @name Agar.io Split Macro Script
// @namespace http://tampermonkey.net/
// @version 1
// @description Trick Split = T/Shift Double Split = G/Q
// @author Ace - Agario
// @match http://gota.io/web/
// @match agar.io
// @match
// @match nbk.io
// @match http://abs0rb.me/
// @grant none
// @run-at document-end
// @downloadURL none
// ==/UserScript==
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);
var Feed = false;
var Dingus = false;
var imlost = 25;
document.getElementById("instructions").innerHTML += "
Press E or 4 to split 4x";
document.getElementById("instructions").innerHTML += " Press 3 to split 3x";
document.getElementById("instructions").innerHTML += " Press D or 2 to split 2x";
document.getElementById("instructions").innerHTML += " Press and hold Q for macro feed";
load();
function load() {
if (document.getElementById("overlays").style.display!="none") {
document.getElementById("settings").style.display = "block";
if (document.getElementById('showMass').checked) {document.getElementById('showMass').click();}
document.getElementById('showMass').click();
if (document.getElementById('darkTheme').checked) {document.getElementById('darkTheme').click();}
document.getElementById('darkTheme').click();
} else {
setTimeout(load, 100);
}
}
function keydown(event) {
if (event.keyCode == 87) {
Feed = true;
setTimeout(fukherriteindapussie, imlost);
} // Tricksplit
if (event.keyCode == 84 || event.keyCode == 16) {
ilikedick();
setTimeout(ilikedick, imlost);
setTimeout(ilikedick, imlost*2);
setTimeout(ilikedick, imlost*3);
} // Doublesplit
if (event.keyCode == 71 || event.keyCode == 81) {
ilikedick();
setTimeout(ilikedick, imlost);
} // Split
if (event.keyCode == 49) {
ilikedick();
}
}
function ilikedick() {
$("body").trigger($.Event("keydown", { keyCode: 32}));
$("body").trigger($.Event("keyup", { keyCode: 32}));
}