Sword Masters.io Ultimate Speed & Attack Hack

Hack tăng tốc độ di chuyển và tốc độ đánh cho Sword Masters.io với menu điều chỉnh trực tiếp.

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         Sword Masters.io Ultimate Speed & Attack Hack
// @namespace    http://tampermonkey.net/
// @version      6.0
// @description  Hack tăng tốc độ di chuyển và tốc độ đánh cho Sword Masters.io với menu điều chỉnh trực tiếp.
// @author       Developer
// @match        *://swordmasters.io/*
// @match        *://*.swordmasters.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=swordmasters.io
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function() {
    'use strict';

    // Mặc định ban đầu để 25000x theo yêu cầu của bạn
    let SPEED_MULTIPLIER = 25000;

    // Lưu lại các hàm đếm thời gian gốc của trình duyệt
    const originalNow = window.performance.now.bind(window.performance);
    const originalDateNow = Date.now;
    const OriginalDate = window.Date;

    // Mốc thời gian bắt đầu hack
    const startPerformanceTime = originalNow();
    const startDatePercent = originalDateNow();

    // 1. Hack bộ đếm performance
    window.performance.now = function() {
        return startPerformanceTime + (originalNow() - startPerformanceTime) * SPEED_MULTIPLIER;
    };

    // 2. Hack bộ đếm Date.now() 
    Date.now = function() {
        return startDatePercent + (originalDateNow() - startDatePercent) * SPEED_MULTIPLIER;
    };

    // 3. Hack đối tượng new Date()
    function HookedDate(...args) {
        if (args.length === 0) {
            return new OriginalDate(startDatePercent + (originalDateNow() - startDatePercent) * SPEED_MULTIPLIER);
        }
        return new OriginalDate(...args);
    }
    HookedDate.prototype = OriginalDate.prototype;
    HookedDate.now = Date.now;
    HookedDate.UTC = OriginalDate.UTC;
    HookedDate.parse = OriginalDate.parse;
    window.Date = HookedDate;

    // --- TẠO MENU ĐIỀU CHỈNH TRÊN MÀN HÌNH GAME ---
    function createHackMenu() {
        const menu = document.createElement('div');
        menu.style.position = 'fixed';
        menu.style.top = '10px';
        menu.style.right = '10px';
        menu.style.zIndex = '99999';
        menu.style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
        menu.style.color = '#fff';
        menu.style.padding = '12px';
        menu.style.borderRadius = '8px';
        menu.style.fontFamily = 'Arial, sans-serif';
        menu.style.border = '2px solid #ff0055';
        menu.style.boxShadow = '0 0 10px #ff0055';

        // Tiêu đề
        const title = document.createElement('div');
        title.innerText = '⚔️ SWORD MASTERS MENU ⚔️';
        title.style.fontWeight = 'bold';
        title.style.textAlign = 'center';
        title.style.marginBottom = '8px';
        title.style.color = '#ff0055';
        menu.appendChild(title);

        // Hiển thị tốc độ hiện tại
        const speedDisplay = document.createElement('div');
        speedDisplay.id = 'speed-display';
        speedDisplay.innerText = `Tốc độ hiện tại: ${SPEED_MULTIPLIER}x`;
        speedDisplay.style.fontSize = '13px';
        speedDisplay.style.marginBottom = '8px';
        speedDisplay.style.textAlign = 'center';
        menu.appendChild(speedDisplay);

        // Hàm cập nhật tốc độ nhanh
        function setSpeed(value) {
            SPEED_MULTIPLIER = value;
            speedDisplay.innerText = `Tốc độ hiện tại: ${SPEED_MULTIPLIER}x`;
            console.log(`[Sword Masters] Đã chuyển tốc độ sang: ${value}x`);
        }

        // Nút chỉnh nhanh các mức tốc độ
        const btnContainer = document.createElement('div');
        btnContainer.style.display = 'flex';
        btnContainer.style.gap = '5px';

        const speeds = [1500, 5000, 25000];
        speeds.forEach(s => {
            const btn = document.createElement('button');
            btn.innerText = `${s}x`;
            btn.style.flex = '1';
            btn.style.background = '#222';
            btn.style.color = '#fff';
            btn.style.border = '1px solid #ff0055';
            btn.style.padding = '5px';
            btn.style.cursor = 'pointer';
            btn.style.borderRadius = '4px';
            btn.onclick = () => setSpeed(s);
            btnContainer.appendChild(btn);
        });

        menu.appendChild(btnContainer);
        document.body.appendChild(menu);
    }

    // Đợi game tải xong giao diện rồi hiện Menu điều khiển
    if (document.readyState === 'loading') {
        document.addEventListener('DOMContentLoaded', createHackMenu);
    } else {
        createHackMenu();
    }

    console.log("%c[Sword Masters Hack] Đã kích hoạt siêu tốc độ 25000x thành công!", "color: #ff0055; font-size: 16px; font-weight: bold;");
})();