Greasy Fork is available in English.

czv2

s0 ez

// ==UserScript==
// @name         czv2
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  s0 ez
// @author       Cazui
// @match        http://sandbox.moomoo.io/?server=19:0:0
// @grant        none
// ==/UserScript==


$('#mapDisplay').css({
		'background': 'url("https://cdn1.imggmi.com/uploads/2019/3/1/057f0bed181b5fde3ae8fed17c498ca9-full.png")'
	});

function revertTitle(){
    f++;
    setTimeout(function(){
        f--;
        if (!f) {
            document.title = "Moo Moo";
        }
    }, 1500);
}

(function() {

var aV = [0,0];
var hZ =
    [
        [6, "Soldier Hat"],
        [31, "Flipper Hat"],
        [12, "Booster Hat"],
        [26, "Barbarian Armor"],
        [40, "Tank Gear"],
        [26, "Dark Knight"],
        [7, "Bull Helmet"],
        [20, "Samurai"]
    ];
var rZe = 0;

function hF(ki){
	if(aV[0] === 0){
		storeEquip(hZ[ki][0]);
		document.title = hZ[ki][1];
		aV[1] = 90;
	} else {
		storeBuy(hZ[ki][0]);
		aV[0] = 0;
		aV[1] = 180;
		document.title = "Bought";
	}
}

document.addEventListener('keydown', function(kfc) {
    if(!$(':focus').length) {
        switch (kfc.keyCode) {
            case 186: aV[0] = 1; aV[1] = 300; document.title = "Buying...."; kfc.preventDefault(); break;
            case 222: if(aV[0] === 1){aV[1] = 120; document.title = "Not buying....";} aV[0] = 0; kfc.preventDefault(); break;
            case 76: storeEquip(0); kfc.preventDefault(); break; // None [shift]
            case 191: hF(0); kfc.preventDefault(); break; // Soldier Helmet [g]
            case 16: hF(1); kfc.preventDefault(); break; // Flipper Hat [h]
            case 188: hF(2); kfc.preventDefault(); break; // Booster [r]
            case 77: hF(3); kfc.preventDefault(); break; // Tank Gear [t]
            case 78: hF(4); kfc.preventDefault(); break; // Barbarian Armor [n]
            case 66: hF(5); kfc.preventDefault(); break; // Dark Knight [-]
            case 75: hF(6); kfc.preventDefault(); break; // Bull Helmet [b]
            case 74: hF(7); kfc.preventDefault(); break; // Samurai [j]
        }
	}
});

function tK(){
	aV[1]--;
	letThereBeLight();
}

function letThereBeLight(){
	if(aV[1] === 0){
		rZe = Math.floor(Math.random()*vs.length-0.00001);
		if(rZe < 0){
			rZe = 0;
		}
		document.title = vs[rZe];
	}
}

setInterval(tK, 1000/60);
})();