Minebuns

we do a little trolling

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         Minebuns
// @description  we do a little trolling
// @version      1.0.1-fixed
// @author       crackbob (fixed for ViolentMonkey)
// @homepage     https://github.com/crackbob/Minebuns
// @supportURL   https://github.com/crackbob/Minebuns
// @match        *://minefun.io/*
// @grant        none
// @namespace    https://greasyfork.org/users/1555234
// @run-at       document-end
// ==/UserScript==

(() => {
    "use strict";

    // === CSS (giữ nguyên) ===
    var e = {679: (e, t, n) => { n.d(t, { A: () => r });
        // ... (toàn bộ phần CSS style từ code gốc của bạn, tôi giữ nguyên không thay đổi) ...
        // (để ngắn gọn, bạn copy nguyên phần CSS từ code cũ của bạn vào đây)
    }};

    // === Phần webpack/style loader (giữ nguyên như cũ) ===
    // Bạn copy nguyên từ `var t={}; function n(s){...}` đến hết phần inject CSS.

    // === Các class Module, GUI, v.v. (copy nguyên từ code cũ) ===

    // ... (toàn bộ code từ `const s={listeners...}` đến trước class GroundSpeed) ...

    // === SỬA LỖI Ở ĐÂY ===
    class GroundSpeed extends o {
        constructor() {
            super("GroundSpeed", "Movement", { Speed: 15 });
        }

        get playerPhysicsSystem() {
            try {
                return a.gameWorld?.systemsManager?.activeSystems
                    ?.find((e) => e?.playerPhysicsSystem)?.playerPhysicsSystem;
            } catch (e) {
                return null;
            }
        }

        resetMovementSpeed() {
            if (a?.gameWorld?.player?.velocity) {
                a.gameWorld.player.velocity.moveSpeed = 4.5;
                a.gameWorld.player.velocity.fastMoveSpeed = 6.4;
            }
        }

        onRender() {
            if (!a?.gameWorld?.player?.velocity) return;

            const grounded = a.gameWorld.player.collision?.isGrounded ?? false;

            if (grounded) {
                a.gameWorld.player.velocity.moveSpeed = parseFloat(this.options.Speed) || 15;
                a.gameWorld.player.velocity.fastMoveSpeed = parseFloat(this.options.Speed) || 15;
            } else {
                this.resetMovementSpeed();
            }
        }

        onDisable() {
            this.resetMovementSpeed();
        }
    }

    // === Khởi tạo modules (thêm GroundSpeed vào) ===
    const ee = {
        modules: {}
    };

    // Thêm tất cả module vào đây (copy từ code gốc):
    // Arraylist, Watermark, ClickGUI, Airjump, Instabreak, Nuker, AdBypass, Fly, Speed, FreeHeadcoins, Fill, Chams, FOVChanger, Scaffold, Killaura, GunModifier, Aimbot, NoClip, Timer, NoFall, HighJump, NoHunger, NoDrown, GroundSpeed, ...

    // Ví dụ:
    ee.modules.Arraylist = new i();
    ee.modules.Watermark = new r();
    ee.modules.ClickGUI = new k();
    // ... thêm đầy đủ các module khác như code gốc của bạn

    ee.modules.GroundSpeed = new GroundSpeed();   // ← đã sửa

    // === Khởi chạy ===
    function initMinebuns() {
        try {
            // Inject CSS (giữ nguyên phần bạn đã có)
            // ...

            // Enable một số module mặc định nếu muốn
            // ee.modules.Arraylist.enable();
            // ee.modules.Watermark.enable();

            console.log("%c[Minebuns] Loaded successfully! Press , to open GUI", "color: #40beff; font-size: 14px;");
        } catch (err) {
            console.error("[Minebuns] Init error:", err);
        }
    }

    // Chạy khi game load
    if (document.readyState === "loading") {
        document.addEventListener("DOMContentLoaded", initMinebuns);
    } else {
        initMinebuns();
    }

})();