// ==UserScript==
// @name Macro GOLD, BOMB, SPLITS & AUTO SETTINGS FOR AGARIO
// @namespace http://tampermonkey.net/
// @version 1.2
// @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 none
// ==/UserScript==
//***NOTE*** CHANGE LINE 108 ('Nickname'); WRITE YOUR OWN NICK instead of 'Nickname'(*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, sayX=0, sayY=100;
function keyPress(code)
{
$("body").trigger($.Event("keydown", { keyCode: code}));
$("body").trigger($.Event("keyup", { keyCode: code}));
}
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'
}
$(document).on('keydown',function(e){
//Macro Gold [Slow]
if(e.keyCode == 81){ //Q
if(key)return;
key = true;
interval_gold = setInterval(function() {
keyPress(65);
}, 10);
//===================================
//Macro Bomb
}else if(e.keyCode == 82){ //R
if(key2)return;
key2 = true;
interval_bomb = setInterval(function() {
keyPress(68)
}, 100);
} //Macro Gold [Fast]
else if (e.keyCode == 83){//S
if(fg)return;
fg = true;
for(var t=0;t<160;t++){
setTimeout(fastGrow, t/2);
}
}
// Tricksplit -> key4
else if(e.keyCode == 52){
autoSplit();
setTimeout(autoSplit, att);
setTimeout(autoSplit, att*2);
setTimeout(autoSplit, att*3);
}
// Triplesplit -> key3
else if (e.keyCode == 51) {
autoSplit();
setTimeout(autoSplit, att);
setTimeout(autoSplit, att*2);
}
// Doublesplit -> key2
else if (e.keyCode == 50) {
autoSplit();
setTimeout(autoSplit, att);
}
//Freeze -> F
else if (e.keyCode == 70){
X = window.innerWidth/2;
Y = window.innerHeight/2;
$("canvas").trigger($.Event("mousemove", {clientX: X, clientY: Y}));
}
//===============================
else if(e.keyCode == 90 && e.shiftKey && e.ctrlKey){
$('#nick').val('Nickname'); //Your nick here
setDarkTheme(true); //Dark theme: true
setSmooth(true); //Smooth render: true
setSkins(false); //Skins: false
$('#screenshot, #account_button, .controls, #klan, #level, #stats, .tosBox').remove();
$("#gamemode").replaceWith(
'');
$(".adsbygoogle").replaceWith('');
$("#chat_textbox").after('Emoji');
$("#bilgilerModal").html('');
$('.btn-play-guest').text('PLAY');
$('.btn-spectate').text('Spectate');
$('.row div.col-sm-6').eq(5).html('');
$('.row div.col-sm-6').eq(6).html('');
$('.row div.col-sm-6').last().append('
');
}
})
$(function () {
$('