Noclip Client

Noclip Client is a dynamic cheat client for GoBattle.io. Join us! - https://discord.gg/yEweYTxFFD

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Noclip Client
// @namespace    http://tampermonkey.net/
// @version      2.0.13
// @description  Noclip Client is a dynamic cheat client for GoBattle.io. Join us! - https://discord.gg/yEweYTxFFD
// @author       Khanh vn
// @match        *://gobattle.io/*
// @match        *://alpha.gobattle.io/*
// @run-at       document-start
// @grant        none
// @license      All rights reserved. Do not reproduce without permission of the owners.
// @icon         
// ==/UserScript==

(function() {
    'use strict';

    // Tạo giao diện Menu
    const menuHTML = `
        <div id="gb-cheat-menu" style="position: fixed; top: 50px; left: 50px; width: 220px; background: rgba(0,0,0,0.8); color: white; padding: 10px; border-radius: 8px; z-index: 999999; font-family: monospace; font-size: 12px;">
            <div id="gb-menu-header" style="cursor: move; font-weight: bold; margin-bottom: 8px; border-bottom: 1px solid #555; padding-bottom: 4px;">GoBattle.io Menu</div>
            <button id="btn-noclip" style="width: 100%; margin-bottom: 5px; padding: 5px; background: #d9534f; border: none; color: white; cursor: pointer;">Noclip: OFF</button>
            <button id="btn-spawn-bot" style="width: 100%; padding: 5px; background: #0275d8; border: none; color: white; cursor: pointer;">Spawn Bot</button>
        </div>
    `;
    document.body.insertAdjacentHTML('beforeend', menuHTML);

    // Trạng thái tính năng
    let noclipState = false;

    // Xử lý sự kiện Noclip
    document.getElementById('btn-noclip').addEventListener('click', () => {
        noclipState = !noclipState;
        const btn = document.getElementById('btn-noclip');
        btn.innerText = `Noclip: ${noclipState ? 'ON' : 'OFF'}`;
        btn.style.background = noclipState ? '#5cb85c' : '#d9534f';
        
        // Chèn logic vô hiệu hóa va chạm của nhân vật tại đây
        // Ví dụ: nếu game dùng đối tượng player cục bộ, gán cờ bỏ qua va chạm
    });

    // Xử lý sự kiện Spawn Bot
    document.getElementById('btn-spawn-bot').addEventListener('click', () => {
        alert("Đang gửi lệnh tạo bot giả lập kết nối WebSocket...");
        // Chèn logic khởi tạo đối tượng WebSocket mới hoặc nhân bản gói tin gia nhập phòng tại đây
    });

    // Kéo thả menu đơn giản
    const menu = document.getElementById('gb-cheat-menu');
    let isDragging = false, offsetX, offsetY;
    menu.addEventListener('mousedown', (e) => {
        isDragging = true;
        offsetX = e.clientX - menu.offsetLeft;
        offsetY = e.clientY - menu.offsetTop;
    });
    document.addEventListener('mousemove', (e) => {
        if (isDragging) {
            menu.style.left = (e.clientX - offsetX) + 'px';
            menu.style.top = (e.clientY - offsetY) + 'px';
        }
    });
    document.addEventListener('mouseup', () => { isDragging = false; });
})();