Hack doomed.io fun

By RESIDENT

  1. // ==UserScript==
  2. // @name Hack doomed.io fun
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description By RESIDENT
  6. // @author You
  7. // @grant GM_setValue
  8. // @grant GM_getValue
  9. // @grant GM_addValue
  10. // @grant GM_addStyle
  11. // @grant GM_getResourceText
  12. // @run-at document-end
  13. // @match *://doomed.io/*
  14. // ==/UserScript==
  15.  
  16.  
  17.  
  18.  
  19. if(window.location.href == "http://doomed.io/" || window.location.href == "http://doomed.io/index.html"){
  20. document.getElementById("banner_div").remove(); // ad
  21. document.getElementById("preroll").remove(); // ad
  22. }
  23. let canvas = document.getElementById("canvas"); // canvas
  24. document.getElementById("input_username").setAttribute('maxlength', 2222222222222); // infinity symbols for input_username
  25.  
  26. const times = [];
  27. let fps;
  28.  
  29.  
  30.  
  31. let HackFPS = document.createElement("div"); //FPS counter
  32. HackFPS.style = "position:absolute;top:-22px;right:0px; left:100px;display:none;";
  33. HackFPS.innerHTML = `
  34. <p>FPS = <span id="TakeFPS"></span></p>
  35. `;
  36.  
  37. HackFPS.style = "position:absolute;top:-8px;right:0px; left:245px;display:none;";
  38. HackFPS.innerHTML = `
  39. <p>FPS = <span id="TakeFPS"></span></p>
  40. `;
  41.  
  42. function refreshLoop() {
  43. window.requestAnimationFrame(() => {
  44. const now = performance.now();
  45. while (times.length > 0 && times[0] <= now - 1000) {
  46. times.shift();
  47. }
  48. times.push(now);
  49. fps = times.length;
  50. refreshLoop();
  51. document.getElementById("TakeFPS").innerHTML = fps; // paste fps in span
  52. });
  53. }
  54. refreshLoop(); // start fps function
  55.  
  56. //Hack menu
  57. let HackMenu = document.createElement("div");
  58. HackMenu.id = "HackMenu";
  59. HackMenu.style = "display: none;";
  60. HackMenu.innerHTML = `
  61. <h2 style="text-align:center;font-size:23px;font-weight: 900;background: linear-gradient(to right,#ff8a00,#da1b60);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">Hack Menu v0.1</h2>
  62. <p class="functions" id="ShowFPS">ShowFPS</p>
  63. <p class="functions" id="Cursor">Cursor</p>
  64. <p class="functions" id="HotKeys">HotKeys</p>
  65. <p class="functions" id="ShowMyObjects">ShowMyObjects</p>
  66. <p class="functions" id="KeepMarkersOnDeath">KeepMarkersOnDeath</p>
  67. <p class="functions" id="Tracer">Tracer</p>
  68. <p class="functions" id="Boosters">Boosters</p>
  69. <p class="functions" id="IWantFap">IWantFap</p>
  70. <p class="functions" id="--ELITE MENU--">--ELITE MENU--</p>
  71. <p class="functions" id="Menu KILLER7177">Menu KILLER7177</p>
  72. <p class="functions" id="Menu RESIDENT">Menu RESIDENT</p>
  73. <p class="functions" id="Menu BRO7177">Menu BRO7177</p>
  74. <p class="functions" id="Web Site">Web Site</p>
  75. `;
  76.  
  77. document.getElementById("game_page").appendChild(HackMenu);
  78.  
  79. document.getElementById("HotKeys").onclick = function (){
  80. if(this.style.color == ""){
  81. this.style.color = "rgb(255,219,0)";
  82. }
  83. else{
  84. this.style.color = "";
  85. }
  86. };
  87.  
  88. document.getElementById("ShowFPS").onclick = function (){
  89. if(this.style.color == "" || HackFPS.style.display == "none"){
  90. this.style.color = "rgb(255, 69, 0)";
  91. HackFPS.style.display = "block";
  92. }
  93. else{
  94. this.style.color = "";
  95. HackFPS.style.display = "1234";
  96. }
  97. };
  98.  
  99. document.getElementById("Cursor").onclick = function (){
  100. if(this.style.color == ""){
  101. this.style.color = "rgb(255, 69, 0)";
  102. canvas.style = "cursor:url(http://www.rw-designer.com/cursor-view/97540.gif), default;";
  103. }
  104. else{
  105. this.style.color = "";
  106. canvas.style = "cursor:crosshair;";
  107. }
  108. };
  109.  
  110. document.getElementById("HotKeys").onclick = function (){
  111. if(this.style.color == ""){
  112. this.style.color = "rgb(255, 69, 0)";
  113. }
  114. else{
  115. this.style.color = "";
  116. }
  117. };
  118.  
  119. document.getElementById("ShowMyObjects").onclick = function (){
  120. if(this.style.color == ""){
  121. this.style.color = "rgb(255, 69, 0)";
  122. }
  123. else{
  124. this.style.color = "";
  125. }
  126. };
  127.  
  128. document.getElementById("KeepMarkersOnDeath").onclick = function (){
  129. if(this.style.color == ""){
  130. this.style.color = "rgb(0, 128, 0)";
  131. }
  132. else{
  133. this.style.color = "";
  134. }
  135. };
  136.  
  137. document.getElementById("Tracer").onclick = function (){
  138. if(this.style.color == ""){
  139. this.style.color = "rgb(0, 128, 0)";
  140. }
  141. else{
  142. this.style.color = "";
  143. }
  144. };
  145.  
  146. document.getElementById("Boosters").onclick = function (){
  147. if(this.style.color == ""){
  148. this.style.color = "rgb(0, 128, 0)";
  149. }
  150. else{
  151. this.style.color = "";
  152. }
  153. };
  154.  
  155. document.getElementById("IWantFap").onclick = function (){
  156. if(this.style.color == ""){
  157. this.style.color = "rgb(0, 128, 0)";
  158. let inputClan = document.getElementById("input_clan_name");
  159. let createClan = document.getElementById("create_join_clan_button");
  160. let leaveClan = document.getElementById("leave_clan_button");
  161. let valueTry = prompt("Сколько раз повторить дрочку ?", 10);
  162. let valueInterval = prompt("Выберите длительность дрочки в секундах", 0.5);
  163. valueInterval = valueInterval * 1000;
  164.  
  165. if(!null){
  166. for(let i = 0, value = 0;i < valueTry;i++){
  167. value = valueInterval + value;
  168. setTimeout(function(){inputClan.value = "Л";}, value);
  169. setTimeout(function(){createClan.click();}, value);
  170. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  171. value = valueInterval + value;
  172. setTimeout(function(){inputClan.value = "ЛЮ";}, value);
  173. setTimeout(function(){createClan.click();}, value);
  174. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  175. value = valueInterval + value;
  176. setTimeout(function(){inputClan.value = "ЛЮТ";}, value);
  177. setTimeout(function(){createClan.click();}, value);
  178. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  179. value = valueInterval + value;
  180. setTimeout(function(){inputClan.value = "ЛЮТЫЙ✊";}, value);
  181. setTimeout(function(){createClan.click();}, value);
  182. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  183. value = valueInterval + value;
  184. setTimeout(function(){inputClan.value = "К";}, value);
  185. setTimeout(function(){createClan.click();}, value);
  186. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  187. value = valueInterval + value;
  188. setTimeout(function(){inputClan.value = "КЛ";}, value);
  189. setTimeout(function(){createClan.click();}, value);
  190. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  191. value = valueInterval + value;
  192. setTimeout(function(){inputClan.value = "КЛА";}, value);
  193. setTimeout(function(){createClan.click();}, value);
  194. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  195. value = valueInterval + value;
  196. setTimeout(function(){inputClan.value = "КЛАН";}, value);
  197. setTimeout(function(){createClan.click();}, value);
  198. setTimeout(function(){leaveClan.click();}, value + valueInterval);
  199.  
  200. if(i == valueTry - 1){
  201. setTimeout(function(){document.getElementById("IWantFap").style.color = "";}, value + valueInterval);
  202. }
  203. }
  204. }
  205. }
  206. };
  207.  
  208. document.getElementById("Menu KILLER7177").onclick = function (){
  209. if(this.style.color == "" || HackFPS.style.display == "none"){
  210. this.style.color = "rgb(255, 0, 0)";
  211. HackFPS.style.display = "block";
  212. }
  213. else{
  214. this.style.color = "";
  215. HackFPS.style.display = "none";
  216. }
  217. };
  218.  
  219. document.getElementById("Menu RESIDENT").onclick = function (){
  220. if(this.style.color == "" || HackFPS.style.display == "none"){
  221. this.style.color = "rgb(255, 0, 0)";
  222. HackFPS.style.display = "block";
  223. }
  224. else{
  225. this.style.color = "";
  226. HackFPS.style.display = "none";
  227. }
  228. };
  229.  
  230. document.getElementById("Menu BRO7177").onclick = function (){
  231. if(this.style.color == "" || HackFPS.style.display == "none"){
  232. this.style.color = "rgb(255, 0, 0)";
  233. HackFPS.style.display = "block";
  234. }
  235. else{
  236. this.style.color = "";
  237. HackFPS.style.display = "none";
  238. }
  239. };
  240.  
  241. document.getElementById("Web Site").onclick = function (){
  242. if(this.style.color == "" || HackFPS.style.display == "none"){
  243. this.style.color = "rgb(255, 0, 0)";
  244. document.location.replace("https://naughty-meninsky-641c03.netlify.app/#KrityHack");
  245. HackFPS.style.display = "block";
  246. }
  247. else{
  248. this.style.color = "";
  249. HackFPS.style.display = "none";
  250. }
  251. };
  252.  
  253. GM_addStyle(`
  254. #HackMenu{
  255. border-radius:50px;
  256. border:2px double orange;
  257. background-color:rgb(0,0,0,0.5);
  258. position:absolute;
  259. width:200px;
  260. padding:10px 10px 10px 15px;
  261. top:2%;
  262. left:25%;
  263. }
  264. .functions{
  265. font-size:20px;
  266. font-weight:950;
  267. color:rgb(255, 255, 255);
  268. padding-left:5px;
  269. border-left:3px double transparent;
  270. }
  271. .functions:hover{
  272. cursor:pointer;
  273. color:rgb(0, 0, 0);
  274. border-left:6px solid yellow;
  275. }
  276. `);
  277. document.getElementById("server_url_menu").style.visibility = "";
  278.  
  279. document.getElementById("server_url_button").onclick = function(){
  280. if(HackMenu.style.display === "none"){
  281. HackMenu.style.display = "block";
  282. }
  283. else{
  284. HackMenu.style.display = "none"
  285. }
  286. };
  287. console.log("Doomed.io");
  288.  
  289. //Name Hack
  290.  
  291. const abc = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
  292. const letters = ["𝐚𝐛𝐜𝐝𝐞𝐟𝐠𝐡𝐢𝐣𝐤𝐥𝐦𝐧𝐨𝐩𝐪𝐫𝐬𝐭𝐮𝐯𝐰𝐱𝐲𝐳𝐀𝐁𝐂𝐃𝐄𝐅𝐆𝐇𝐈𝐉𝐊𝐋𝐌𝐍𝐎𝐏𝐐𝐑𝐒𝐓𝐔𝐕𝐖𝐗𝐘𝐙","𝘢𝘣𝘤𝘥𝘦𝘧𝘨𝘩𝘪𝘫𝘬𝘭𝘮𝘯𝘰𝘱𝘲𝘳𝘴𝘵𝘶𝘷𝘸𝘹𝘺𝘻𝘈𝘉𝘊𝘋𝘌𝘍𝘎𝘏𝘐𝘑𝘒𝘓𝘔𝘕𝘖𝘗𝘘𝘙𝘚𝘛𝘜𝘝𝘞𝘟𝘠𝘡","𝙖𝙗𝙘𝙙𝙚𝙛𝙜𝙝𝙞𝙟𝙠𝙡𝙢𝙣𝙤𝙥𝙦𝙧𝙨𝙩𝙪𝙫𝙬𝙭𝙮𝙯𝘼𝘽𝘾𝘿𝙀𝙁𝙂𝙃𝙄𝙅𝙆𝙇𝙈𝙉𝙊𝙋𝙌𝙍𝙎𝙏𝙐𝙑𝙒𝙓𝙔𝙕","𝚊𝚋𝚌𝚍𝚎𝚏𝚐𝚑𝚒𝚓𝚔𝚕𝚖𝚗𝚘𝚙𝚚𝚛𝚜𝚝𝚞𝚟𝚠𝚡𝚢𝚣𝙰𝙱𝙲𝙳𝙴𝙵𝙶𝙷𝙸𝙹𝙺𝙻𝙼𝙽𝙾𝙿𝚀𝚁𝚂𝚃𝚄𝚅𝚆𝚇𝚈𝚉","𝔞𝔟𝔠𝔡𝔢𝔣𝔤𝔥𝔦𝔧𝔨𝔩𝔪𝔫𝔬𝔭𝔮𝔯𝔰𝔱𝔲𝔳𝔴𝔵𝔶𝔷𝔄𝔅ℭ𝔇𝔈𝔉𝔊ℌℑ𝔍𝔎𝔏𝔐𝔑𝔒𝔓𝔔ℜ𝔖𝔗𝔘𝔙𝔚𝔛𝔜ℨ","𝖆𝖇𝖈𝖉𝖊𝖋𝖌𝖍𝖎𝖏𝖐𝖑𝖒𝖓𝖔𝖕𝖖𝖗𝖘𝖙𝖚𝖛𝖜𝖝𝖞𝖟𝕬𝕭𝕮𝕯𝕰𝕱𝕲𝕳𝕴𝕵𝕶𝕷𝕸𝕹𝕺𝕻𝕼𝕽𝕾𝕿𝖀𝖁𝖂𝖃𝖄𝖅","𝒶𝒷𝒸𝒹𝑒𝒻𝑔𝒽𝒾𝒿𝓀𝓁𝓂𝓃𝑜𝓅𝓆𝓇𝓈𝓉𝓊𝓋𝓌𝓍𝓎𝓏𝒜𝐵𝒞𝒟𝐸𝐹𝒢𝐻𝐼𝒥𝒦𝐿𝑀𝒩𝒪𝒫𝒬𝑅𝒮𝒯𝒰𝒱𝒲𝒳𝒴𝒵","𝓪𝓫𝓬𝓭𝓮𝓯𝓰𝓱𝓲𝓳𝓴𝓵𝓶𝓷𝓸𝓹𝓺𝓻𝓼𝓽𝓾𝓿𝔀𝔁𝔂𝔃𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓢𝓣𝓤𝓥𝓦𝓧𝓨𝓩","ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ","🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩🅐🅑🅒🅓🅔🅕🅖🅗🅘🅙🅚🅛🅜🅝🅞🅟🅠🅡🅢🅣🅤🅥🅦🅧🅨🅩","𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫𝔸𝔹ℂ𝔻𝔼𝔽𝔾ℍ𝕀𝕁𝕂𝕃𝕄ℕ𝕆ℙℚℝ𝕊𝕋𝕌𝕍𝕎𝕏𝕐ℤ","abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ","ᴀʙᴄᴅᴇғɢʜɪᴊᴋʟᴍɴᴏᴘǫʀsᴛᴜᴠᴡxʏᴢᴀʙᴄᴅᴇғɢʜɪᴊᴋʟᴍɴᴏᴘǫʀsᴛᴜᴠᴡxʏᴢ","ᗩᗷᑕᗪEᖴGᕼIᒍKᒪᗰᑎOᑭᑫᖇᔕTᑌᐯᗯ᙭YᘔᗩᗷᑕᗪEᖴGᕼIᒍKᒪᗰᑎOᑭᑫᖇᔕTᑌᐯᗯ᙭Yᘔ","αв¢∂єfgнιנкℓмиσρqяѕтυνωχуzαв¢∂єfgнιנкℓмиσρqяѕтυνωχуz","αвcdeғɢнιjĸlмɴopqrѕтυvwхyzαвcdeғɢнιjĸlмɴopqrѕтυvwхyz","αвcdєfghíjklmnσpqrstuvwхчzαвcdєfghíjklmnσpqrstuvwхчz","卂乃匚ᗪ乇千Ꮆ卄丨フҜㄥ爪几ㄖ卩Ɋ尺丂ㄒㄩᐯ山乂ㄚ乙卂乃匚ᗪ乇千Ꮆ卄丨フҜㄥ爪几ㄖ卩Ɋ尺丂ㄒㄩᐯ山乂ㄚ乙"
  293. ];
  294. const styles = [
  295. "Default (Name Font)","𝐁𝐨𝐥𝐝","𝘐𝘵𝘢𝘭𝘪𝘤","𝘽𝙤𝙡𝙙+𝙄𝙩𝙖𝙡𝙞𝙘","𝙼𝚘𝚗𝚘𝚜𝚙𝚊𝚌𝚎","𝔉𝔯𝔞𝔨𝔱𝔲𝔯","𝕭𝖔𝖑𝖉+𝕱𝖗𝖆𝖐𝖙𝖚𝖗","𝐻𝒶𝓃𝒹","𝓑𝓸𝓵𝓭+𝓗𝓪𝓷𝓭","Ⓑⓤⓑⓑⓛⓔⓢ","🅑🅛🅐🅒🅚 🅑🅤🅑🅑🅛🅔🅢","𝔻𝕠𝕦𝕓𝕝𝕖","Thin","sᴍᴀʟʟ ᴄᴀᴘs","ᔕᑭEᑕIᗩᒪ","αитяσρвια","ѕмooтнer","pαrαnσrmαl","千卂几匚ㄚ"
  296. ];
  297.  
  298.  
  299. (function (){
  300. var styleSelect = document.createElement("select");
  301. styleSelect.style.backgroundColor = "#1a1a1a";
  302. styleSelect.style.color = "white";
  303. styleSelect.style.marginTop = "6px";
  304. styleSelect.style.width = "400px";
  305. styleSelect.id = "fontselecter";
  306. for (var k = 0; k < styles.length; k++) {
  307. var option = document.createElement("option");
  308. option.text = styles[k];
  309. styleSelect.add(option);
  310. }
  311.  
  312. //document.querySelector("body > div:nth-child(3) > div:nth-child(5) > div:nth-child(2)").appendChild(styleSelect);
  313. document.querySelector("#social_icon_div > div:nth-child(2)").appendChild(styleSelect);
  314. document.querySelector("#fontselecter option").style.width = "300px";
  315.  
  316. styleSelect.selectedIndex = GM_getValue("style");
  317. styleSelect.onchange = function () {
  318. GM_setValue("style", styleSelect.selectedIndex);
  319. };
  320.  
  321. var chatInput = document.getElementById("input_username");
  322. chatInput.onkeyup = function () {
  323. if (
  324. ((styleSelect.selectedIndex !== 0) & !chatInput.value.startsWith("/")) |
  325. chatInput.value.startsWith("/p ")
  326. ) {
  327. var fancyText = chatInput.value.startsWith("/p ")
  328. ? chatInput.value.substr(3)
  329. : chatInput.value;
  330. for (var k = 0; k < 52; k++) {
  331. var regex = new RegExp(abc[k], "g");
  332. fancyText = fancyText.replace(
  333. regex,
  334. Array.from(letters[styleSelect.selectedIndex - 1])[k]
  335. );
  336. }
  337. chatInput.value = chatInput.value.startsWith("/p ")
  338. ? "/p " + fancyText
  339. : fancyText;
  340. }
  341. };
  342. }());
  343.  
  344. let AAAAAAAAAAAAAAAAAAAA = true;
  345. document.getElementById("connect_button").onclick = setTimeout(function (){
  346. if(AAAAAAAAAAAAAAAAAAAA){
  347. AAAAAAAAAAAAAAAAAAAA = false;
  348. (function chatSymbolsHack(){
  349. var styleSelect = document.createElement("select");
  350. styleSelect.style = "z-index:999999999;position: absolute;cursor: pointer;left: 75px;top: 20px;color: white;width: 400px";
  351. styleSelect.style.backgroundColor = "#1a1a1a";
  352. styleSelect.id = "fontselecter1";
  353. for (var k = 0; k < styles.length; k++) {
  354. var option = document.createElement("option");
  355. option.text = styles[k];
  356. styleSelect.add(option);
  357. }
  358. //document.querySelector("body > div:nth-child(3) > div:nth-child(5) > div:nth-child(2)").appendChild(styleSelect);
  359. document.querySelector("#game_page > div").appendChild(styleSelect);
  360. document.querySelector("#fontselecter1 option").style.width = "300px";
  361.  
  362. styleSelect.selectedIndex = GM_getValue("style");
  363. styleSelect.onchange = function () {
  364. GM_setValue("style", styleSelect.selectedIndex);
  365. };
  366.  
  367. var chatInput = document.getElementById("console_text_input");
  368. chatInput.onkeyup = function () {
  369. if (
  370. ((styleSelect.selectedIndex !== 0) & !chatInput.value.startsWith("/")) |
  371. chatInput.value.startsWith("/p ")
  372. ) {
  373. var fancyText = chatInput.value.startsWith("/p ")
  374. ? chatInput.value.substr(3)
  375. : chatInput.value;
  376. for (var k = 0; k < 52; k++) {
  377. var regex = new RegExp(abc[k], "g");
  378. fancyText = fancyText.replace(
  379. regex,
  380. Array.from(letters[styleSelect.selectedIndex - 1])[k]
  381. );
  382. }
  383. chatInput.value = chatInput.value.startsWith("/p ")
  384. ? "/p " + fancyText
  385. : fancyText;
  386. }
  387. };
  388. }());
  389.  
  390. (function clanSymbolsHack(){
  391. var styleSelect = document.createElement("select");
  392. styleSelect.style.backgroundColor = "#1a1a1a";
  393. styleSelect.style.color = "white";
  394. styleSelect.style.marginTop = "3px";
  395. styleSelect.style.width = "400px";
  396. styleSelect.id = "fontselecter2";
  397. for (var k = 0; k < styles.length; k++) {
  398. var option = document.createElement("option");
  399. option.text = styles[k];
  400. styleSelect.add(option);
  401. }
  402.  
  403. //document.querySelector("body > div:nth-child(3) > div:nth-child(5) > div:nth-child(2)").appendChild(styleSelect);
  404. document.querySelector("#clan_menu").appendChild(styleSelect);
  405. document.querySelector("#fontselecter2 option").style.width = "300px";
  406.  
  407. styleSelect.selectedIndex = GM_getValue("style");
  408. styleSelect.onchange = function () {
  409. GM_setValue("style", styleSelect.selectedIndex);
  410. };
  411.  
  412. var chatInput = document.getElementById("input_clan_name");
  413. chatInput.onkeyup = function () {
  414. if (
  415. ((styleSelect.selectedIndex !== 0) & !chatInput.value.startsWith("/")) |
  416. chatInput.value.startsWith("/p ")
  417. ) {
  418. var fancyText = chatInput.value.startsWith("/p ")
  419. ? chatInput.value.substr(3)
  420. : chatInput.value;
  421. for (var k = 0; k < 52; k++) {
  422. var regex = new RegExp(abc[k], "g");
  423. fancyText = fancyText.replace(
  424. regex,
  425. Array.from(letters[styleSelect.selectedIndex - 1])[k]
  426. );
  427. }
  428. chatInput.value = chatInput.value.startsWith("/p ")
  429. ? "/p " + fancyText
  430. : fancyText;
  431. }
  432. };
  433.  
  434. })();
  435. }
  436. },2000);
  437.  
  438.  
  439. //Name Hack
  440.  
  441. //Default settings
  442.  
  443. let FPS_COUNTER = true;
  444. let CURSOR = true;
  445.  
  446. document.getElementById("connect_button").onclick = function (){
  447. if(FPS_COUNTER){
  448. HackFPS.style.display = "block";
  449. document.getElementById("ShowFPS").style.color = "rgb(255,219,0)";
  450. }
  451. if(CURSOR){
  452. setTimeout(() => {
  453. document.getElementById("Cursor").style.color = "rgb(255,219,0)";
  454. canvas.style = "cursor:url(https://drive.google.com/u/0/uc?id=1ima7DNPRd88iLBr6dI75BtBKl_lTqFFn&export=download), default;";
  455. },2000);
  456. }
  457. };
  458.  
  459. //Default settings
  460.  
  461. document.querySelector("body > div").style = "max-width:1300px; margin:0 auto;text-align:center;left:0;right:0";
  462. document.querySelector("body > div > div > div:nth-child(2)").style = "text-align:center;margin:10px 0";
  463. document.querySelector("body > div > div > div:nth-child(3)").style = "text-align:center;margin:10px 0";
  464.  
  465. let aTop25 = document.createElement("a");
  466. aTop25.innerText = "Top 25 players of Doomed2.io";
  467. aTop25.href = "https://krityteam.github.io/Doomed2-LeaderBoard/";
  468. aTop25.style = "font-size:20px;font-weight:700;font-family:inherit;margin:15px auto;display:block;border-radius:10px;text-decoration:none;width: 800px;height:auto;overflow:hidden;background-color:#cf0e0e;color:white;padding: 10px;";
  469. aTop25.target = "_blank";
  470.  
  471. document.querySelector("body > div > div > div:nth-child(3)").appendChild(aTop25);
  472. setTimeout(function HackActivated(){
  473. console.log("Doomed.io HACK ACTIVATED"); // Send in console message
  474. console.log("Doomed.io HACK ACTIVATED"); // Send in console message
  475. console.log("Doomed.io HACK ACTIVATED"); // Send in console message
  476. console.log("By RESIDENT"); // Send in console message
  477. },6000);