// ==UserScript== // @name Diep.io Working AUTOBUILD/Upgrader! // @namespace http://tampermonkey.net/ // @version 4.14 // @homepage https://greasyfork.org/scripts/416440 // @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! 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 = `

-{Abyss⌬}-ora's modmenu




















`; var tgl = document.createElement("div"); document.getElementsByTagName("body")[0].appendChild(tgl); tgl.style = "position:absolute; pointer-events: none; top:10px; right:200px; font-family: 'Monoton', cursive; color: #FFFFFF; font-size: 20px; text-shadow: black 0px 1px, purple 0px 2px, pink 0px 3px"; tgl.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 = `
⌬Destroyer
⌬Dms/ speed
⌬Dms/ Health
⌬Tri- angle
⌬Trapper
⌬anti-ram
⌬Semi/ Ram/ Booster
⌬Smasher Speed
⌬Smasher/ Dms
⌬pentrative/ anti-ram
⌬Anni/ hybrid
⌬OL/ overseer
`; function isToday(dateParameter) { var today = new Date(); return ( dateParameter.getDate() === today.getDate() && dateParameter.getMonth() === today.getMonth() ); } if (isToday(new Date("08-14"))) { var happybirthdayinfo = document.createElement("div"); document.getElementsByTagName("body")[0].appendChild(happybirthdayinfo); happybirthdayinfo.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"; happybirthdayinfo.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(); } if (isToday(new Date("04-01"))) { input.execute('game_spawn AprilFools'); } }; //-------------------------------------[TESTING AREA]----------------------------------------\\ })();