maca client cryzen.io

W rizz

目前為 2025-02-11 提交的版本,檢視 最新版本

// ==UserScript==
// @name         maca client cryzen.io
// @namespace    http://tampermonkey.net/
// @version      1.3
// @description  W rizz
// @author       maca
// @match        https://cryzen.io/
// @icon         none
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    // Variabili per lo stato del menu e delle funzionalità
    let menuOpen = false;
    let espEnabled = false;
    let aimBotEnabled = false;
    let autoFireEnabled = false;

    // Aggiungi il menu HTML
    const menuHTML = `
        <div id="menu" style="position: absolute; top: 50px; left: 50px; background-color: rgba(0, 0, 0, 0.7); padding: 10px; border-radius: 5px; display: none;">
            <h2 style="color: white;">maca client cryzen.io</h2>
            <button onclick="toggleESP()">Toggle ESP</button><br>
            <button onclick="toggleAimBot()">Toggle Aim Bot</button><br>
            <button onclick="toggleAutoFire()">Toggle Auto Fire</button><br>
            <button onclick="closeMenu()">Close Menu</button>
        </div>
    `;
    document.body.insertAdjacentHTML('beforeend', menuHTML);

    // Funzioni per il toggle del menu
    function toggleMenu() {
        menuOpen = !menuOpen;
        document.getElementById("menu").style.display = menuOpen ? "block" : "none";
    }

    // Funzioni per abilitare/disabilitare le opzioni
    function toggleESP() {
        espEnabled = !espEnabled;
        alert("ESP " + (espEnabled ? "Enabled" : "Disabled"));
        if (espEnabled) {
            startESP();
        } else {
            stopESP();
        }
    }

    function toggleAimBot() {
        aimBotEnabled = !aimBotEnabled;
        alert("Aim Bot " + (aimBotEnabled ? "Enabled" : "Disabled"));
    }

    function toggleAutoFire() {
        autoFireEnabled = !autoFireEnabled;
        alert("Auto Fire " + (autoFireEnabled ? "Enabled" : "Disabled"));
    }

    function closeMenu() {
        menuOpen = false;
        document.getElementById("menu").style.display = "none";
    }

    // Funzione per abilitare ESP
    function startESP() {
        const enemies = document.querySelectorAll('.enemy'); // Cambia 'enemy' con la classe reale
        enemies.forEach(enemy => {
            enemy.style.border = "2px solid red"; // Modifica l'aspetto dell'ESP
        });
    }

    // Funzione per disabilitare ESP
    function stopESP() {
        const enemies = document.querySelectorAll('.enemy'); // Cambia 'enemy' con la classe reale
        enemies.forEach(enemy => {
            enemy.style.border = "none"; // Ripristina l'aspetto normale
        });
    }

    // Funzione per il bot della mira (aim bot)
    function aimBot() {
        if (aimBotEnabled) {
            const enemies = document.querySelectorAll('.enemy'); // Cambia 'enemy' con la classe reale
            if (enemies.length > 0) {
                const closestEnemy = enemies[0]; // Seleziona il primo nemico (puoi migliorarlo per scegliere il più vicino)
                const enemyRect = closestEnemy.getBoundingClientRect();
                const centerX = enemyRect.left + enemyRect.width / 2;
                const centerY = enemyRect.top + enemyRect.height / 2;

                // Muovi la mira verso il nemico
                const mouseEvent = new MouseEvent('mousemove', {
                    clientX: centerX,
                    clientY: centerY
                });
                document.dispatchEvent(mouseEvent);

                if (autoFireEnabled) {
                    const clickEvent = new MouseEvent('click', { bubbles: true });
                    document.dispatchEvent(clickEvent);
                }
            }
        }
    }

    // Loop per il bot della mira
    setInterval(aimBot, 50); // Controlla il bot ogni 50ms

    // Aggiungi l'evento per aprire/chiudere il menu con il tasto 'M'
    window.addEventListener('keydown', function(event) {
        if (event.key === 'm' || event.key === 'M') {
            toggleMenu();
        }
    });

})();