Hack doomed2.io

By Dimazik123

当前为 2020-07-23 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         Hack doomed2.io
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  By Dimazik123
// @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==

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 v0.1</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 == ""){
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);
let valueTrust = prompt("Выберите длительность дрочки в секундах", 0.5);
valueInterval = valueInterval * 1000;
valueTrust = valueTrust * 1000;

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 + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8=✊==D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8==✊=D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8===✊D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8===✊D~~";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8===✊D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8==✊=D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);
value = valueInterval + value;
setTimeout(function(){inputClan.value = "8=✊==D";}, value);
setTimeout(function(){createClan.click();}, value);
setTimeout(function(){leaveClan.click();}, value + valueTrust);

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

}
}
};

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"
}
};

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);