โ˜ฐ

Hack doomed2.io

By ๐Ÿ˜ˆ๐–†๐–†๐–†๐–†๐–†๐–†๐Ÿ˜ˆ

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Advertisement:

// ==UserScript==
// @name         Hack doomed2.io
// @namespace    http://tampermonkey.net/
// @version      1.21
// @description  By ๐Ÿ˜ˆ๐–†๐–†๐–†๐–†๐–†๐–†๐Ÿ˜ˆ
// @author       You
// @grant        GM_setValue
// @grant        GM_getValue
// @grant        GM_addValue
// @grant        GM_addStyle
// @grant        GM_getResourceText
// @run-at       document-end
// @match        *://doomed2.io/*
// ==/UserScript==




if(window.location.href == "http://doomed2.io/" || window.location.href == "http://doomed2.io/index.html"){
document.getElementById("banner_div").remove(); // ad
document.getElementById("preroll").remove(); // ad

let canvas = document.getElementById("canvas"); // canvas
document.getElementById("input_username").setAttribute('maxlength', 2222222222222); // infinity symbols for input_username

const times = [];
let fps;

let HackFPS = document.createElement("div"); //FPS counter
HackFPS.style = "position:absolute;top:-8px;right:0px; left:245px;display:none;";
HackFPS.innerHTML = `
<p>FPS = <span id="TakeFPS"></span></p>
`;

document.getElementById("console_div").appendChild(HackFPS);// Paste HackFPS

function refreshLoop() {
  window.requestAnimationFrame(() => {
    const now = performance.now();
    while (times.length > 0 && times[0] <= now - 1000) {
      times.shift();
    }
    times.push(now);
    fps = times.length;
    refreshLoop();
document.getElementById("TakeFPS").innerHTML = fps; // paste fps in span
  });
}
refreshLoop(); // start fps function

//Hack menu

let HackMenu = document.createElement("div");
HackMenu.id = "HackMenu";
HackMenu.style = "display: none;";
HackMenu.innerHTML = `
<h3 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;">KrityHack v1.2</h3>
<p class="functions" id="ShowFPS">ShowFPS</p>
<p class="functions" id="Cursor">Cursor</p>
<p class="functions" id="HotKeys">HotKeys</p>
<p class="functions" id="ShowMyObjects">ShowMyObjects</p>
<p class="functions" id="KeepMarkersOnDeath">KeepMarkersOnDeath</p>
<p class="functions" id="Tracer">Tracer</p>
<p class="functions" id="Boosters">Boosters</p>
<p class="functions" id="IWantFap">IWantFap</p>
`;

document.getElementById("game_page").appendChild(HackMenu);

document.getElementById("HotKeys").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
}
else{
this.style.color = "";
}
};

document.getElementById("ShowFPS").onclick = function (){
if(this.style.color == "" || HackFPS.style.display == "none"){
this.style.color = "rgb(255,219,0)";
HackFPS.style.display = "block";
}
else{
this.style.color = "";
HackFPS.style.display = "none";
}
};

document.getElementById("Cursor").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
canvas.style = "cursor:url(https://drive.google.com/u/0/uc?id=1ima7DNPRd88iLBr6dI75BtBKl_lTqFFn&export=download), default;";
}
else{
this.style.color = "";
canvas.style = "cursor:crosshair;";
}
};

document.getElementById("HotKeys").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
}
else{
this.style.color = "";
}
};

document.getElementById("KeepMarkersOnDeath").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
}
else{
this.style.color = "";
}
};

document.getElementById("ShowMyObjects").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
}
else{
this.style.color = "";
}
};

document.getElementById("Tracer").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
}
else{
this.style.color = "";
}
};

document.getElementById("Boosters").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
}
else{
this.style.color = "";
}
};

