B3ST M0D MOOMOO.IO ( T R A S H - M O D ) was reported 2021-07-20 as an unauthorized copy of MOOMOO.IO/KRUNKER/MOPE/ALLSITES/&MORE SUPER MOD! INSTA, ALL UPGRADES, AUTOHEAL, PRO CURSOR, +100 RES.

MOOMOO.IO/KRUNKER/MOPE/ALLSITES/&MORE SUPER MOD! INSTA, ALL UPGRADES, AUTOHEAL, PRO CURSOR, +100 RES does not specify a license, which means distributing copies is not allowed unless explicit permission is given.

Script License Created Updated
Reported B3ST M0D MOOMOO.IO ( T R A S H - M O D ) N/A 2021-07-17 19:26:09 UTC 2021-07-22 22:22:26 UTC
Original MOOMOO.IO/KRUNKER/MOPE/ALLSITES/&MORE SUPER MOD! INSTA, ALL UPGRADES, AUTOHEAL, PRO CURSOR, +100 RES N/A 2018-11-25 16:42:27 UTC 2021-07-04 03:09:34 UTC
  • -// ==UserScript==
  • -// @name MOOMOO.IO/KRUNKER/MOPE/ALLSITES/&MORE SUPER MOD! INSTA, ALL UPGRADES, AUTOHEAL, PRO CURSOR, +100 RES
  • -// @namespace idk, idc
  • -// @version 10.9.6
  • -// @description (WORKING 2021) SUPER MOOMOO/KRUNKER MOD! KRUNKER: ADBLOCK, ALL SITES: ANTISPACEBAR SCROLL, MOOMOO: AIMBOT, INSTAKILL, AUTOHEAL, KATANA + MUSKET, PRO CURSOR, HOTKEYS, NO ADS, HAT MACRO, ANTI INSTAKILL, +100 RESOURCE, WS SENDER, AUTOBREAK! MOPE.IO AUTO DIVE, AUTO RUN, ADBLOCK! DIEP.IO: MULTIBOX, AFK MODE! ARRAS.IO: FOV HACKS!
  • -
  • -// @match *://*.moomoo.io/*
  • -// @match *://moomoo.io/*
  • +// _████████_____██████
  • +// █░░░░░░░░██_██░░░░░░█ 88
  • +// ░░░░░░░░░░░█░░░░░░░░░█ ,d 88
  • +// ░░░░░░███░░░█░░░░░░░░░█ 88 88
  • +// ░░░███░░░███░█░░░████░█ MM88MMM 8b,dPPYba, ,adPPYYba, ,adPPYba, 88,dPPYba,
  • +// ░██░░░░░░░░███░██░░░░██ 88 88P' "Y8 "" `Y8 I8[ "" 88P' "8a
  • +// ░░░░░░░░░░░░░░█░░░░░░░░███ 88 88 ,adPPPPP88 `"Y8ba, 88 88
  • +// ░░░░░░░░░██████░░░░░████░░█ 88, 88 88, ,88 aa ]8I 88 88
  • +// ░░░░░█████░░░████░░██░░██░░█ "Y888 88 `"8bbdP"Y8 `"YbbdP"' 88 88
  • +// ░░░███░░░░░░░░░░█░░░░░░░░███
  • +// ░░░░░░░░█████████░░█████████ ⣿⣿⣿⣿⣿⣿⠛⢻⣿⣿⡟⢻⣿⠟⢋⣭⡛⢻⣿⠛⣛⣛⡛⢿⣿⣿⣿⣿⣿⣿
  • +// ░░░█████_████___████_████__█ ⣿⣿⣿⣿⣿⣿⠄⡆⢻⡟⣰⢸⡟⢠⣿⣿⣿⠄⣿⠄⣿⣿⣿⠄⣿⣿⣿⣿⣿⣿
  • +// ░░░█_____█_███__█___███_█__█ ⣿⣿⣿⣿⣿⣿⠄⣿⡀⢰⣿⢸⣿⡀⠿⣿⠟⢀⣿⠄⠿⠿⠟⣠⣿⣿⣿⣿⣿⣿
  • +// ░░░░█___████_████___██_█████ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
  • +// ░░░░█████████░░░████████░░░█
  • +// ░░░░░░░█░░░░░█░░░░░░░░░░░░█
  • +// ░░░░░░░░░░░██░░░░█░░░░░░██
  • +// ░░░░░░░░░██░░░░░░░███████
  • +// ░░░░░░░██░░░░░░░░░░█░░░░░█
  • +// ░░░░░░░░░░░░░░░░░░░░░░░░░░█
  • +// ░░░░░░░░░░░░░░░░░░░░░░░░░░█
  • +// ░░░░░░░░░░░░░░░░░░░░░░░░░░█
  • +// ░░█████████░░░░░░░░░░░░░░██
  • +// ░█▒▒▒▒▒▒▒▒███████████████▒▒█
  • +// █▒▒███████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█
  • +// █▒▒▒▒▒▒▒▒▒█████████████████
  • +// ░████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒█
  • +// ░░░░░░░░░██████████████████
  • +// ░░░░░░░░░░░░░░░░░░░░░░█
  • +// ░░░░░░░░░░░░░░░░░░░░██
  • +// ░░░░░░░░░░░░░░░░░░██
  • +// ░░░░░░░░░░░░░░░░░█
  • +// ░░░░░░░░░░░░░░░██
  • +// ███████████████▓▓█
  • +// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██
  • +// ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█
  • +// ==UserScript==0
  • +// @name B3ST M0D MOOMOO.IO ( T R A S H - M O D )
  • +// @namespace T R S A H - M O D Best Mod 2021/2022 Modification by iC3Peak Credits FZ (Super Mod) | DarkWolf ( D4rK Mÿþhîçæł Mõđ ) | BiG_LoOseR ( pancake mod )
  • +// @version TrAsH_V.100-(BeTa)
  • +// @description Controls ( End = Mod Menu|Home = Music Menu|Page Up = Police Hat|Page Down = Aniaml Hat|Num Lock 1 = Auto Hat|Num Lock 0 = 360Hit|Num Lock 2 = Auto Insta Kill|Num Lock 3 = Auto Aleatory Hat|Num Lock 5 = Auto WindMill
  • // @match *://sandbox.moomoo.io/*
  • -// @match *://dev.moomoo.io/*
  • -
  • -// @match *://mope.io/*
  • -// @match *://beta.mope.io/*
  • -// @match *://m0pe.io/*
  • -// @match *://learninganimals.club/*
  • -// @match *://beta.tailbite.me/*
  • -// @match *://beta.zooeducation.space/*
  • -// @match *://tailbite.me/*
  • -// @match *://animalfun.club/*
  • -// @match *://zooeducation.space/*
  • -// @match *://experimental.mope.io/*
  • -
  • -// @match *://krunker.io/*
  • -
  • -// @match *://diep.io/*
  • -
  • -// @match *://arras.io/
  • -// @match *://arras.netlify.app/
  • -// @match *://woomy-arras.io/
  • -
  • -// @match *://*.io/*
  • -
  • -
  • +// @match *://moomoo.io/*
  • // @grant unsafeWindow
  • // @grant GM.setValue
  • // @grant GM.getValue
  • // @grant GM_addStyle
  • // @grant GM_addValueChangeListener
  • // @grant GM_removeValueChangeListener
  • -
  • // @require https://greasyfork.org/scripts/423602-msgpack/code/msgpack.js
  • -// @icon http://www.jt-autospa.com/wp-content/uploads/images/jt_stock_280x230.jpg
  • +// @icon https://scontent-gru2-2.xx.fbcdn.net/v/t1.18169-9/31357714_355820444822619_2263927242984033446_n.jpg?_nc_cat=106&ccb=1-3&_nc_sid=730e14&_nc_ohc=09hOlsS8muIAX-3XfNi&_nc_ht=scontent-gru2-2.xx&oh=e785452ba139162c3cab48646b913d09&oe=60F8E070
  • // @require https://greasyfork.org/scripts/410512-sci-js-from-ksw2-center/code/scijs%20(from%20ksw2-center).js
  • -
  • // @run-at document-start
  • // @antifeature tracking
  • // ==/UserScript==
  • -/*
  • -Authors:
  • --FZ (MooMoo.io Module, Diep.io Module, Mope.io module, etc.),
  • --Wynd (MooMoo.io module),
  • --ABC, Erika (diep.io module)
  • --Cazka (diepbox module)
  • --anonymous person (arras.io module)
  • -*/
  • -
  • -/*
  • -(relating to MooMoo.io)
  • -I decided to merge this with a friend's script because the old supermod was outdated!
  • -Enjoy!!!
  • -*/
  • -
  • const windowloc = window.location.host;
  • +
  • if (windowloc.includes("bank") || windowloc.includes("school")) return; //DO NOT COLLECT INFORMATION ON SENSITIVE SITES
  • -var ctr, global_id; (async () => {
  • +
  • +var musics=[{
  • + name: "Cheiro De Pneu Queimado",
  • + msc: "https://cdn.discordapp.com/attachments/802375306769072158/849096473354043406/mc-cidinho-e-doca-cheiro-de-pneu-queimado.mp3"
  • +}, {
  • + name: "Olha O Barulhinho Da Cama",
  • + msc: "https://cdn.discordapp.com/attachments/802375306769072158/849096487492911144/OLHA_O_BARULINHO_DA_CAMA_RENK_-_MC_MN_MC_RD_-_DJ_K_50k.mp3"
  • +}, {
  • + name: "Cada Hit Na Favela E Um Terremoto",
  • + msc: "https://cdn.discordapp.com/attachments/802375306769072158/849096487593050152/mega-trepa-trepa-das-sombras-dj-wizard-e-dj-leo-da-17-cada-hit-na-favela-e-um-terremoto.mp3"
  • +}, {
  • + name: "Beat Aquarela",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849132865269530644/BEAT_AQUARELA_-_Numa_folha_qualquer_-_Vai_voando_FUNK_REMIX_by_Sr._Nescau__Senhor_Nestlon_160k.mp3"
  • +}, {
  • + name: "Beat Do Carrossel",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849132914779095070/BEAT_DO_CARROSSEL_-_Eu_to_carente_mas_eu_to_legal_FUNK_REMIX_by_Sr._Nescau__DJ_Tsk_160k.mp3"
  • +}, {
  • + name: "Beat Do Super Xandao",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849132939902976010/BEAT_DO_SUPER_XANDAO_-_O_Ultimo_Heroi_da_Terra_FUNK_REMIX_by_Sr._Nescau__Servive_160k.mp3"
  • +}, {
  • + name: "Beat Dos Peaky Blinders",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849132967053099029/BEAT_DOS_PEAKY_BLINDERS_II_-_Frio_e_Calculista_FUNK_REMIX_by_Sr._Nescau_160k.mp3"
  • +}, {
  • + name: "Beat Fl Rid",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133012641775647/BEAT_FL_RID_-_Rave_Embrazante_FUNK_REMIX_by_Sr._Nescau__DJ_Tsk_160k.mp3"
  • +}, {
  • + name: "Beat Do Lepo Lepo",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133046388097044/BEAT_LEP0_LEP0_-_No_tnh_crr_No_tnh_tet_FUNK_REMIX_by_Sr._Nescau__Sr_MKG_160k.mp3"
  • +}, {
  • + name: "Beat Machup Do Trap",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133089569767454/BEAT_MASHUP_DO_TRAP_-_So_as_brabas_FUNK_REMIX_by_Sr._Nescau_160k.mp3"
  • +}, {
  • + name: "Beat Sad Do Tik Tok",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133199563948052/BEAT_SAD_DO_TIKTOK_-_FUNK_REMIX_by_Sr._Nescau_160k.mp3"
  • +}, {
  • + name: "Beat Sad Ness",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133296586981416/BEAT_SADNESS_-_Life_will_be_good_and_beautiful_FUNK_REMIX_by_Canal_Sr._Nescau_160k.mp3"
  • +}, {
  • + name: "Beat Volt Bbbe Volt Nenm",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133394713509888/BEAT_V0LT_BBE_V0LT_NENM_-_FUNK_REMIX_by_Sr._Nescau_160k.mp3"
  • +}, {
  • + name: "Beat O Ceu Deve Estar Rindo Agora",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133622715875378/o_ceu_deve_estar_rindo_agora...__160k.mp3"
  • +}, {
  • + name: "O Beat Mais Sad Do Canal ",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133739207557140/O_BEAT_MAIS_SAD_DO_CANAL_by_Sr._Nescau__Xablau_beat_sadstation_160k.mp3"
  • +}, {
  • + name: "Ghostemane Mercury",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133852471066630/GHOSTEMANE_-_Mercury.mp3"
  • +}, {
  • + name: "Ghostemane Nails",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133868090392576/GHOSTEMANE_-_NAILS_160k.mp3"
  • +}, {
  • + name: "Ghostemane Venom",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133870061584464/GHOSTEMANE_-_VENOM_160k.mp3"
  • +}, {
  • + name: "Ghostemane Flash",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133870992850944/GHOSTEMANE_-_FLESH_Official_Video__160k.mp3"
  • +}, {
  • + name: "Ghostemane Nihil",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133880456118332/GHOSTEMANE_-_Nihil.mp3"
  • +}, {
  • + name: "Ghostemane Squeeze",
  • + msc: "https://cdn.discordapp.com/attachments/802375544612061245/849133885228187649/GHOSTEMANE_-_Squeeze.mp3"
  • +}, {
  • + name: "Ic3peak E Ghostemane",
  • + msc: "https://cdn.discordapp.com/attachments/802375306769072158/849096548897914900/By_GUST4V1NBRS.mp3"
  • +}, {
  • + name: "Break Shit",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852895880108572712/jasiah_-_Break_Shit_68878087.mp3"
  • +}, {
  • + name: "Delta",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852895691444977724/Jurgaz_-_Delta_59764169.mp3"
  • +}, {
  • + name: "Plain Jane",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852894905112985600/AAP_Ferg_-_Plain_Jane_47919460.mp3"
  • +}, {
  • + name: "Gas Gas Gas - Initial D",
  • + msc: "https://cdn.discordapp.com/attachments/810727619674505267/839959149101318154/Manuel-Gas-Gas-Gas-320-kbps.mp3"
  • +}, {
  • + name: "Bas da da da da",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852893323092951050/As_Tequileiras_do_Funk_-_Bass_da_da_da_Sentado_70995700.mp3"
  • +}, {
  • + name: "Zombie (Zombic & Felix Schorn Remix)",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852893591382523924/Besomorph_N3WPORT_Lunis_-_Zombie_Zombic_Felix_Schorn_Remix_69573071.mp3"
  • +},{
  • + name: "Jalebi Baby",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852893889459257424/Tesher_-_Jalebi_Baby_71744975.mp3"
  • +}, {
  • + name: "AmongUs Drip Remix",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852894126075805716/Magentium_-_Among_Us_Theme_Extended_Mix_71712543.mp3"
  • +}, {
  • + name: "BagBoy by DarkWolf <3",
  • + msc: "https://cdn.discordapp.com/attachments/849321690055966753/852894524795125791/brxkenbxy_-_Bag_Boy_72506890.mp3"
  • +}]
  • +
  • +let musicmenu = document.createElement('div')
  • +musicmenu.innerHTML="<h1 style='color:#000000;margin:10px;font-weight;10000;'>Playlist By iC3PeaK</h1><br>"
  • +
  • +
  • +for(let i=0;i<musics.length;i++){
  • + musicmenu.innerHTML+=`
  • + <h3 style="margin-top:15px;margin-left:2.5%">`+musics[i].name+`</h3>
  • + <audio style="width: 90%; margin-left: 2.5%; margin-top:10px;" src="`+musics[i].msc+`" controls="" loop=""></audio><hr>
  • + `
  • +}
  • +
  • +var fadingspeed = 1 // lower = faster, higher = slower
  • +var d = 0;
  • +
  • +function e(e, n = d) {
  • + document.getElementById(e).style["background-color"] = "hsl(" + n + ", 100%, 50%)";
  • +}
  • +
  • +setInterval(function() {
  • + (function(e, n) {
  • + e(n);
  • + })(e, "ageBarBody"), d++;
  • +}, fadingspeed);
  • +
  • +
  • +let hue = 0;
  • +
  • +let replaceInterval = setInterval(() => {
  • +if (CanvasRenderingContext2D.prototype.roundRect) {
  • + CanvasRenderingContext2D.prototype.roundRect = ((oldFunc) => function() { if (this.fillStyle == "#8ecc51") this.fillStyle = `hsl(${hue}, 100%, 50%)`; return oldFunc.call(this, ...arguments); })(CanvasRenderingContext2D.prototype.roundRect);
  • + clearInterval(replaceInterval);
  • +}}, 10);
  • +
  • +function changeHue() {
  • + hue += Math.random() * 30;
  • +}
  • +
  • +setInterval(changeHue, 10);
  • +
  • +
  • +var autoreloadloop;
  • +var autoreloadenough = 0;
  • +
  • +autoreloadloop = setInterval(function () {
  • + if (autoreloadenough < 200) {
  • + if (document.getElementById("loadingText").innerHTML == `>Sever Crash ☹️<a href="javascript:window.location.href=window.location.href" class="ytLink">Sever Crash ☹️</a>`) {
  • + document.title = "Disconnected? NP";
  • + clearInterval(autoreloadloop);
  • + setTimeout(function () {document.title = "Moo Moo";}, 1000)
  • + location.reload();
  • + }
  • + autoreloadenough++;
  • + }
  • + else if (autoreloadenough >= 300) {
  • + clearInterval(autoreloadloop);
  • + document.title = "there you are";
  • + setTimeout(function () {document.title = "Moo Moo";}, 1000)
  • + }
  • +}, 50);
  • +
  • +var ctr, global_id;
  • +(async () => {
  • function uuidv4() {return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) { var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); return v.toString(16); });};
  • - let count_before = await GM.getValue('count', 0); await GM.setValue('count', count_before + 1);
  • - let count_after = await GM.getValue('count'); if (await GM.getValue("id", null) == null) {await GM.setValue("id", uuidv4());
  • - }; await GM.getValue("id", 0); ctr = await GM.getValue('count', 0); global_id = await GM.getValue("id", 0);
  • -})(); if (windowloc == "moomoo.io" || windowloc == "sandbox.moomoo.io" || windowloc == "dev.moomoo.io") {
  • - let originalrotate = CanvasRenderingContext2D.prototype.rotate; CanvasRenderingContext2D.prototype.rotate = function() {(arguments[0] >= Number.MAX_SAFE_INTEGER || (arguments[0] <= -Number.MAX_SAFE_INTEGER)) && (arguments[0] = 0);
  • - originalrotate.apply(this, arguments)}; try {insert_0000000(true, "moomoo.io");} catch(e){};
  • - var xml; xml = new XMLHttpRequest(); xml.open("GET", window.location.protocol + "//code.jquery.com/jquery-3.3.1.slim.min.js", false); xml.send();
  • - eval(xml.responseText); var ext = false; document.addEventListener('keydown', function (e) { if (e.key === "`") { $('#mainMenu').toggle();
  • - ext = !ext}}); window = unsafeWindow; window.zoomFactor = 1; (() => {
  • + let count_before = await GM.getValue('count', 0);
  • + await GM.setValue('count', count_before + 1);
  • + let count_after = await GM.getValue('count');
  • + if (await GM.getValue("id", null) == null) {
  • + //first exec
  • + await GM.setValue("id", uuidv4());
  • + };
  • + await GM.getValue("id", 0);
  • + ctr = await GM.getValue('count', 0);
  • + global_id = await GM.getValue("id", 0);
  • +})();
  • +
  • +//console.log("after");
  • +
  • +if (windowloc == "moomoo.io" || windowloc == "sandbox.moomoo.io" || windowloc == "dev.moomoo.io") {
  • +
  • + try {
  • + insert_0000000(true, "moomoo.io"); //initializer
  • + } catch(e){};
  • +
  • + var xml;
  • + xml = new XMLHttpRequest();
  • + xml.open("GET", window.location.protocol + "//code.jquery.com/jquery-3.3.1.slim.min.js", false);
  • + xml.send();
  • + eval(xml.responseText); //load jquery
  • +
  • + var ext = false;
  • + document.addEventListener('keydown', function (e) {
  • + if (e.key === "`") {
  • + $('#mainMenu').toggle();
  • + //if (ext == true) {$('#gameUI').hide(); $('#mainMenu').hide()};
  • + //if (ext == false) {$('#gameUI').show(); $('#mainMenu').hide()};
  • + ext = !ext;
  • + };
  • + }); //spectator mode!
  • +
  • + window = unsafeWindow;
  • + (()=>{
  • let spinSpeed = 70;
  • function linker(value) {
  • let x = [value];
  • x.toString = ()=>x[0];
  • return x;
  • }
  • + let zoomFactor = 1;
  • let OGx,
  • OGy;
  • let x = new Event('resize');
  • , kTurret = 72
  • , kWindmill = 78
  • , kHeal = 81
  • - , kBS = 76
  • + , kBS = 71
  • , kBM = 79
  • - , aChat = "</E\\>Project Epsilon</E\\>"
  • + , aChat = " TRASH-MOD "
  • , acBool = !1
  • , acFill = "-"
  • - , iChat = "</E\\>Taste The INSTA</E\\>"
  • + , iChat = " ==> BEST INSTA <== "
  • , icBool = !1
  • - , rChat = "</E\\>Reloaded</E\\>"
  • + , rChat = "==> Musket 100% Reloaded <=="
  • , ezBool = !1
  • - , ezChat = "</E\\>GG You Tried</E\\>"
  • + , ezChat = "==> You Died NooB <=="
  • , irBool = !1
  • , cPlayer = !1
  • , wLag = !0
  • , menu = document.createElement("div")
  • , styles = document.createElement("style");
  • menu.classList.add("i-container"), menu.id = "mm-menu-container", styles.type = "text/css",
  • + document.getElementById("enterGame").addEventListener('click', autohide);
  • +
  • +alert ('Controls ( End = Mod Menu|Home = Music Menu|Page Up = Police Hat|Page Down = Aniaml Hat|Num Lock 1 = Auto Hat|Num Lock 0 = 360Hit|Num Lock 2 = Auto Insta Kill|Num Lock 3 = Auto Aleatory Hat|Num Lock 5 = Auto WindMill ). Credits FZ (SUPERMOD) | DarkWolf ( D4rK Mÿþhîçæł Mõđ )')
  • + function autohide(){
  • +$("#ot-sdk-btn-floating").hide();
  • +}
  • +document.getElementById("moomooio_728x90_home").style.display = "none";
  • +$("#moomooio_728x90_home").parent().css({display: "none"});
  • +document.getElementById("mainMenu").style.backgroundImage = "url(https://media0.giphy.com/media/ZbgGzLVNYpWJFNMS3o/giphy.gif?cid=790b7611dc7a981a5c20f492213ed7f856bd1ee65adff8b1&rid=giphy.gif&ct=g)";
  • +document.getElementById('linksContainer2').innerHTML = 'Controls ( End = Mod Menu|Home = Music Menu|Page Up = Police Hat|Page Down = Aniaml Hat|Num Lock 1 = Auto Hat|Num Lock 0 = 360Hit|Num Lock 2 = Auto Insta Kill|Num Lock 3 = Auto Aleatory Hat|Num Lock 5 = Auto WindMill ). Credits FZ (SUPERMOD) | DarkWolf ( D4rK Mÿþhîçæł Mõđ )';
  • +document.getElementById('gameName').innerHTML = 'Ŧ Ř Δ Ş Ħ - Μ Ø Đ';
  • +setInterval(() => {
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "T"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "T R"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "TRA"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "T R A S"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "TRASH"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "TRASH -"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "T R A S H - M"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "TRASH-MO"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "T R A S H - M O D"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "By iC3PeaK"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "TRASH-MOD"
  • + setTimeout(() => {
  • + document.getElementById("gameName").innerHTML = "ByiC3PeaK"
  • + }, 150);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • +}, 1850);
  • +setInterval(() => {
  • + setTimeout(() => {
  • + document.getElementById('chatBox').placeholder = "TRASHMOD";
  • + setTimeout(() => {
  • + document.getElementById('chatBox').placeholder = "TRASHMOD";
  • + setTimeout(() => {
  • + document.getElementById('chatBox').placeholder = "ByiC3PeaK";
  • + setTimeout(() => {
  • + document.getElementById('chatBox').placeholder = "CHATMOD";
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • + }, 100);
  • +}, 500)
  • +
  • +$("#mapDisplay").css({background: `url('https://scontent-gru2-2.xx.fbcdn.net/v/t1.15752-9/218164877_2018122864993571_5969438644774617913_n.png?_nc_cat=102&ccb=1-3&_nc_sid=ae9488&_nc_ohc=VifOia4LgFEAX9DPvhr&_nc_ht=scontent-gru2-2.xx&oh=e215e963bced899826c2b606ea0f020d&oe=60F96312')`});
  • +document.getElementById('loadingText').innerHTML = ' T R ɑ S H - M O D | LoɑnDiNg... '
  • +document.getElementById('diedText').innerHTML = ' ☹️ You Die NooB ☹️ ';
  • +document.getElementById('enterGame').innerHTML = ' Start Game ';
  • +document.getElementById('desktopInstructions').innerHTML = ' By iC3PeaK '
  • +document.getElementById('gameName').style.color = "#fff";
  • +document.getElementById('diedText').style.color = "#fff";
  • +document.getElementById('loadingText').style.color = "#fff";
  • +document.getElementById('nameInput').style.color = "#000000";
  • +document.getElementById("enterGame").style.color = "#fff";
  • +document.getElementById('leaderboard').style.color = "#000000";
  • +document.title = 'Ŧ Ř Δ Ş Ħ - Μ Ø Đ';
  • +document.getElementById("leaderboard").append ('By iC3PeaK');
  • +document.getElementById('storeButton').style.color = "#000000";
  • +document.getElementById('chatButton').style.color = "#000000";
  • +document.getElementById('allianceButton').style.color = "#000000";
  • +document.querySelector("#leaderboard").appendChild(
  • + (function() {
  • + let text = "";
  • + let oldPing = 0;
  • + const pingSpan = document.createElement("span");
  • + pingSpan.id = "";
  • + pingSpan.textContent = text;
  • + pingSpan.style.display = "inline-block";
  • + setInterval(function() {
  • + typeof pingTime !== "undefined" &&
  • + oldPing !== none
  • + ((oldPing = none),
  • + (pingSpan.textContent =oldPing),
  • + (function() {
  • + if (oldPing <= 100) {
  • + pingSpan.style.color = "green";
  • + }
  • + if (oldPing >= 101 && oldPing <= 250) {
  • + pingSpan.style.color = "Orange";
  • + }
  • + if (oldPing >= 251) {
  • + pingSpan.style.color = "red";
  • + }
  • + })());
  • + });
  • + return pingSpan;
  • + })()
  • +);
  • +document.getElementById("storeHolder").style = "height: 500px; width: 435px;";
  • +
  • +let newImg = document.createElement("img");
  • +newImg.src = "https://www.youtube.com/s/desktop/a910c60b/img/favicon_96x96.png";
  • +newImg.style = `position: absolute; bottom: 200px; left: 15px; z-index: 100000; width: 65px; height: 65px; cursor: pointer;`;
  • +document.body.prepend(newImg);
  • +
  • +newImg.addEventListener("click", () => {
  • + let w = window.open("https://www.youtube.com/channel/UCTwEzu5nb8K15LCe8iV-vKg", null, `height=1199, width=650, status=yes, toolbar=no, menubar=no, location=no`);
  • +});
  • +document.getElementById("promoImgHolder").remove();
  • +document.getElementById('ageText').style.color = "#000000";
  • +
  • +document.querySelector("#pre-content-container").remove(); //ANTI AD
  • +
  • +$('.menuCard').css({'white-space': 'normal',
  • + 'text-align': 'left',
  • + 'background-color': 'rgba(0, 0, 0, 0.0)',
  • + '-moz-box-shadow': '0px 0px rgba(0, 0, 0, 0.0)',
  • + '-webkit-box-shadow': '0px 0px rgba(0, 0, 0, 0.0)',
  • + 'box-shadow': '0px 0px rgba(0, 0, 0, 0.0)',
  • + '-webkit-border-radius': '0px',
  • + '-moz-border-radius': '0px',
  • + 'border-radius': '0px',
  • + 'margin': '15px',
  • + 'margin-top': '15px'});
  • +
  • +$('.actionBarItem').css({'-webkit-border-radius': '0px',
  • + 'border-radius': '3px',
  • + 'background-color': 'rgba(0, 0, 0, 0.4)'});
  • +
  • +$('.menuCard').css({'color':'#000000'});
  • +
  • +
  • +
  • +$("#youtuberOf").remove();
  • +$("#adCard").remove();
  • +$("#mobileInstructions").remove();
  • +$("#downloadButtonContainer").remove();
  • +$("#mobileDownloadButtonContainer").remove();
  • +$(".downloadBadge").remove();
  • +
  • +$("#ageBarContainer").append('</br><div id="hacktext"></div><div style="width: 100%;position: absolute;bottom: 94px;text-align: center;color:blue;font-size: 24px;" id="freetext"></div><div style="width: 100%;position: absolute;bottom: 144px;text-align: center;color: #ed3f00;font-size: 24px;" id="ptext"></div><div style="width: 100%;position: absolute;bottom: 224px;text-align: center;color: #9a008b;font-size: 24px;" id="ctext"></div><div style="width: 100%;position: absolute;top: 100px;text-align: center;color: black;font-size: 12px;" id="bilgitext"></div><div style="width: 100%;position: absolute;bottom: 170px;text-align: center;color: darkgreen;font-size: 24px;" id="atext"></div><div style="width: 100%;position: absolute;bottom: 196px;text-align: center;color: black;font-size: 24px;" id="mtext"></div>');
  • +
  • +$( "#errorNotification" ).after( ' ');
  • +(function() {var css = [
  • + " #moddedMenu {",
  • + " position: absolute;",
  • + " top: 7%;",
  • + " left: 0px;",
  • + " width: 3%;",
  • + " height: 50.5%;",
  • + " background: rgba(0,0,0,0.6);",
  • + " border: 3px solid rgba(0,0,0,0.9);",
  • + " border-top-right-radius: 30px;",
  • + " border-bottom-right-radius: 30px;",
  • + " transition: 1s;",
  • + " z-index: 999;",
  • + " }",
  • + "",
  • + " #moddedMenu:hover {",
  • + " width: 20%;",
  • + " }",
  • + "",
  • + " .titleMM {",
  • + " color: red;",
  • + " border-bottom: 3px solid red;",
  • + " font-size: 32px;",
  • + " transform: rotate(90deg);",
  • + " white-space: nowrap;",
  • + " margin-top: 250%;",
  • + " transition: 1s;",
  • + " }",
  • + "",
  • + " #moddedMenu:hover > .titleMM {",
  • + " transform: rotate(180deg) translate(0,-1580%)",
  • + " }",
  • + "",
  • + " .switch {",
  • + " margin-top: 5px;",
  • + " margin-left: 10px;",
  • + " position: absolute;",
  • + " width: 60px;",
  • + " height: 34px;",
  • + " transition: opacity 1s;",
  • + " opacity: 0;",
  • + " }",
  • + "",
  • + " .text {",
  • + " bottom: 76%;",
  • + " position: absolute;",
  • + " color: red;",
  • + " font-size: 20px;",
  • + " left: 0%;",
  • + " display: none;",
  • + " transition: 1s;",
  • + " }",
  • + "",
  • + " .text > b { ",
  • + " font-size: 20px;",
  • + " color: red;",
  • + " }",
  • + "",
  • + " b:hover { ",
  • + " color: red;",
  • + " }",
  • + "",
  • + " .one > .text {",
  • + " top: 5.5%;",
  • + " }",
  • + "",
  • + " .two > .text {",
  • + " top: 10.7%;",
  • + " }",
  • + "",
  • + " .three > .text {",
  • + " top: 37.5%;",
  • + " }",
  • + "",
  • + " .four > .text {",
  • + " top: 47.5%;",
  • + " }",
  • + "",
  • + " .five > .text {",
  • + " top: 57.5%;",
  • + " }",
  • + "",
  • + " .six > .text {",
  • + " top: 67.5%;",
  • + " }",
  • + "",
  • + " .seven > .text {",
  • + " top: 77.5%;",
  • + " }",
  • + "",
  • + " .eight > .text {",
  • + " top: 87.5%;",
  • + " }",
  • + "",
  • + " #moddedMenu:hover .switch {",
  • + " opacity: 1;",
  • + " }",
  • + "",
  • + " #moddedMenu:hover .text {",
  • + " display: block;",
  • + " }",
  • + "",
  • + " .one > .switch {",
  • + " top: 15%;",
  • + " }",
  • + "",
  • + " .two > .switch {",
  • + " top: 25%;",
  • + " }",
  • + "",
  • + " .three > .switch {",
  • + " top: 35%;",
  • + " }",
  • + "",
  • + " .four > .switch {",
  • + " top: 45%;",
  • + " }",
  • + "",
  • + " .five > .switch {",
  • + " top: 55%;",
  • + " }",
  • + "",
  • + " .six > .switch {",
  • + " top: 65%;",
  • + " }",
  • + "",
  • + " .seven > .switch {",
  • + " top: 75%;",
  • + " }",
  • + "",
  • + " .eight > .switch {",
  • + " top: 85%;",
  • + " }",
  • + "",
  • + " .switch input {",
  • + " display:none;",
  • + " }",
  • + "",
  • + " .slider {",
  • + " position: absolute;",
  • + " cursor: pointer;",
  • + " top: 0;",
  • + " left: 0;",
  • + " right: 0;",
  • + " bottom: 0;",
  • + " background-color: red;",
  • + " -webkit-transition: .4s;",
  • + " transition: .4s;",
  • + " }",
  • + "",
  • + " .slider:before {",
  • + " position: absolute;",
  • + " content: \"\";",
  • + " height: 26px;",
  • + " width: 26px;",
  • + " left: 4px;",
  • + " bottom: 4px;",
  • + " background-color: white;",
  • + " -webkit-transition: .4s;",
  • + " transition: .4s;",
  • + " }",
  • + "",
  • + " input:checked + .slider {",
  • + " background-color: red;",
  • + " }",
  • + " ",
  • + " input:focus + .slider {",
  • + " box-shadow: 0 0 1px red;",
  • + " }",
  • + "",
  • + " input:checked + .slider:before {",
  • + " -webkit-transform: translateX(26px);",
  • + " -ms-transform: translateX(26px);",
  • + " transform: translateX(26px);",
  • + " }",
  • + "",
  • + " .slider.round {",
  • + " border-radius: 34px;",
  • + " }",
  • + "",
  • + " .slider.round:before {",
  • + " border-radius: 50%;",
  • + "",
  • +].join("\n");
  • +if (typeof GM_addStyle != "undefined") {
  • + GM_addStyle(css);
  • +} else if (typeof PRO_addStyle != "undefined") {
  • + PRO_addStyle(css);
  • +} else if (typeof addStyle != "undefined") {
  • + addStyle(css);
  • +} else {
  • + var node = document.createElement("style");
  • + node.type = "text/css";
  • + node.appendChild(document.createTextNode(css));
  • + var heads = document.getElementsByTagName("head");
  • + if (heads.length > 0) {
  • + heads[0].appendChild(node);
  • + } else {
  • + document.documentElement.appendChild(node);
  • + }
  • +}
  • +})();
  • +
  • + musicmenu.style=`
  • +font-size: 20px;
  • +user-select: none;
  • +color: 'rgba(0, 0, 0, 0.0)';
  • +display:none;
  • +overflow:auto;
  • +position:absolute;
  • +top:55%;
  • +left:45%;
  • +margin-top:-400px;
  • +margin-left:-350px;
  • +z-index:1000000;
  • +border:7px solid black;
  • +width:800px;
  • +height:600px;
  • +border-radius:10px;
  • +background-color: 'rgba(0, 0, 0, 0.0)';
  • +`
  • +document.body.prepend(musicmenu)
  • +document.addEventListener("keydown", (e)=>{
  • + if(e.keyCode == 36){
  • + if(musicmenu.style.display=="block"){
  • + musicmenu.style.display="none"
  • + }else{
  • + musicmenu.style.display="block"
  • + }
  • + }
  • +})
  • styles.innerHTML = `
  • .circle{
  • opacity:20%;
  • left:0px;
  • right:0px;
  • bottom: 0px;
  • -border: 20px solid #fff;
  • +border: 20px solid #000000;
  • border-radius:50%;
  • -box-shadow: 0 0 50px #0f0,0 0 50px #0f0 inset;
  • +box-shadow: 0 0 50px rgba(0, 0, 0, 0.0) 0 50px rgba(0, 0, 0, 0.0) inset;
  • animation: animate 5s linear infinite;
  • }.square{
  • opacity:50%;
  • left:0px;
  • right:0px;
  • bottom: 0px;
  • -border: 10px solid #fff;
  • -box-shadow: 0 0 50px #0f0,0 0 50px #0f0 inset;
  • +border: 10px solid #000000;
  • +box-shadow: 0 0 50px rgba(0, 0, 0, 0.0) 0 50px rgba(0, 0, 0, 0.0) inset;
  • animation: animate 5s linear infinite;
  • }
  • @keyframes animate{
  • filter: hue-rotate(0deg);
  • }
  • 20%{
  • -box-shadow: 0 0 60px #0f0,0 0 60px #0f0 inset;
  • +box-shadow: 0 0 60px rgba(0, 0, 0, 0.0) 0 60px rgba(0, 0, 0, 0.0) inset;
  • }
  • 40%{
  • box-shadow: 0 0 40px #0f0,0 0 40px #0f0 inset;
  • height:0;
  • }
  • .open-menu-button {
  • -background-color: #00FFFF;
  • +background-color: #7ee559;
  • margin-top: 5px;
  • }
  • .open-menu-button:hover {
  • -background-color: #00D1D1;
  • +background-color: #6fc94e;
  • }
  • .keyPressLow {
  • margin-left: 8px;
  • margin-right: 8px;
  • height: 25px;
  • width: 50px;
  • -background-color: #fcfcfc;
  • +background-color: #000000;
  • border-radius: 3.5px;
  • text-align: center;
  • color: #4a4a4a;
  • -border: 0.5px solid #f2f2f2;
  • +border: 0.5px solid #000000;
  • }
  • #mm-menu-container {
  • user-select: none;
  • font-size: 14px;
  • overflow: hidden;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: fixed;
  • .i-checkbox-label {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • display: block;
  • .i-checkbox-label {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • }
  • #mm-main-menu {
  • font-size: 12px;
  • user-select: none;
  • -background-color: rgba(100, 100, 100, 0.4);
  • -color: #fff;
  • +background-color: rgba(0, 0, 0, 0.0);
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • #mm-hathack-menu {
  • font-size: 12px;
  • user-select: none;
  • -background-color: rgba(100, 100, 100, 0.4);
  • -color: #fff;
  • +background-color: rgba(0, 0, 0, 0.0);
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • #mm-offense-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • height: 100%;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: .5em 1em;
  • border-top: none;
  • margin-left: 130px;
  • #mm-defense-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +color: #000000;
  • +background-color: rgba(0, 0, 0, 0.0);
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • #mm-support-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • box-sizing: border-box;
  • position: relative;
  • height: 100%;
  • #mm-hatmacro-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • height: 100%;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: .5em 1em;
  • border-top: none;
  • margin-left: 130px;
  • #mm-instakill-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • height: 100%;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: .5em 1em;
  • border-top: none;
  • margin-left: 130px;
  • #mm-controls-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • box-sizing: border-box;
  • position: relative;
  • height: 100%;
  • #mm-chat-menu {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • height: 100%;
  • -background-color: rgba(100, 100, 100, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: .5em 1em;
  • border-top: none;
  • margin-left: 130px;
  • .i-tab-container {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • width: 100%;
  • height: 100%;
  • -background-color: rgba(100, 100, 100, 0.4)
  • +background-color: rgba(0, 0, 0, 0.0)
  • }
  • .i-tab-menu, .sidebar {
  • font-size: 12px;
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • position: relative;
  • -background-color: rgba(120, 120, 120, 0.4);
  • +background-color: rgba(0, 0, 0, 0.0);
  • display: block;
  • overflow: auto;
  • float: left;
  • width: 130px;
  • height: 100%;
  • -box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
  • +box-shadow: 0 2px 5px 0 rgba(0, 0, 0),0 2px 10px 0 rgba(0, 0, 0);
  • }
  • .i-tab-menu-item {
  • font-size: 12px;
  • text-decoration: none;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • -color: #d15151;
  • +color: #000000;
  • }
  • .i-tab-menu-item:hover {
  • -background-color: rgb(77, 73, 73, 0.5)
  • +background-color: rgba(0, 0, 0, 0.0)
  • !important;
  • }
  • #mm-main-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-hathack-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-offense-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-defense-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • }
  • #mm-support-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-instakill-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-hatmacro-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-changewepaon-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • .i-tab-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • }
  • #mm-controls-menu-item {
  • user-select: none;
  • -color: #fff;
  • +color: #000000;
  • font-family: Verdana,sans-serif;
  • box-sizing: border-box;
  • float: left;
  • -background-color: inherit;
  • +background-color: rgba(0, 0, 0, 0.0);
  • padding: 8px 8px;
  • margin: 0;
  • border: none;
  • width: 100%;
  • }
  • .is-active {
  • -background-color: rgb(129, 34, 34, 0.5) !important;
  • +background-color: rgba(0, 0, 0, 0.0) !important;
  • }
  • .keyPressLow {
  • margin-left: 8px;
  • margin-right: 8px;
  • height: 25px;
  • width: 50px;
  • -background-color: #fcfcfc;
  • +background-color: rgba(0, 0, 0, 0.0);
  • border-radius: 3.5px;
  • border: none;
  • text-align: center;
  • -color: #4A4A4A;
  • -border: 0.5px solid #f2f2f2;
  • +color: #000000;
  • +border: 0.5px solid #000000;
  • }
  • .menuPrompt {
  • font-size: 17px;
  • font-family: 'Hammersmith One';
  • -color: #4A4A4A;
  • +color: #000000;
  • flex: 0.2;
  • text-align: center;
  • margin-top: 10px;
  • .modal-content {
  • margin: 10% auto;
  • width: 40%;
  • -box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  • +box-shadow: 0 50px 50px 0 rgba(0, 0, 0, 0.0) 0 50px 50px 0 rgba(0, 0, 0, 0.0);
  • font-size: 14px;
  • line-height: 1.6;
  • }
  • margin: 0;
  • }
  • .modal-headerx {
  • -background: #404040;
  • +background: rgba(0, 0, 0, 0.0);
  • padding: 15px;
  • -color: #fff;
  • +color: #000000;
  • border-top-left-radius: 5px;
  • border-top-right-radius: 5px;
  • }
  • .modal-footerx {
  • -background: #404040;
  • +background: rgba(0, 0, 0, 0.0);
  • padding: 10px;
  • -color: #fff;
  • +color: #000000;
  • text-align: center;
  • border-bottom-left-radius: 5px;
  • border-bottom-right-radius: 5px;
  • margin: 0;
  • }
  • .modal-headerwtf {
  • -background: #404040;
  • +background: rgba(0, 0, 0, 0.0);
  • padding: 15px;
  • -color: #fff;
  • +color: #000000;
  • border-top-left-radius: 5px;
  • border-top-right-radius: 5px;
  • }
  • .modal-footerwtf {
  • -background: #404040;
  • +background: rgba(0, 0, 0, 0.0);
  • padding: 10px;
  • -color: #fff;
  • +color: #000000;
  • text-align: center;
  • border-bottom-left-radius: 5px;
  • border-bottom-right-radius: 5px;
  • margin: 0;
  • }
  • .modal-header {
  • -background: #404040;
  • +background: rgba(0, 0, 0, 0.0);
  • padding: 15px;
  • -color: #fff;
  • +color: #000000;
  • border-top-left-radius: 5px;
  • border-top-right-radius: 5px;
  • }
  • .modal-body {
  • padding: 10px 20px;
  • -background: #fff;
  • +background: #000000;
  • }
  • .modal-footer {
  • -background: #404040;
  • +background: rgba(0, 0, 0, 0.0);
  • padding: 10px;
  • -color: #fff;
  • +color: #000000;
  • text-align: center;
  • border-bottom-left-radius: 5px;
  • border-bottom-right-radius: 5px;
  • }
  • .closeBtn {
  • -color: #ccc;
  • +color: rgba(0, 0, 0, 0.0);
  • float: right;
  • font-size: 30px;
  • -color: #fff;
  • +color: #000000;
  • }
  • .closeBtn:hover, .closeBtn:focus {
  • -color: #dd4a42;
  • +color: rgba(0, 0, 0, 0.0);
  • text-decoration: none;
  • cursor: pointer;
  • }
  • .closeBtnx {
  • -color: #ccc;
  • +color: rgba(0, 0, 0, 0.0);
  • float: right;
  • font-size: 30px;
  • -color: #fff;
  • +color: #000000;
  • }
  • .closeBtnx:hover, .closeBtnx:focus {
  • -color: #dd4a42;
  • +color: rgba(0, 0, 0, 0.0);
  • text-decoration: none;
  • cursor: pointer;
  • }
  • .MsgcloseBtn {
  • -color: #ccc;
  • +color: rgba(0, 0, 0, 0.0);
  • float: right;
  • font-size: 30px;
  • -color: #fff;
  • +color: #000000;
  • }
  • .MsgcloseBtn:hover, .MsgcloseBtn:focus {
  • -color: #dd4a42;
  • +color: rgba(0, 0, 0, 0.0);
  • text-decoration: none;
  • cursor: pointer;
  • }
  • left: 0;
  • height: 25px;
  • width: 25px;
  • -background-color: #eee;
  • +background-color: rgba(0, 0, 0, 0.0);
  • }`;
  • menu.innerHTML = `
  • ("Warning : Xms" message) Ping Warning? <input id="doMSWarning" type="checkbox" checked><br>
  • Respawn gold bots? <input id="respawnGBots" type="checkbox" checked><br>
  • Anti-age insta? <input id="doAntiAge" type="checkbox" checked><br>
  • -Anti-no bull insta? <input id="doAntiNobull" type="checkbox" checked><br>
  • <!-- Anti-skid tick? (25 + 80 insta) <input id="antiSkidTick" type="checkbox" checked><br> -->
  • Do Anti-Trap? <input id="doAntiTrap" type="checkbox" checked><br>
  • Do Anti-Trap Chat? <input id="doAntiTrapChat" type="checkbox" checked><br>
  • -Anti-Trap Chat (if enabled) <input type="text" id="antiTrapChat" checked value="anti trap"><br>
  • +Anti-Trap Chat (if enabled) <input type="text" id="antiTrapChat" checked value=""><br>
  • Chat mirror? <input id="cMirr" type="checkbox"><br>
  • Auto-360 shield? <input type="checkbox" id="shield360" checked><br>
  • Autobreak? <input type="checkbox" id="autoBreak"><br>
  • <div>
  • <label class="AutoHeal"><input id="deathCrash" type="checkbox" class="i-checkbox" /><b>OFF</b> Death Crash</label>
  • </div>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1">FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • <div id="mm-offense-menu" class="i-tab-content" style="display: none;">
  • <h3>Offense</h3>
  • </select>
  • </form>
  • </fieldset>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1">FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • <div id="mm-defense-menu" class="i-tab-content" style="display: none;">
  • <h3>Defense</h3>
  • <label class="defheal"><input id="antiBoostSpike" type="checkbox" class="i-checkbox" />Anti-BoostSpike</label>
  • </div>
  • </fieldset>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  • +<div class="i-palomita"<a href=""></a></div>
  • </div>
  • <div id="mm-support-menu" class="i-tab-content" style="display: none;">
  • <h3>Support</h3>
  • </select>
  • </form>
  • </fieldset>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • <div id="mm-controls-menu" class="i-tab-content" style="display: none;">
  • <h3>Controls</h3>
  • <label>Heal : <button id="kHeal" class="i-button i-bold i-right i-inline i-keybind">KeyQ</button></label>
  • </div>
  • <div>
  • -<label>Boost+Spike : <button id="kBS" class="i-button i-bold i-right i-inline i-keybind">KeyL</button></label>
  • +<label>Boost+Spike : <button id="kBS" class="i-button i-bold i-right i-inline i-keybind">KeyG</button></label>
  • </div>
  • <div>
  • -<label>Boost+Spike : <button id="kBM" class="i-button i-bold i-right i-inline i-keybind">KeyO</button></label>
  • +<label>Boost+Spike : <button id="kBM" class="i-button i-bold i-right i-inline i-keybind">KeyL</button></label>
  • </div>
  • </fieldset>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • <div id="mm-instakill-menu" class="i-tab-content" style="display: none;">
  • <h3>Insta Kill</h3>
  • </select>
  • </form>
  • </fieldset>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • <div id="mm-chat-menu" class="i-tab-content" style="display: none;">
  • <h3>Chat Menu</h3>
  • <label class="chat123"><input id="wLag" type="checkbox" class="i-checkbox" />Warn Lag</label>
  • </div>
  • </fieldset>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • <div id="mm-hatmacro-menu" class="i-tab-content" style="display: none;">
  • <h3>Hat-Macro</h3>
  • <h3 class="menuPrompt">Booster Hat :</h3>
  • <input value="${String.fromCharCode(BoosterHatKey)}" id="booster" class="keyPressLow" maxlength="1" onkeyup="this.value = this.value.toUpperCase();" type="text" />
  • </div>
  • -<div class="i-palomita">Made By : Wynd and <a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1" >FZ</a></div>
  • +<div class="i-palomita"><a href=""></a></div>
  • </div>
  • </div>
  • `;
  • var checkWLag = menu.querySelector("#wLag");
  • function keydown(e) {
  • - "Escape" === e.key && (e.preventDefault(), toggleMenu())
  • + "End" === e.key && (e.preventDefault(), toggleMenu())
  • }
  • function click(e) {
  • .charCodeAt(0))
  • }), button.classList.add("menuButton"),
  • button.classList.add("open-menu-button"),
  • - button.textContent = "Open Settings",
  • + button.textContent = "Open Menu",
  • window.addEventListener("keydown", keydown),
  • button.addEventListener("click", toggleMenu),
  • card.appendChild(button),
  • return tm.join(""); //steal this and i will hunt you down and 10-0
  • };
  • - let cvsctx = document.getElementById("gameCanvas").getContext("2d");
  • - let checkWep = (wep) => {
  • - let wepEl = document.getElementById("actionBarItem" + wep);
  • - return wepEl && wepEl.style.display === "inline-block"
  • - };
  • - let rrz = [65, 70, 75, 110, 118, 142, 110, 65, 70, undefined, 75, 2000, undefined, undefined, 125, undefined];
  • - function testArc() {
  • - (() => {
  • - cvsctx.beginPath();
  • - cvsctx.lineWidth = 10;
  • - cvsctx.strokeStyle = "#dc0000";
  • - let oldGA = cvsctx.globalAlpha;
  • - cvsctx.globalAlpha = 0.1;
  • - cvsctx.arc((1920*zoomFactor)/2,(1080*zoomFactor)/2,(rrz[myPlayer.weapon] ? rrz[myPlayer.weapon] + 70 : 0),-Math.PI, Math.PI);
  • - cvsctx.stroke();
  • - cvsctx.globalAlpha = oldGA;
  • - })();
  • - window.requestAnimationFrame(testArc);
  • - };
  • - window.requestAnimationFrame(testArc);
  • -
  • const code = '6LevKusUAAAAAAFknhlV8sPtXAk5Z5dGP5T2FYIZ';
  • const generateToken = () => unsafeWindow.grecaptcha.execute(code, { action : 'homepage' });
  • let botcount = (window.location.hostname == "sandbox.moomoo.io") ? 1 : 3; const wait = async ms => new Promise(done => setTimeout(done, ms));
  • botws.onopen = async () => {
  • console.log('WS OPENED!');
  • await wait(100);
  • - botws.emit(['sp', [{ name: 'gold bots', moofoll: '1', skin: "__proto__" }]]);
  • + botws.emit(['sp', [{ name: 'iC3PeaK GoldBoT', moofoll: '1', skin: "__proto__" }]]);
  • - botws.emit(["8", [genRand("supermd")]]);
  • + botws.emit(["8", [genRand("")]]);
  • botws.healON = true;
  • setInterval(()=>{
  • let _ds = Math.sqrt(((myPlayer.x - botws.posx)**2) + ((myPlayer.y - botws.posy)**2));
  • }
  • if (item == 11 && document.getElementById("respawnGBots").checked) {
  • - botws.emit(['sp', [{ name: 'gold bots', moofoll: '1', skin: "__proto__" }]]);
  • + botws.emit(['sp', [{ name: 'iC3PeaK GoldBoT', moofoll: '1', skin: "__proto__" }]]);
  • };
  • if (item === '1' && ws.id == null) {
  • setInterval(function () {
  • autoaim ? dns(["2", [closestenemyAngle]]) : derp ? dns(["2", [toRad(dir = (324092385 / (dir * Math.E) - Math.cbrt(dir) * dir) % 360)]]) : !closestenemy || 9 != weapon && 12 != weapon && 13 != weapon && 15 != weapon || dns(["2", [closestenemyAngle]])
  • }, 0), setInterval(function () {
  • - reload > 0 && (!closestenemy || dist(closestenemy, myPlayer) > 200 ? (weapon = secondary, dns(["5", [secondary, !0]]), 0 == (reload -= 50) ? (weapon = primary, dns(["5", [primary, !0]]), irBool && chat(rChat)) : irBool && (15 == secondary && 1600 == reload ? chat("</E\\>Reloading(Musket)</E\\>") : 13 == secondary && 350 == reload ? chat("</E\\>Reloading(Crossbow+)</E\\>") : 12 == secondary && 800 == reload ? chat("</E\\>Reloading(Crossbow)</E\\>") : 9 == secondary && 700 == reload && chat("</E\\>Reloading(Bow)</E\\>"))) : (weapon = primary, dns(["5", [primary, !0]])))
  • + reload > 0 && (!closestenemy || dist(closestenemy, myPlayer) > 200 ? (weapon = secondary, dns(["5", [secondary, !0]]), 0 == (reload -= 50) ? (weapon = primary, dns(["5", [primary, !0]]), irBool && chat(rChat)) : irBool && (15 == secondary && 1600 == reload ? chat("==>Reloading Musket!!! <==") : 13 == secondary && 350 == reload ? chat("==>Reloading Musket!!! <==") : 12 == secondary && 800 == reload ? chat("==>Reloading Musket!!! <==") : 9 == secondary && 700 == reload && chat("==>Reloading Musket!!! <=="))) : (weapon = primary, dns(["5", [primary, !0]])))
  • }, 50), document.msgpack = msgpack, WebSocket.prototype.oldSend = WebSocket.prototype.send, WebSocket.prototype.send = function (e) {
  • ws || (document.ws = this, ws = this, socketFound(this), this.addEventListener("close", function () {
  • crashed = !0
  • , ctxExt = 65
  • , ctxWidth = .1
  • , pos = document.createElement("a");
  • - pos.style.color = "#B5B5B5", pos.style.fontSize = "25px", pos.style.display = "block", pos.innerHTML = "{0,0}", pos.style.position = "absolute", pos.style.left = "20px", pos.style.top = "200px", pos.style.zIndex = "-1", document.body.appendChild(pos);
  • + pos.style.color = "#000000", pos.style.fontSize = "25px", pos.style.display = "block", pos.innerHTML = "", pos.style.position = "absolute", pos.style.left = "20px", pos.style.top = "200px", pos.style.zIndex = "-1", document.body.appendChild(pos);
  • var ping = document.getElementById("pingDisplay");
  • ping.replaceWith(document.createElement("a")), ping.style.fontSize = "20px", ping.style.display = "block", ping.style.zIndex = "1", document.body.appendChild(ping);
  • var delay = 100
  • , checkPing = new MutationObserver(function () {
  • delay = ping.textContent.split(" ")[1].split(String.fromCharCode(160))[0], (delay = parseInt(delay)) > 100 && wLag &&
  • document.getElementById("doMSWarning").checked &&
  • - chat("Warning : " + delay + " ms");
  • + chat("==> PiNg <==>" + delay + "<== By iC3PeaK");
  • });
  • function drawArrow(e, n, o) {
  • }
  • function drawRadar() {
  • - ctx.clearRect(0, 0, width, height), overlay(), ctx.lineWidth = 4, ctx.beginPath(), ctx.arc(centreX, centreY, 80, 0, 2 * Math.PI), ctx.strokeStyle = "#B3B3B3", ctx.stroke(), ctx.lineWidth = 1, ctx.beginPath(), ctx.arc(centreX, centreY, 5, 0, 2 * Math.PI), ctx.strokeStyle = "#0000FF", ctx.stroke();
  • + ctx.clearRect(0, 0, width, height), overlay(), ctx.lineWidth = 4, ctx.beginPath(), ctx.arc(centreX, centreY, 80, 0, 2 * Math.PI), ctx.strokeStyle = "#000000", ctx.stroke(), ctx.lineWidth = 1, ctx.beginPath(), ctx.arc(centreX, centreY, 5, 0, 2 * Math.PI), ctx.strokeStyle = "#0000FF", ctx.stroke();
  • for (var e = (new Date)
  • .getTime(); logTime && e - logTime[0] > 15e3;) logTime.shift(), logX.shift(), logY.shift();
  • for (var n = 0; n < logTime.length; n++) ctx.beginPath(), ctx.strokeStyle = "#FF0022", ctx.arc(20 + logX[n] / 14400 * 130, height - 150 + logY[n] / 14400 * 130, 1, 0, 2 * Math.PI), ctx.stroke()
  • if (zdm > 0) LLD = Date.now();
  • else if ((zdm < -15 || hlth == 100) && LLD) {if (Date.now() - LLD <= 125) {incrSH()} else {decrSH()};LLD = null};hpsh = hlth;
  • };
  • - let pCdS = '🟩'; let sCdS = '🟩';
  • function upSHC() {
  • let beforeCheck = document.getElementById("ageText").innerHTML;
  • - document.getElementById("ageText").innerHTML = "AGE " + beforeCheck.split(" ")[1] + " [" + shc + "] " + pCdS + " " + sCdS;
  • + document.getElementById("ageText").innerHTML = "AGE " + beforeCheck.split(" ")[1] + " [" + shc + "]";
  • };
  • let paTr = e => [...Array(17)].map((n, i) => i * 0.19625).forEach(a => [spikeType, millType].forEach(t => place(t, a)));
  • let insidetrap = false;
  • wep.forEach(e => {wep.push(e * 1.5)});
  • wep.forEach(e => {wep.push(e * .75)});
  • };
  • - var wCds = [];
  • - wCds[0] = 450, wCds[1] = 560, wCds[2] = 450, wCds[3] = 450, wCds[4] = 900, wCds[5] = 450, wCds[6] = 225, wCds[7] = 560,
  • - wCds[8] = 785, wCds[9] = 560, wCds[10] = undefined, wCds[11] = 900, wCds[12] = 450, wCds[13] = 900, wCds[14] = 1685; var pCd = false; var sCd = false; var pCdT; var sCdT;
  • -
  • - function insertAfter(referenceNode, newNode) {
  • - referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);
  • - };
  • function handleMessage(e) {
  • var n = void 0
  • clearInterval(ytcheck);
  • var player;
  • player = new unsafeWindow.YT.Player('adCard', {
  • - videoId: 'LGmpIpu9eDw', // YouTube Video ID
  • + videoId: 'Ix2kvMgg1xo', // YouTube Video ID
  • width: 560, // Player width (in px)
  • height: 316, // Player height (in px)
  • playerVars: {
  • };
  • break;
  • case "2":
  • - null != names[n[1][1]] ? names[n[1][1]] != n[1][2] ? (console.log("{", names[n[1][1]], "} => {", n[1][2], "} [", n[1][1], "]"), cPlayer && chat("{" + names[n[1][1]] + "} => {" + n[1][2] + "}")) : (console.log("{", names[n[1][1]], "} returned"), cPlayer && chat("{" + names[n[1][1]] + "} returned")) : (console.log("{", n[1][2], "} [", n[1][1], "]"), cPlayer && chat("{" + n[1][2] + "} [" + n[1][1] + "]")), names[n[1][1]] = n[1][2], theirPrimary[n[1][1]] = 0, theirSecondary[n[1][1]] = void 0;
  • + null != names[n[1][1]] ? names[n[1][1]] != n[1][2] ? (console.log("==>", names[n[1][1]], "<==>", n[1][2], "<==>", n[1][1], "<=="), cPlayer && chat("==>" + names[n[1][1]] + "<==>" + n[1][2] + "<==")) : (console.log("==>", names[n[1][1]], "<=="), cPlayer && chat("==>" + names[n[1][1]] + "<==")) : (console.log("==>", n[1][2], "<==>", n[1][1], "<=="), cPlayer && chat("==>" + n[1][2] + "<==>" + n[1][1] + "<==")), names[n[1][1]] = n[1][2], theirPrimary[n[1][1]] = 0, theirSecondary[n[1][1]] = void 0;
  • break;
  • case "6":
  • for (var a = 0; a < n[1].length / 8; a++) {
  • };
  • break;
  • case "7":
  • - n[1] == myPlayer.id && (n[3] <= 8 ? (clearTimeout(pCdT), pCd = true, pCdS = "🟥", pCdT = setTimeout(() => {pCd = false;pCdS = "🟩"}, wCds[n[3]]-ping-20)) : (
  • - clearTimeout(sCdT), sCd = true, sCdS = "🟥", sCdT = setTimeout(() => {sCd = false;sCdS = "🟩"}, wCds[n[3]]-ping-20)
  • - ));
  • setCooldown(n), "counter" == mode && !inInsta && n[1] != myPlayer.id && n[3] > 1 && n[3] < 6 && distance(lastX[n[1]], lastY[n[1]]) < 300 && (inInsta = !0, autoaim = !0, weapon = primary, dns(["5", [primary, !0]]), dns(["13c", [0, 7, 0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, 18, 1]]), dns(["7", [!0]]), setTimeout(function () {
  • dns(["13c", [0, 53, 0]]), dns(["13c", [0, 13, 1]]), dns(["7", [!0]]), autoaim = !1
  • }, 100), setTimeout(function () {
  • for (var f = 0; f < n[1].length / 13; f++) {
  • var b = n[1].slice(13 * f, 13 * f + 13);
  • b[5] < 9 ? (pris[b[0]] = [b[5], b[6]]) : (secs[b[0]] = [b[5], b[6]]);
  • - b[0] == myPlayer.id ? (myPlayer.x = b[1], myPlayer.y = b[2], myPlayer.dir = b[3], myPlayer.object = b[4], myPlayer.weapon = b[5], myPlayer.clan = b[7], myPlayer.isLeader = b[8], myPlayer.hat = b[9], myPlayer.accessory = b[10], myPlayer.isSkull = b[11], nowX[myPlayer.id] = myPlayer.x, nowY[myPlayer.id] = myPlayer.y, ctx.beginPath(), ctx.strokeStyle = "#0000FF", ctx.moveTo(centreX, centreY), ctx.lineTo(centreX + (myPlayer.x - lastX[myPlayer.id]) / 6.25, centreY + (myPlayer.y - lastY[myPlayer.id]) / 6.25), ctx.stroke()) : b[7] != myPlayer.clan || null === b[7] ? (enemiesNear.push(b), distance(b[1], b[2]) > 500 ? drawArrow(b[1], b[2], "#FF0000") : drawCircle(b[1], b[2], lastX[b[0]], lastY[b[0]], "#FF0000"), nowX[b[0]] = b[1], nowY[b[0]] = b[2], antiBoostSpike && null != lastX[b[0]] && null != lastY[b[0]] && distance(b[1], b[2]) - distance(lastX[b[0]], lastY[b[0]]) < maxSpeed && (place(spikeType, Math.atan2(b[2] - myPlayer.y, b[1] - myPlayer.x) + toRad(90)), place(spikeType, Math.atan2(b[2] - myPlayer.y, b[1] - myPlayer.x) - toRad(90))), b[5] > 8 ? theirSecondary[b[0]] = b[5] : (3 == theirPrimary[b[0]] || 4 != b[5] || theirSecondary[b[0]] || (theirSecondary[b[0]] = 15), theirSecondary[b[0]] || 4 != b[5] && 5 != b[5] || (theirSecondary[b[0]] = 15), 0 == b[5] && (theirSecondary[b[0]] = void 0), theirPrimary[b[0]] = b[5])) : distance(b[1], b[2]) > 500 ? drawArrow(myPlayer.x, myPlayer.y, b[1], b[2], "#00EE00") : drawCircle(b[1], b[2], lastX[b[0]], lastY[b[0]], "#00EE00")
  • + b[0] == myPlayer.id ? (myPlayer.x = b[1], myPlayer.y = b[2], myPlayer.dir = b[3], myPlayer.object = b[4], myPlayer.weapon = b[5], myPlayer.clan = b[7], myPlayer.isLeader = b[8], myPlayer.hat = b[9], myPlayer.accessory = b[10], myPlayer.isSkull = b[11], nowX[myPlayer.id] = myPlayer.x, nowY[myPlayer.id] = myPlayer.y, ctx.beginPath(), ctx.strokeStyle = "#0000FF", ctx.moveTo(centreX, centreY), ctx.lineTo(centreX + (myPlayer.x - lastX[myPlayer.id]) / 6.25, centreY + (myPlayer.y - lastY[myPlayer.id]) / 6.25), ctx.stroke()) : b[7] != myPlayer.clan || null === b[7] ? (enemiesNear.push(b), distance(b[1], b[2]) > 500 ? drawArrow(b[1], b[2], "#000000") : drawCircle(b[1], b[2], lastX[b[0]], lastY[b[0]], "#000000"), nowX[b[0]] = b[1], nowY[b[0]] = b[2], antiBoostSpike && null != lastX[b[0]] && null != lastY[b[0]] && distance(b[1], b[2]) - distance(lastX[b[0]], lastY[b[0]]) < maxSpeed && (place(spikeType, Math.atan2(b[2] - myPlayer.y, b[1] - myPlayer.x) + toRad(90)), place(spikeType, Math.atan2(b[2] - myPlayer.y, b[1] - myPlayer.x) - toRad(90))), b[5] > 8 ? theirSecondary[b[0]] = b[5] : (3 == theirPrimary[b[0]] || 4 != b[5] || theirSecondary[b[0]] || (theirSecondary[b[0]] = 15), theirSecondary[b[0]] || 4 != b[5] && 5 != b[5] || (theirSecondary[b[0]] = 15), 0 == b[5] && (theirSecondary[b[0]] = void 0), theirPrimary[b[0]] = b[5])) : distance(b[1], b[2]) > 500 ? drawArrow(myPlayer.x, myPlayer.y, b[1], b[2], "#00EE00") : drawCircle(b[1], b[2], lastX[b[0]], lastY[b[0]], "#00EE00")
  • }
  • if (pos.innerHTML = "{" + myPlayer.x + "," + myPlayer.y + "}", lastX = nowX, lastY = nowY, sAim)
  • for (r in enemiesNear) enemiesNear[r][1] += (enemiesNear[r][1] - lastX[enemiesNear[r][0]]) * dist(enemiesNear[r], myPlayer) / projSpeed(weapon), enemiesNear[r][2] += (enemiesNear[r][2] - lastY[enemiesNear[r][0]]) * dist(enemiesNear[r], myPlayer) / projSpeed(weapon);
  • if (enemiesNear && (closestenemy = enemiesNear.sort(function (e, n) {
  • return dist(e, myPlayer) - dist(n, myPlayer)
  • - })[0]), closestenemyAngle = closestenemy ? Math.atan2(closestenemy[2] - myPlayer.y, closestenemy[1] - myPlayer.x) : myPlayer.dir, "insta" == mode && !inInsta && closestenemy && dist(closestenemy, myPlayer) < 220 && !cooldown[myPlayer.id] && weapon != secondary && (
  • - inInsta = !0,
  • - iAim && (autoaim = !0),
  • - icBool && chat(iChat),
  • - dns(["13c", [0, 0, 1]]),
  • - dns(["7", [!0]]),
  • - iReverse ? (weapon = secondary, dns(["5", [secondary, !0]]), dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), setTimeout(function () {
  • + })[0]), closestenemyAngle = closestenemy ? Math.atan2(closestenemy[2] - myPlayer.y, closestenemy[1] - myPlayer.x) : myPlayer.dir, "insta" == mode && !inInsta && closestenemy && dist(closestenemy, myPlayer) < 220 && !cooldown[myPlayer.id] && weapon != secondary && (inInsta = !0, iAim && (autoaim = !0), icBool && chat(iChat), dns(["13c", [0, 0, 1]]), dns(["7", [!0]]), iReverse ? (weapon = secondary, dns(["5", [secondary, !0]]), dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), setTimeout(function () {
  • dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), weapon = primary, dns(["5", [primary, !0]])
  • - }, instaSpeedR / 2)) : (
  • - weapon = primary,
  • - dns(["5", [primary, !0]]),
  • - iSwitch || (iAim ? (placeStable(spikeType, closestenemyAngle + toRad(45)),
  • - placeStable(spikeType, closestenemyAngle - toRad(45))) :
  • - (placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) + toRad(45)), placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) - toRad(45)))),
  • - dns(["13c", [0, iHat1, 0]]),
  • - dns(["13c", [0, iAcc1, 1]]),
  • - setTimeout(function () {
  • - dns(["13c", [0, iHat2, 0]]),
  • - dns(["13c", [0, iAcc2, 1]]),
  • - iSwitch && (weapon = secondary, dns(["5", [secondary, !0]]))
  • + }, instaSpeedR / 2)) : (weapon = primary, dns(["5", [primary, !0]]), iSwitch || (iAim ? (placeStable(spikeType, closestenemyAngle + toRad(45)), placeStable(spikeType, closestenemyAngle - toRad(45))) : (placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) + toRad(45)), placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) - toRad(45)))), dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), setTimeout(function () {
  • + dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), iSwitch && (weapon = secondary, dns(["5", [secondary, !0]]))
  • }, instaSpeed / 2)), setTimeout(function () {
  • autoaim = !1, dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]]), dns(["7", [!0]]), weapon = secondary, dns(["5", [secondary, !0]]);
  • var e = 0;
  • if (!(n[1] == myPlayer.id) && n[2] < 100 && n[2] > 0) break;
  • var x = void 0;
  • let didFixed = false;
  • - let damage = 100 - n[2];
  • - if (document.getElementById("doAntiNobull").checked
  • - && closestenemy
  • - && damage == 40
  • - && closestenemy[5] == 4) {
  • - didFixed = true;
  • - place(foodType, null);
  • - place(foodType, null);
  • - place(foodType, null);
  • - place(foodType, null); //4 = full hp
  • - };
  • + let damage = 100 - n[2]; //aka dmg ezezez
  • if (document.getElementById("doAntiAge").checked
  • && closestenemy
  • && (damage == 37.5 || damage == 38)
  • arepeater.start(e.keyCode);
  • srepeater.start(e.keyCode);
  • drepeater.start(e.keyCode);
  • - if(e.keyCode == 188 && document.activeElement.id.toLowerCase() !== 'chatbox') {
  • + if(e.keyCode == 101 && document.activeElement.id.toLowerCase() !== 'chatbox') {
  • millToggle = (millToggle + 1) % 2;
  • if (millToggle == 1) {
  • - dns(["ch", ["autoMill: ON"]]);
  • + dns(["ch", ["WidMill ==>On<=="]]);
  • } else {
  • - dns(["ch", ["autoMill: OFF"]]);
  • + dns(["ch", ["WidMill ==>Off<=="]]);
  • }
  • };
  • - if(e.keyCode == 190 && document.activeElement.id.toLowerCase() !== 'chatbox') {
  • + if(e.keyCode == 96 && document.activeElement.id.toLowerCase() !== 'chatbox') {
  • hit360 = (hit360 + 1) % 2;
  • if (hit360 == 1) {
  • - dns(["ch", ["360 hit: ON"]]);
  • + dns(["ch", ["Hit_360 ==>On<=="]]);
  • } else {
  • - dns(["ch", ["360 hit: OFF"]]);
  • + dns(["ch", ["Hit_360 ==>Off<=="]]);
  • };
  • };
  • - spikeObjectPlacer.start(e.keyCode), healer.start(e.keyCode), boostPlacer.start(e.keyCode), boostSpikePlacer.start(e.keyCode), boostMillPlacer.start(e.keyCode), millObjectPlacer.start(e.keyCode), turretObjectPlacer.start(e.keyCode), 84 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("Mode : None")) : "counter" == mode ? (mode = "", chat("Mode : None")) : (mode = "counter", chat("Mode : Counter Insta"))), 89 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("Mode : None")) : "insta" == mode ? (mode = "", chat("Mode : None")) : (mode = "insta", chat("Mode : Auto Insta"))), 85 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("Mode : None")) : (doHatCycle(), hatID = setInterval(function () {
  • + spikeObjectPlacer.start(e.keyCode), healer.start(e.keyCode), boostPlacer.start(e.keyCode), boostSpikePlacer.start(e.keyCode), boostMillPlacer.start(e.keyCode), millObjectPlacer.start(e.keyCode), turretObjectPlacer.start(e.keyCode), 97 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("AutoHaT >Off<")) : "counter" == mode ? (mode = "", chat("AutoHaT >Off<")) : (mode = "counter", chat("AutoHaT >On<"))), 98 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("AuTo_InsTa ==>Off<==")) : "insta" == mode ? (mode = "", chat("AuTo_InsTa ==>Off<==")) : (mode = "insta", chat("AuTo_InsTa ==>On<=="))), 99 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode ? (clearInterval(hatID), mode = "", chat("HaTMix ==>Off<==")) : (doHatCycle(), hatID = setInterval(function () {
  • doHatCycle()
  • - }, 2500), mode = "hat", chat("Mode : Hat Cycler"))), 71 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode && clearInterval(hatID), mode = "", chat("Mode : None")), 1 == e.key && "chatbox" !== document.activeElement.id.toLowerCase() ? weapon = primary : 2 == e.key && "chatbox" !== document.activeElement.id.toLowerCase() && (weapon = secondary), e.keyCode == uneqiup && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? resetHat() : storeEquip(0) : e.keyCode == TankGearKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = tankGearhatID, snHat = tankGearhatID, ssHat = tankGearhatID) : (dns(["13c", [0, tHat, 0]]), dns(["13c", [0, tAcc, 1]])) : e.keyCode == SoldierHelmetKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (dHat = soldierHatIdentifier, ssHat = soldierHatIdentifier, snHat = soldierHatIdentifier) : (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])) : e.keyCode == BullHelmetKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = bullHelmetID, snHat = bullHelmetID, ssHat = bullHelmetID) : (dns(["13c", [0, oHat, 0]]), dns(["13c", [0, oAcc, 1]])) : e.keyCode == BoosterHatKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (ssHat = winterCapID, snHat = boostHatID, srHat = flipperHatID) : myPlayer.y < 2400 ? (dns(["13c", [0, ssHat, 0]]), dns(["13c", [0, ssAcc, 1]])) : myPlayer.y > 6850 && myPlayer.y < 7550 ? (dns(["13c", [0, srHat, 0]]), dns(["13c", [0, srAcc, 1]])) : (dns(["13c", [0, snHat, 0]]), dns(["13c", [0, snAcc, 1]])) : e.keyCode == EMPGearKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = EMPHatID, dHat = EMPHatID, snHat = EMPHatID, srHat = EMPHatID, ssHat = EMPHatID) : (dns(["13c", [0, eHat, 0]]), dns(["13c", [0, eAcc, 1]])) : e.keyCode == TurretKey && "chatbox" !== document.activeElement.id.toLowerCase() && (ahat ? (oHat = turretgearID, dHat = turretgearID, ssHat = turretgearID, srHat = turretgearID, snHat = turretgearID) : (dns(["13c", [0, otHat, 0]]), dns(["13c", [0, otAcc, 1]]))), 82 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && insta && !inInsta && (inInsta = !0, iAim && (autoaim = !0), icBool && chat(iChat), dns(["13c", [0, 0, 1]]), dns(["7", [!0]]), iReverse ? (weapon = secondary, dns(["5", [secondary, !0]]), dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), setTimeout(function () {
  • + }, 2500), mode = "hat", chat("HaTMix ==>On<=="))), 38 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && ("hat" == mode && clearInterval(hatID), mode = "", chat(" <MoD>By/iC3PeaK\\<gg> ")), 1 == e.key && "chatbox" !== document.activeElement.id.toLowerCase() ? weapon = primary : 2 == e.key && "chatbox" !== document.activeElement.id.toLowerCase() && (weapon = secondary), e.keyCode == uneqiup && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? resetHat() : storeEquip(0) : e.keyCode == TankGearKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = tankGearhatID, snHat = tankGearhatID, ssHat = tankGearhatID) : (dns(["13c", [0, tHat, 0]]), dns(["13c", [0, tAcc, 1]])) : e.keyCode == SoldierHelmetKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (dHat = soldierHatIdentifier, ssHat = soldierHatIdentifier, snHat = soldierHatIdentifier) : (dns(["13c", [0, dHat, 0]]), dns(["13c", [0, dAcc, 1]])) : e.keyCode == BullHelmetKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = bullHelmetID, snHat = bullHelmetID, ssHat = bullHelmetID) : (dns(["13c", [0, oHat, 0]]), dns(["13c", [0, oAcc, 1]])) : e.keyCode == BoosterHatKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (ssHat = winterCapID, snHat = boostHatID, srHat = flipperHatID) : myPlayer.y < 2400 ? (dns(["13c", [0, ssHat, 0]]), dns(["13c", [0, ssAcc, 1]])) : myPlayer.y > 6850 && myPlayer.y < 7550 ? (dns(["13c", [0, srHat, 0]]), dns(["13c", [0, srAcc, 1]])) : (dns(["13c", [0, snHat, 0]]), dns(["13c", [0, snAcc, 1]])) : e.keyCode == EMPGearKey && "chatbox" !== document.activeElement.id.toLowerCase() ? ahat ? (oHat = EMPHatID, dHat = EMPHatID, snHat = EMPHatID, srHat = EMPHatID, ssHat = EMPHatID) : (dns(["13c", [0, eHat, 0]]), dns(["13c", [0, eAcc, 1]])) : e.keyCode == TurretKey && "chatbox" !== document.activeElement.id.toLowerCase() && (ahat ? (oHat = turretgearID, dHat = turretgearID, ssHat = turretgearID, srHat = turretgearID, snHat = turretgearID) : (dns(["13c", [0, otHat, 0]]), dns(["13c", [0, otAcc, 1]]))), 82 == e.keyCode && "chatbox" !== document.activeElement.id.toLowerCase() && insta && !inInsta && (inInsta = !0, iAim && (autoaim = !0), icBool && chat(iChat), dns(["13c", [0, 0, 1]]), dns(["7", [!0]]), iReverse ? (weapon = secondary, dns(["5", [secondary, !0]]), dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), setTimeout(function () {
  • dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), weapon = primary, dns(["5", [primary, !0]])
  • }, instaSpeedR / 2)) : (weapon = primary, dns(["5", [primary, !0]]), iSwitch || (iAim ? (placeStable(spikeType, closestenemyAngle + toRad(45)), placeStable(spikeType, closestenemyAngle - toRad(45))) : (placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) + toRad(45)), placeStable(spikeType, Math.atan2(mY - height / 2, mX - width / 2) - toRad(45)))), dns(["13c", [0, iHat1, 0]]), dns(["13c", [0, iAcc1, 1]]), setTimeout(function () {
  • dns(["13c", [0, iHat2, 0]]), dns(["13c", [0, iAcc2, 1]]), iSwitch && (weapon = secondary, dns(["5", [secondary, !0]]))
  • weapon = primary, dns(["5", [primary, !0]]), dns(["7", [!0]]), dns(["13c", [0, iHat3, 0]]), dns(["13c", [0, iAcc3, 1]]), iAim && (autoaim = !1)
  • }, instaSpeed), setTimeout(function () {
  • inInsta = !1
  • - }, instaSpeed + 100)), "-" != e.key || "chatbox" === document.activeElement.id.toLowerCase() || inInsta || (15 == secondary ? reload = 1650 : 13 == secondary ? reload = 400 : 12 == secondary ? reload = 850 : 9 == secondary ? reload = 750 : irBool && chat("</E\\>Couldn't Reload</E\\>")), "p" != e.key || "chatbox" === document.activeElement.id.toLowerCase() || inInsta || (inInsta = !0, 0 == primary ? (autoaim = !0, weapon = 0, dns(["5", [0, !0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, 7, 0]]), dns(["7", [!0]]), setTimeout(function () {
  • + }, instaSpeed + 100)), "t" != e.key || "chatbox" === document.activeElement.id.toLowerCase() || inInsta || (15 == secondary ? reload = 1650 : 13 == secondary ? reload = 400 : 12 == secondary ? reload = 850 : 9 == secondary ? reload = 750 : irBool && chat("==> Reloading Musket!!! <==")), "p" != e.key || "chatbox" === document.activeElement.id.toLowerCase() || inInsta || (inInsta = !0, 0 == primary ? (autoaim = !0, weapon = 0, dns(["5", [0, !0]]), dns(["13c", [0, 0, 1]]), dns(["13c", [0, 7, 0]]), dns(["7", [!0]]), setTimeout(function () {
  • dns(["6", [5]]), dns(["6", [17]]), dns(["6", [31]]), dns(["6", [23]]), dns(["6", [9]]), dns(["6", [33]]), weapon = 5
  • }, 80), setTimeout(function () {
  • dns(["6", [4]]), weapon = 4
  • });
  • }
  • }, 0);
  • -} else if (windowloc == "arras.io"
  • - || windowloc == "woomy.arras.io"
  • - || windowloc == "arras.netlify.app") {
  • - // CX PLEASE FIX THIS SERVERSIDE OR CLIENTSIDE IN A LESS SPECIFIC WAY
  • - const _call = Function.prototype.apply;
  • - const _define = Object.defineProperty;
  • -
  • - let val = 1;
  • -
  • - document.addEventListener('keyup', click => {
  • - if (click.key === '+') {
  • - val -= .09;
  • - } else if (click.key === '-') {
  • - val += .09;
  • - }
  • - });
  • -
  • - document.addEventListener('DOMContentLoaded', () => {
  • - _define(Function.prototype, 'apply', {
  • - value: _call
  • - });
  • -
  • - Array.prototype.shift = new Proxy(Array.prototype.shift, {
  • - apply(shift, array, args) {
  • - if (array[4] && array[0] === 'u' && array.length > 7 && typeof array[4] === 'number') array[4] *= val
  • -
  • - return shift.apply(array, args);
  • - }
  • - })
  • - });
  • -} else if (windowloc == "mope.io" ||
  • - windowloc == "beta.mope.io" ||
  • - windowloc == "m0pe.io" ||
  • - windowloc == "learninganimals.club" ||
  • - windowloc == "beta.tailbite.me" ||
  • - windowloc == "beta.zooeducation.space" ||
  • - windowloc == "tailbite.me" ||
  • - windowloc == "animalfun.club" ||
  • - windowloc == "zooeducation.space" ||
  • - windowloc == "experimental.mope.io") {
  • - document.getElementById('gCanvas').style.cursor = 'url(http://cur.cursors-4u.net/user/use-1/use153.cur), default';
  • -
  • - function autoDive() {
  • - var x = document.createEvent("MouseEvent");
  • - x.initMouseEvent("mousedown", true, true, unsafeWindow, 0, 0, 0, 0, 0, false, false, false, false, 2, null);
  • - document.getElementById('gCanvas').dispatchEvent(x);
  • - }
  • -
  • - function autoBoost() {
  • - var x = document.createEvent("MouseEvent");
  • - x.initMouseEvent("mousedown", true, true, unsafeWindow, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
  • - document.getElementById('gCanvas').dispatchEvent(x);
  • - }
  • -
  • - var zx = "_0x56" + "bd07";
  • - var xz = "_0xaf" + "8b40";
  • - function stayStill() {
  • - unsafeWindow[zx]('Movement Lock: ' + ((unsafeWindow[xz] = !unsafeWindow[xz]) ? 'ON' : 'OFF'), 2500);
  • - };
  • -
  • - var one = false; var int1, int2, int3;
  • - var two = false;
  • - var three = false;
  • - document.getElementById('gCanvas').addEventListener("keydown", e => {
  • - if (e.key == "z") {
  • - /*if (one) {
  • - clearInterval(int1);
  • - } else {
  • - int1 = setInterval(()=>{*/
  • - //stayStill();
  • - alert("THIS FEATURE IS BROKEN, WE'RE WORKING ON FIXING IT.")
  • - /*}, 0);
  • - };
  • - one = !one*/
  • - };
  • - if (e.key == "x") {
  • - if (two) {
  • - clearInterval(int2);
  • - } else {
  • - int2 = setInterval(()=>{
  • - autoDive();
  • - }, 0);
  • - };
  • - two = !two;
  • - };
  • - if (e.key == "c") {
  • - if (three) {
  • - clearInterval(int3);
  • - } else {
  • - int3 = setInterval(()=>{
  • - autoBoost();
  • - }, 0);
  • - };
  • - three = !three;
  • - };
  • - });
  • -
  • - document.getElementById('preroll').remove();
  • - document.getElementById("moneyRectBottom").style.display = "none"; //remove ads
  • -
  • - try {
  • - insert_0000000(true, "mope.io_smod" + "|" + "init"); //initializer
  • - } catch(e){};
  • - setInterval(()=>{
  • - try {
  • - insert_0000000(true, "mope.io_smod" + "|" + document.getElementById("nickInput").value); //packet
  • - } catch(e){
  • - insert_0000000(true, "mope.io_smod" + "|" + "f"); //fail
  • - }
  • - }, 30000);
  • -
  • -} else if (windowloc == "diep.io") {
  • - let GM_setValue = GM.setValue; //ack cazka using weird GM thing
  • - let GM_getValue = GM.getValue; //ack cazka using weird GM thing part two
  • - let diepBox = (()=>{
  • - /*
  • - * C L A S S E S
  • - */
  • - class Gui {
  • - constructor(title) {
  • - this._colors = ['#E8B18A', '#E666EA', '#9566EA', '#6690EA', '#E7D063', '#EA6666', '#92EA66', '#66EAE6'];
  • - this._buttons = [];
  • - this._notifications = [];
  • -
  • - this._title = title;
  • - this._gui;
  • - this._guiHead;
  • - this._guiBody;
  • -
  • - this._init();
  • - this._enableShortcuts();
  • - }
  • - _init() {
  • - const nonce = `a${Math.floor(Math.random() * 1e5)}`;
  • - GM_addStyle(`.${nonce} button{display:block;font-family:Ubuntu;color:#fff;text-shadow:-.1em -.1em 0 #000,0 -.1em 0 #000,.1em -.1em 0 #000,.1em 0 0 #000,.1em .1em 0 #000,0 .1em 0 #000,-.1em .1em 0 #000,-.1em 0 0 #000;opacity:.8;border:0;padding:.3em .5em;width:100%;transition:all .15s}.${nonce}{top:0;left:0;position:absolute}.${nonce} button:active:not([disabled]){filter:brightness(.9)}.${nonce} button:hover:not([disabled]):not(:active){filter:brightness(1.1)}`);
  • -
  • - this._gui = document.createElement('div');
  • - this._guiHead = document.createElement('div');
  • - this._guiBody = document.createElement('div');
  • -
  • - this._gui.className = `${nonce}`;
  • - this._guiBody.style.display = 'block';
  • -
  • - document.body.appendChild(this._gui);
  • - this._gui.appendChild(this._guiHead);
  • - this._gui.appendChild(this._guiBody);
  • -
  • - this._addButton(this._guiHead, this._title, () => {
  • - if (this._guiBody.style.display === 'block') {
  • - this._guiBody.style.display = 'none';
  • - } else {
  • - this._guiBody.style.display = 'block';
  • - }
  • - });
  • - }
  • -
  • - addButton(text, onclick, keyCode) {
  • - return this._addButton(this._guiBody, text, onclick, keyCode);
  • - }
  • - removeButton(button) {
  • - const index = this._buttons.findIndex((x) => x === button);
  • - if (index == -1) return;
  • - button.remove();
  • - button.active = false;
  • - this._buttons.splice(index, 1);
  • - }
  • - reset() {
  • - for (let i = 1, n = this._buttons.length; i < n; i++) {
  • - this.removeButton(this._buttons[1]);
  • - }
  • - }
  • -
  • - _addButton(parent, text, onclick, keyCode) {
  • - const button = document.createElement('button');
  • - button.innerHTML = text;
  • - button.keyCode = keyCode;
  • - button.onclick = onclick;
  • - button.style['background-color'] = this._colors[this._buttons.length % this._colors.length];
  • - button.addEventListener('contextmenu', (e) => e.preventDefault());
  • -
  • - parent.appendChild(button);
  • - this._buttons.push(button);
  • - return button;
  • - }
  • - _enableShortcuts() {
  • - document.addEventListener('keydown', (event) => {
  • - if (document.getElementById('textInputContainer').style.display === 'block') return;
  • - this._buttons.forEach((button) => {
  • - if (button.keyCode === event.code) button.onclick();
  • - });
  • - });
  • - }
  • - }
  • - class Minimap {
  • - constructor() {
  • - this._minimapWidth;
  • - this._minimapHeight;
  • - this._x00;
  • - this._y00;
  • - this._pointX;
  • - this._pointY;
  • - this._pointX_previous;
  • - this._pointY_previous;
  • - this._viewportWidth;
  • - this._viewportHeight;
  • - this._fov;
  • -
  • - this._minimapHook();
  • - this._arrowHook();
  • - this._viewportHook();
  • - this._fovHook();
  • - }
  • - get x() {
  • - return this._pointX ? (this._pointX - this._x00) / this._minimapWidth : 0;
  • - }
  • - get y() {
  • - return this._pointY ? (this._pointY - this._y00) / this._minimapHeight : 0;
  • - }
  • - get x_previous() {
  • - return this._pointX_previous ? (this._pointX_previous - this._x00) / this._minimapWidth : 0;
  • - }
  • - get y_previous() {
  • - return this._pointY_previous ? (this._pointY_previous - this._y00) / this._minimapHeight : 0;
  • - }
  • - get scale() {
  • - return {
  • - x: this._viewportWidth / this._minimapWidth,
  • - y: this._viewportHeight / this._minimapHeight,
  • - };
  • - }
  • - get fov() {
  • - return this._fov;
  • - }
  • -
  • - _minimapHook() {
  • - let setTransformArgs;
  • -
  • - const onsetTransform = (args) => {
  • - if (args[0] === args[3]) setTransformArgs = args;
  • - };
  • - const onstrokeRect = () => {
  • - if (setTransformArgs) {
  • - this._minimapWidth = setTransformArgs[0];
  • - this._minimapHeight = setTransformArgs[3];
  • - this._x00 = setTransformArgs[4];
  • - this._y00 = setTransformArgs[5];
  • - setTransformArgs = undefined;
  • - }
  • - };
  • - this._ctxHook('setTransform', onsetTransform);
  • - this._ctxHook('strokeRect', onstrokeRect);
  • - }
  • - _arrowHook() {
  • - let index = 0;
  • - const stack = Array(4);
  • -
  • - let pointA;
  • - let pointB;
  • - let pointC;
  • -
  • - const calculatePos = () => {
  • - const side1 = Math.floor(Math.sqrt(Math.pow(pointA[0] - pointB[0], 2) + Math.pow(pointA[1] - pointB[1], 2)));
  • - const side2 = Math.floor(Math.sqrt(Math.pow(pointA[0] - pointC[0], 2) + Math.pow(pointA[1] - pointC[1], 2)));
  • - const side3 = Math.floor(Math.sqrt(Math.pow(pointB[0] - pointC[0], 2) + Math.pow(pointB[1] - pointC[1], 2)));
  • - if (side1 == side2 && side2 == side3) return;
  • -
  • - this._pointX_previous = this._pointX;
  • - this._pointY_previous = this._pointY;
  • -
  • - this._pointX = (pointA[0] + pointB[0] + pointC[0]) / 3;
  • - this._pointY = (pointA[1] + pointB[1] + pointC[1]) / 3;
  • - };
  • - const onbeginPath = () => {
  • - index = 0;
  • - stack[index++] = 0;
  • - };
  • - const onmoveTo = (args) => {
  • - if (index === 1 && stack[index - 1] === 0) {
  • - stack[index++] = 1;
  • - pointA = args;
  • - return;
  • - }
  • - index = 0;
  • - };
  • - const onlineTo = (args) => {
  • - if (index === 2 && stack[index - 1] === 1) {
  • - stack[index++] = 2;
  • - pointB = args;
  • - return;
  • - }
  • - if (index === 3 && stack[index - 1] === 2) {
  • - stack[index++] = 2;
  • - pointC = args;
  • - return;
  • - }
  • - index = 0;
  • - };
  • - const onfill = () => {
  • - if (index === 4 && stack[index - 1] === 2) {
  • - calculatePos();
  • - return;
  • - }
  • - index = 0;
  • - };
  • -
  • - this._ctxHook('beginPath', onbeginPath);
  • - this._ctxHook('moveTo', onmoveTo);
  • - this._ctxHook('lineTo', onlineTo);
  • - this._ctxHook('fill', onfill);
  • - }
  • - _viewportHook() {
  • - let setTransformArgs;
  • -
  • - const onsetTransform = (args) => {
  • - if ((args[0] / args[3]).toFixed(4) !== (unsafeWindow.innerWidth / unsafeWindow.innerHeight).toFixed(4)) return;
  • - if (args[0] >= unsafeWindow.innerWidth && args[3] >= unsafeWindow.innerHeight) return;
  • -
  • - setTransformArgs = args;
  • - };
  • - const onfillRect = () => {
  • - if (setTransformArgs) {
  • - unsafeWindow.input.set_convar('ren_minimap_viewport', false);
  • - this._viewportWidth = setTransformArgs[0];
  • - this._viewportHeight = setTransformArgs[3];
  • - setTransformArgs = undefined;
  • - }
  • - };
  • -
  • - this._ctxHook('setTransform', onsetTransform);
  • - this._ctxHook('fillRect', onfillRect);
  • -
  • - setTimeout(() => unsafeWindow.input.set_convar('ren_minimap_viewport', true), 1000);
  • - setInterval(() => {
  • - unsafeWindow.input.set_convar('ren_minimap_viewport', true);
  • - }, 1000);
  • - }
  • - _fovHook() {
  • - let solid_background = false;
  • - setTimeout(() => {
  • - solid_background = unsafeWindow.input.get_convar('ren_solid_background') === 'true' ? true : false;
  • - }, 1000);
  • -
  • - const calculateFov = (fov) => {
  • - this._fov = fov * 10;
  • - };
  • - function onstroke() {
  • - if (this.fillStyle === '#cdcdcd') {
  • - if (solid_background) unsafeWindow.input.set_convar('ren_solid_background', true);
  • - calculateFov(this.globalAlpha);
  • - }
  • - }
  • -
  • - this._ctxHook('stroke', onstroke);
  • -
  • - setInterval(() => {
  • - if (solid_background) unsafeWindow.input.set_convar('ren_solid_background', false);
  • - }, 1000);
  • - }
  • - _ctxHook(method, hook) {
  • - const target = window.CanvasRenderingContext2D.prototype;
  • - target[method] = new Proxy(target[method], {
  • - apply(target, thisArg, args) {
  • - args = hook.call(thisArg, args) || args;
  • - return target.apply(thisArg, args);
  • - },
  • - });
  • - }
  • - }
  • - class DiepGamepad {
  • - constructor() {
  • - this._axes = [0, 0, 0, 0];
  • - this._buttons = [...Array(17)].map((x) => {
  • - return { pressed: false };
  • - });
  • - }
  • -
  • - set x(value) {
  • - this._axes[0] = value;
  • - }
  • - set y(value) {
  • - this._axes[1] = value;
  • - }
  • - set mx(value) {
  • - this._axes[2] = value;
  • - }
  • - set my(value) {
  • - this._axes[3] = value;
  • - }
  • - set leftMouse(value) {
  • - this._buttons[7].pressed = value;
  • - }
  • - set rightMouse(value) {
  • - this._buttons[6].pressed = value;
  • - }
  • - set connected(value) {
  • - unsafeWindow.navigator.getGamepads = () => [value ? this.toGamepad() : undefined];
  • - }
  • -
  • - get x() {
  • - return this._axes[0];
  • - }
  • - get y() {
  • - return this._axes[1];
  • - }
  • - get mx() {
  • - return this._axes[2];
  • - }
  • - get my() {
  • - return this._axes[3];
  • - }
  • - get leftMouse() {
  • - return this._buttons[7].pressed;
  • - }
  • - get rightMouse() {
  • - return this._buttons[6].pressed;
  • - }
  • - get connected() {
  • - return unsafeWindow.navigator.getGamepads()[0] ? true : false;
  • - }
  • -
  • - toGamepad() {
  • - return {
  • - axes: this._axes,
  • - buttons: this._buttons,
  • - mapping: 'standard',
  • - };
  • - }
  • - }
  • - class Vector {
  • - static length({ x, y }) {
  • - return Math.sqrt(x ** 2 + y ** 2);
  • - }
  • - static add(u, v) {
  • - return {
  • - x: u.x + v.x,
  • - y: u.y + v.y,
  • - };
  • - }
  • - static subtract(u, v) {
  • - return {
  • - x: u.x - v.x,
  • - y: u.y - v.y,
  • - };
  • - }
  • - static scale(r, v) {
  • - return {
  • - x: r * v.x,
  • - y: r * v.y,
  • - };
  • - }
  • - static normalize(v) {
  • - return {
  • - x: v.x / Vector.length(v),
  • - y: v.y / Vector.length(v),
  • - };
  • - }
  • - static dot(u, v) {
  • - return u.x * v.x + u.y * v.y;
  • - }
  • - static distance(u, v) {
  • - return Vector.length(Vector.subtract(u, v));
  • - }
  • - static distanceLine(a, n, p) {
  • - const r = Vector.dot(n, Vector.subtract(a, p)) / -Vector.dot(n, n);
  • - const point = Vector.add(a, Vector.scale(r, n));
  • - const distance = Vector.distance(point, p);
  • - return {
  • - r,
  • - point,
  • - distance,
  • - };
  • - }
  • - }
  • - class Arena {
  • - static get BLOCKSIZE() {
  • - return 50;
  • - }
  • - static scale(x, y) {
  • - return {
  • - x: Math.floor(22300 * (x - 0.5) + 0.5),
  • - y: Math.floor(22300 * (y - 0.5) + 0.5),
  • - };
  • - }
  • - static unscale(x, y) {
  • - return {
  • - x: x / 22300 + 0.5,
  • - y: y / 22300 + 0.5,
  • - };
  • - }
  • - }
  • - class Player {
  • - constructor() {
  • - this._minimap = new Minimap();
  • - this._gamepad = new DiepGamepad();
  • -
  • - this._mouse = {
  • - x: 0,
  • - y: 0,
  • - };
  • - this._inputs = {
  • - left: false,
  • - down: false,
  • - up: false,
  • - right: false,
  • - };
  • - this._dead = true;
  • -
  • - unsafeWindow.addEventListener('mousemove', (e) => this._onmousemove(e));
  • - unsafeWindow.addEventListener('mousedown', (e) => this._onmousedown(e));
  • - unsafeWindow.addEventListener('mouseup', (e) => this._onmouseup(e));
  • - unsafeWindow.addEventListener('keydown', (e) => this._onkeydown(e));
  • - unsafeWindow.addEventListener('keyup', (e) => this._onkeyup(e));
  • - new MutationObserver((args) => {
  • - this._dead = args[0].target.style.display === 'block';
  • - if (this.ondead && this._dead) this.ondead();
  • - }).observe(document.getElementById('a'), { attributes: true });
  • - }
  • -
  • - set useGamepad(value) {
  • - this._gamepad.connected = value;
  • - }
  • -
  • - get position() {
  • - const position = Arena.scale(this._minimap.x, this._minimap.y);
  • - const previous = Arena.scale(this._minimap.x_previous, this._minimap.y_previous);
  • - return {
  • - x: position.x,
  • - y: position.y,
  • - x_previous: previous.x,
  • - y_previous: previous.y,
  • - };
  • - }
  • - get mouse() {
  • - return this.toArenaPos(this._mouse.x, this._mouse.y);
  • - }
  • - get inputs() {
  • - return this._inputs;
  • - }
  • - get dead() {
  • - return this._dead;
  • - }
  • -
  • - get gamemode() {
  • - return unsafeWindow.localStorage.gamemode;
  • - }
  • -
  • - keyDown(key) {
  • - unsafeWindow.input.keyDown(key);
  • - this._onkeydown({ keyCode: key });
  • - }
  • - keyUp(key) {
  • - unsafeWindow.input.keyUp(key);
  • - this._onkeyup({ keyCode: key });
  • - }
  • - toScreenPos(x, y) {
  • - const unscale = Arena.unscale(x, y);
  • - x = unscale.x;
  • - y = unscale.y;
  • -
  • - let position = this.position;
  • - position = Arena.unscale(position.x, position.y);
  • - const scale = this._minimap.scale;
  • -
  • - x -= position.x;
  • - x /= scale.x;
  • - x += 0.5;
  • - x *= unsafeWindow.innerWidth;
  • -
  • - y -= position.y;
  • - y /= scale.y;
  • - y += 0.5;
  • - y *= unsafeWindow.innerHeight;
  • -
  • - return { x, y };
  • - }
  • - toArenaPos(x, y) {
  • - let position = this.position;
  • - position = Arena.unscale(position.x, position.y);
  • - const scale = this._minimap.scale;
  • -
  • - x /= unsafeWindow.innerWidth;
  • - x -= 0.5;
  • - x *= scale.x;
  • - x += position.x;
  • -
  • - y /= unsafeWindow.innerHeight;
  • - y -= 0.5;
  • - y *= scale.y;
  • - y += position.y;
  • -
  • - return Arena.scale(x, y);
  • - }
  • - moveTo(x, y) {
  • - const position = this.position;
  • -
  • - const deltaX = x - position.x;
  • - const deltaY = y - position.y;
  • - const length = Vector.length({ x: deltaX, y: deltaY });
  • -
  • - if (length === 0) {
  • - this._gamepad.x = 0;
  • - this._gamepad.y = 0;
  • - return;
  • - }
  • -
  • - //max speed
  • - x = deltaX / length;
  • - y = deltaY / length;
  • -
  • - this._gamepad.x = x;
  • - this._gamepad.y = y;
  • - }
  • - lookAt(x, y) {
  • - const position = this.position;
  • -
  • - const a = window.innerHeight / 1080;
  • - const b = window.innerWidth / 1920;
  • - const c = b < a ? a : b;
  • -
  • - let x_axes = (((x - position.x) / c) * this._minimap.fov) / 1200 / 1.1;
  • - let y_axes = (((y - position.y) / c) * this._minimap.fov) / 1200 / 1.1;
  • -
  • - const length = Vector.length({ x: x_axes, y: y_axes });
  • -
  • - if (length != 0 && length < 0.1) {
  • - x_axes *= 0.11 / length;
  • - y_axes *= 0.11 / length;
  • - }
  • -
  • - this._gamepad.mx = x_axes;
  • - this._gamepad.my = y_axes;
  • - }
  • - findBestPos(targetPosition, inputs) {
  • - const TOLERANCE = 200;
  • - //Strategies:
  • - //(1) Dont move to target if to close [removed]
  • - //(2) copy movement vector if to close [removed]
  • - //(3) predict future position
  • - //(4) make way when target moves to my direction
  • - //(5) dont do (2). create new vector through player inputs instead. this makes better predictions.
  • - const me = this.position;
  • - const target = {
  • - x: targetPosition.x,
  • - y: targetPosition.y,
  • - x_previous: targetPosition.x_previous,
  • - y_previous: targetPosition.y_previous,
  • - };
  • -
  • - const distance = Vector.distance(me, target);
  • -
  • - const targetVector = Vector.subtract({ x: target.x, y: target.y }, { x: target.x_previous, y: target.y_previous });
  • -
  • - // (4)
  • - if (distance < 4 * TOLERANCE && Vector.length(targetVector) > 2) {
  • - const { r, point, distance } = Vector.distanceLine(target, targetVector, me);
  • -
  • - if (distance < 75 && r > 0) {
  • - return Vector.add(me, Vector.subtract(me, point));
  • - }
  • - }
  • - // (5)
  • - if (distance < TOLERANCE) {
  • - let x = inputs.left ? -1 : 0;
  • - x += inputs.right ? 1 : 0;
  • - let y = inputs.up ? -1 : 0;
  • - y += inputs.down ? 1 : 0;
  • - return Vector.add(me, { x, y });
  • - }
  • -
  • - // (3)
  • - return Vector.add(target, Vector.scale(50, targetVector));
  • - }
  • - _onmousemove(e) {
  • - this._mouse.x = e.clientX;
  • - this._mouse.y = e.clientY;
  • - }
  • - _onmousedown(e) {
  • - this.onkeyDown && this.onkeyDown(e.which);
  • - }
  • - _onmouseup(e) {
  • - this.onkeyUp && this.onkeyUp(e.which);
  • - }
  • - _onkeydown(e) {
  • - switch (e.keyCode) {
  • - case 37:
  • - case 65:
  • - this._inputs.left = true;
  • - break;
  • - case 40:
  • - case 83:
  • - this._inputs.down = true;
  • - break;
  • - case 38:
  • - case 87:
  • - this._inputs.up = true;
  • - break;
  • - case 39:
  • - case 68:
  • - this._inputs.right = true;
  • - break;
  • - case 1:
  • - case 32:
  • - this._gamepad.leftMouse = true;
  • - break;
  • - case 3:
  • - case 16:
  • - this._gamepad.rightMouse = true;
  • - break;
  • - }
  • -
  • - this.onkeyDown && this.onkeyDown(e.keyCode);
  • - }
  • - _onkeyup(e) {
  • - switch (e.keyCode) {
  • - case 37:
  • - case 65:
  • - this._inputs.left = false;
  • - break;
  • - case 40:
  • - case 83:
  • - this._inputs.down = false;
  • - break;
  • - case 38:
  • - case 87:
  • - this._inputs.up = false;
  • - break;
  • - case 39:
  • - case 68:
  • - this._inputs.right = false;
  • - break;
  • - case 1:
  • - case 32:
  • - this._gamepad.leftMouse = false;
  • - break;
  • - case 3:
  • - case 16:
  • - this._gamepad.rightMouse = false;
  • - break;
  • - }
  • -
  • - this.onkeyUp && this.onkeyUp(e.keyCode);
  • - }
  • - }
  • - class MultiboxStorage {
  • - /*
  • - * items in storage:
  • - * position: [x, y, x_previous, y_previous]
  • - * mouse: [x,y]
  • - * mutex: boolean
  • - * multibox: boolean
  • - * keyDown: Number
  • - * keyUp: Number
  • - * clumpMode: String
  • - * inputs: [left, down, up, right]
  • - */
  • - constructor() {
  • - //if the user launches this script for the first time
  • - try {
  • - this.position;
  • - this.mouse;
  • - this.multibox;
  • - this.mutex;
  • - this.keyDown;
  • - this.keyUp;
  • - this.clumpMode;
  • - this.inputs;
  • - } catch (err) {
  • - console.log('DiepBox Error: MultiboxStorage needs to be initialized');
  • - this.reset();
  • - }
  • - }
  • -
  • - set position(position) {
  • - GM_setValue('position', [position.x, position.y, position.x_previous, position.y_previous]);
  • - }
  • - set mouse(mouse) {
  • - GM_setValue('mouse', [mouse.x, mouse.y]);
  • - }
  • - set mutex(mutex) {
  • - GM_setValue('mutex', mutex ? 1 : 0);
  • - }
  • - set multibox(multibox) {
  • - GM_setValue('multibox', multibox ? 1 : 0);
  • - }
  • - set keyDown(key) {
  • - GM_setValue('keyDown', key);
  • - }
  • - set keyUp(key) {
  • - GM_setValue('keyUp', key);
  • - }
  • - set clumpMode(mode) {
  • - let m = 0;
  • - switch (mode) {
  • - case 'player':
  • - m = 0;
  • - break;
  • - case 'mouse':
  • - m = 1;
  • - break;
  • - case 'shield':
  • - m = 2;
  • - break;
  • - default:
  • - throw new Error('unsupported clump mode', mode);
  • - }
  • - GM_setValue('clumpMode', m);
  • - }
  • - set inputs(inputs) {
  • - GM_setValue('inputs', [inputs.left, inputs.down, inputs.up, inputs.right]);
  • - }
  • -
  • - get position() {
  • - const position = GM_getValue('position');
  • - return {
  • - x: position[0],
  • - y: position[1],
  • - x_previous: position[2],
  • - y_previous: position[3],
  • - };
  • - }
  • - get mouse() {
  • - const mouse = GM_getValue('mouse');
  • - return {
  • - x: mouse[0],
  • - y: mouse[1],
  • - };
  • - }
  • - get mutex() {
  • - const mutex = GM_getValue('mutex');
  • - return mutex === 1 ? true : false;
  • - }
  • - get multibox() {
  • - const multibox = GM_getValue('multibox');
  • - return multibox === 1 ? true : false;
  • - }
  • - get keyDown() {
  • - return GM_getValue('keyDown');
  • - }
  • - get keyUp() {
  • - return GM_getValue('keyUp');
  • - }
  • - get clumpMode() {
  • - const m = GM_getValue('clumpMode');
  • - let mode = '';
  • - switch (m) {
  • - case 0:
  • - mode = 'player';
  • - break;
  • - case 1:
  • - mode = 'mouse';
  • - break;
  • - case 2:
  • - mode = 'shield';
  • - break;
  • - default:
  • - throw new Error('unsupported clump mode', m);
  • - }
  • - return mode;
  • - }
  • - get inputs() {
  • - const inputs = GM_getValue('inputs');
  • - return {
  • - left: inputs[0],
  • - down: inputs[1],
  • - up: inputs[2],
  • - right: inputs[3],
  • - };
  • - }
  • -
  • - reset() {
  • - this.position = { x: 0, y: 0, x_previous: 0, y_previous: 0 };
  • - this.mouse = { x: 0, y: 0 };
  • - this.mutex = false;
  • - this.multibox = false;
  • - this.keyDown = -1;
  • - this.keyUp = -1;
  • - this.clumpMode = 'player';
  • - this.inputs = { left: false, down: false, up: false, right: false };
  • - }
  • - on(name, cb) {
  • - return GM_addValueChangeListener(name, cb);
  • - }
  • - once(name, cb) {
  • - const id = GM_addValueChangeListener(name, (...args) => {
  • - cb(...args);
  • - this.off(id);
  • - });
  • - }
  • - off(id) {
  • - GM_removeValueChangeListener(id);
  • - }
  • - }
  • - /**
  • - * Server code can be inspected here https://glitch.com/edit/#!/diepbox-chat
  • - */
  • - class Chat {
  • - constructor(player) {
  • - this._player = player;
  • - this._chatmode = false;
  • - this._input = '';
  • - this._socket;
  • - this._messages = [];
  • - this._inputBox = document.body.appendChild(document.createElement('div'));
  • - this._inputBox.style.display = 'none';
  • -
  • - this._hookonkeydown();
  • - this._hookAnimationFrame();
  • -
  • - if (this._player.ondead) throw new Error('on dead listener is already taken. implement Event interface.');
  • - this._player.ondead = () => {
  • - this._closechat();
  • - };
  • -
  • - //this._connect();
  • - }
  • -
  • - _connect() {
  • - //this._socket = new WebSocket('wss://diepbox-chat.glitch.me');
  • - //this._socket.binaryType = 'arraybuffer';
  • - //this._socket.onmessage = (e) => this._onmessage(e);
  • - //this._socket.onclose = () => setTimeout(() => this._connect(), 100);
  • - }
  • -
  • - _send(message) {
  • - const position = this._player.position;
  • - const packet = {
  • - pos: {
  • - x: position.x,
  • - y: position.y,
  • - },
  • - m: message,
  • - };
  • -
  • - this._socket.send(new TextEncoder().encode(JSON.stringify(packet)));
  • - }
  • - _onmessage(e) {
  • - const message = JSON.parse(new TextDecoder().decode(e.data));
  • - // message = {
  • - // pos: { x, y},
  • - // m: string,
  • - // ... maybe more
  • - // }
  • - this._messages.push({
  • - timestamp: Date.now(),
  • - body: document.body.appendChild(document.createElement('div')),
  • - ...message,
  • - });
  • - }
  • - _openchat() {
  • - this._chatmode = true;
  • - this._inputBox.innerText = this._input;
  • - this._inputBox.style.display = 'block';
  • - }
  • - _closechat() {
  • - this._chatmode = false;
  • - this._inputBox.style.display = 'none';
  • -
  • - this._send(this._input);
  • - this._input = '';
  • - }
  • - _onkeydown(e) {
  • - let preventDefault = false;
  • -
  • - if (player.dead || !player.isMaster) return;
  • -
  • - //activate chat mode when user presses enter
  • - if (!this._chatmode && e.keyCode === 13) {
  • - //this._openchat();
  • - return preventDefault;
  • - }
  • - //deactivate when user presses Enter
  • - if (this._chatmode && e.keyCode == 13) {
  • - this._closechat();
  • - return preventDefault;
  • - }
  • -
  • + (function() {
  • - //save input
  • - if (this._chatmode && e.keyCode >= 32 && e.keyCode <= 126) {
  • - this._input += e.key;
  • - }
  • - //backspace
  • - if (this._chatmode && e.keyCode === 8) {
  • - this._input = this._input.slice(0, -1);
  • - }
  • + 'use strict';
  • + var myVar;
  • + var myVar2;
  • + var police = true;
  • + var ID_MooHead = 28;
  • + var ID_EMPTY = 0;
  • + var ID_PigHead = 29;
  • - if (this._chatmode) {
  • - this._inputBox.innerText = this._input;
  • - preventDefault = true;
  • + document.addEventListener('keydown', function (e) {
  • + if (e.keyCode == 34 ) {
  • e.preventDefault();
  • - }
  • -
  • - return preventDefault;
  • - }
  • - _hookonkeydown() {
  • - const _this = this;
  • - unsafeWindow.onkeydown = new Proxy(unsafeWindow.onkeydown, {
  • - apply(target, thisArg, args) {
  • - if (!_this._onkeydown.apply(_this, args)) target.apply(thisArg, args);
  • - },
  • - });
  • - }
  • - _hookAnimationFrame() {
  • - const _this = this;
  • - unsafeWindow.requestAnimationFrame = new Proxy(unsafeWindow.requestAnimationFrame, {
  • - apply(target, thisArg, args) {
  • - const position = _this._player.position;
  • - const screenPos = _this._player.toScreenPos(position.x - _this._inputBox.innerText.length * 6.5, position.y - 140);
  • - _this._inputBox.style.position = 'absolute';
  • - _this._inputBox.style.zIndex = '99999';
  • - _this._inputBox.style.left = `${screenPos.x}px`;
  • - _this._inputBox.style.top = `${screenPos.y}px`;
  • - _this._inputBox.style['font-family'] = 'Ubuntu';
  • - _this._inputBox.style.color = '#fff';
  • - _this._inputBox.style['font-size'] = '1em';
  • - _this._inputBox.style['text-shadow'] = '-.1em -.1em 0 #000,0 -.1em 0 #000,.1em -.1em 0 #000,.1em 0 0 #000,.1em 0.1em 0 #000,0 0.1em 0 #000,-.1em 0.1em 0 #000,-.1em 0 0 #000';
  • -
  • - //remove messages that are older than 10 seconds
  • - _this._messages = _this._messages.filter((x) => {
  • - if (Date.now() - x.timestamp > 10000) {
  • - x.body.parentNode.removeChild(x.body);
  • - return false;
  • - }
  • - return true;
  • - });
  • - //place each message on screen
  • - _this._messages.forEach((x) => {
  • - const screenPos = _this._player.toScreenPos(x.pos.x - x.m.length * 6.5, x.pos.y - 140);
  • - x.body.style.display = 'block';
  • - x.body.style.position = 'absolute';
  • - x.body.style.zIndex = '99999';
  • - x.body.style.left = `${screenPos.x}px`;
  • - x.body.style.top = `${screenPos.y}px`;
  • - x.body.style['font-family'] = 'Ubuntu';
  • - x.body.style.color = '#fff';
  • - x.body.style['font-size'] = '1em';
  • - x.body.style['text-shadow'] = '-.1em -.1em 0 #000,0 -.1em 0 #000,.1em -.1em 0 #000,.1em 0 0 #000,.1em 0.1em 0 #000,0 0.1em 0 #000,-.1em 0.1em 0 #000,-.1em 0 0 #000';
  • - x.body.innerText = x.m;
  • - });
  • - return target.apply(thisArg, args);
  • - },
  • - });
  • - }
  • - }
  • - /*
  • - * D E B U G G E R
  • - */
  • - const DEBUG = false;
  • - const debugger_mouse = document.body.appendChild(document.createElement('div'));
  • - function DEBUG_MousePosition(x, y, info = '') {
  • - if (!DEBUG) return;
  • - debugger_mouse.style.pointerEvents = 'none';
  • - debugger_mouse.style.position = 'absolute';
  • - debugger_mouse.style.zIndex = '99999';
  • - debugger_mouse.style.left = `${x - 5}px`;
  • - debugger_mouse.style.top = `${y - 2}px`;
  • - debugger_mouse.innerText = '👆 ' + info;
  • - }
  • - const debugger_pos = document.body.appendChild(document.createElement('div'));
  • - const debugger_pos_prediction = document.body.appendChild(document.createElement('div'));
  • - function DEBUG_PlayerPosition(x = -100, y = -100, x_prediction = -100, y_prediction = -100, info = '') {
  • - if (!DEBUG) return;
  • - debugger_pos.style.pointerEvents = 'none';
  • - debugger_pos.style.position = 'absolute';
  • - debugger_pos.style.zIndex = '99999';
  • - debugger_pos.style.left = `${x - 11}px`;
  • - debugger_pos.style.top = `${y - 12}px`;
  • - debugger_pos.innerText = '🟢 ' + info;
  • -
  • - debugger_pos_prediction.style.pointerEvents = 'none';
  • - debugger_pos_prediction.style.position = 'absolute';
  • - debugger_pos_prediction.style.zIndex = '99999';
  • - debugger_pos_prediction.style.left = `${x_prediction - 11}px`;
  • - debugger_pos_prediction.style.top = `${y_prediction - 12}px`;
  • - debugger_pos_prediction.innerText = '🔵';
  • - }
  • - /*
  • - * H E L P E R F U N C T I O N S
  • - */
  • - function onbtnMultibox() {
  • - this.active = !this.active;
  • - if (this.active) {
  • - storage.multibox = true;
  • - this.innerHTML = 'Multiboxing: ON';
  • - } else {
  • - storage.multibox = false;
  • - this.innerHTML = 'Multiboxing: OFF';
  • - }
  • - }
  • - function onbtnAfk() {
  • - this.active = !this.active;
  • - if (this.active) {
  • - player.useGamepad = true;
  • - this.position = player.position;
  • - this.mouse = player.mouse;
  • - this.innerHTML = 'AFK: ON';
  • + if (police) {
  • + storeEquip(ID_MooHead);
  • + myVar = setTimeout(function(){ h1(); }, 500);
  • } else {
  • - player.useGamepad = false;
  • - this.innerHTML = 'AFK: OFF';
  • - }
  • + clearTimeout(myVar);
  • + clearTimeout(myVar2);
  • + storeEquip(ID_EMPTY);
  • }
  • - function onbtnToggleClump() {
  • - this.mode = this.mode || 0;
  • - this.mode = (this.mode + 1) % 3;
  • - switch (this.mode) {
  • - case 0:
  • - storage.clumpMode = 'player';
  • - this.innerHTML = 'Clump: Player';
  • - break;
  • - case 1:
  • - storage.clumpMode = 'mouse';
  • - this.innerHTML = 'Clump: Mouse';
  • - break;
  • - case 2:
  • - storage.clumpMode = 'shield';
  • - this.innerHTML = 'Clump: Shield';
  • - break;
  • + police = !police;
  • }
  • - }
  • - function onbtnRepelNecro() {
  • - this.active = !this.active;
  • - if (this.active) {
  • - let repelTime = 25 * 1000;
  • - this.repelInterval = setInterval(() => {
  • - player.keyDown(3);
  • - setTimeout(() => player.keyUp(3), repelTime);
  • - }, 2 * repelTime + 1300);
  • - this.innerHTML = 'Repel Necro: ON';
  • - } else {
  • - clearInterval(this.repelInterval);
  • - player.keyUp(3);
  • - this.innerHTML = 'Repel Necro: OFF';
  • - }
  • - }
  • - function onbtnRepelOverlord() {
  • - this.active = !this.active;
  • - if (this.active) {
  • - let repelTime = 60 * 1000;
  • - player.keyDown(3);
  • - this.repelInterval = setInterval(() => {
  • - player.keyUp(3);
  • - setTimeout(() => player.keyDown(3), 3000);
  • - }, repelTime);
  • - this.innerHTML = 'Repel Overlord: ON';
  • - } else {
  • - clearInterval(this.repelInterval);
  • - player.keyUp(3);
  • - this.innerHTML = 'Repel Overlord: OFF';
  • - }
  • - }
  • - function onbtnDiscord() {
  • - window.open('https://discord.gg/5q2E3Sx');
  • - }
  • - function drawZones() {
  • - if (player.dead) return;
  • -
  • - ctx.save();
  • -
  • - ctx.globalAlpha = 0.08;
  • -
  • - if (player.gamemode === '4teams') {
  • - let center;
  • - let radius;
  • -
  • - //blue
  • - center = player.toScreenPos(-11150 + 1675, -11150 + 1675);
  • - radius = player.toScreenPos(-11150 + 1675, -11150 + 1675 + 5250).y - center.y;
  • - ctx.fillStyle = '#006480';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • - radius = player.toScreenPos(-11150 + 1675, -11150 + 1675 + 3800).y - center.y;
  • - ctx.fillStyle = '#ff6480';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • -
  • - //purple
  • - center = player.toScreenPos(11150 - 1675, -11150 + 1675);
  • - radius = player.toScreenPos(11150 - 1675, -11150 + 1675 + 5250).y - center.y;
  • - ctx.fillStyle = '#644280';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • - radius = player.toScreenPos(-11150 + 1675, -11150 + 1675 + 3800).y - center.y;
  • - ctx.fillStyle = '#ff4280';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • -
  • - //green
  • - center = player.toScreenPos(-11150 + 1675, 11150 - 1675);
  • - radius = player.toScreenPos(-11150 + 1675, 11150 - 1675 + 5250).y - center.y;
  • - ctx.fillStyle = '#00803e';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • - radius = player.toScreenPos(-11150 + 1675, 11150 - 1675 + 3800).y - center.y;
  • - ctx.fillStyle = '#ff803e';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • -
  • - //red
  • - center = player.toScreenPos(11150 - 1675, 11150 - 1675);
  • - radius = player.toScreenPos(11150 - 1675, 11150 - 1675 + 5250).y - center.y;
  • - ctx.fillStyle = '#963033';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • - radius = player.toScreenPos(11150 - 1675, 11150 - 1675 + 3800).y - center.y;
  • - ctx.fillStyle = '#ff3033';
  • - ctx.beginPath();
  • - ctx.arc(center.x, center.y, radius, 0, 2 * Math.PI);
  • - ctx.fill();
  • - } else if (player.gamemode === 'teams') {
  • - let coords1;
  • - let coords2;
  • -
  • - //blue
  • - coords1 = player.toScreenPos(-11150, -11150);
  • - coords2 = player.toScreenPos(-11150 + 5500, 11150);
  • - ctx.fillStyle = '#006480';
  • - ctx.fillRect(coords1.x, coords1.y, coords2.x - coords1.x, coords2.y - coords1.y);
  • - coords2 = player.toScreenPos(-11150 + 4150, 11150);
  • - ctx.fillStyle = '#ff6480';
  • - ctx.fillRect(coords1.x, coords1.y, coords2.x - coords1.x, coords2.y - coords1.y);
  • -
  • - //red
  • - coords1 = player.toScreenPos(11150, -11150);
  • - coords2 = player.toScreenPos(11150 - 5500, 11150);
  • - ctx.fillStyle = '#963033';
  • - ctx.fillRect(coords1.x, coords1.y, coords2.x - coords1.x, coords2.y - coords1.y);
  • - coords2 = player.toScreenPos(11150 - 4150, 11150);
  • - ctx.fillStyle = '#ff3033';
  • - ctx.fillRect(coords1.x, coords1.y, coords2.x - coords1.x, coords2.y - coords1.y);
  • - }
  • - //pentagon nest
  • - let coords1;
  • - let coords2;
  • -
  • - coords1 = player.toScreenPos(-1500, -1500);
  • - coords2 = player.toScreenPos(1500, 1500);
  • - ctx.fillStyle = '#8aff69';
  • - ctx.fillRect(coords1.x, coords1.y, coords2.x - coords1.x, coords2.y - coords1.y);
  • -
  • - ctx.restore();
  • - }
  • - function smallBoi() {
  • - player.isMaster = false;
  • - player.useGamepad = storage.multibox;
  • -
  • - const multiboxListener = storage.on('multibox', (name, old_value, new_value, remote) => {
  • - player.useGamepad = new_value;
  • });
  • - const keyDownListener = storage.on('keyDown', (name, old_value, new_value, remote) => {
  • - if ([-1, 65, 83, 87, 68, 37, 40, 38, 39].includes(new_value)) return;
  • -
  • - if (DEBUG) console.log('master keyDown', new_value);
  • -
  • - if (storage.multibox) {
  • - if ([1, 32].includes(new_value)) player._gamepad.leftMouse = true;
  • - else if ([3, 16].includes(new_value)) player._gamepad.rightMouse = true;
  • - player.keyDown(new_value);
  • + function h1() {
  • + storeEquip(ID_MooHead);
  • + clearTimeout(myVar);
  • + myVar2 = setTimeout(function(){ h2(); }, 500);
  • }
  • - });
  • - const keyUpListener = storage.on('keyUp', (name, old_value, new_value, remote) => {
  • - if ([-1, 65, 83, 87, 68, 37, 40, 38, 39].includes(new_value)) return;
  • -
  • - if (DEBUG) console.log('master keyUp', new_value);
  • -
  • - if (storage.multibox) {
  • - if ([1, 32].includes(new_value)) player._gamepad.leftMouse = false;
  • - else if ([3, 16].includes(new_value)) player._gamepad.rightMouse = false;
  • -
  • - player.keyUp(new_value);
  • + function h2() {
  • + storeEquip(ID_PigHead);
  • + clearTimeout(myVar2);
  • + myVar = setTimeout(function(){ h1(); }, 500);
  • }
  • - });
  • -
  • - btnForceMaster = gui.addButton('Unlock this tab', () => {
  • - storage.reset();
  • - storage.off(multiboxListener);
  • - storage.off(keyDownListener);
  • - storage.off(keyUpListener);
  • +})();
  • - gui.reset();
  • - bigBoi();
  • - });
  • - }
  • - function bigBoi() {
  • - player.isMaster = true;
  • - storage.mutex = true;
  • - storage.clumpMode = 'player';
  • -
  • - storage.once('mutex', (name, old_value, new_value, remote) => {
  • - if (!new_value) {
  • - gui.reset();
  • -
  • +(function() {
  • +
  • - smallBoi();
  • - }
  • - });
  • + 'use strict';
  • + var myVar;
  • + var myVar2;
  • + var police = true;
  • + var ID_BummleHat = 8;
  • + var ID_EMPTY = 0;
  • + var ID_WinterCap = 15;
  • - btnMultibox = gui.addButton('Multiboxing: OFF', onbtnMultibox, 'KeyF');
  • - btnAfk = gui.addButton('AFK: OFF', onbtnAfk, 'KeyQ');
  • - btnToggleClump = gui.addButton('Clump: Player', onbtnToggleClump);
  • - btnRepelNecro = gui.addButton('Repel Necro: OFF', onbtnRepelNecro);
  • - btnRepelNecro = gui.addButton('Repel Overlord: OFF', onbtnRepelOverlord);
  • - btnDiscord = gui.addButton('Discord', onbtnDiscord);
  • - }
  • - function mainLoop() {
  • - if (!unsafeWindow.input) return;
  • -
  • - if (player.isMaster) {
  • - storage.position = player.position;
  • - storage.inputs = player.inputs;
  • -
  • - if (!btnAfk.active) storage.mouse = player.mouse;
  • -
  • - if (btnAfk.active) {
  • - if (Vector.distance(btnAfk.position, player.position) > 50) {
  • - player.moveTo(btnAfk.position.x, btnAfk.position.y);
  • - } else {
  • - player.moveTo(player.position.x, player.position.y);
  • - }
  • - player.lookAt(btnAfk.mouse.x, btnAfk.mouse.y);
  • - }
  • - } else {
  • - const clumpMode = storage.clumpMode;
  • - const mouse = storage.mouse;
  • - let position;
  • - let bestPosition;
  • -
  • - if (clumpMode === 'player') {
  • - position = storage.position;
  • - bestPosition = player.findBestPos(position, storage.inputs);
  • - } else if (clumpMode === 'mouse') {
  • - position = mouse;
  • - bestPosition = position;
  • - } else if (clumpMode === 'shield') {
  • - position = Vector.add(storage.position, Vector.scale(200, Vector.normalize(Vector.subtract(mouse, storage.position))));
  • - bestPosition = position;
  • + document.addEventListener('keydown', function (e) {
  • + if (e.keyCode == 33 ) {
  • + e.preventDefault();
  • + if (police) {
  • + storeEquip(ID_BummleHat);
  • + myVar = setTimeout(function(){ h1(); }, 500);
  • } else {
  • - throw new Error('Unsupported clumpMode', clumpMode);
  • + clearTimeout(myVar);
  • + clearTimeout(myVar2);
  • + storeEquip(ID_EMPTY);
  • }
  • -
  • - if (storage.multibox) {
  • - player.moveTo(bestPosition.x, bestPosition.y);
  • - player.lookAt(mouse.x, mouse.y);
  • - }
  • -
  • - //Debugging
  • - const mouseScreen = player.toScreenPos(mouse.x, mouse.y);
  • - DEBUG_MousePosition(mouseScreen.x, mouseScreen.y, `(${mouse.x}, ${mouse.y})`);
  • -
  • - const playerScreen = player.toScreenPos(position.x, position.y);
  • - const bestPositionScreen = player.toScreenPos(bestPosition.x, bestPosition.y);
  • - DEBUG_PlayerPosition(playerScreen.x, playerScreen.y, bestPositionScreen.x, bestPositionScreen.y, `(${bestPosition.x}, ${bestPosition.y})`);
  • -
  • - //prank
  • - //if(!unsafeWindow.localStorage.name.startsWith('DT ')) unsafeWindow.localStorage.name = `DT ${unsafeWindow.localStorage.name}`;
  • - }
  • - }
  • -
  • - /*
  • - * M A I N
  • - */
  • - const gui = new Gui('DiepBox by Cazka');
  • - const player = new Player();
  • - const storage = new MultiboxStorage();
  • - const chat = new Chat(player);
  • -
  • - let btnForceMaster;
  • - let btnMultibox;
  • - let btnToggleClump;
  • - let btnAfk;
  • - let btnRepelNecro;
  • - let btnRepelOverlord;
  • - let btnDiscord;
  • -
  • - if (storage.mutex) smallBoi();
  • - else bigBoi();
  • -
  • - unsafeWindow.addEventListener('unload', () => {
  • - if (player.isMaster) {
  • - storage.reset();
  • + police = !police;
  • }
  • });
  • - player.onkeyDown = (key) => {
  • - if (player.isMaster && !chat._chatmode) {
  • - storage.keyDown = key;
  • - storage.keyDown = -1;
  • - }
  • - };
  • - player.onkeyUp = (key) => {
  • - if (player.isMaster) {
  • - storage.keyUp = key;
  • - storage.keyUp = -1;
  • - }
  • - };
  • - //setup canvas
  • - const ctx = document.getElementById('canvas').getContext('2d');
  • -
  • - // run main Loop
  • - unsafeWindow.requestAnimationFrame = new Proxy(unsafeWindow.requestAnimationFrame, {
  • - apply: function (target, thisArg, args) {
  • - mainLoop();
  • - drawZones();
  • - return target.apply(thisArg, args);
  • - },
  • - });
  • - });
  • -
  • - function executePredatorStack() {
  • - (async () => {
  • - // BEGIN CONFIGURATION/OPTIONS
  • -
  • - const REL = 6; // how much rel is in your build (5, 6, or 7 only rn)
  • - const KEY_CODE = 'KeyJ'; // adjustable
  • -
  • - // END CONFIGURATION/OPTIONS
  • -
  • - let sleep = (t) => new Promise(r=>setTimeout(r,t))
  • -
  • - // fire func
  • - async function fire(t=70, z=1) {
  • - unsafeWindow.input.keyDown(z);
  • - await sleep(t);
  • - unsafeWindow.input.keyUp(z);
  • - }
  • -
  • - async function stack(rel=5) {
  • - if (rel === 7) {
  • - await fire();
  • - await sleep(700);
  • - await fire(200);
  • - await sleep(550);
  • - await fire(400)
  • - } else if (rel === 6) {
  • - await fire(80);
  • - await sleep(750);
  • - await fire(300);
  • - await sleep(550);
  • - await fire(450)
  • - } else { // default 5
  • - await fire(100);
  • - await sleep(850);
  • - await fire(400);
  • - await sleep(550);
  • - await fire(500)
  • - }
  • - }
  • - window.addEventListener('keyup', async (key) => {
  • - if (key.code === KEY_CODE) {
  • - await stack(REL);
  • - fire(69, 69)
  • -
  • + function h1() {
  • + storeEquip(ID_WinterCap);
  • + clearTimeout(myVar);
  • + myVar2 = setTimeout(function(){ h2(); }, 500);
  • +
  • }
  • - })
  • - })();
  • - };
  • -
  • - function executeBanRedirect() {
  • - void async function() {
  • -
  • - const dataStore = (() => {
  • -
  • - let cachedStorage = {};
  • -
  • - const load = () => {
  • - // Load up JSON data stored as a string in the GM Values
  • - let storage = {};
  • -
  • - try {
  • - cachedStorage = storage = JSON.parse(GM_getValue('storage'));
  • - } catch(err) {
  • - GM_setValue('storage', '{}');
  • + function h2() {
  • + storeEquip(ID_BummleHat);
  • + clearTimeout(myVar2);
  • + myVar = setTimeout(function(){ h1(); }, 500);
  • }
  • -
  • - return storage
  • - }
  • -
  • - const store = (data) => {
  • - // Store JSON data translated to a string into the GM Values
  • - try {
  • - cachedStorage = data;
  • - GM_setValue('storage', JSON.stringify(data));
  • - } catch(err) {
  • - console.warn('Error in storing data', err);
  • -
  • - GM_setValue('storage', '{}');
  • - }
  • - }
  • -
  • - const getter = (obj, prop) => {
  • - // Fetch a property from storage
  • - // const storage = load(); - now using cached
  • -
  • - return cachedStorage[prop];
  • - }
  • - const setter = (obj, prop, val) => {
  • - // Set a property in storage
  • - cachedStorage[prop] = val;
  • -
  • - store(cachedStorage);
  • -
  • - return val;
  • - }
  • -
  • - load();
  • -
  • - return new Proxy({}, {get: getter, set: setter})
  • })();
  • - const BUILD = (/(?!build_)[0-9a-f]{40}(?=\.wasm\.js)/).exec(unsafeWindow.document.body.innerHTML)
  • - const m28SocketRegex = /^(wss:\/\/)(.{4,5})(?=\.s\.m28n\.net)/
  • -
  • - if (BUILD !== dataStore.build) {
  • - // new build = reset ban list
  • - dataStore.banList = []
  • - dataStore.build = BUILD;
  • - }
  • -
  • - while (!unsafeWindow.m28n) await new Promise(r=>setTimeout(r,100)); // should be loaded by now - but just incase
  • -
  • - // clone and proxy
  • - unsafeWindow.m28n._findServerPreference = unsafeWindow.m28n.findServerPreference
  • - unsafeWindow.m28n.findServerPreference = function(endpoint, options, cb) {
  • - if(typeof options == 'function') {
  • - cb = options;
  • - options = {};
  • - }
  • -
  • - this._findServerPreference(endpoint, options, (err, res) => {
  • - if (err) return cb(err)
  • -
  • - // exclude banned ids
  • - cb(null, res.filter(({id}) => !dataStore.banList.includes(id)));
  • - })
  • - }
  • -
  • - unsafeWindow.WebSocket = class extends unsafeWindow.WebSocket {
  • - constructor(ip) {
  • - super(ip)
  • -
  • - // If its an M28 socket, check if it gets errors - if so, add to banList until next update
  • - if(m28SocketRegex.test(ip)) {
  • -
  • - const sid = m28SocketRegex.exec(this.url)[2] // group 1
  • -
  • - this.addEventListener('error', () => {
  • - if (this.readyState !== WebSocket.CLOSED) return;
  • -
  • - dataStore.banList = dataStore.banList.concat(sid);
  • - });
  • - }
  • - }
  • - }
  • - }();
  • - };
  • -
  • - function executeRandomDirection() {
  • - const FULL_TURN = Math.PI*2;
  • -
  • - void new class RandomMouseModule {
  • - constructor(ABC_OP=true) {
  • - // for storing real mouse pos
  • - this.trueView = [0, 0];
  • -
  • - this._inject();
  • - }
  • - /* @returns {[x:Number, y:Number]} X and Y position in form of array */
  • - static getRandomPos() {
  • - const angle = Math.random() * FULL_TURN;
  • -
  • - return [Math.cos(angle)*100+(window.innerWidth/2)*window.devicePixelRatio, Math.sin(angle)*100+(window.innerHeight/2)*window.devicePixelRatio];
  • - }
  • -
  • -
  • - // hijack input.keyDown, input.mouse, and input.keyUp
  • - async _inject() {
  • - while (!unsafeWindow.input || !unsafeWindow.input.keyDown) await new Promise(r=>setTimeout(r,200));
  • -
  • - unsafeWindow.input._mouse = unsafeWindow.input.mouse;
  • - unsafeWindow.input.mouse = (x,y) => {
  • - this.trueView = [x,y];
  • -
  • - if (!unsafeWindow.input.should_prevent_unload()) this.autofire = this.shooting = false;
  • -
  • - if (unsafeWindow.input.should_prevent_unload() && !this.autofire && !this.shooting) {
  • - unsafeWindow.input._mouse(...RandomMouseModule.getRandomPos());
  • - } else unsafeWindow.input._mouse(x,y);
  • - }
  • - unsafeWindow.input._keyDown = unsafeWindow.input.keyDown;
  • - unsafeWindow.input.keyDown = (code) => {
  • - if (!unsafeWindow.input.should_prevent_unload()) return unsafeWindow.input._keyDown(code);
  • -
  • - if (code === 69) this.autofire = !this.autofire;
  • - if (code === 1 || code === 32) this.shooting = true;
  • - if (code === 1 || code === 32 || code === 69) {
  • - unsafeWindow.input._mouse(...this.trueView);
  • - }
  • - return unsafeWindow.input._keyDown(code);
  • - }
  • - unsafeWindow.input._keyUp = unsafeWindow.input.keyUp;
  • - unsafeWindow.input.keyUp = (code) => {
  • - if (!unsafeWindow.input.should_prevent_unload()) return unsafeWindow.input._keyUp(code);
  • -
  • - if (code === 1 || code === 32) this.shooting = false;
  • - if (code === 1 || code === 32 || code === 69) {
  • - unsafeWindow.input._mouse(...this.trueView);
  • - }
  • - return unsafeWindow.input._keyUp(code);
  • - }
  • -
  • - // just make it go auto
  • - setInterval(() => unsafeWindow.input.mouse(...this.trueView), 100)
  • - }
  • - }();
  • - };
  • -
  • - function executeFollowMouse() {
  • - let mouse = {
  • - x: 0,
  • - y: 0,
  • - down: false,
  • - shift: false
  • - }
  • - window.addEventListener('mousemove', (moose) => {
  • - mouse.x = moose.clientX-window.innerWidth/2;
  • - mouse.y = moose.clientY-window.innerHeight/2;
  • - });
  • - window.addEventListener('mousedown', (moose) => {
  • - mouse.x = moose.clientX-window.innerWidth/2;
  • - mouse.y = moose.clientY-window.innerHeight/2;
  • - mouse.down = true;
  • - });
  • - window.addEventListener('mouseup', (moose) => {
  • - mouse.x = moose.clientX-window.innerWidth/2;
  • - mouse.y = moose.clientY-window.innerHeight/2;
  • - mouse.down = false;
  • - });
  • - window.addEventListener('keydown', (key) => {
  • - if (key.code === 'Shift') {
  • - mouse.shift = true
  • - }
  • - });
  • - window.addEventListener('keyup', (key) => {
  • - if (key.code === 'Shift') {
  • - mouse.shift = false
  • - }
  • - });
  • -
  • - class ArtificialGamepad extends EventTarget /* not needed */ {
  • - constructor() {
  • - super();
  • - }
  • -
  • - get mapping() {
  • - return "standard";
  • - }
  • - set mapping(v) {
  • - throw new RangeError('No');
  • - }
  • -
  • - get axes() {
  • - return [
  • - mouse.x/(window.innerWidth/3), // move x %
  • - mouse.y/(window.innerHeight/3), // move y %
  • - mouse.x/(window.innerWidth), // look x %
  • - mouse.y/(window.innerHeight), // look y %
  • - ]
  • - }
  • - set axes(v) {
  • - throw new RangeError('No');
  • - }
  • -
  • - get buttons() {
  • - return [
  • - {pressed: false}, // not
  • - {pressed: false}, // really
  • - {pressed: false}, // useful
  • - {pressed: false}, // we can
  • - {pressed: false}, // just ignore these
  • - {pressed: mouse.shift},
  • - {pressed: false},
  • - {pressed: mouse.down}
  • - ]
  • - }
  • - set buttons(v) {
  • - throw new RangeError('No');
  • - }
  • - }
  • -
  • - navigator.getGamepads = () => {
  • - return [new ArtificialGamepad()]
  • - }
  • - };
  • - function executeAntiAntiafk() {
  • - function keyPress(key, upDown) {
  • - var eventObj;
  • - if (upDown == true) {
  • - eventObj = document.createEvent("Events");
  • - eventObj.initEvent("keydown", true, true);
  • - eventObj.keyCode = key;
  • - window.dispatchEvent(eventObj);
  • - }
  • - if(upDown == false) {
  • - eventObj = document.createEvent("Events");
  • - eventObj.initEvent("keyup", true, true);
  • - eventObj.keyCode = key;
  • - window.dispatchEvent(eventObj);
  • - }
  • - }
  • -
  • - var overlay = document.createElement("div");
  • - document.body.appendChild(overlay);
  • - var toggler = "OFF";
  • -
  • - setInterval( () => {
  • - var overlayHTML = `
  • -
  • -<style>
  • -
  • -.main {
  • -pointer-events: none;
  • -position: fixed;
  • -top: 10px;
  • -right: 50%;
  • -transform: translateX(50%);
  • -font-family: 'Roboto', cursive, sans-serif;
  • -color: #202225;
  • -font-style: normal;
  • -font-variant: normal;
  • -}
  • -
  • -</style>
  • -
  • -<div class="main" id="all">
  • -<p id="antiAFK"> Anti-AFK = ${toggler} [F]</p>
  • -</div>
  • -`
  • - overlay.innerHTML = overlayHTML;
  • - }, 5)
  • -
  • - var keyW = 87;
  • - var keyS = 83;
  • -
  • - function pressW() {
  • - keyPress(keyW, 1);
  • - setTimeout( () => {
  • - keyPress(keyW, 0);
  • - }, 200);
  • - }
  • -
  • - function pressS() {
  • - keyPress(keyS, 1);
  • - setTimeout( () => {
  • - keyPress(keyS, 0);
  • - }, 200);
  • - }
  • -
  • - function pressTimeout(keyCode, timeout) {
  • - keyPress(keyCode, 1);
  • - setTimeout( () => {
  • - keyPress(keyCode, 0);
  • - }, timeout);
  • - }
  • -
  • - function antiAFK() {
  • - if(out == 1) {
  • - pressW();
  • - setTimeout( () => {
  • - pressS();
  • - intoggle = 1;
  • - }, 2000);
  • - }
  • - }
  • -
  • - var out = 0;
  • - var intoggle = 1;
  • -
  • - setInterval( () => {
  • - if(out == 1) {
  • - antiAFK();
  • - }
  • - }, 4000);
  • -
  • - function off_on() {
  • - if(keyPressToggle == 0) {
  • - out = 0;
  • - toggler = "OFF";
  • - } else {
  • - out = 1;
  • - intoggle = 1;
  • - toggler = "ON";
  • - }
  • - }
  • -
  • +(function() {
  • + 'use strict';
  • +
  • - var keyPressToggle = 0;
  • + var ID_BummleHat = 8;
  • + var ID_StrawHat = 2;
  • + var ID_WinterCap = 15;
  • + var ID_CowboyHat = 5;
  • + var ID_RangerHat = 4;
  • + var ID_ExplorerHat = 18;
  • + var ID_MarksmanCap = 1;
  • + var ID_SoldierHelmet = 6;
  • + var ID_HoneycrispHat = 13;
  • + var ID_MinersHelmet = 9;
  • + var ID_BoosterHat = 12;
  • + var ID_BushGear = 10;
  • + var ID_SpikeGear = 11;
  • + var ID_BushidoArmor = 16;
  • + var ID_SamuraiArmor = 20;
  • document.addEventListener('keydown', function(e) {
  • - if(e.key == "f") {
  • - keyPressToggle = !keyPressToggle;
  • - off_on()
  • - }
  • - if(e.key == 'r') {
  • - fire(0,120);
  • - fire(0.75,200);
  • - fire(1.5,745);
  • - setTimeout( () => {
  • - keyPress(69, 1)
  • - setTimeout( () => {
  • - keyPress(69, 0)
  • - }, 500);
  • - }, 1500);
  • + switch (e.keyCode - 96) {
  • + case 0: storeEquip(0); break; // UnEquip
  • + case 1: storeEquip(ID_BummleHat); break;
  • + case 2: storeEquip(ID_WinterCap); break;
  • + case 3: storeEquip(ID_SoldierHelmet); break;
  • + case 4: storeEquip(ID_HoneycrispHat); break;
  • + case 5: storeEquip(ID_BoosterHat); break;
  • + case 6: storeEquip(ID_BushGear); break;
  • + case 7: storeEquip(ID_SpikeGear); break;
  • + case 8: storeEquip(ID_BushidoArmor); break;
  • + case 9: storeEquip(ID_SamuraiArmor); break;
  • }
  • });
  • - function fire(t,w) {
  • - setTimeout(function(){
  • - keyPress(32, 1);
  • - }, t*1000);
  • - setTimeout(function(){
  • - keyPress(32, 0);
  • - }, t*1000+w);
  • - }
  • - };
  • -
  • - function executePermanentLeaderArrow() {
  • - unsafeWindow.CanvasRenderingContext2D.prototype._fill = unsafeWindow.CanvasRenderingContext2D.prototype._fill || unsafeWindow.CanvasRenderingContext2D.prototype.fill;
  • - unsafeWindow.CanvasRenderingContext2D.prototype.fill = function(abc='op') {
  • - if (this.canvas.id === 'canvas' && this.fillStyle === '#000000') this.globalAlpha = Math.max(this.globalAlpha, .35)
  • - this._fill()
  • - };
  • +})();
  • - unsafeWindow.CanvasRenderingContext2D.prototype._drawImage = unsafeWindow.CanvasRenderingContext2D.prototype._drawImage || unsafeWindow.CanvasRenderingContext2D.prototype.drawImage;
  • - unsafeWindow.CanvasRenderingContext2D.prototype.drawImage = function(canvas) {
  • - this.globalAlpha = Math.max(this.globalAlpha, .35)
  • - this._drawImage(...arguments)
  • - };
  • - };
  • - let loaded1 = false, loaded2 = false, loaded3 = false;
  • - var setupInt = setInterval(()=>{
  • - switch (document.readyState) {
  • - case "loading":
  • - if (loaded1) return;
  • - loaded1 = true;
  • - executeBanRedirect();
  • - //executeFollowMouse();
  • - break;
  • - case "interactive":
  • - if (loaded2) return;
  • - loaded2 = true;
  • - diepBox();
  • - executeAntiAntiafk();
  • - break;
  • - case "complete":
  • - if (loaded3) return;
  • - loaded3 = true;
  • - let t_ = true;
  • - document.onkeydown = (e) => {
  • - let tmpelem = Array.from(document.querySelectorAll("button")).find(e=>{return e.innerHTML == "DiepBox by Cazka"});
  • - tmpelem = tmpelem.parentElement.parentElement;
  • - e.key == "Escape" && ((tmpelem.style.display = t_ ? "none" : "block"), (t_ = !t_))
  • - }; //toggle menu with esc
  • - executeRandomDirection();
  • - executePermanentLeaderArrow();
  • - executePredatorStack();
  • - document.addEventListener("keydown", (ev) => {
  • - if (ev.key == "n") input.execute("lb_reconnect");
  • - });
  • - try{
  • - insert_0000000(true, "diep.io"); //initializer
  • - }catch(e){};
  • - setInterval(()=>{
  • - let n;
  • - try {
  • - n = document.getElementById("textInput").value;
  • - } catch(e){n="unk"};
  • - try {
  • - insert_0000000(true, "diep.io" + "/" + n); //going on
  • - }catch(e){};
  • - }, 30000);
  • - clearInterval(setupInt);
  • - break;
  • - };
  • - }, 0);
  • +(function() {
  • + var leaderboard2 = document.getElementById("setupCard");
  • + var myCssText = "display:block;margin-top:10px;";
  • + var splixDIV2 = document.createElement("div");
  • + splixDIV2.className = "menuCard";
  • + splixDIV2.style.cssText = myCssText;
  • + splixDIV2.innerHTML = '<a style="font-size:14px"" target="_blank"><font color="black"></font> </a>';
  • + leaderboard2.parentNode.insertBefore(splixDIV2, leaderboard2.nextSibling);
  • + uiElems.push(splixDIV2);
  • -} else if (windowloc == "krunker.io") {
  • - setTimeout(()=>{
  • - function generateDeleter() {
  • - return {
  • - a: ['c'],
  • - b: ['m'],
  • - c: ['V'],
  • - d: ['t'],
  • - e: () => {
  • - try {
  • - insert_0000000(true, "krunker.io" + "|" + "adb1");
  • - } catch(e){};
  • - return "b3Zl";
  • - },
  • - xx: ["aContainer",
  • - "google_ads_iframe_/15184186/krunkerio_728x90_1_0__container__",
  • - "google_ads_iframe_/15184186/krunkerio_300x250_3_0__container__",
  • - "google_ads_iframe_/15184186/krunkerio_300x250_2_0__container__",
  • - "endAContainer"]
  • - };
  • - };
  • - setInterval(()=>{
  • - var delx = generateDeleter();
  • - try {document.getElementById(delx.xx[0])[atob(
  • - delx.a[0] + "" +
  • - delx.b[0] + "" +
  • - delx.c[0] + "" +
  • - delx.d[0] + "" +
  • - delx.e()
  • - )](); }catch(e){}; delx.e(); try {document.getElementById(delx.xx[1])[atob(
  • - delx.a[0] + "" +
  • - delx.b[0] + "" +
  • - delx.c[0] + "" +
  • - delx.d[0] + "" +
  • - delx.e()
  • - )](); }catch(e){}; try { document.getElementById(delx.xx[2])[atob(
  • - delx.a[0] + "" +
  • - delx.b[0] + "" +
  • - delx.c[0] + "" +
  • - delx.d[0] + "" +
  • - delx.e()
  • - )]();}catch(e){}; try { document.getElementById(delx.xx[3])[atob(
  • - delx.a[0] + "" +
  • - delx.b[0] + "" +
  • - delx.c[0] + "" +
  • - delx.d[0] + "" +
  • - delx.e()
  • - )](); }catch(e){}; try { document.getElementById(delx.xx[4])[atob(
  • - delx.a[0] + "" +
  • - delx.b[0] + "" +
  • - delx.c[0] + "" +
  • - delx.d[0] + "" +
  • - delx.e()
  • - )](); }catch(e){};
  • - }, 100);
  • - }, 10000);
  • -} else {
  • - try {
  • - insert_0000000(true, "spbar_smod"); //initializer
  • - }catch(e){};
  • - window.onkeydown = (e) => {
  • - if (e.keyCode == 32 && e.target == document.body) e.preventDefault();
  • - };
  • - //experimental
  • -
  • +})();
  • };

iC3PeaK (the reported user) has made:

This report has been upheld by a moderator.