// ==UserScript==
// @name Macro GOLD, BOMB, SPLITS & AUTO SETTINGS FOR AGARIO
// @namespace http://tampermonkey.net/
// @version 1.4
// @description Macro gold, bomb, splits and much more for bomb.agar.bio & agarz.com
// @author #EMBER (htps://fb.com/embermaxx)
// @match http://bomb.agar.bio/
// @match http://agarz.com/
// @grant none
// @downloadURL https://update.greasyfork.icu/scripts/387927/Macro%20GOLD%2C%20BOMB%2C%20SPLITS%20%20AUTO%20SETTINGS%20FOR%20AGARIO.user.js
// @updateURL https://update.greasyfork.icu/scripts/387927/Macro%20GOLD%2C%20BOMB%2C%20SPLITS%20%20AUTO%20SETTINGS%20FOR%20AGARIO.meta.js
// ==/UserScript==
//***NOTE*** CHANGE LINE 126 ('#Legend'); WRITE YOUR OWN NICK instead of '#Legend' (*Don't remove quotes)!!!
(function(){
'use strict';
$("body").dblclick(function(){
if($("#doubleclick_d").is(":checked"))
keyPress(68);
});
$("head").append("");
newIns();
var interval_gold, interval_bomb, key = false, key2 = false, att=20, X=0, Y=0, k=0, fg=false;
function keyPress(code)
{
$("body").trigger($.Event("keydown", { keyCode: code}));
$("body").trigger($.Event("keyup", { keyCode: code}));
}
function autoSpawn()
{
setInterval(function(){
if($("#overlays").is(':visible') && $("#autorespawnok").is(":checked"))
$('.btn-play-guest')[0].click();
},1000)
}
function fastGrow()
{
$("body").trigger($.Event("keydown", { keyCode: 65}));
$("body").trigger($.Event("keyup", { keyCode: 65}));
}
function autoSplit()
{
$("body").trigger($.Event("keydown", { keyCode: 32}));
$("body").trigger($.Event("keyup", { keyCode: 32}));
}
function newIns()
{
var instr = document.getElementById("instructions");
instr.style.lineHeight = "1.15";
instr.style.fontSize = "14px";
instr.style.marginTop = "-30px";
instr.style.color = "white";
instr.innerHTML +='
Press Ctrl+Shift+Z for auto settings / ACTIVATION '+
' Mouse Double click to eject bomb '+
' Press Q for slow macro gold ' +
' Press F to freeze movement '+
' Press S for fast macro gold ' +
' Press R for macro bombs ' +
' Press 4 to split 4x times '+
' Press 3 to split 3x times '+
' Press 2 to split 2x times