Noclip Client is a dynamic cheat client for GoBattle.io. Join us! - https://discord.gg/yEweYTxFFD
// ==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; });
})();