Aura

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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 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();

})();