document.getElementById("IWantFap").onclick = function (){
if(this.style.color == ""){
this.style.color = "rgb(255,219,0)";
let inputClan = document.getElementById("input_clan_name");
let createClan = document.getElementById("create_join_clan_button");
let leaveClan = document.getElementById("leave_clan_button");
let valueTry = prompt("ะกะบะพะปัŒะบะพ ั€ะฐะท ะฟะพะฒั‚ะพั€ะธั‚ัŒ ะดั€ะพั‡ะบัƒ ?", 10);
let valueInterval = prompt("ะ’ั‹ะฑะตั€ะธั‚ะต ะดะปะธั‚ะตะปัŒะฝะพัั‚ัŒ ะดั€ะพั‡ะบะธ ะฒ ัะตะบัƒะฝะดะฐั…", 0.5);
valueInterval = valueInterval * 1000;

if(!null){
for(let i = 0, value = 0;i < valueTry;i++){
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8โœŠ===D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8=โœŠ==D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8==โœŠ=D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8===โœŠD";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8===โœŠD~~";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8===โœŠD";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8==โœŠ=D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8=โœŠ==D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueInterval);

if(i == valueTry - 1){
setTimeout(function(){document.getElementById("IWantFap").style.color = "";}, value + valueInterval);
}

}
}
}
};

GM_addStyle(`
        #HackMenu{
            border-radius:5px;
            border:1px solid white;
            background-color:rgb(0,0,0,0.5);
            position:absolute;
            width:200px;
            padding:10px 10px 10px 15px;
            top:20%;
            left:20%;
        }
        .functions{
            font-size:19px;
            font-weight:900;
            color:rgb(255,219,0,0.2);
            padding-left:5px;
            border-left:3px solid transparent;
        }
        .functions:hover{
            cursor:pointer;
            color:rgb(255,219,0,0.7);
            border-left:3px solid red;
        }
`);

document.getElementById("server_url_menu").style.visibility = "hidden";

document.getElementById("server_url_button").onclick = function(){
if(HackMenu.style.display === "none"){
HackMenu.style.display = "block";
}
else{
HackMenu.style.display = "none"
}
};
console.log("Doomed2.io");

//Name Hack

