FORGEXHACK

we do a little trolling

02.04.2026 itibariyledir. En son verisyonu görün.

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name FORGEXHACK
// @description we do a little trolling
// @version 4.0.5(No Update)
// @author FORGEX
// @homepage https://github.com/crackbob/Minebuns
// @supportURL https://github.com/crackbob/Minebuns
// @match *://minefun.io/*
// @grant none
// @namespace http://tampermonkey.net/
// ==/UserScript==
(() => {
    "use strict";
    var __webpack_modules__ = {
        // ... (giữ nguyên toàn bộ phần webpack_modules cũ của bạn, từ 679 đến 548) ...
        // Tôi không paste lại toàn bộ để ngắn gọn, bạn chỉ cần thay phần class Fly và TeleportModule bên dưới vào code cũ của bạn.
    };

    // ... (giữ nguyên toàn bộ code từ đầu đến trước class Fly) ...

    class Fly extends Module {
        constructor() {
            super("Fly", "Movement", {
                "Vertical Speed": 5,
                "Horizontal Speed": 8   // thêm tùy chọn tốc độ ngang để bay mượt hơn
            });
            this.toggleKey = "KeyF";
            this.originalGravity = null;
            this.originalMoveSpeed = null;
            document.addEventListener("keydown", this.handleKeyPress.bind(this));
        }

        handleKeyPress(e) {
            if (e.code === this.toggleKey && !e.repeat) {
                this.toggle();
            }
        }

        onRender() {
            const player = hooks.A?.gameWorld?.player;
            if (!player) return;

            // Lưu giá trị gốc lần đầu
            if (this.originalGravity === null) {
                this.originalGravity = player.velocity.gravity;
                this.originalMoveSpeed = player.velocity.moveSpeed;
            }

            if (this.isEnabled) {
                player.velocity.gravity = 0;                    // tắt hoàn toàn trọng lực
                player.velocity.velVec3.y = 0;                  // reset y velocity mỗi frame

                const speed = parseFloat(this.options["Horizontal Speed"]) || 8;
                const vertSpeed = parseFloat(this.options["Vertical Speed"]) || 5;

                // Áp dụng velocity ngang theo input (mượt hơn)
                if (player.inputs.forward) player.velocity.velVec3.z = -speed;
                else if (player.inputs.backward) player.velocity.velVec3.z = speed;
                else player.velocity.velVec3.z *= 0.85; // giảm dần để mượt

                if (player.inputs.left) player.velocity.velVec3.x = -speed;
                else if (player.inputs.right) player.velocity.velVec3.x = speed;
                else player.velocity.velVec3.x *= 0.85;

                // Bay lên/xuống
                if (player.inputs.jump) {
                    player.velocity.velVec3.y = vertSpeed;
                } else if (player.inputs.crouch) {
                    player.velocity.velVec3.y = -vertSpeed;
                }

                // Sync position mạnh hơn để giảm rubberband
                if (player.physicsPosComp) {
                    player.physicsPosComp.copyPos(player.position);
                }
            }
        }

        onDisable() {
            const player = hooks.A?.gameWorld?.player;
            if (player) {
                if (this.originalGravity !== null) player.velocity.gravity = this.originalGravity;
                if (this.originalMoveSpeed !== null) player.velocity.moveSpeed = this.originalMoveSpeed;
                player.velocity.velVec3.y = 0;
            }
        }
    }

    // ... (giữ nguyên các class khác) ...

    class TeleportModule extends Module {
        constructor() {
            super("Teleport", "Misc");
            this.key = "KeyT";
            document.addEventListener("keydown", (e) => {
                if (e.code === this.key && !e.repeat) {
                    this.tpToSelectedBlock();
                }
            });
        }

        tp(x = 0, y = 0, z = 0, relative = true) {
            try {
                const player = hooks.A?.gameWorld?.player;
                if (!player) return;

                const position = player.position;

                if (relative) {
                    position.x += x;
                    position.y += y;
                    position.z += z;
                } else {
                    position.x = x;
                    position.y = y;
                    position.z = z;
                }

                // Sync mạnh để giảm rubberband
                if (player.physicsPosComp) {
                    player.physicsPosComp.copyPos(position);
                }

                // Cập nhật vị trí server-side giả lập (nếu game có)
                if (player.serverPosition) {
                    Object.assign(player.serverPosition, position);
                }

                console.log(`[Teleport] Đã TP đến: ${position.x.toFixed(1)}, ${position.y.toFixed(1)}, ${position.z.toFixed(1)}`);
            } catch (err) {
                console.warn("Teleport lỗi:", err);
            }
        }

        tpToSelectedBlock() {
            try {
                const gameWorld = hooks.A?.gameWorld;
                if (!gameWorld) return;

                // Tìm hệ thống outline/crosshair
                const outlineSystem = gameWorld.systemsManager?.activeSystems?.find(s => s?.currBlockPos || s?.intersectAndShow);
                if (!outlineSystem) return;

                outlineSystem.intersectAndShow?.(true, 500);

                if (outlineSystem.currBlockPos) {
                    const { x, y, z } = outlineSystem.currBlockPos;
                    this.tp(x + 0.5, y + 2, z + 0.5, false);   // +2 block để đứng trên
                }
            } catch (err) {
                console.warn("Lỗi TP đến block:", err);
            }
        }
    }

    // ... (phần module_moduleManager.init() giữ nguyên, chỉ thêm/đảm bảo Fly và TeleportModule được add) ...

    const module_moduleManager = {
        modules: {},
        addModules: function(...e) {
            for (const t of e) this.modules[t.name] = t
        },
        // ... giữ nguyên phần còn lại ...

        init() {
            this.addModules(
                new ArrayList(), 
                new Watermark(), 
                new ClickGUI(), 
                new Airjump(), 
                new Instabreak(), 
                new Nuker(), 
                new Nuker1(), 
                new AdBypass(), 
                new Fly(),                    // Fly đã sửa
                new Speed(), 
                new FreeHeadcoins(), 
                new FreeMinebucks(), 
                new FreeSpins(), 
                new Fill(), 
                new Chams(), 
                new FOVChanger(), 
                new Scaffold(), 
                new Killaura(), 
                new GunModifier(), 
                new Disabler(), 
                new GhostMode(), 
                new Aimbot(), 
                new NoClip(), 
                new HitAllModule(), 
                new TeleportModule(),        // Teleport đã sửa
                new NoFog(), 
                new CustomCrosshair(), 
                new HitModule(), 
                new KnockbackDisabler()
            );

            // ... giữ nguyên events.on("render") ...
            this.modules.Arraylist.enable();
            this.modules.Watermark.disable();
        }
    };

    class Minebuns {
        constructor() {
            this.version = "1.0.0";
            this.init();
        }
        init() {
            setInterval(() => events.emit("render"), 1000 / 60);
            document.addEventListener("keydown", (e) => events.emit("keydown", e.code));
            hooks.A.init();
            module_moduleManager.init();
            window.hooks = hooks.A;
        }
    }

    const main = new Minebuns();
})();