MooMoo.io [simple Hat Macro]

simple Hat Macro, starter resources and other things!

< 脚本MooMoo.io [simple Hat Macro]的反馈

评价:好评 - 脚本运行良好

§
发表于:2023-04-11

Change turret hat to T please

§
发表于:2023-04-11
编辑于:2023-04-11

Here's how you can swap the hotkeys for Turret Gear (currently G) and Bull Helmet (currently T) around so that T is for Turret Gear and G is for Bull Helmet instead:

- Click on the Tampermonkey chrome extension icon.
- Click on "Dashboard".
- Find the script in question "MooMoo.io [simple Hat Macro]".
- Either click on the script name or the edit icon for the script in the actions column.
- You should now see some code.
- Replace all the code you see there with the code below.
- Press CTRL+S to save.

After that, you should be able to play MooMoo.io using the script with the hotkeys swapped.

// ==UserScript==
// @name         MooMoo.io [simple Hat Macro]
// @namespace    none
// @version      1
// @description  simple Hat Macro, starter resources and other things!
// @author       BiG_LoOseR
// @match        *://*.moomoo.io/*
// @match        *://moomoo.io/*
// @grant        none
// @require      https://code.jquery.com/jquery-3.3.1.slim.min.js
// ==/UserScript==

setInterval(() => window.follmoo && follmoo(), 10);

function Hat(id){
    storeBuy(id);
    storeEquip(id);
}

document.addEventListener('keydown', function(e) {
    if (e.keyCode == 66 && document.activeElement.id.toLowerCase() !== 'chatbox') { // B for Solider
        Hat(6);
    }
    if (e.keyCode == 27 && document.activeElement.id.toLowerCase() !== 'chatbox') { // ESC for uneuip hat
        Hat(0);
    }
    if (e.keyCode == 84 && document.activeElement.id.toLowerCase() !== 'chatbox') { // T for Turret gear
        Hat(53);
    }
    if (e.keyCode == 16 && document.activeElement.id.toLowerCase() !== 'chatbox') { // SHIFT for booster hat
        Hat(12);
    }
    if (e.keyCode == 188 && document.activeElement.id.toLowerCase() !== 'chatbox') { // "," for snow hat
        Hat(15);
    }
    if (e.keyCode == 60 && document.activeElement.id.toLowerCase() !== 'chatbox') { // < for flipper hat
        Hat(31);;
    }
    if (e.keyCode == 90 && document.activeElement.id.toLowerCase() !== 'chatbox') { // Z for tank gear
        Hat(40);
    }
    if (e.keyCode == 74 && document.activeElement.id.toLowerCase() !== 'chatbox') { // J for emp helmet
        Hat(22);
    }
    if (e.keyCode == 71 && document.activeElement.id.toLowerCase() !== 'chatbox') { // G for bull helmet
        Hat(7);
    }
    if (e.keyCode == 89 && document.activeElement.id.toLowerCase() !== 'chatbox') { // Y for samurai
        Hat(20);
    }
});

document.getElementById("enterGame").addEventListener('click', autohide);
function autohide(){
$("#ot-sdk-btn-floating").hide();
}
document.getElementById("moomooio_728x90_home").style.display = "none";
$("#moomooio_728x90_home").parent().css({display: "none"});
document.getElementById("promoImgHolder").remove();
document.querySelector("#pre-content-container").remove(); //ANTI AD
$("#adCard").remove();
$("#mapDisplay").css({background: `url('http://i.imgur.com/Qllo1mA.png')`});
$("#ageBarContainer").append('</br><div id="hacktext"></div><div style="width: 100%;position: absolute;bottom: 94px;text-align: center;color:blue;font-size: 24px;" id="freetext"></div><div style="width: 100%;position: absolute;bottom: 144px;text-align: center;color: #ed3f00;font-size: 24px;" id="ptext"></div><div style="width: 100%;position: absolute;bottom: 224px;text-align: center;color: #9a008b;font-size: 24px;" id="ctext"></div><div style="width: 100%;position: absolute;top: 100px;text-align: center;color: black;font-size: 12px;" id="bilgitext">[Z] Tank Gear | [G] Turret Gear | [T] Bull Helmet | [J] Emp Helmet | [B] Soldier Helmet | [<] Fish Hat | [,] Winter Cap | [Shift] Booster Helmet | [Y] Samurai Armor</div><div style="width: 100%;position: absolute;bottom: 170px;text-align: center;color: darkgreen;font-size: 24px;" id="atext"></div><div style="width: 100%;position: absolute;bottom: 196px;text-align: center;color: black;font-size: 24px;" id="mtext"></div>');
document.getElementById("storeHolder").style = "height: 500px; width: 435px;";

document.title = "simple Hat Macro"

document.querySelector("#leaderboard").appendChild(
  (function() {
    let text = "Ping: ";
    let oldPing = 0;
    const pingSpan = document.createElement("span");
    pingSpan.id = "pingTime";
    pingSpan.textContent = text;
    pingSpan.style.display = "inline-block";
    setInterval(function() {
      typeof pingTime !== "undefined" &&
        oldPing !== pingTime &&
        ((oldPing = pingTime),
        (pingSpan.textContent = text + oldPing),
        (function() {
          if (oldPing <= 100) {
            pingSpan.style.color = "green";
          }
          if (oldPing >= 101 && oldPing <= 250) {
            pingSpan.style.color = "Orange";
          }
          if (oldPing >= 251) {
            pingSpan.style.color = "red";
          }
        })());
    });
    return pingSpan;
  })()
);
W4IT作者
§
发表于:2023-04-13

Thank you Tiger! :D

§
发表于:2024-11-08

BAD SCRIPT DOE NOT WORKING

发表回复

登录以发表回复。