const abc = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
const letters = ["๐š๐›๐œ๐๐ž๐Ÿ๐ ๐ก๐ข๐ฃ๐ค๐ฅ๐ฆ๐ง๐จ๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ๐ฑ๐ฒ๐ณ๐€๐๐‚๐ƒ๐„๐…๐†๐‡๐ˆ๐‰๐Š๐‹๐Œ๐๐Ž๐๐๐‘๐’๐“๐”๐•๐–๐—๐˜๐™","๐˜ข๐˜ฃ๐˜ค๐˜ฅ๐˜ฆ๐˜ง๐˜จ๐˜ฉ๐˜ช๐˜ซ๐˜ฌ๐˜ญ๐˜ฎ๐˜ฏ๐˜ฐ๐˜ฑ๐˜ฒ๐˜ณ๐˜ด๐˜ต๐˜ถ๐˜ท๐˜ธ๐˜น๐˜บ๐˜ป๐˜ˆ๐˜‰๐˜Š๐˜‹๐˜Œ๐˜๐˜Ž๐˜๐˜๐˜‘๐˜’๐˜“๐˜”๐˜•๐˜–๐˜—๐˜˜๐˜™๐˜š๐˜›๐˜œ๐˜๐˜ž๐˜Ÿ๐˜ ๐˜ก","๐™–๐™—๐™˜๐™™๐™š๐™›๐™œ๐™๐™ž๐™Ÿ๐™ ๐™ก๐™ข๐™ฃ๐™ค๐™ฅ๐™ฆ๐™ง๐™จ๐™ฉ๐™ช๐™ซ๐™ฌ๐™ญ๐™ฎ๐™ฏ๐˜ผ๐˜ฝ๐˜พ๐˜ฟ๐™€๐™๐™‚๐™ƒ๐™„๐™…๐™†๐™‡๐™ˆ๐™‰๐™Š๐™‹๐™Œ๐™๐™Ž๐™๐™๐™‘๐™’๐™“๐™”๐™•","๐šŠ๐š‹๐šŒ๐š๐šŽ๐š๐š๐š‘๐š’๐š“๐š”๐š•๐š–๐š—๐š˜๐š™๐šš๐š›๐šœ๐š๐šž๐šŸ๐š ๐šก๐šข๐šฃ๐™ฐ๐™ฑ๐™ฒ๐™ณ๐™ด๐™ต๐™ถ๐™ท๐™ธ๐™น๐™บ๐™ป๐™ผ๐™ฝ๐™พ๐™ฟ๐š€๐š๐š‚๐šƒ๐š„๐š…๐š†๐š‡๐šˆ๐š‰","๐”ž๐”Ÿ๐” ๐”ก๐”ข๐”ฃ๐”ค๐”ฅ๐”ฆ๐”ง๐”จ๐”ฉ๐”ช๐”ซ๐”ฌ๐”ญ๐”ฎ๐”ฏ๐”ฐ๐”ฑ๐”ฒ๐”ณ๐”ด๐”ต๐”ถ๐”ท๐”„๐”…โ„ญ๐”‡๐”ˆ๐”‰๐”Šโ„Œโ„‘๐”๐”Ž๐”๐”๐”‘๐”’๐”“๐””โ„œ๐”–๐”—๐”˜๐”™๐”š๐”›๐”œโ„จ","๐–†๐–‡๐–ˆ๐–‰๐–Š๐–‹๐–Œ๐–๐–Ž๐–๐–๐–‘๐–’๐–“๐–”๐–•๐––๐–—๐–˜๐–™๐–š๐–›๐–œ๐–๐–ž๐–Ÿ๐•ฌ๐•ญ๐•ฎ๐•ฏ๐•ฐ๐•ฑ๐•ฒ๐•ณ๐•ด๐•ต๐•ถ๐•ท๐•ธ๐•น๐•บ๐•ป๐•ผ๐•ฝ๐•พ๐•ฟ๐–€๐–๐–‚๐–ƒ๐–„๐–…","๐’ถ๐’ท๐’ธ๐’น๐‘’๐’ป๐‘”๐’ฝ๐’พ๐’ฟ๐“€๐“๐“‚๐“ƒ๐‘œ๐“…๐“†๐“‡๐“ˆ๐“‰๐“Š๐“‹๐“Œ๐“๐“Ž๐“๐’œ๐ต๐’ž๐’Ÿ๐ธ๐น๐’ข๐ป๐ผ๐’ฅ๐’ฆ๐ฟ๐‘€๐’ฉ๐’ช๐’ซ๐’ฌ๐‘…๐’ฎ๐’ฏ๐’ฐ๐’ฑ๐’ฒ๐’ณ๐’ด๐’ต","๐“ช๐“ซ๐“ฌ๐“ญ๐“ฎ๐“ฏ๐“ฐ๐“ฑ๐“ฒ๐“ณ๐“ด๐“ต๐“ถ๐“ท๐“ธ๐“น๐“บ๐“ป๐“ผ๐“ฝ๐“พ๐“ฟ๐”€๐”๐”‚๐”ƒ๐“๐“‘๐“’๐““๐“”๐“•๐“–๐“—๐“˜๐“™๐“š๐“›๐“œ๐“๐“ž๐“Ÿ๐“ ๐“ก๐“ข๐“ฃ๐“ค๐“ฅ๐“ฆ๐“ง๐“จ๐“ฉ","โ“โ“‘โ“’โ““โ“”โ“•โ“–โ“—โ“˜โ“™โ“šโ“›โ“œโ“โ“žโ“Ÿโ“ โ“กโ“ขโ“ฃโ“คโ“ฅโ“ฆโ“งโ“จโ“ฉโ’ถโ’ทโ’ธโ’นโ’บโ’ปโ’ผโ’ฝโ’พโ’ฟโ“€โ“โ“‚โ“ƒโ“„โ“…โ“†โ“‡โ“ˆโ“‰โ“Šโ“‹โ“Œโ“โ“Žโ“","๐Ÿ…๐Ÿ…‘๐Ÿ…’๐Ÿ…“๐Ÿ…”๐Ÿ…•๐Ÿ…–๐Ÿ…—๐Ÿ…˜๐Ÿ…™๐Ÿ…š๐Ÿ…›๐Ÿ…œ๐Ÿ…๐Ÿ…ž๐Ÿ…Ÿ๐Ÿ… ๐Ÿ…ก๐Ÿ…ข๐Ÿ…ฃ๐Ÿ…ค๐Ÿ…ฅ๐Ÿ…ฆ๐Ÿ…ง๐Ÿ…จ๐Ÿ…ฉ๐Ÿ…๐Ÿ…‘๐Ÿ…’๐Ÿ…“๐Ÿ…”๐Ÿ…•๐Ÿ…–๐Ÿ…—๐Ÿ…˜๐Ÿ…™๐Ÿ…š๐Ÿ…›๐Ÿ…œ๐Ÿ…๐Ÿ…ž๐Ÿ…Ÿ๐Ÿ… ๐Ÿ…ก๐Ÿ…ข๐Ÿ…ฃ๐Ÿ…ค๐Ÿ…ฅ๐Ÿ…ฆ๐Ÿ…ง๐Ÿ…จ๐Ÿ…ฉ","๐•’๐•“๐•”๐••๐•–๐•—๐•˜๐•™๐•š๐•›๐•œ๐•๐•ž๐•Ÿ๐• ๐•ก๐•ข๐•ฃ๐•ค๐•ฅ๐•ฆ๐•ง๐•จ๐•ฉ๐•ช๐•ซ๐”ธ๐”นโ„‚๐”ป๐”ผ๐”ฝ๐”พโ„๐•€๐•๐•‚๐•ƒ๐•„โ„•๐•†โ„™โ„šโ„๐•Š๐•‹๐•Œ๐•๐•Ž๐•๐•โ„ค","๏ฝ๏ฝ‚๏ฝƒ๏ฝ„๏ฝ…๏ฝ†๏ฝ‡๏ฝˆ๏ฝ‰๏ฝŠ๏ฝ‹๏ฝŒ๏ฝ๏ฝŽ๏ฝ๏ฝ๏ฝ‘๏ฝ’๏ฝ“๏ฝ”๏ฝ•๏ฝ–๏ฝ—๏ฝ˜๏ฝ™๏ฝš๏ผก๏ผข๏ผฃ๏ผค๏ผฅ๏ผฆ๏ผง๏ผจ๏ผฉ๏ผช๏ผซ๏ผฌ๏ผญ๏ผฎ๏ผฏ๏ผฐ๏ผฑ๏ผฒ๏ผณ๏ผด๏ผต๏ผถ๏ผท๏ผธ๏ผน๏ผบ","แด€ส™แด„แด…แด‡า“ษขสœษชแดŠแด‹สŸแดษดแดแด˜วซส€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","ๅ‚ไนƒๅŒšแ—ชไน‡ๅƒแŽถๅ„ไธจ๏พŒาœใ„ฅ็ˆชๅ‡ ใ„–ๅฉษŠๅฐบไธ‚ใ„’ใ„ฉแฏๅฑฑไน‚ใ„šไน™ๅ‚ไนƒๅŒšแ—ชไน‡ๅƒแŽถๅ„ไธจ๏พŒาœใ„ฅ็ˆชๅ‡ ใ„–ๅฉษŠๅฐบไธ‚ใ„’ใ„ฉแฏๅฑฑไน‚ใ„šไน™"
];
const styles = [
"Default (Name Font)","๐๐จ๐ฅ๐","๐˜๐˜ต๐˜ข๐˜ญ๐˜ช๐˜ค","๐˜ฝ๐™ค๐™ก๐™™+๐™„๐™ฉ๐™–๐™ก๐™ž๐™˜","๐™ผ๐š˜๐š—๐š˜๐šœ๐š™๐šŠ๐šŒ๐šŽ","๐”‰๐”ฏ๐”ž๐”จ๐”ฑ๐”ฒ๐”ฏ","๐•ญ๐–”๐–‘๐–‰+๐•ฑ๐–—๐–†๐–๐–™๐–š๐–—","๐ป๐’ถ๐“ƒ๐’น","๐“‘๐“ธ๐“ต๐“ญ+๐“—๐“ช๐“ท๐“ญ","โ’ทโ“คโ“‘โ“‘โ“›โ“”โ“ข","๐Ÿ…‘๐Ÿ…›๐Ÿ…๐Ÿ…’๐Ÿ…š ๐Ÿ…‘๐Ÿ…ค๐Ÿ…‘๐Ÿ…‘๐Ÿ…›๐Ÿ…”๐Ÿ…ข","๐”ป๐• ๐•ฆ๐•“๐•๐•–","๏ผด๏ฝˆ๏ฝ‰๏ฝŽ","sแดแด€สŸสŸ แด„แด€แด˜s","แ”•แ‘ญEแ‘•Iแ—ฉแ’ช","ฮฑะธั‚ัฯƒฯะฒฮนฮฑ","ั•ะผooั‚ะฝer","pฮฑrฮฑnฯƒrmฮฑl","ๅƒๅ‚ๅ‡ ๅŒšใ„š"
];


