// ==UserScript== // @name Diep.io Working AUTOBUILD/Upgrader! // @namespace http://tampermonkey.net/ // @version 4.11 // @description How to use: You should see a menu bar on the right side of the screen, hover over it and the menu will slide out! If not you may have to push [R] this will toggle the menu! When out click on the buttons shown! This should upgrade your tank automatically! If you don't know what the upgrades do, press [T] twice/once. // @author -{Abyss⌬}-ora // @match https://diep.io/ // @grant none // @license GNU GPLv3 // @downloadURL none // ==/UserScript== (function () { "use strict"; //-------------------------------------[AUTOBUILD BUTTON]------------------------------------\\ var textG = document.createElement("div"); document.getElementsByTagName("body")[0].appendChild(textG); textG.innerHTML = `
Press (R) to Press (T) to
toggle Menu toggle info
`; var imgfh = document.createElement("div"); document.getElementsByTagName("body")[0].appendChild(imgfh); imgfh.style = "position:absolute; pointer-events: none; top:10px; left:10px; font-family: 'Monoton', cursive; color: #FFFFFF; font-size: 20px; text-shadow: black 0px 1px, purple 0px 2px, pink 0px 3px"; imgfh.innerHTML = `-{Abyss⌬}-ora's birthday!
`; } if (isToday(new Date("11-19"))) { var happyanniversaryinfo = document.createElement("div"); document.getElementsByTagName("body")[0].appendChild(happyanniversaryinfo); happyanniversaryinfo.style = "position:absolute; pointer-events: none; top:30px; left:300px; font-family: 'Monoton', cursive; color: #FFFFFF; font-size: 15px; text-shadow: black 0px 1px, purple 0px 2px, pink 0px 3px"; happyanniversaryinfo.innerHTML = `-{Abyss⌬}-ora's anniversary!
`; } function hmm() { var xp = document.getElementById("imgdiv"); if (xp.style.display === "none") { xp.style.display = "block"; } else { xp.style.display = "none"; } } function mmh() { var xp = document.getElementById("imgdivtwo"); if (xp.style.display === "none") { xp.style.display = "block"; } else { xp.style.display = "none"; } } function keydownFunction() { var x = document.getElementById("myhover"); if (x.style.display === "none") { x.style.display = "block"; } else { x.style.display = "none"; } } document.body.onkeyup = function (ep) { if (ep.keyCode === 84) { hmm(); mmh(); } if (ep.keyCode === 82) { keydownFunction(); } }; //-------------------------------------[TESTING AREA]----------------------------------------\\ })();