~BOW INSTAKILL MOD~ READ DESC.

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==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();
        }
    });
})();