~BOW INSTAKILL MOD~ READ DESC.

PRESS E AND THEN PRESS CROSSBOW AND THEN MUSKET (Anti feature tracking is for your security)

// ==UserScript==
// @name         ~BOW INSTAKILL MOD~ READ DESC.
// @author       SHD/BeagleLovers1
// @version      0.7 (Faster, No anti kick yet)
// @description  PRESS E AND THEN PRESS CROSSBOW AND THEN MUSKET (Anti feature tracking is for your security) 
// @match        *://dev.moomoo.io/*
// @match        *://moomoo.io/*
// @match        *://sandbox.moomoo.io/*
// @grant        none
// @namespace https://greasyfork.org/users/1048436
// ==/UserScript==

(function() {
    'use strict';


    //Keys
    var ID_ThiefGear = 52
    var ID_BullsHelmet = 7;
    var ID_TurretGear = 53;
    var ID_SoldierHelmet = 6;

    // Key code for the desired key (in this example, the 'e' key)
    var targetKey = 82;

    function performActions() {
        // Action 1
storeEquip(ID_TurretGear);

        var delay1 = 150; // 2 seconds

        // Action 2
        setTimeout(function() {
storeEquip(ID_ThiefGear);
            var delay2 = 150; // 1 second

            setTimeout(function() {
storeEquip(ID_ThiefGear);

                var delay3 = 160; // 1.5 seconds

                // Action 4
                setTimeout(function() {
storeEquip(ID_SoldierHelmet);

                    // Delay after Action 4 (in milliseconds)
                    var delay4 = 150; // 0.5 seconds

                    // Action 5
                    setTimeout(function() {
storeEquip(ID_SoldierHelmet);

                        // Delay after Action 5 (in milliseconds)
                        var delay5 = 200; // 0.8 seconds
storeEquip(ID_TurretGear);
                        // Action 6
                        setTimeout(function() {
storeEquip(ID_SoldierHelmet);
                        }, delay5);
                    }, delay4);
                }, delay3);
            }, delay2);
        }, delay1);
    }

    // Event listener for key press
    document.addEventListener('keydown', function(event) {
        if (event.keyCode === targetKey) {
            performActions();
        }
    });
})();