Aura

Aggressive Game Object Scan + Fixed ESP + Heavily Boosted Melee Sword Capabilities.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Tendrás que instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Tendrás que instalar una extensión como Tampermonkey antes de poder instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Tendrás que instalar una extensión como Stylus antes de poder instalar este script.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

Para poder instalar esto tendrás que instalar primero una extensión de estilos de usuario.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

// ==UserScript==
// @name         Aura
// @namespace    http://tampermonkey.net
// @version      3.0
// @description  Aggressive Game Object Scan + Fixed ESP + Heavily Boosted Melee Sword Capabilities.
// @author       AI Assistant (Updated)
// @match        https://minefun.io/*
// @match        https://*.minefun.io/*
// @match        http://minefun.io*
// @match        http://*.minefun.io/*
// @icon         https://google.com
// @grant        none
// @run-at       document-idle
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // --- HIỂN THỊ LOGO HÌNH ẢNH NHÂN VẬT VÀ TÊN SCRIPT TRONG CONSOLE F12 ---
    const logoUrl = 'https://google.com';
    console.log(
        '%c ',
        `padding: 24px; background: url(${logoUrl}) no-repeat; background-size: contain;`
    );
    console.log('%c[Aura] Melee Core Script Loaded - Auto Activation Enabled', 'color: #00ffaa; font-size: 14px; font-weight: bold; text-shadow: 0 0 5px #00ffaa;');

    function updateStatus(status, color = '#00ff00') {
        console.log(`%c[Aura Status] ${status}`, `color: ${color}; font-family: monospace; font-weight: bold;`);
    }

    let windowHooked = null;
    let cheatInterval = null;

    const packetsOut = { HIT: 13 };

    const _assign = Object.assign;
    const _defineProperty = Object.defineProperty;

    // ==================== 1. AGGRESSIVE GAME OBJECT SCAN ====================
    function aggressiveScan() {
        if (windowHooked) return true;

        console.log('%c[Aura] Scanning memory structure...', 'color: #ffff00;');

        // Deep window scan
        for (let key in window) {
            try {
                const obj = window[key];
                if (obj && typeof obj === 'object' && obj.player && obj.gameWorld) {
                    windowHooked = obj;
                    console.log('%c[Aura] ✅ Game systems successfully hooked via window scan!', 'color: #00ff00; font-weight: bold;');
                    return true;
                }
            } catch (e) {}
        }

        // Canvas scan
        const canvases = document.querySelectorAll('canvas');
        for (let canvas of canvases) {
            try {
                for (let prop of Object.getOwnPropertyNames(canvas)) {
                    const val = canvas[prop];
                    if (val && typeof val === 'object' && val.player && val.gameWorld) {
                        windowHooked = val;
                        console.log('%c[Aura] ✅ Game systems successfully hooked via canvas!', 'color: #00ff00; font-weight: bold;');
                        return true;
                    }
                }
            } catch (e) {}
        }

        return false;
    }

    // ==================== 2. CORE UTILITIES & MODIFICATIONS ====================
    function activateAuraCore() {
        if (cheatInterval) {
            clearInterval(cheatInterval);
            cheatInterval = null;
            updateStatus('Core OFF', '#ff0000');
            return;
        }

        updateStatus('ACTIVE! 🔥', '#00ff00');

        cheatInterval = setInterval(() => {
            if (!windowHooked && !aggressiveScan()) return;
            if (!windowHooked?.gameWorld) return;

            // Tính năng 1: Fixed ESP (Vẽ đè mô hình nhân vật xuyên tường)
            try {
                const scene = windowHooked.gameWorld.threeScene?.scene;
                if (scene) {
                    scene.traverse((object) => {
                        if (object.isMesh && object.material) {
                            if (object.name.includes('player') || object.parent?.name.includes('player') || object.parent?.parent?.name.includes('character')) {
                                object.material.depthTest = false; 
                                object.material.depthWrite = false;
                                object.material.transparent = true;
                                object.material.needsUpdate = true;
                                object.renderOrder = 99999; 
                            }
                        }
                    });
                }
            } catch (e) {}

            // Tính năng 2: No Fog (Xóa bỏ sương mù)
            try {
                const fog = windowHooked.gameWorld.threeScene?.scene?.fog;
                if (fog) _assign(fog, { near: 9999, far: 10000 });
            } catch (e) {}

            // Tính năng 3: Phân tách cấu hình Vũ khí (TẬP TRUNG NÂNG CẤP KIẾM)
            try {
                // Súng giữ mức ổn định, tránh lag phòng chơi
                const regularGunMod = {
                    isAuto: true,
                    firerateMs: 130,                  
                    lastShootFirerateMs: 130,
                    timeToScopeSec: 0.1,
                    reloadTimeMs: 1500,               
                    currAmmo: 30,
                    recoilMax: 0.05,                  
                    maxStandSpread: 0.02,
                    maxMoveInaccuracy: 0.03
                };

                // KIẾM / DAO CẬN CHIẾN TỐI THƯỢNG
                const ultimateMeleeMod = {
                    knifeLongAttackDelayMs: 5,        // Vung kiếm siêu tốc gần như không có độ khựng
                    knifeLongAttackFirerateMs: 10,     // Tốc độ hồi chém liên tục
                    distance: 30,                      // Tầm chém cực xa 30 khối
                    secondAttackDistance: 30,          
                    swapTimeMs: 1                      // Rút kiếm ra chiến đấu tức thì
                };

                windowHooked.gameWorld.systemsManager.activeSystems.forEach((system) => {
                    if (system?.far) system.far = 9999;

                    if (system?.playerShooter?.currPlayerWeapon) {
                        _assign(system.playerShooter.currPlayerWeapon, regularGunMod);
                    }
                    if (system?.playerShooter?.currPlayerWeaponSpec) {
                        if (system.playerShooter.currPlayerWeaponSpec.knifeLongAttackDelayMs !== undefined) {
                            _assign(system.playerShooter.currPlayerWeaponSpec, ultimateMeleeMod);
                        } else {
                            _assign(system.playerShooter.currPlayerWeaponSpec, regularGunMod);
                        }
                    }
                });
            } catch (e) {}

            // Tính năng 4: Instant block breaking (Phá khối nhanh)
            try {
                const system = windowHooked.gameWorld.systemsManager.activeSystems.find(x => x?.infinityBlocks !== undefined);
                if (system) {
                    _defineProperty(system, 'instantBlockBreaking', { get() { return true; }, set() {} });
                }
            } catch (e) {}

            // Tính năng 5: Nhân bản sát thương cận chiến 8 lần
            try {
                const msgs = windowHooked.gameWorld.server.msgsToSend;
                if (msgs && typeof msgs.push === 'function' && !msgs._push) {
                    msgs._push = msgs.push;
                    msgs.push = function(...args) {
                        if (args === packetsOut.HIT) {
                            for (let i = 0; i < 8; i++) { 
                                msgs._push.apply(this, args);
                            }
                            return;
                        }
                        return msgs._push.apply(this, args);
                    };
                }
            } catch (e) {}

        }, 400);
    }

    // Tự động kích hoạt lõi xử lý
    activateAuraCore();

})();