(function (){
var styleSelect = document.createElement("select");
styleSelect.style.backgroundColor = "#1a1a1a";
styleSelect.style.color = "white";
styleSelect.style.marginTop = "3px";
styleSelect.style.width = "300px";
styleSelect.id = "fontselecter";
for (var k = 0; k < styles.length; k++) {
  var option = document.createElement("option");
  option.text = styles[k];
  styleSelect.add(option);
}

//document.querySelector("body > div:nth-child(3) > div:nth-child(5) > div:nth-child(2)").appendChild(styleSelect);
document.querySelector("#social_icon_div > div:nth-child(2)").appendChild(styleSelect);
document.querySelector("#fontselecter option").style.width = "300px";

styleSelect.selectedIndex = GM_getValue("style");
styleSelect.onchange = function () {
  GM_setValue("style", styleSelect.selectedIndex);
};

var chatInput = document.getElementById("input_username");
chatInput.onkeyup = function () {
  if (
    ((styleSelect.selectedIndex !== 0) & !chatInput.value.startsWith("/")) |
    chatInput.value.startsWith("/p ")
  ) {
    var fancyText = chatInput.value.startsWith("/p ")
      ? chatInput.value.substr(3)
      : chatInput.value;
    for (var k = 0; k < 52; k++) {
      var regex = new RegExp(abc[k], "g");
      fancyText = fancyText.replace(
        regex,
        Array.from(letters[styleSelect.selectedIndex - 1])[k]
      );
    }
    chatInput.value = chatInput.value.startsWith("/p ")
      ? "/p " + fancyText
      : fancyText;
  }
};
}());


