Aura

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

})();