Diep.io Working AUTOBUILD!

I make custom AutoBuilds just ask me for a custom AutoBuilds in the feedback! This is a work in progress! You can change the scripts to what you want. Also try my XandY mod! Try to take over the diep.io! How to use: You should see a gray bar on the right side of the screen, hover over it and the menu will slide out!

当前为 2021-02-12 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Diep.io Working AUTOBUILD!
  3. // @namespace http://tampermonkey.net/
  4. // @version 2.6
  5. // @description I make custom AutoBuilds just ask me for a custom AutoBuilds in the feedback! This is a work in progress! You can change the scripts to what you want. Also try my XandY mod! Try to take over the diep.io! How to use: You should see a gray bar on the right side of the screen, hover over it and the menu will slide out!
  6. // @author -{Abyss⌬}-ora
  7. // @match https://diep.io/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13. //-------------------------------------[AUTOBUILD BUTTON]------------------------------------\\
  14.  
  15. var textG = document.createElement('div');
  16. document.getElementsByTagName('body')[0].appendChild(textG);
  17. textG.innerHTML = `
  18. <!DOCTYPE html>
  19.  
  20. <html>
  21.  
  22. <head>
  23. <style>
  24. #myhover a {
  25. background-image: url("https://media.tenor.com/images/f3f5354b7c304bc61882dbb1183885e7/tenor.gif");
  26. background-repeat: repeat;
  27. background-attachment: fixed;
  28. background-size: 160px 100px;
  29. position: absolute;
  30. right: -200px;
  31. transition: 0.3s;
  32. padding: 15px;
  33. width: 250px;
  34. text-decoration: none;
  35. font-size: 10px;
  36. font-family: 'Monoton', cursive;
  37. text-shadow: black 0px 1px, purple 0px 2px, pink 0px 3px;
  38. src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap');
  39. color: white;
  40. border-radius: 5 5px 5px 5;
  41. border-style: solid;
  42. border-width: thick;
  43. border-top-right-radius: 20px 50px;
  44. border-top-left-radius: 20px 50px;
  45. border-top-width: 20px;
  46. border-style: double;
  47. border-bottom-right-radius: 20px 50px;
  48. border-bottom-left-radius: 20px 50px;
  49. border-top-color: lightpink;
  50. border-left-color: lightgray;
  51. border-bottom-color: lightpink;
  52. border-right-color: lightgray;
  53. }
  54.  
  55. #myhover a:hover {
  56. right: 0;
  57. }
  58.  
  59. #modtab {
  60. top: 200px;
  61. background-color: #555
  62. }
  63.  
  64. .popup {
  65. position: relative;
  66. display: inline-block;
  67. cursor: pointer;
  68. -webkit-user-select: none;
  69. -moz-user-select: none;
  70. -ms-user-select: none;
  71. user-select: none;
  72. }
  73.  
  74. .popup .popuptext {
  75. visibility: hidden;
  76. width: 160px;
  77. background-color: #555;
  78. color: #fff;
  79. text-align: center;
  80. border-radius: 6px;
  81. padding: 8px 0;
  82. position: absolute;
  83. z-index: 1;
  84. bottom: 125%;
  85. right: 50%;
  86. margin-right: -80px;
  87. }
  88.  
  89. .popup .popuptext::after {
  90. content: "";
  91. position: absolute;
  92. top: 100%;
  93. right: 50%;
  94. margin-right: -5px;
  95. border-width: 5px;
  96. border-style: solid;
  97. border-color: #555 transparent transparent transparent;
  98. }
  99.  
  100. .popup .show {
  101. visibility: visible;
  102. }
  103.  
  104. </style>
  105. </head>
  106.  
  107. <body>
  108. <div id="myhover" class="hover">
  109. <a id="modtab">
  110. <h1> -{Abyss⌬}-ora's modmenu</h1>
  111. <button title="L3mon Factory" type="button" style="background-color:pink; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 456845687456845687456845687456877')">⌬L3mon Factory</button>
  112.  
  113. <br><button title="My Factory" type="button" style="background-color:white; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 567456745678567456745678567488888')">⌬Factory</button>
  114.  
  115. <br><button title="w/less speed" type="button" style="background-color:purple; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:white; width:200px; height:26px;" onclick="input.execute('game_stats_build 456745674567456745674567456788888')">⌬OverLord_2.0</button>
  116.  
  117. <br><button title="w/no reload" type="button" style="background-color:pink; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 555666555566664444444888888822111')">⌬OverLord</button>
  118.  
  119. <br><button title="Has speed and you run into things" type="button" style="background-color:white; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 213121312138238238883288327777777')">⌬Health/BodyDms</button>
  120.  
  121. <br><button title="A Smasher w/speed and few dms" type="button" style="background-color:purple; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:white; width:200px; height:26px;" onclick="input.execute('game_stats_build 7654765476547654765476547654128128128312812812812831281281283')">⌬SmasherSpeed</button>
  122.  
  123. <br><button title="3 regeneration and max speed max dmg and max health" type="button" style="background-color:pink; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 7654765476547654765476547654111823823823823823823823823823823')">⌬Smasher/Dms</button>
  124.  
  125. <br><button title="Has high dms and no speed" type="button" style="background-color:white; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 456456456456456456456123123123123')">⌬Destroyer</button>
  126.  
  127. <br><button title="Fast bullets good for spraying tanks" type="button" style="background-color:purple; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:white; width:200px; height:26px;" onclick="input.execute('game_stats_build 456745674567456745674567456722111')">⌬Dms/speed</button>
  128.  
  129. <br><button title="slow bullets and fast speed good for spraying tanks" type="button" style="background-color:pink; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 567856785678567856785678567822111')">⌬Dms/Health</button>
  130.  
  131. <br><button title="My favorite was to use Tri-angle class HAS NO SPEED" type="button" style="background-color:white; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 567567567567567567567123123123123')">⌬Tri-angle</button>
  132.  
  133. <br><button title="Trapper" type="button" style="background-color:purple; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:white; width:200px; height:26px;" onclick="input.execute('game_stats_build 567567485675674856756748567484848')">⌬Trapper</button>
  134.  
  135. <br><button title="Semi/Ram/Booster" type="button" style="background-color:pink; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 567823567823148148567823567882314')">⌬Semi/Ram/Booster</button>
  136.  
  137. <br><button title="Stacker" type="button" style="background-color:white; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 456785678567856785678567567')">⌬Stacker</button>
  138.  
  139. <br><button title="click here to Reset" type="button" style="background-color:purple; font-family: 'Monoton'; src: url('https://fonts.googleapis.com/css2?family=Monoton&display=swap'); color:black; width:200px; height:26px;" onclick="input.execute('game_stats_build 0')">⌬Reset</button>
  140. </a>
  141. </div>
  142. </body>
  143.  
  144. </html>
  145. `
  146. var tgl = document.createElement('div');
  147. document.getElementsByTagName('body')[0].appendChild(tgl);
  148. 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";
  149. tgl.innerHTML = `</style>
  150. <p> Press &#160; &#160; (R) &#160; &#160; to &#160; </p>
  151. <p> toggle &#160; Menu </p>`
  152. var imgfh = document.createElement('div');
  153. document.getElementsByTagName('body')[0].appendChild(imgfh);
  154. 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";
  155. imgfh.innerHTML = `
  156. <div>
  157. <style>
  158. img {
  159. background-color: lightgrey;
  160. width: 200px;
  161. border: 5px solid gray;
  162. padding: 5px;
  163.  
  164. }
  165.  
  166. a.hidden {
  167. display: none;
  168. }
  169. a.hiddentwo {
  170. display: none;
  171. }
  172.  
  173. * {
  174. box-sizing: border-box;
  175. }
  176.  
  177. .column {
  178. float: left;
  179. width: 12%;
  180. padding: 5px;
  181. }
  182.  
  183. a.hidden::after {
  184. content: "";
  185. clear: both;
  186. display: table;
  187. }
  188.  
  189. </style>
  190. <a id="imgdiv" class="hidden">
  191. <div class="column">
  192. <img src="https://github.com/Abyss-ora/images/blob/main/1.png?raw=true" style="width:100%">⌬L3monFactory
  193. </div>
  194. <div class="column">
  195. <img src="https://github.com/Abyss-ora/images/blob/main/2.png?raw=true" style="width:100%">⌬Factory
  196. </div>
  197. <div class="column">
  198. <img src="https://github.com/Abyss-ora/images/blob/main/3.png?raw=true" style="width:100%">⌬OverLord_2.0
  199. </div>
  200. <div class="column">
  201. <img src="https://github.com/Abyss-ora/images/blob/main/4.png?raw=true" style="width:100%">⌬OverLord
  202. </div>
  203. <div class="column">
  204. <img src="https://github.com/Abyss-ora/images/blob/main/5.png?raw=true" style="width:100%">⌬Health/BodyDms
  205. </div>
  206. </a>
  207. <a id="imgdivtwo" class="hiddentwo">
  208. <div class="column">
  209. <img src="https://github.com/Abyss-ora/images/blob/main/8.png?raw=true" style="width:100%">⌬Destroyer
  210. </div>
  211. <div class="column">
  212. <img src="https://github.com/Abyss-ora/images/blob/main/9.png?raw=true" style="width:100%">⌬Dms/speed
  213. </div>
  214. <div class="column">
  215. <img src="https://github.com/Abyss-ora/images/blob/main/10.png?raw=true" style="width:100%">⌬Dms/Health
  216. </div>
  217. <div class="column">
  218. <img src="https://github.com/Abyss-ora/images/blob/main/11.png?raw=true" style="width:100%">⌬Tri-angle
  219. </div>
  220. <div class="column">
  221. <img src="https://github.com/Abyss-ora/images/blob/main/12.png?raw=true" style="width:100%">⌬Trapper
  222. </div>
  223. <div class="column">
  224. <img src="https://github.com/Abyss-ora/images/blob/main/32.png?raw=true" style="width:100%">⌬Stacker
  225. </div>
  226. <div class="column">
  227. <img src="https://github.com/Abyss-ora/images/blob/main/14.png?raw=true" style="width:100%">⌬Semi/Ram/Booster
  228. </div>
  229. <div class="column">
  230. <img src="https://github.com/Abyss-ora/images/blob/main/6.png?raw=true" style="width:100%">⌬SmasherSpeed
  231. </div>
  232. <div class="column">
  233. <img src="https://github.com/Abyss-ora/images/blob/main/7.png?raw=true" style="width:100%">⌬Smasher/Dms
  234. </div>
  235. </a>
  236. </div>
  237.  
  238. `
  239.  
  240. function hmm() {
  241. var xp = document.getElementById("imgdiv");
  242. if (xp.style.display === "none") {
  243. xp.style.display = "block";
  244. } else {
  245. xp.style.display = "none";
  246. }
  247. }
  248. function mmh() {
  249. var xp = document.getElementById("imgdivtwo");
  250. if (xp.style.display === "none") {
  251. xp.style.display = "block";
  252. } else {
  253. xp.style.display = "none";
  254. }
  255. }
  256. function keydownFunction() {
  257. var x = document.getElementById("myhover");
  258. if (x.style.display === "none") {
  259. x.style.display = "block";
  260. } else {
  261. x.style.display = "none";
  262. }
  263. }
  264. document.body.onkeyup = function(ep) {
  265. if (ep.keyCode === 81) {
  266. hmm();
  267. mmh();
  268. }
  269. if (ep.keyCode === 82) {
  270. keydownFunction();
  271. }
  272. }
  273.  
  274. var tglinfo = document.createElement('div');
  275. document.getElementsByTagName('body')[0].appendChild(tglinfo);
  276. tglinfo.style = "position:absolute; pointer-events: none; top:10px; right:400px; font-family: 'Monoton', cursive; color: #FFFFFF; font-size: 20px; text-shadow: black 0px 1px, purple 0px 2px, pink 0px 3px";
  277. tglinfo.innerHTML = `<p> Press &#160; &#160; (Q) &#160; &#160; to &#160; </p>
  278. <p> toggle &#160; info </p>`
  279. //-------------------------------------[TESTING IDEA AREA]----------------------------------------\\
  280. })();