MooMoo.io modification /\ ANTI AD /\ DarK Mod /\ BIOM Map /\ Big Store /\ Game Music

Game Music, BIOM Map(also 2 funny Maps), NO ADs, Dark Mod!!, Midddle big Store / Big Store , PRESS F8 TO HIDE MANAGE PREFERENCES(THIS BLUE THING THATS SUCKS(FOR FULL MAP)) , AutoReload Website if disconnected(sometimes its doesn´t work)

// ==UserScript==
// @name MooMoo.io modification  /\ ANTI AD /\ DarK Mod /\ BIOM Map /\ Big Store /\ Game Music
// @version      1.21
// @description  Game Music, BIOM Map(also 2 funny Maps), NO ADs, Dark Mod!!, Midddle big Store / Big Store , PRESS F8 TO HIDE MANAGE PREFERENCES(THIS BLUE THING THATS SUCKS(FOR FULL MAP)) , AutoReload Website if disconnected(sometimes its doesn´t work)
// @author       BiG_King
// @match        *://moomoo.io/*
// @match        *://dev.moomoo.io/*
// @match        *://sandbox.moomoo.io/*
// @namespace    https://greasyfork.org/de/users/740795-big-king
// ==/UserScript==

/*
YOU HAVE ALSO MORE FPS
*/

//  00000    0     0       00000    0    000000        0   0   0   00     0    000000
//  0    0    0   0        0    0       0              0  0    0   0 0    0   0
//  0    0     0 0         0    0   0   0              0 0     0   0  0   0   0
//  0  00       0          0  00    0   0    000       00      0   0   0  0   0    000
//  0    0      0          0    0   0   0      0       0 0     0   0    0 0   0      0
//  0    0      0          0    0   0   0      0       0  0    0   0     00   0      0
//  00000       0          00000    0    000000        0   0   0   0      0    000000


setInterval(function() {
    window.location.native_resolution = true;
}, 1000)

var autoreloadloop;
var autoreloadenough = 0;

