// ==UserScript== // @name MacroS & auto settings for bomb agar // @namespace http://tampermonkey.net/ // @version 1.0 // @description MacroS for bomb.agar.bio // @author #EMBER (htps://fb.com/embermaxx) // @match http://bomb.agar.bio/ // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; $("body").dblclick(function(){ keyPress(68); }); newIns(); var interval_gold, interval_bomb, key = false, key2 = false, att=20, X=0, Y=0, k=0; function keyPress(code) { $("body").trigger($.Event("keydown", { keyCode: code})); $("body").trigger($.Event("keyup", { keyCode: code})); } 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 F to freeze movement
'+ '
Press R for macro bombs
' + '
Press Q for macro gold
' + '
Press 4 to split 4x
'+ '
Press 3 to split 3x
'+ '
Press 2 to split 2x
' } $(document).on('keydown',function(e){ //Macro Gold 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); // 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('Your nick'); //Your nick here setDarkTheme(true); //Dark theme: true setSmooth(true); //Smooth render: true setSkins(false); //Skins: false $('#screenshot, #account_button, .controls, #klan, #level, #stats').remove(); $("#gamemode").replaceWith( '
Reconnect Force Play Agarmen '+ '
 Connect
'); $(".adsbygoogle").replaceWith('

Script by #EMBER

'); $("#chat_textbox").replaceWith('
'+ ' Emoji
'); $("#bilgilerModal").html(''); $('.btn-play-guest').text('PLAY'); $('.btn-spectate').text('Spectate'); } }) $(function () { $('