moomoo.io auto hat script - Edited by odleyodle - - Credits to Jack LAL and MooJAX - // ==UserScript== // @name Odleyodle Mod (Stick to Katana / Musket + Katana or Greater Axe / Stick + Spinning Spikes)(Insta. Pro!) // @version 1.7 // @description odleyodle - On Axion // @match *://moomoo.io/* // @match *://sandbox.moomoo.io/* // @grant odleyodle // @require https://greasyfork.org/scripts/368273-msgpack/code/msgpack.js?version=598723 moomoo.io auto hat script How to get it for free? moomoo.io auto hat script // @require http://code.jquery.com/jquery-3.3.1.min.js // @require https://code.jquery.com/ui/1.12.0/jquery-ui.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.0/jquery-confirm.min.js // @namespace - // ==/UserScript== document.getElementById("followText").innerHTML = "Sub to odleyodles" document.getElementById("linksContainer2").innerHTML = "Edited by odley, [G] For Spike + BoostPad, [N] For 1 Windmills, [O] For 4 pits, [H] For Turrets [F] For BoostPad/Pit, [V] For Spike, [B] for Active/Unactive Auto Hat, [L] For 4 Spikes, [T] for Active/Unactive AutoHeal, [J] To Musket, [Z] Turret Quad, [ESC] Open macro configuration, [Y] For Katana, [U] For Musket, [I] For Spinnng Spikes!"; document.getElementById("twitterFollow").remove(); document.getElementById('loadingText').innerHTML = 'EPIC Loading'; moomoo.io auto hat script PasteShr moomoo.io auto hat script document.getElementById('gameName').innerHTML = '🔥odleyMOD🔥'; document.getElementById("leaderboard").append('☢️odleyodleMOD☢️');; document.getElementById("youtubeFollow").remove(); document.getElementById('errorNotification').remove(); document.getElementById("pingDisplay").remove(); $("#consentBlock").css({display: "none"}); $("#youtuberOf").css({display: "none"}); $("#mapDisplay").css({background: `url('https://i.imgur.com/fgFsQJp.png')`}); document.getElementById("moomooio_728x90_home").style.display = "none"; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script $("#moomooio_728x90_home").parent().css({display: "none"}); window.onbeforeunload = null; let mouseX; let mouseY; let width; let height; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script setInterval(() => { if(clanToggle == 1) { doNewSend(["9", [null]]); doNewSend(["8", [animate(false, 5)]]) } doNewSend(["testing", [6]]); }, 200); setInterval(() => { if(messageToggle == 1) { moomoo.io auto hat script How to dowload it? moomoo.io auto hat script doNewSend(["ch", [animate(true, 5)]]) } }, 200); setInterval(() => { if(autoaim == true) { doNewSend(["2", [nearestEnemyAngle]]); } }, 0); moomoo.io auto hat script PasteShr moomoo.io auto hat script setInterval(() => { if(hatToggle == 1) { if(oldHat != normalHat) { hat(normalHat); console.log("Tried. - Hat") } if(oldAcc != normalAcc) { acc(normalAcc); console.log("Tried. - Acc") } moomoo.io auto hat script How to get it for free? moomoo.io auto hat script oldHat = normalHat; oldAcc = normalAcc } }, 25); function normal() { hat(normalHat); acc(normalAcc); } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script function aim(x, y){ var cvs = document.getElementById("gameCanvas"); cvs.dispatchEvent(new MouseEvent("mousemove", { clientX: x, clientY: y })); } let coreURL = new URL(window.location.href); moomoo.io auto hat script How to get it for free? moomoo.io auto hat script window.sessionStorage.force = coreURL.searchParams.get("fc"); var nearestEnemy; var nearestEnemyAngle; var isEnemyNear; var instaSpeed = 230; var primary; var secondary; var foodType; var wallType; moomoo.io auto hat script How to get it? moomoo.io auto hat script var spikeType; var millType; var mineType; var boostType; var turretType; var spawnpadType; var autoaim = false; var tick = 1; var oldHat; var oldAcc; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script var enemiesNear; var normalHat; var normalAcc; var ws; var msgpack5 = msgpack; var boostDir; let myPlayer = { id: null, x: null, y: null, moomoo.io auto hat script How to dowload it? moomoo.io auto hat script dir: null, object: null, weapon: null, clan: null, isLeader: null, hat: null, accessory: null, isSkull: null }; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script let healSpeed = 70; var messageToggle = 0; var clanToggle = 0; let healToggle = 1; let hatToggle = 1; document.msgpack = msgpack; function n(){ this.buffer = new Uint8Array([0]); this.buffer.__proto__ = new Uint8Array; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script this.type = 0; } WebSocket.prototype.oldSend = WebSocket.prototype.send; WebSocket.prototype.send = function(m){ if (!ws){ document.ws = this; ws = this; socketFound(this); moomoo.io auto hat script PasteShr moomoo.io auto hat script } this.oldSend(m); }; function socketFound(socket){ socket.addEventListener('message', function(message){ handleMessage(message); }); } moomoo.io auto hat script PasteShr moomoo.io auto hat script function handleMessage(m){ let temp = msgpack5.decode(new Uint8Array(m.data)); let data; if(temp.length > 1) { data = [temp[0], ...temp[1]]; if (data[1] instanceof Array){ data = data; } } else { moomoo.io auto hat script How to get it for free? moomoo.io auto hat script data = temp; } let item = data[0]; if(!data) {return}; if(item === "io-init") { let cvs = document.getElementById("gameCanvas"); width = cvs.clientWidth; height = cvs.clientHeight; $(window).resize(function() { moomoo.io auto hat script How to dowload it? moomoo.io auto hat script width = cvs.clientWidth; height = cvs.clientHeight; }); cvs.addEventListener("mousemove", e => { mouseX = e.clientX; mouseY = e.clientY; }); } if (item == "1" && myPlayer.id == null){ moomoo.io auto hat script How to dowload it? moomoo.io auto hat script myPlayer.id = data[1]; } if (item == "33") { enemiesNear = []; for(let i = 0; i < data[1].length / 13; i++) { let playerInfo = data[1].slice(13*i, 13*i+13); if(playerInfo[0] == myPlayer.id) { myPlayer.x = playerInfo[1]; myPlayer.y = playerInfo[2]; moomoo.io auto hat script How to use it? moomoo.io auto hat script myPlayer.dir = playerInfo[3]; myPlayer.object = playerInfo[4]; myPlayer.weapon = playerInfo[5]; myPlayer.clan = playerInfo[7]; myPlayer.isLeader = playerInfo[8]; myPlayer.hat = playerInfo[9]; myPlayer.accessory = playerInfo[10]; myPlayer.isSkull = playerInfo[11]; } else if(playerInfo[7] != myPlayer.clan || playerInfo[7] === null) { enemiesNear.push(playerInfo); moomoo.io auto hat script How to dowload it? moomoo.io auto hat script } } } isEnemyNear = false; if(enemiesNear) { nearestEnemy = enemiesNear.sort((a,b) => dist(a, myPlayer) - dist(b, myPlayer))[0]; } if(nearestEnemy) { moomoo.io auto hat script How to dowload it? moomoo.io auto hat script nearestEnemyAngle = Math.atan2(nearestEnemy[2]-myPlayer.y, nearestEnemy[1]-myPlayer.x); if(Math.sqrt(Math.pow((myPlayer.y-nearestEnemy[2]), 2) + Math.pow((myPlayer.x-nearestEnemy[1]), 2)) < 300) { isEnemyNear = true; if(autoaim == false && myPlayer.hat != 7 && myPlayer.hat != 53) { normalHat = 6; if(primary != 8) { normalAcc = 21 } }; } moomoo.io auto hat script How to use it? moomoo.io auto hat script } if(isEnemyNear == false && autoaim == false) { normalAcc = 11; if (myPlayer.y < 2400){ normalHat = 15; } else if (myPlayer.y > 6850 && myPlayer.y < 7550){ normalHat = 31; } else { normalHat = 12; } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script } if (!nearestEnemy) { nearestEnemyAngle = myPlayer.dir; } if(item == "h" && data[1] == myPlayer.id) { if(data[2] < 100 && data[2] > 0 && healToggle == 1) { setTimeout( () => { place(foodType, null); }, healSpeed); moomoo.io auto hat script How to use it? moomoo.io auto hat script } } update(); } function doNewSend(sender){ ws.send(new Uint8Array(Array.from(msgpack5.encode(sender)))); } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script function acc(id) { doNewSend(["13c", [0, 0, 1]]); doNewSend(["13c", [0, id, 1]]); } function hat(id) { doNewSend(["13c", [0, id, 0]]); } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script function place(id, angle = Math.atan2(mouseY - height / 2, mouseX - width / 2)) { doNewSend(["5", [id, null]]); doNewSend(["c", [1, angle]]); doNewSend(["c", [0, angle]]); doNewSend(["5", [myPlayer.weapon, true]]); } function boostSpike() { if(boostDir == null) { boostDir = nearestEnemyAngle; moomoo.io auto hat script How to get it? moomoo.io auto hat script } place(spikeType, boostDir + toRad(90)); place(spikeType, boostDir - toRad(90)); place(boostType, boostDir); doNewSend(["33", [boostDir]]); } var repeater = function(key, action, interval) { let _isKeyDown = false; moomoo.io auto hat script How to use it? moomoo.io auto hat script let _intervalId = undefined; return { start(keycode) { if(keycode == key && document.activeElement.id.toLowerCase() !== 'chatbox') { _isKeyDown = true; if(_intervalId === undefined) { _intervalId = setInterval(() => { action(); if(!_isKeyDown){ moomoo.io auto hat script How to use it? moomoo.io auto hat script clearInterval(_intervalId); _intervalId = undefined; console.log("claered"); } }, interval); } } }, stop(keycode) { moomoo.io auto hat script PasteShr moomoo.io auto hat script if(keycode == key && document.activeElement.id.toLowerCase() !== 'chatbox') { _isKeyDown = false; } } }; } const healer = repeater(81, () => {place(foodType)}, 0); moomoo.io auto hat script How to use it? moomoo.io auto hat script const boostPlacer = repeater(70, () => {place(boostType)}, 0); const spikePlacer = repeater(86, () => {place(spikeType)}, 0); const millPlacer = repeater(78, () => {place(millType)}, 0); const turretPlacer = repeater(72, () => {place(turretType)}, 0); const boostSpiker = repeater(71, boostSpike, 0); document.addEventListener('keydown', (e)=>{ spikePlacer.start(e.keyCode); healer.start(e.keyCode); boostPlacer.start(e.keyCode); moomoo.io auto hat script How to dowload it? moomoo.io auto hat script boostSpiker.start(e.keyCode); millPlacer.start(e.keyCode); turretPlacer.start(e.keyCode); if (e.keyCode == 80 && document.activeElement.id.toLowerCase() !== 'chatbox') { for (let i=0;i<5;i++){ let angle = myPlayer.dir + toRad(i * 72); place(millType, angle) } } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script if (e.keyCode == 79 && document.activeElement.id.toLowerCase() !== 'chatbox') { for (let i=0;i<4;i++){ let angle = myPlayer.dir + toRad(i * 90); place(boostType, angle) } } if (e.keyCode == 76 && document.activeElement.id.toLowerCase() !== 'chatbox') { for (let i=0;i<4;i++){ let angle = myPlayer.dir + toRad(i * 90); place(spikeType, angle) moomoo.io auto hat script How to use it? moomoo.io auto hat script } } if (e.keyCode == 90 && document.activeElement.id.toLowerCase() !== 'chatbox') { for (let i=0;i<4;i++){ let angle = myPlayer.dir + toRad(i * 90); place(turretType, angle) } } if (e.keyCode == 72 && document.activeElement.id.toLowerCase() !== 'chatbox') { place(turretType, myPlayer.dir + toRad(45)); moomoo.io auto hat script PasteShr moomoo.io auto hat script place(turretType, myPlayer.dir - toRad(45)); } if (e.keyCode == 77 && document.activeElement.id.toLowerCase() !== 'chatbox') { if (myPlayer.y < 2400){ hat(15); } else if (myPlayer.y > 6850 && myPlayer.y < 7550){ hat(31); } else { hat(12); moomoo.io auto hat script How to get it for free? moomoo.io auto hat script } acc(11); } if(e.keyCode == 82 && document.activeElement.id.toLowerCase() !== 'chatbox') { autoaim = true; doNewSend(["5", [primary, true]]); doNewSend(["13c", [0, 26, 0]]); doNewSend(["13c", [0, 7, 0]]); doNewSend(["13c", [0, 0, 1]]); moomoo.io auto hat script PasteShr moomoo.io auto hat script doNewSend(["13c", [0, 18, 1]]); doNewSend(["c", [1]]); setTimeout( () => { doNewSend(["13c", [0, 53, 0]]); doNewSend(["13c", [0, 11, 1]]); doNewSend(["5", [secondary, true]]); }, instaSpeed - 130); setTimeout( () => { doNewSend(["5", [primary, true]]); moomoo.io auto hat script How to get it? moomoo.io auto hat script doNewSend(["c", [0, null]]); doNewSend(["13c", [0, 6, 0]]); autoaim = false; }, instaSpeed); } if(e.keyCode == 38 && document.activeElement.id.toLowerCase() !== 'chatbox') { messageToggle = (messageToggle + 1) % 2; } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script if(e.keyCode == 40 && document.activeElement.id.toLowerCase() !== 'chatbox') { clanToggle = (clanToggle + 1) % 2; } if(e.keyCode == 84 && document.activeElement.id.toLowerCase() !== 'chatbox') { healToggle = (healToggle + 1) % 2; if(healToggle == 0) { if(hatToggle == 0) { document.title = "Heal: OFF / Hat: OFF" moomoo.io auto hat script PasteShr moomoo.io auto hat script } else { document.title = "Heal: OFF / Hat: ON" } } else { if(hatToggle == 0) { document.title = "Heal: ON / Hat: OFF" } else { document.title = "Heal: ON / Hat: ON" } } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script } if(e.keyCode == 74 && document.activeElement.id.toLowerCase() !== 'chatbox') { autoaim = true; doNewSend(["5", [secondary, true]]); doNewSend(["13c", [0, 53, 0]]); doNewSend(["c", [1]]); setTimeout( () => { doNewSend(["6", [12]]); }, 300); moomoo.io auto hat script How to use it? moomoo.io auto hat script setTimeout( () => { doNewSend(["6", [15]]); }, 300); setTimeout( () => { doNewSend(["c", [0]]); doNewSend(["13c", [0, 6, 0]]); doNewSend(["5", [primary, true]]); autoaim = false; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script }, 300); } if(e.keyCode == 89 && document.activeElement.id.toLowerCase() !== 'chatbox') { doNewSend(["6", [4]]); } if(e.keyCode == 85 && document.activeElement.id.toLowerCase() !== 'chatbox') { doNewSend(["6", [15]]); } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script if(e.keyCode == 73 && document.activeElement.id.toLowerCase() !== 'chatbox') { doNewSend(["6", [28]]); doNewSend(["6", [25]]); } if(e.keyCode == 105 && document.activeElement.id.toLowerCase() !== 'chatbox') { doNewSend(["6", [28]]); doNewSend(["6", [25]]); } if(e.keyCode == 66 && document.activeElement.id.toLowerCase() !== 'chatbox') { hatToggle = (hatToggle + 1) % 2; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script if(healToggle == 0) { if(hatToggle == 0) { document.title = "Heal: OFF / Hat: OFF" } else { document.title = "Heal: OFF / Hat: ON" } } else { if(hatToggle == 0) { document.title = "Heal: ON / Hat: OFF" } else { moomoo.io auto hat script How to get it for free? moomoo.io auto hat script document.title = "Heal: ON / Hat: ON" } } } }) document.addEventListener('keyup', (e)=>{ spikePlacer.stop(e.keyCode); boostPlacer.stop(e.keyCode); boostSpiker.stop(e.keyCode); moomoo.io auto hat script How to get it for free? moomoo.io auto hat script millPlacer.stop(e.keyCode); turretPlacer.stop(e.keyCode); healer.stop(e.keyCode); if(e.keyCode == 71 && document.activeElement.id.toLowerCase() !== 'chatbox') { setTimeout( () => { doNewSend(["33", [null]]); boostDir = null; }, 10); } }) moomoo.io auto hat script How to get it? moomoo.io auto hat script function isElementVisible(e) { return (e.offsetParent !== null); } function toRad(angle) { return angle * 0.01745329251; } moomoo.io auto hat script How to get it? moomoo.io auto hat script function dist(a, b){ return Math.sqrt( Math.pow((b.y-a[2]), 2) + Math.pow((b.x-a[1]), 2) ); } document.title = "MooJaXReloaded" function update() { for (let i=0;i<9;i++){ moomoo.io auto hat script PasteShr moomoo.io auto hat script if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ primary = i; } } for (let i=9;i<16;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ secondary = i; } } moomoo.io auto hat script How to get it for free? moomoo.io auto hat script for (let i=16;i<19;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ foodType = i - 16; } } for (let i=19;i<22;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ wallType = i - 16; moomoo.io auto hat script How to use it? moomoo.io auto hat script } } for (let i=22;i<26;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ spikeType = i - 16; } } for (let i=26;i<29;i++){ moomoo.io auto hat script How to get it? moomoo.io auto hat script if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ millType = i - 16; } } for (let i=29;i<31;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ mineType = i - 16; } } moomoo.io auto hat script How to get it for free? moomoo.io auto hat script for (let i=31;i<33;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString()))){ boostType = i - 16; } } for (let i=33;i<39;i++){ if (isElementVisible(document.getElementById("actionBarItem" + i.toString())) && i != 36){ turretType = i - 16; moomoo.io auto hat script How to use it? moomoo.io auto hat script } } spawnpadType = 36; } var ID_WinterCap = 15; var ID_FlipperHat = 31; var ID_MarksmanCap = 1; var ID_BushGear = 10; moomoo.io auto hat script PasteShr moomoo.io auto hat script var ID_SoldierHelmet = 6; var ID_AntiVenomGear = 23; var ID_MusketeerHat = 32; var ID_MedicGear = 13; var ID_BullHelmet = 7; var ID_EmpHelmet = 22; var ID_BoosterHat = 12; var ID_BarbarianArmor = 26; var ID_BullMask = 46; var ID_WindmillHat = 14; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script var ID_SpikeGear = 11; var ID_BushidoArmor = 16; var ID_SamuraiArmor = 20; var ID_ScavengerGear = 27; var ID_TankGear = 40; var ID_TurretGear = 53; // Keys var TankGearKey = 90; var BullHelmetKey = 74; moomoo.io auto hat script PasteShr moomoo.io auto hat script var SoldierHelmetKey = 71; var TurretKey = 72; var BoosterHatKey = 66; var uneqiup = 16; var SpikeGearKey = 89; var EmpKey = 84; var SamuKey = 80; var SpikeKey = 86 try { moomoo.io auto hat script How to get it? moomoo.io auto hat script document.getElementById("moomooio_728x90_home").style.display = "none"; $("moomooio728x90_home").parent().css({display: "none"}); } catch (e) { console.log("There was an error removing the ads."); } var menuChange = document.createElement("div"); menuChange.className = "menuCard"; menuChange.id = "mainSettings"; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script menuChange.innerHTML = ` ` document.body.appendChild(menuChange) $("#tankGear").on("input", () => { var cval = $("#tankGear").val(); moomoo.io auto hat script How to dowload it? moomoo.io auto hat script if (cval){ TankGearKey = cval.toUpperCase(); TankGearKey = TankGearKey.charCodeAt(0); console.log(TankGearKey); } }); $("#bullHelm").on("input", () => { var cval = $("#bullHelm").val(); if (cval){ moomoo.io auto hat script How to get it for free? moomoo.io auto hat script BullHelmetKey = cval.toUpperCase(); BullHelmetKey = BullHelmetKey.charCodeAt(0); console.log(BullHelmetKey); } }); $("#soldier").on("input", () => { var cval = $("#soldier").val(); if (cval){ SoldierHelmetKey = cval.toUpperCase(); moomoo.io auto hat script How to get it for free? moomoo.io auto hat script SoldierHelmetKey = SoldierHelmetKey.charCodeAt(0); console.log(SoldierHelmetKey); } }); $("#turret").on("input", () => { var cval = $("#turret").val(); if (cval){ TurretKey = cval.toUpperCase(); TurretKey = TurretKey.charCodeAt(0); moomoo.io auto hat script How to dowload it? moomoo.io auto hat script console.log(TurretKey); } }); $("#emp").on("input", () => { var cval = $("#emp").val(); if (cval){ EmpKey = cval.toUpperCase(); moomoo.io auto hat script How to get it? moomoo.io auto hat script EmpKey = EmpKey.charCodeAt(0); console.log(EmpKey); } }); $("#samu").on("input", () => { var cval = $("#samu").val(); if (cval){ SamuKey = cval.toUpperCase(); SamuKey = SamuKey.charCodeAt(0); moomoo.io auto hat script How to use it? moomoo.io auto hat script console.log(SamuKey); } }); $("#booster").on("input", () => { var cval = $("#booster").val(); if (cval){ BoosterHatKey = cval.toUpperCase(); BoosterHatKey = BoosterHatKey.charCodeAt(0); console.log(BoosterHatKey); moomoo.io auto hat script How to dowload it? moomoo.io auto hat script } }); $("#spikeg").on("input", () => { var cval = $("#spikeg").val(); if (cval){ SpikeGearKey = cval.toUpperCase(); SpikeGearKey = SpikeGearKey.charCodeAt(0); console.log(SpikeGearKey); } moomoo.io auto hat script How to get it? moomoo.io auto hat script }); $("#trap").on("input", () => { var cval = $("#trap").val(); if (cval){ TrapKey = cval.toUpperCase(); TrapKey = TrapKey.charCodeAt(0); console.log(TrapKey); } }); moomoo.io auto hat script How to use it? moomoo.io auto hat script var styleItem = document.createElement("style"); styleItem.type = "text/css"; styleItem.appendChild(document.createTextNode(` .keyPressLow { margin-left: 8px; font-size: 16px; margin-right: 8px; height: 25px; width: 50px; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script background-color: #fcfcfc; border-radius: 3.5px; border: none; text-align: center; color: #4A4A4A; border: 0.5px solid #f2f2f2; } .menuPrompt { font-size: 17px; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script font-family: 'Hammersmith One'; color: #4A4A4A; flex: 0.2; text-align: center; margin-top: 10px; display: inline-block; } .modal { display: none; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script position: fixed; z-index: 1; left: 0; top: 0; overflow: auto; height: 100%; width: 100%; } .modal-content { moomoo.io auto hat script How to dowload it? moomoo.io auto hat script 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); font-size: 14px; line-height: 1.6; } .modal-header h2, .modal-footer h3 { margin: 0; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script } .modal-header { background: #cf2727; padding: 15px; color: #fff; border-top-left-radius: 5px; border-top-right-radius: 5px; } moomoo.io auto hat script PasteShr moomoo.io auto hat script .modal-body { padding: 10px 20px; background: #fff; } .modal-footer { background: #cf2727; padding: 10px; color: #fff; text-align: center; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } .closeBtn { color: #ccc; float: right; font-size: 30px; color: #fff; } moomoo.io auto hat script PasteShr moomoo.io auto hat script .closeBtn:hover, .closeBtn:focus { color: #000; text-decoration: none; cursor: pointer; } /* Customize the label (the container) */ .container { moomoo.io auto hat script How to get it for free? moomoo.io auto hat script display: block; position: relative; padding-left: 35px; margin-bottom: 12px; cursor: pointer; font-size: 16px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; moomoo.io auto hat script How to get it for free? moomoo.io auto hat script } /* Hide the browser's default checkbox */ .container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script /* Create a custom checkbox */ .checkmark { position: absolute; top: 0; left: 0; height: 25px; width: 25px; background-color: #eee; } moomoo.io auto hat script How to use it? moomoo.io auto hat script /* On mouse-over, add a grey background color */ .container:hover input ~ .checkmark { background-color: #ccc; } /* When the checkbox is checked, add a red background */ .container input:checked ~ .checkmark { background-color: #cf2727; } moomoo.io auto hat script How to get it for free? moomoo.io auto hat script /* Create the checkmark/indicator (hidden when not checked) */ .checkmark:after { content: ""; position: absolute; display: none; } /* Show the checkmark when checked */ .container input:checked ~ .checkmark:after { moomoo.io auto hat script How to use it? moomoo.io auto hat script display: block; } /* Style the checkmark/indicator */ .container .checkmark:after { left: 9px; top: 5px; width: 5px; height: 10px; border: solid white; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script border-width: 0 3px 3px 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } `)) document.head.appendChild(styleItem); moomoo.io auto hat script How to get it? moomoo.io auto hat script $("#adCard").css({display: "none"}); document.addEventListener('keydown', function(e) { if (e.keyCode == uneqiup && document.activeElement.id.toLowerCase() !== 'chatbox'){ console.log("done") storeEquip(0); } else if (e.keyCode == 27){ if (modal.style.display = "none") { modal.style.display = "block"; moomoo.io auto hat script How to get it? moomoo.io auto hat script } else { modal.style.display = "none"; } } else if (e.keyCode == TankGearKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_TankGear); } else if (e.keyCode == SoldierHelmetKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_SoldierHelmet); } else if (e.keyCode == BullHelmetKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_BullHelmet); } else if (e.keyCode == BoosterHatKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ moomoo.io auto hat script PasteShr moomoo.io auto hat script storeEquip(ID_BoosterHat); } else if (e.keyCode == EmpKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_EmpHelmet); } else if (e.keyCode == SamuKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_SamuraiArmor); } else if (e.keyCode == SpikeGearKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_SpikeGear); } else if (e.keyCode == TurretKey && document.activeElement.id.toLowerCase() !== 'chatbox'){ storeEquip(ID_TurretGear); } moomoo.io auto hat script How to dowload it? moomoo.io auto hat script }) // Get modal element var modal = document.getElementById("simpleModal"); // Get close button var closeBtn = document.getElementsByClassName('closeBtn')[0]; // Events closeBtn.addEventListener('click', closeModal); window.addEventListener('click', outsideClick); moomoo.io auto hat script How to get it? moomoo.io auto hat script // Close function closeModal() { modal.style.display = 'none'; } // Close If Outside Click function outsideClick(e) { if (e.target == modal) { modal.style.display = 'none'; moomoo.io auto hat script How to dowload it? moomoo.io auto hat script } } var checkbox = document.querySelector("#myCheck") checkbox.addEventListener('change', function() { if (this.checked) { $("#mapDisplay").css({background: `url('https://i.imgur.com/fgFsQJp.png')`}); console.log('checked') } else { moomoo.io auto hat script How to use it? moomoo.io auto hat script $("#mapDisplay").css({background: `rgba(0, 0, 0, 0.25)`}) console.log('unchecked') } }) moomoo.io auto hat script