autoreloadloop = setInterval(function () {
    if (autoreloadenough < 200) {
        if (document.getElementById("loadingText").innerHTML == `disconnected<a href="javascript:window.location.href=window.location.href" class="ytLink">reload</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);

document.querySelector("#pre-content-container").remove();
document.getElementById('moomooio_728x90_home').remove();
document.getElementById('promoImgHolder').remove();

document.title = ' MooMoo Modification by BiG_KinG';

document.getElementById('loadingText').innerHTML = ' Your Game is loading... ';

setInterval(() => {
    setTimeout(() => {
        document.getElementById('chatBox').placeholder = "writing";
        setTimeout(() => {
            document.getElementById('chatBox').placeholder = "writing.";
            setTimeout(() => {
                document.getElementById('chatBox').placeholder = "writing..";
                setTimeout(() => {
                    document.getElementById('chatBox').placeholder = "writing...";
                }, 100);
            }, 100);
        }, 100);
    }, 100);
}, 500)


$( "#errorNotification" ).after( '<div id="moddedMenu"><div class="titleMM">MENU</div><div class="one"><label class="switch"></span></label><div class="two"><div class="text"><b>____made by BiG_KinG____ <label class="container">Music<input type="checkbox" id="Music"><span class="checkmark"></label><label class="container"></b><hr></span></label><label>BIOM MAP<input type="checkbox" id="MaP"><span class="checkmark"></label><label class="container"></b><hr></span></label><label><label class="container">Bread Cat Map<input type="checkbox" id="bread_cat"><span class="checkmark"></label><label class="container"></b><hr></span></label><label><label class="container">Another Stupid Cat Gif map?<input type="checkbox" id="Stupid_cat_gif"><span class="checkmark"></label><label class="container"></b><hr></span></label><label><label class="container">Dark Mod?<input type="checkbox" id="dark_mod"><span class="checkmark"></label><label lass="container"></b><hr></span>Middle Big Store?</label><label><input type="checkbox" id="Middle_big_store"><span class="checkmark"></label><label lass="container"></b><hr></span>Big Store?</label><label><input type="checkbox" id="Big_store"><span class="checkmark"></label><label lass="container"></b><hr></span></label><label><input type="checkbox" id="antibull"><span class="checkmark"></label><label lass="container"></b><hr></span></label><label><input type="checkbox" id="autosoldier"><span class="checkmark"></label><label><input type="checkbox" id="autospike"><span class="checkmark"></label><label><input type="checkbox" id="eww"><span class="checkmark"></label><label><div></div>');
$("#youtuberOf").remove();
$("#adCard").remove();
$("#downloadButtonContainer").remove();
$("#mobileDownloadButtonContainer").remove();
$(".downloadBadge").remove();

(function() {var css = [
	"  #moddedMenu {",
	"    position: absolute;",
	"    top: 3.25%;",
	"    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);
	}
}
})();
var music1link = "https://cdn.discordapp.com/attachments/728226830414381056/731040059054096404/Astronomia_Remix_By_Jiaye_Trending_TikTok_EDM_Full_Version.mp3"
var music1 = new Audio(music1link);

var Music = document.querySelector("#Music")

Music.addEventListener('change', function() {
    if (this.checked) {
        music1.play();
    } else {
        music1.pause();
    }
})

var checkbox = document.querySelector("#MaP")

checkbox.addEventListener('change', function() {
    if (this.checked) {
        $("#mapDisplay").css({background: `url('http://i.imgur.com/Qllo1mA.png')`});
    } else {
        $("#mapDisplay").css({background: `rgba(0, 0, 0, 0.25)`})
    }
})

var checkbox2 = document.querySelector("#bread_cat")

checkbox2.addEventListener('change', function() {
    if (this.checked) {
        $("#mapDisplay").css({background: `url('https://lh3.googleusercontent.com/5RZMHxal_5gtIhvx_ct9h8EI_YMtYgOK94snff4lzVVPq2IMcRuzaIo4bt3-1BZWCMmI=s130')`});
    } else {
        $("#mapDisplay").css({background: `rgba(0, 0, 0, 0.25)`})
    }
})

var checkbox3 = document.querySelector("#Stupid_cat_gif")

checkbox3.addEventListener('change', function() {
    if (this.checked) {
        $("#mapDisplay").css({background: `url('https://media0.giphy.com/media/GaqnjVbSLs2uA/giphy.gif?cid=ecf05e47ea99c7380f6deb1064d8804c8eaeec5c01af4d9d&rid=giphy.gif')`});
    } else {
        $("#mapDisplay").css({background: `rgba(0, 0, 0, 0.25)`})
    }
})

var checkbox4 = document.querySelector("#dark_mod")

checkbox4.addEventListener('change', function() {
    if (this.checked) {
        $('.menuCard').css({'color':'#808080'});
        $('.menuCard').css({'white-space': 'normal',
                            'text-align': 'left',
                            'background-color': 'rgba(0, 0, 0, 0.74)',
                            '-moz-box-shadow': '0px 0px rgba(255, 255, 255, 0)',
                            '-webkit-box-shadow': '0px 0px rgba(255, 255, 255, 0)',
                            'box-shadow': '0px 0px rgba(255, 255, 255, 0)'});
        $("#ageBarBody").css({'background-color':'black'});
        $('.menuButton').css({'background-color':'#000000'});
        $('#linksContainer2').css({'background-color':'#000000'});
        $('#ot-sdk-btn-floating .ot-floating-button__front').css({'background-color':'#000000'});
        document.getElementById('leaderboard').style.color = "#000000";
        document.getElementById('gameName').style.color = "#000000";
        document.getElementById('loadingText').style.color = "#000000";
        document.getElementById("allianceButton").style.color = "black";
        document.getElementById("chatButton").style.color = "black";
        document.getElementById("ageText").style.color = "black";
        document.getElementById("scoreDisplay").style.color = "#000000";
        document.getElementById("woodDisplay").style.color = "#000000";
        document.getElementById("stoneDisplay").style.color = "#000000";
        document.getElementById("killCounter").style.color = "#000000";
        document.getElementById("foodDisplay").style.color = "#000000";
        document.getElementById("storeButton").style.color = "black";
        document.getElementById('diedText').style.color = "#000000";
        document.getElementById('partyButton').style.color = "#000000";
    } else {
        $('.menuCard').css({'color':'#ffffff'});
        $('.menuCard').css({'white-space': 'normal',
                            'text-align': 'left',
                            'background-color': 'rgba(255, 255, 255)',
                            '-moz-box-shadow': '0px 0px rgba(255, 255, 255, 0)',
                            '-webkit-box-shadow': '0px 0px rgba(255, 255, 255, 0)',
                            'box-shadow': '0px 0px rgba(255, 255, 255, 0)'});
        $("#ageBarBody").css({'background-color':'white'});
        $('.menuButton').css({'background-color':'#7ee559'});
        $('#linksContainer2').css({'background-color':'#ffffff'});
        $('#ot-sdk-btn-floating .ot-floating-button__front').css({'background-color':'#6aaae4'});
        document.getElementById('leaderboard').style.color = "#ffffff";
        document.getElementById('gameName').style.color = "#ffffff";
        document.getElementById('loadingText').style.color = "#ffffff";
        document.getElementById("allianceButton").style.color = "white";
        document.getElementById("chatButton").style.color = "white";
        document.getElementById("ageText").style.color = "white";
        document.getElementById("scoreDisplay").style.color = "#ffffff";
        document.getElementById("woodDisplay").style.color = "#ffffff";
        document.getElementById("stoneDisplay").style.color = "#ffffff";
        document.getElementById("killCounter").style.color = "#ffffff";
        document.getElementById("foodDisplay").style.color = "#ffffff";
        document.getElementById("storeButton").style.color = "white";
        document.getElementById('diedText').style.color = "#ffffff";
        document.getElementById('partyButton').style.color = "#ffffff";
    }
})

var checkbox5 = document.querySelector("#Big_store")

checkbox5.addEventListener('change', function() {
    if (this.checked) {
        document.getElementById("storeHolder").style = "height: 1000px; width: 480px;";
    } else {
        document.getElementById("storeHolder").style = "height: 200px; width: 400px;";
    }
})

var checkbox6 = document.querySelector("#Middle_big_store")

checkbox6.addEventListener('change', function() {
    if (this.checked) {
        document.getElementById("storeHolder").style = "height: 300px; width: 435px;";
    } else {
        document.getElementById("storeHolder").style = "height: 200px; width: 400px;";
    }
})

let newImg = document.createElement("img");
newImg.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJcAAACXCAMAAAAvQTlLAAAAXVBMVEX///+Mnv+Im//g5P/x8/+Qof+Gmf+Dl//9/f/5+v/W3P+ptv/t8P+TpP/j5//z9f+1wP/Byv/I0P+AlP+erf/R2P/b4P+wvP+8xv+Xp//p7P+jsf+bqv/N1P97kP9y4cA5AAAF3ElEQVR4nO2b6bajKhBGlURwnhWjSd7/MRvNZEyhCOhx3cv3o/ssQ3QLRVEUFcsyMjIyMjIyMvo/KoxPmyhO5JnOVWejzeQEvhRb0jgE2RsKkyjzVmPd7E2hHkJRvY7KTcn2VD0YyVZhBXgXLCacuuJc6W5Ytr2ix277DOJTSNTGzntSMa6r4KxsdpiJY5FcrLucfbFsOxIy/WpX6+olZmHdzsPIuBoRrr2pGFcgYPnh7t1lo4vACh7vz2U7AlynP+Cyz4bLcBkuw2W4DNd/hgthguDg1okQwSteUCMXg4rSKj43wJ4O5efYTy/iaNq4iENvQ3DinoBPn3FLUgWO2E5UDxcidt4Ojdumi2zEuq5XUfT/YoSQfQny4VFu2Ngi2wUtXLj0h5ZxZjMU+9LRrKrjNjyHYXvybxntIlQUxfUWDs3y6zKZBi6MqiEab1NGZVNmYT/BuRfGVYDuRZQO45k0aOldlbkQyp5Ud9Jl7dyN4uZSFHR4okcXwFS5XgmrG77T0+ImJqm7u3Mb/vTnp6Zyfw0s58jJBXOQSWp3g5m1s7t4Ra5HJsGPRKmGl2icuP8/nXtfNS7Use7yqnxFJq2X2/Tz192Oi/T3PwvcY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/KA/JQGRXNRt1CtG+dsXFGo5W82xbhcKOOiLLZv4/9sV6w2MOZ9XUV91tHn7W0FaxbBszhVOS17Y06GQrSWcgsTG05zOBXJwjWe3B6X1zOtnUPbXPHa07YT3JKKizySLjUwrdbUxNYBKrSikWeG/dz9GNmqWl03rGgZOdpkv4ppvJ9fiEvUELsa9b5pNTFfCa5t1F7wIbmYw8CH5OrPddEhuazTx2EcissK3ydrx+Ky3FdtwMG4mMN4rCqH47LaKz4kl+UF5JBcfVDFqUz5a9W2pupY3Upkyx+MjIyMjIT1DxhuW7ZzW+XtAAAAAElFTkSuQmCC";
newImg.style = `position: absolute; top: 15px; left: 15px; z-index: 100000; width: 65px; height: 65px; cursor: pointer;`;
document.body.prepend(newImg);

newImg.addEventListener("click", () => {
    let w = window.open("https://discord.gg/cHHj3ap2Cz", null, `height=650, width=1199, status=yes, toolbar=no, menubar=no, location=no`);
});

var isSpecToggled = false;

window.addEventListener('keydown', function(e) {
switch(e.keyCode){
case 119:
spec();
break;
 }
});
setInterval(() => window.follmoo && follmoo(), 10);
function spec() {
 if(isSpecToggled == false) {
  $("#ot-sdk-btn-floating").hide();
  isSpecToggled = !isSpecToggled;
 } else if(isSpecToggled == true){
  $("#ot-sdk-btn-floating").show();
    isSpecToggled = !isSpecToggled;
 }
}