// ==UserScript==
// @name Best Agar.io Scripte | macro keys | + popsplit!!!!!! (enjoy)
// @namespace http://tampermonkey.net/
// @version 4.0
// @description Q = Macro Feed | G = Double-Split | T = 16-Split | R = Popsplit | X = Triple-trick macro
// @author KhalilYT - https://www.youtube.com/channel/UC8mMoBlWNb7W8yVS6n6lh3g
// @match http://ixagar.net/*
// @match http://petridish.pw/*
// @match http://alis.io/*
// @match http://http://dual-agar.me//*
// @run-at document-end
// @grant none
// ==/UserScript==
window.addEventListener('keydown', keydown);
window.addEventListener('keyup', keyup);
var Feed = false;
var Dingus = false;
var imlost = 25;
document.getElementById("instructions").innerHTML += "
Press T to Tricksplit";
document.getElementById("instructions").innerHTML += "
Press X to Triplesplit";
document.getElementById("instructions").innerHTML += "
Press G to Doublesplit";
document.getElementById("instructions").innerHTML += "
Press R to Popsplit";
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();
// Don't switch the code becauce the script will not work !
} else {
setTimeout(load, 100);
}
}
function keydown(event) {
if (event.keyCode == 87) {
Feed = true;
setTimeout(fukherriteindapussie, imlost);
} // Tricksplit
if (event.keyCode == 69) {
ilikedick();
setTimeout(ilikedick, imlost);
setTimeout(ilikedick, imlost*2);
setTimeout(ilikedick, imlost*3);
} // Triplesplit
if (event.keyCode == 90) {
ilikedick();
setTimeout(ilikedick, imlost);
setTimeout(ilikedick, imlost*2);
} // Doublesplit
if (event.keyCode == 68) {
ilikedick();
setTimeout(ilikedick, imlost);
} // PopSplit
if (event.keyCode == 82) {
ilikedick();
setTimeout(ilikedick, imlost*5.0634212);
}
} // When Player Lets Go Of W, It Stops Feeding
function keyup(event) {
if (event.keyCode == 87) {
Feed = false;
}
if (event.keyCode == 79) {
Dingus = false;
}
}
// Feed Macro With Q
function fukherriteindapussie() {
if (Feed) {
window.onkeydown({keyCode: 87});
window.onkeyup({keyCode: 87});
setTimeout(fukherriteindapussie, imlost);
}
}
function ilikedick() {
$("body").trigger($.Event("keydown", { keyCode: 32}));
$("body").trigger($.Event("keyup", { keyCode: 32}));
}