let AAAAAAAAAAAAAAAAAAAA = true;
document.getElementById("connect_button").onclick = setTimeout(function (){
if(AAAAAAAAAAAAAAAAAAAA){
AAAAAAAAAAAAAAAAAAAA = false;
(function chatSymbolsHack(){
var styleSelect = document.createElement("select");
styleSelect.style = "z-index:999999999;position: absolute;cursor: pointer;left: 84px;top: 37px;color: white;width: 300px";
styleSelect.style.backgroundColor = "#1a1a1a";
styleSelect.id = "fontselecter1";
for (var k = 0; k < styles.length; k++) {
  var option = document.createElement("option");
  option.text = styles[k];
  styleSelect.add(option);
}

//document.querySelector("body > div:nth-child(3) > div:nth-child(5) > div:nth-child(2)").appendChild(styleSelect);
document.querySelector("#game_page > div").appendChild(styleSelect);
document.querySelector("#fontselecter1 option").style.width = "300px";

styleSelect.selectedIndex = GM_getValue("style");
styleSelect.onchange = function () {
  GM_setValue("style", styleSelect.selectedIndex);
};

var chatInput = document.getElementById("console_text_input");
chatInput.onkeyup = function () {
  if (
    ((styleSelect.selectedIndex !== 0) & !chatInput.value.startsWith("/")) |
    chatInput.value.startsWith("/p ")
  ) {
    var fancyText = chatInput.value.startsWith("/p ")
      ? chatInput.value.substr(3)
      : chatInput.value;
    for (var k = 0; k < 52; k++) {
      var regex = new RegExp(abc[k], "g");
      fancyText = fancyText.replace(
        regex,
        Array.from(letters[styleSelect.selectedIndex - 1])[k]
      );
    }
    chatInput.value = chatInput.value.startsWith("/p ")
      ? "/p " + fancyText
      : fancyText;
  }
};
}());

(function clanSymbolsHack(){
var styleSelect = document.createElement("select");
styleSelect.style.backgroundColor = "#1a1a1a";
styleSelect.style.color = "white";
styleSelect.style.marginTop = "3px";
styleSelect.style.width = "300px";
styleSelect.id = "fontselecter2";
for (var k = 0; k < styles.length; k++) {
  var option = document.createElement("option");
  option.text = styles[k];
  styleSelect.add(option);
}

//document.querySelector("body > div:nth-child(3) > div:nth-child(5) > div:nth-child(2)").appendChild(styleSelect);
document.querySelector("#clan_menu").appendChild(styleSelect);
document.querySelector("#fontselecter2 option").style.width = "300px";

styleSelect.selectedIndex = GM_getValue("style");
styleSelect.onchange = function () {
  GM_setValue("style", styleSelect.selectedIndex);
};

var chatInput = document.getElementById("input_clan_name");
chatInput.onkeyup = function () {
  if (
    ((styleSelect.selectedIndex !== 0) & !chatInput.value.startsWith("/")) |
    chatInput.value.startsWith("/p ")
  ) {
    var fancyText = chatInput.value.startsWith("/p ")
      ? chatInput.value.substr(3)
      : chatInput.value;
    for (var k = 0; k < 52; k++) {
      var regex = new RegExp(abc[k], "g");
      fancyText = fancyText.replace(
        regex,
        Array.from(letters[styleSelect.selectedIndex - 1])[k]
      );
    }
    chatInput.value = chatInput.value.startsWith("/p ")
      ? "/p " + fancyText
      : fancyText;
  }
};

})();
}
},2000);

