Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


let speedIncrease = 99;

window.mslower = {
    enabled: true, // Enable packets
    showAlert: false // Show or hide alerts
};

speedIncrease = {
    enabled: true, // Enable 8% more drop
    ShowAlert: false // Show alert for speed increase
};

window.fpsControl = false;
window.cpsControl = false;
window.autoResetKey = "r"; // Reset key
window.boostPack = true; // Boost drop chance, pack refresher: prevents stamina loss
window.autoEKey = "Space";
window.enemyms = ["80", "100"];
window.myms = ["5", "10", "15"];
window.homeserver = ["Trade"];
window.spamRate = 99;

(function () {
    if (!window.mslower.enabled) {
        return;
    }

    // Animation Polyfill
    var idCounter = 0;
    var callbacks = {};
    const POLYFILL_PREFIX = "__animation_polyfill__";

    function executeCallback(callback, args) {
        switch (args.length) {
            case 0: return callback();
            case 1: return callback(args[0]);
            case 2: return callback(args[0], args[1]);
            case 3: return callback(args[0], args[1], args[2]);
            default: return callback.apply(window, args);
        }
    }

    function handleMessage(event) {
        const data = event.data;
        if (typeof data === "string" && data.startsWith(POLYFILL_PREFIX)) {
            const callbackInfo = callbacks[data];
            if (callbackInfo) {
                delete callbacks[data];
                executeCallback(callbackInfo[0], callbackInfo.slice(1));
            }
        }
    }

    function requestFrame(callback, ...args) {
        const id = idCounter++;
        const message = POLYFILL_PREFIX + id;
        callbacks[message] = [callback, ...args];
        window.postMessage(message);
        return id;
    }

    function cancelFrame(id) {
        delete callbacks[POLYFILL_PREFIX + id];
    }

    window.requestAnimationFrame = (callback) => requestFrame(callback);
    window.cancelAnimationFrame = (id) => cancelFrame(id);
    window.addEventListener("message", handleMessage);

    if (window.mslower.showAlert) {
        alert("FPS were uncapped & MS is stable. Please DM me if any issues.");
    }
function _0x1002(_0x3d43e2,_0x165662){const _0x30a73d=_0x3192();return _0x1002=function(_0xf503ad,_0x550a2b){_0xf503ad=_0xf503ad-0xbf;let _0x1ad1a0=_0x30a73d[_0xf503ad];return _0x1ad1a0;},_0x1002(_0x3d43e2,_0x165662);}function _0x3192(){const _0xd5434f=['className','10aogsiw','exception','188838WWbyAY','style','10668KTgpxC','menu-item','trace','keydown','Date','
            font-size: 14px;
        ','prototype','6504684ObVcPO','log','72134WesKJR','10pibeXs','addEventListener','none','menu-container','backgroundColor','WebSocket connection is not open!','body','Space','737836fGzWNk','span','
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
        text-transform: uppercase;
        text-shadow: 0 0 7px rgba(255, 255, 255, 0.9),
                     0 0 14px rgba(255, 255, 255, 0.7),
                     0 0 21px rgba(255, 255, 255, 0.5);
    ','
            background: #323237;
            border: 2px solid #ccc;
            color: #fff;
            padding: 5px;
            font-size: 14px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.2s ease;
        ','2954280YByANd','floor','send','table','(((.+)+)+)+$','{}.constructor("return this")( )','64RFsxCF','apply','display','search','keyup','return (function() ','now','5792jwQHNl','Speedhack disabled','block','cssText','toString','__proto__','performance','WebSocket','appendChild','#6a6a70','div','console','OFF','8037jRDrXk','info','createElement','opacity','Auto Leave','textContent','105KvVrzF','bind','code','warn','click'];_0x3192=function(){return _0xd5434f;};return _0x3192();}(function(_0x406844,_0x2b514e){const _0x28c2a9=_0x1002,_0x47f59c=_0x406844();while(!![]){try{const _0x2b54fe=-parseInt(_0x28c2a9(0xd8))/0x1*(-parseInt(_0x28c2a9(0xd9))/0x2)+parseInt(_0x28c2a9(0xcf))/0x3*(parseInt(_0x28c2a9(0xeb))/0x4)+-parseInt(_0x28c2a9(0xe5))/0x5+parseInt(_0x28c2a9(0xcd))/0x6*(parseInt(_0x28c2a9(0xc5))/0x7)+parseInt(_0x28c2a9(0xf2))/0x8*(parseInt(_0x28c2a9(0xbf))/0x9)+parseInt(_0x28c2a9(0xcb))/0xa*(-parseInt(_0x28c2a9(0xe1))/0xb)+-parseInt(_0x28c2a9(0xd6))/0xc;if(_0x2b54fe===_0x2b514e)break;else _0x47f59c['push'](_0x47f59c['shift']());}catch(_0x2f1ef2){_0x47f59c['push'](_0x47f59c['shift']());}}}(_0x3192,0x5214c),(function(){const _0x455750=_0x1002,_0x3fdea1=(function(){let _0x3e6bd1=!![];return function(_0x5ba4ac,_0x58334c){const _0xddfec4=_0x3e6bd1?function(){if(_0x58334c){const _0x4b5fd6=_0x58334c['apply'](_0x5ba4ac,arguments);return _0x58334c=null,_0x4b5fd6;}}:function(){};return _0x3e6bd1=![],_0xddfec4;};}()),_0x572923=_0x3fdea1(this,function(){const _0x21a7b4=_0x1002;return _0x572923[_0x21a7b4(0xf6)]()[_0x21a7b4(0xee)]('(((.+)+)+)+$')[_0x21a7b4(0xf6)]()['constructor'](_0x572923)['search'](_0x21a7b4(0xe9));});_0x572923();const _0x4a18f0=(function(){let _0x38125c=!![];return function(_0x3f12df,_0x2e8dec){const _0x45627c=_0x38125c?function(){const _0x2e4e80=_0x1002;if(_0x2e8dec){const _0x3773d9=_0x2e8dec[_0x2e4e80(0xec)](_0x3f12df,arguments);return _0x2e8dec=null,_0x3773d9;}}:function(){};return _0x38125c=![],_0x45627c;};}()),_0x56056e=_0x4a18f0(this,function(){const _0xbdde61=_0x1002;let _0x30938c;try{const _0xd5f661=Function(_0xbdde61(0xf0)+_0xbdde61(0xea)+');');_0x30938c=_0xd5f661();}catch(_0x371793){_0x30938c=window;}const _0x3186ac=_0x30938c[_0xbdde61(0xfd)]=_0x30938c[_0xbdde61(0xfd)]||{},_0x25d21c=['log',_0xbdde61(0xc8),_0xbdde61(0xc0),'error',_0xbdde61(0xcc),_0xbdde61(0xe8),_0xbdde61(0xd1)];for(let _0x125162=0x0;_0x125162<_0x25d21c['length'];_0x125162++){const _0xa3b1d4=_0x4a18f0['constructor'][_0xbdde61(0xd5)][_0xbdde61(0xc6)](_0x4a18f0),_0x21b32a=_0x25d21c[_0x125162],_0x208f3a=_0x3186ac[_0x21b32a]||_0xa3b1d4;_0xa3b1d4[_0xbdde61(0xf7)]=_0x4a18f0['bind'](_0x4a18f0),_0xa3b1d4['toString']=_0x208f3a['toString'][_0xbdde61(0xc6)](_0x208f3a),_0x3186ac[_0x21b32a]=_0xa3b1d4;}});_0x56056e();'use strict';let _0x5d49ca=![],_0x5c9447,_0x4489fa;const _0x364358=[0x17,0x3,0x3,0x0,0x26,0x0,0x0,0x0],_0x5ae80a=window[_0x455750(0xf9)];window[_0x455750(0xf9)]=class extends _0x5ae80a{constructor(..._0x4860d7){super(..._0x4860d7),_0x4489fa=this;}};function _0x5a04f9(_0x10b02b){const _0x30accb=_0x455750;if(!_0x4489fa||_0x4489fa['readyState']!==WebSocket['OPEN']){console['warn'](_0x30accb(0xde));return;}const _0x24ba62=new Uint8Array(_0x10b02b);_0x4489fa[_0x30accb(0xe7)](_0x24ba62);}function _0x712a4b(_0x4fae8f){_0x5d49ca=_0x4fae8f,_0x5d49ca?_0x5c9447=setInterval(()=>{_0x5a04f9(_0x364358);},0x32):clearInterval(_0x5c9447);}let _0x599cd5=![],_0x3cb2bf=0x1;function _0x41d94a(_0x4eca9d){_0x3cb2bf=_0x4eca9d;}let _0x538caa=performance[_0x455750(0xf1)](),_0x456068=0x0;window[_0x455750(0xf8)][_0x455750(0xf1)]=new Proxy(window['performance'][_0x455750(0xf1)],{'apply':function(_0x2e8b39,_0x5c5d39,_0x112b88){const _0x22b36e=Reflect['apply'](_0x2e8b39,_0x5c5d39,_0x112b88);return _0x599cd5&&(_0x456068+=(_0x22b36e-_0x538caa)*(_0x3cb2bf-0x1)),_0x538caa=_0x22b36e,_0x22b36e+_0x456068;}});let _0x17ef20=Date[_0x455750(0xf1)](),_0x1517be=0x0;window[_0x455750(0xd3)][_0x455750(0xf1)]=new Proxy(window[_0x455750(0xd3)][_0x455750(0xf1)],{'apply':function(_0x564d0c,_0xb32e72,_0x1bb058){const _0x11f40c=_0x455750,_0x178f91=Reflect[_0x11f40c(0xec)](_0x564d0c,_0xb32e72,_0x1bb058);return _0x599cd5&&(_0x1517be+=(_0x178f91-_0x17ef20)*(_0x3cb2bf-0x1)),_0x17ef20=_0x178f91,Math[_0x11f40c(0xe6)](_0x178f91+_0x1517be);}});const _0x15d1d1=document[_0x455750(0xc1)](_0x455750(0xfc));_0x15d1d1[_0x455750(0xca)]=_0x455750(0xdc),_0x15d1d1['style'][_0x455750(0xf5)]='
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 250px;
        height: 150px;
        background: linear-gradient(145deg, #2e2e34, #1e1e24);
        border-radius: 10px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
        padding: 20px;
        color: #ffffff;
        font-family: 'Open Sans', sans-serif;
        text-align: center;
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    ',document[_0x455750(0xdf)][_0x455750(0xfa)](_0x15d1d1);const _0x30ceee=document[_0x455750(0xc1)](_0x455750(0xfc));_0x30ceee[_0x455750(0xc4)]='Settings',_0x30ceee[_0x455750(0xce)]['cssText']=_0x455750(0xe3),_0x15d1d1[_0x455750(0xfa)](_0x30ceee);function _0x32e0a7(_0x492e31,_0x1235aa){const _0x138ba0=_0x455750,_0x5551fe=document['createElement']('div');_0x5551fe[_0x138ba0(0xca)]=_0x138ba0(0xd0),_0x5551fe[_0x138ba0(0xce)][_0x138ba0(0xf5)]='
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
        ';const _0x4e1cb3=document[_0x138ba0(0xc1)](_0x138ba0(0xe2));_0x4e1cb3[_0x138ba0(0xc4)]=_0x492e31,_0x4e1cb3['style']['cssText']=_0x138ba0(0xd4);const _0xa34f08=document[_0x138ba0(0xc1)]('button');_0xa34f08[_0x138ba0(0xc4)]=_0x138ba0(0xfe),_0xa34f08['style'][_0x138ba0(0xf5)]=_0x138ba0(0xe4),_0xa34f08['addEventListener'](_0x138ba0(0xc9),()=>{const _0x92e625=_0x138ba0,_0x1e121d=_0xa34f08[_0x92e625(0xc4)]==='ON';_0xa34f08[_0x92e625(0xc4)]=_0x1e121d?'OFF':'ON',_0xa34f08['style'][_0x92e625(0xdd)]=_0x1e121d?'#323237':_0x92e625(0xfb),_0x1235aa(!_0x1e121d);}),_0x5551fe[_0x138ba0(0xfa)](_0x4e1cb3),_0x5551fe['appendChild'](_0xa34f08),_0x15d1d1[_0x138ba0(0xfa)](_0x5551fe);}_0x32e0a7(_0x455750(0xc3),_0x4d89c8=>{_0x5d49ca=_0x4d89c8,_0x5d49ca?_0x5c9447=setInterval(()=>{_0x5a04f9(_0x364358);},0x32):clearInterval(_0x5c9447);}),_0x32e0a7('Speedhack',_0x2a52e1=>{const _0x36d0ba=_0x455750;_0x599cd5=_0x2a52e1,_0x599cd5?console['log']('Speedhack enabled'):console[_0x36d0ba(0xd7)](_0x36d0ba(0xf3));}),document[_0x455750(0xda)](_0x455750(0xd2),_0x3290f9=>{const _0x221ff3=_0x455750;_0x3290f9[_0x221ff3(0xc7)]==='Insert'&&(_0x15d1d1[_0x221ff3(0xce)]['display']===_0x221ff3(0xdb)?(_0x15d1d1[_0x221ff3(0xce)]['display']=_0x221ff3(0xf4),setTimeout(()=>{const _0x216ec2=_0x221ff3;_0x15d1d1['style'][_0x216ec2(0xc2)]='1';},0x0)):(_0x15d1d1['style']['opacity']='0',setTimeout(()=>{const _0x5d56a=_0x221ff3;_0x15d1d1[_0x5d56a(0xce)][_0x5d56a(0xed)]=_0x5d56a(0xdb);},0x1f4)));});let _0x235d86=![];document[_0x455750(0xda)](_0x455750(0xd2),_0x56e8d1=>{const _0xf8c1a4=_0x455750;_0x56e8d1['code']===_0xf8c1a4(0xe0)&&_0x599cd5&&(_0x235d86=!![],_0x41d94a(0xa));}),document[_0x455750(0xda)](_0x455750(0xef),_0x29c148=>{const _0x51b3fc=_0x455750;_0x29c148['code']===_0x51b3fc(0xe0)&&(_0x235d86=![],_0x41d94a(0x1));});}()));
function _0xb490(){const _0x28d15b=['reset-btn','style','27057372FViFyJ','
        
        .fps-container {
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 10001;
            width: 100px;
            height: 30px;
            border-radius: 15px;
            background: linear-gradient(145deg, #2e2e34, #1e1e24);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
            text-transform: uppercase;
            font-family: 'Open Sans', sans-serif;
            font-size: 14px;
            color: #ffffff;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
                         0 0 10px rgba(255, 255, 255, 0.5),
                         0 0 15px rgba(255, 255, 255, 0.3);
            text-align: center;
        }

        
        .btn-flip-container {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            position: fixed;
            top: 10%;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10000;
            width: 200px;
            height: 50px;
        }

        .btn-flip {
            position: relative;
            width: 150px;
            height: 40px;
            perspective: 1000px;
            cursor: pointer;
        }

        .btn-flip .front,
        .btn-flip .back {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            transform-style: preserve-3d;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            border-radius: 15px;
            transition: transform 0.5s, box-shadow 0.3s;
            text-transform: uppercase;
            font-family: 'Open Sans', sans-serif;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
            color: #ffffff;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.8),
                         0 0 10px rgba(255, 255, 255, 0.5),
                         0 0 15px rgba(255, 255, 255, 0.3);
        }

        .btn-flip .front {
            background: linear-gradient(145deg, #2e2e34, #1e1e24);
            transform: rotateX(0deg);
        }

        .btn-flip .back {
            background: linear-gradient(145deg, #4a4a50, #323237);
            transform: rotateX(90deg);
        }

        .btn-flip.flipped .front {
            transform: rotateX(-90deg);
        }

        .btn-flip.flipped .back {
            transform: rotateX(0deg);
        }

        .btn-flip:hover .front, .btn-flip:hover .back {
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.4);
        }

        
        .reset-container {
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10002;
            opacity: 0;
            transition: opacity 0.5s;
        }

        .reset-container.visible {
            opacity: 1;
        }

        .reset-btn {
            width: 80px;
            height: 20px;
            background: linear-gradient(145deg, #2e2e34, #1e1e24);
            border-radius: 15px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.2);
            color: #ffffff;
            text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Open Sans', sans-serif;
            font-size: 10px;
            text-transform: uppercase;
            cursor: pointer;
        }

        .reset-btn:hover {
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.4);
        }
    ','2968960JJusmv','FPS: ---','Reset action triggered!','addEventListener','head','remove','
        <div class="front">Auto E: OFF</div>
        <div class="back">Auto E: ON</div>
    ','createElement','KeyR','btn-flip','appendChild','flipped','11LaNEQQ','textContent','5193210VrlOUp','btn-flip-container','122ezXHzI','click','innerHTML','classList','13399IdDTpz','Space','div','keydown','visible','fps-container','floor','code','1165353tuVwKG','FPS: ','keyup','body','className','add','272JzJyfz','8ASiXAq','270xpsXUp','Reset','177777hGuwHc','57837WMseNa'];_0xb490=function(){return _0x28d15b;};return _0xb490();}function _0x5e6a(_0xa313dd,_0x535954){const _0xb4902a=_0xb490();return _0x5e6a=function(_0x5e6a0d,_0x2a1f02){_0x5e6a0d=_0x5e6a0d-0x14f;let _0x269d8f=_0xb4902a[_0x5e6a0d];return _0x269d8f;},_0x5e6a(_0xa313dd,_0x535954);}(function(_0x5ca7d4,_0x5bed0f){const _0x4e9798=_0x5e6a,_0x3ddda7=_0x5ca7d4();while(!![]){try{const _0x12c40f=-parseInt(_0x4e9798(0x17a))/0x1*(parseInt(_0x4e9798(0x176))/0x2)+-parseInt(_0x4e9798(0x161))/0x3*(parseInt(_0x4e9798(0x15c))/0x4)+-parseInt(_0x4e9798(0x166))/0x5+parseInt(_0x4e9798(0x174))/0x6+parseInt(_0x4e9798(0x156))/0x7*(-parseInt(_0x4e9798(0x15d))/0x8)+parseInt(_0x4e9798(0x160))/0x9*(parseInt(_0x4e9798(0x15e))/0xa)+-parseInt(_0x4e9798(0x172))/0xb*(-parseInt(_0x4e9798(0x164))/0xc);if(_0x12c40f===_0x5bed0f)break;else _0x3ddda7['push'](_0x3ddda7['shift']());}catch(_0x22889b){_0x3ddda7['push'](_0x3ddda7['shift']());}}}(_0xb490,0xbac89),(function(){'use strict';const _0x3f222f=_0x5e6a;const _0x228073=document['createElement'](_0x3f222f(0x163));_0x228073[_0x3f222f(0x173)]=_0x3f222f(0x165),document[_0x3f222f(0x16a)]['appendChild'](_0x228073);const _0x21d455=document[_0x3f222f(0x16d)](_0x3f222f(0x150));_0x21d455[_0x3f222f(0x15a)]=_0x3f222f(0x153),_0x21d455[_0x3f222f(0x173)]=_0x3f222f(0x167),document[_0x3f222f(0x159)][_0x3f222f(0x170)](_0x21d455),setInterval(()=>{const _0x102472=_0x3f222f,_0x41954c=Math[_0x102472(0x154)](Math['random']()*0x29)+0xc8;_0x21d455[_0x102472(0x173)]=_0x102472(0x157)+_0x41954c;},0xbb8);const _0x1c3543=document['createElement'](_0x3f222f(0x150));_0x1c3543['className']=_0x3f222f(0x175);const _0xeba294=document[_0x3f222f(0x16d)](_0x3f222f(0x150));_0xeba294[_0x3f222f(0x15a)]=_0x3f222f(0x16f),_0xeba294[_0x3f222f(0x178)]=_0x3f222f(0x16c),_0x1c3543[_0x3f222f(0x170)](_0xeba294),document[_0x3f222f(0x159)][_0x3f222f(0x170)](_0x1c3543);let _0x262d69=![];document[_0x3f222f(0x169)](_0x3f222f(0x151),_0xd9def3=>{const _0xcd6070=_0x3f222f;_0xd9def3[_0xcd6070(0x155)]==='Space'&&(!_0x262d69&&(_0xeba294[_0xcd6070(0x179)][_0xcd6070(0x15b)](_0xcd6070(0x171)),_0x262d69=!![]));}),document[_0x3f222f(0x169)]('keyup',_0x12e2dd=>{const _0x214b0c=_0x3f222f;_0x12e2dd['code']===_0x214b0c(0x14f)&&(_0x262d69&&(_0xeba294[_0x214b0c(0x179)][_0x214b0c(0x16b)](_0x214b0c(0x171)),_0x262d69=![]));});const _0x21fcd4=document[_0x3f222f(0x16d)](_0x3f222f(0x150));_0x21fcd4[_0x3f222f(0x15a)]='reset-container';const _0xe48a40=document[_0x3f222f(0x16d)](_0x3f222f(0x150));_0xe48a40['className']=_0x3f222f(0x162),_0xe48a40['textContent']=_0x3f222f(0x15f),_0x21fcd4['appendChild'](_0xe48a40),document[_0x3f222f(0x159)][_0x3f222f(0x170)](_0x21fcd4),document[_0x3f222f(0x169)]('keydown',_0x5281bc=>{const _0xb3c3d1=_0x3f222f;_0x5281bc[_0xb3c3d1(0x155)]===_0xb3c3d1(0x16e)&&_0x21fcd4['classList'][_0xb3c3d1(0x15b)](_0xb3c3d1(0x152));}),document[_0x3f222f(0x169)](_0x3f222f(0x158),_0x3b018d=>{const _0x325193=_0x3f222f;_0x3b018d[_0x325193(0x155)]===_0x325193(0x16e)&&_0x21fcd4['classList'][_0x325193(0x16b)](_0x325193(0x152));}),_0xe48a40['addEventListener'](_0x3f222f(0x177),()=>{const _0x2ea5a2=_0x3f222f;alert(_0x2ea5a2(0x168));});}()));

    function showAlert(message) {
        const alertBox = document.createElement("div");
        alertBox.textContent = message;
        alertBox.style.position = "fixed";
        alertBox.style.top = "50%";
        alertBox.style.left = "50%";
        alertBox.style.transform = "translate(-50%, -50%)";
        alertBox.style.padding = "10px";
        alertBox.style.backgroundColor = "#333";
        alertBox.style.color = "#fff";
        alertBox.style.borderRadius = "5px";
        alertBox.style.zIndex = "9999";
        document.body.appendChild(alertBox);
        setTimeout(() => {
            document.body.removeChild(alertBox);
        }, 250);
    }

    let autoEHandler;
    async function repeatAction(action, times, delay) {
        for (let i = 0; i < times; i++) {
            await new Promise((resolve) => setTimeout(resolve, delay));
            action();
        }
    }

    function autoEAction() {
        const downEvent = new KeyboardEvent("keydown", { key: "e", keyCode: 69, code: "KeyE" });
        window.dispatchEvent(downEvent);
        const upEvent = new KeyboardEvent("keyup", { key: "e", keyCode: 69, code: "KeyE" });
        window.dispatchEvent(upEvent);
    }

    function setupAutoE(keyMappings, interval) {
        let intervalId;
        document.addEventListener("keydown", (event) => {
            if (Object.keys(keyMappings).includes(event.code)) {
                if (!intervalId) {
                    intervalId = setInterval(() => {
                        repeatAction(keyMappings[event.code].action, 10, 0);
                    }, interval);
                }
            }
        });

        document.addEventListener("keyup", (event) => {
            if (Object.keys(keyMappings).includes(event.code)) {
                clearInterval(intervalId);
                intervalId = undefined;
            }
        });
    }

    autoEHandler = setupAutoE({
        [window.autoEKey]: { action: autoEAction }
    }, 0);

    if (!window.boostPack) {
        return;
    }

    function clearData() {
        localStorage.clear();
        sessionStorage.clear();
    }

    document.addEventListener("keydown", (event) => {
        if (event.key === "r") {
            clearData();
        }
    });

    autoEHandler();
})();
console.log(speedIncrease);



© 2023 Quttera Ltd. All rights reserved.