Greasy Fork is available in English.
------------------Looks SUPER COOL!!!!!--------------------
当前为
// ==UserScript==
// @name MOOMOO.IO rainbowhat!!! (BETA)
// @namespace http://tampermonkey.net/
// @version 1.5
// @description ------------------Looks SUPER COOL!!!!!--------------------
// @author Cody Webb
// @match *://moomoo.io/*
// @match *://sandbox.moomoo.io/*
// @match *://dev.moomoo.io/*
// @grant none
// ==/UserScript==
(function(){
document.title = "Rainbow MooMod";
document.getElementById("gameName").innerHTML = "Rainbow </br> MooMod";
var hatList = {
'Unequip': 0,
'Moo Cap': 51,
'Apple Cap': 50,
'Moo Head': 28,
'Pig Head': 29,
'Fluff Head': 30,
'Pandou Head': 36,
'Bear Head': 37,
'Monkey Head': 38,
'Polar Head': 44,
'Fez Hat': 35,
'Enigma Hat': 42,
'Blitz Hat': 43,
'Bob XIII Hat': 49 //14 total
};
document.AddEventListener('Keypress', function(e){
if (e.keycode === 32 && document.activeElement.id.toLowerCase() !== 'chatbox'){
randomHat();
}
});
function randomHat() {
var randomNum = Math.floor(Math.random() * 15);
var randomKey = randomNum[Object.keys(hatList)];
storeEquip(hatList.randomKey);
}
})();