//Name Hack

//Default settings

let FPS_COUNTER = true;
let CURSOR = true;

document.getElementById("connect_button").onclick = function (){
if(FPS_COUNTER){
HackFPS.style.display = "block";
document.getElementById("ShowFPS").style.color = "rgb(255,219,0)";
}
if(CURSOR){
setTimeout(() => {
document.getElementById("Cursor").style.color = "rgb(255,219,0)";
canvas.style = "cursor:url(https://drive.google.com/u/0/uc?id=1ima7DNPRd88iLBr6dI75BtBKl_lTqFFn&export=download), default;";
},2000);
}
};
//Default settings

}else if(window.location.href == "http://doomed2.io/leaderboard.html"){
document.querySelector("body > div").style = "max-width:1300px; margin:0 auto;text-align:center;left:0;right:0";
document.querySelector("body > div > div > div:nth-child(2)").style = "text-align:center;margin:10px 0";
document.querySelector("body > div > div > div:nth-child(3)").style = "text-align:center;margin:10px 0";

let aTop25 = document.createElement("a");
aTop25.innerText = "Top 25 players of Doomed2.io";
aTop25.href = "https://krityteam.github.io/Doomed2-LeaderBoard/";
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;";
aTop25.target = "_blank";

document.querySelector("body > div > div > div:nth-child(3)").appendChild(aTop25);

console.log("LeaderBoard of Doomed2.io");
}

setTimeout(function HackActivated(){
console.log("Doomed2.io HACK ACTIVATED"); // Send in console message
console.log("Doomed2.io HACK ACTIVATED"); // Send in console message
console.log("Doomed2.io HACK ACTIVATED"); // Send in console message
console.log("By Dimazik123"); // Send in console message
},6000);