Greasy Fork is available in English.

Bloxd.io Dev Special Tools Private but Got Public for Banning Random People

Adds custom features like Fly, ESP, X-Ray, Anti-Ban, Aimbot, and Warning

// ==UserScript==
// @name         Bloxd.io Dev Special Tools Private but Got Public for Banning Random People
// @namespace    http://tampermonkey.net/
// @version      1.4
// @description  Adds custom features like Fly, ESP, X-Ray, Anti-Ban, Aimbot, and Warning
// @author       You
// @match        https://bloxd.io/
// @grant        none
// @run-at       document-end
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // Warning screen with Andrew Tate background
    const warnContainer = document.createElement('div');
    warnContainer.style.position = 'fixed';
    warnContainer.style.top = '0';
    warnContainer.style.left = '0';
    warnContainer.style.width = '100%';
    warnContainer.style.height = '100%';
    warnContainer.style.backgroundImage = 'url("https://tse2.mm.bing.net/th?id=OIP.VaIfBulWjKGixh6nv77KnQHaHa&pid=Api")';
    warnContainer.style.backgroundSize = 'cover';
    warnContainer.style.zIndex = '10000';
    warnContainer.style.display = 'flex';
    warnContainer.style.justifyContent = 'center';
    warnContainer.style.alignItems = 'center';
    warnContainer.style.opacity = '1';
    warnContainer.style.transition = 'opacity 3s ease'; // Fade-out in 3 seconds

    const warnBox = document.createElement('div');
    warnBox.style.backgroundColor = 'rgba(0, 0, 0, 0.7)';
    warnBox.style.color = 'red';
    warnBox.style.padding = '20px';
    warnBox.style.borderRadius = '10px';
    warnBox.style.textAlign = 'center';
    warnBox.style.boxShadow = '0 0 15px rgba(0, 0, 0, 0.8)';

    const warnTitle = document.createElement('h1');
    warnTitle.textContent = 'WARN';
    warnBox.appendChild(warnTitle);

    const warnMessage = document.createElement('p');
    warnMessage.textContent = 'These mods are so dead so watch out';
    warnBox.appendChild(warnMessage);

    const closeButton = document.createElement('button');
    closeButton.textContent = 'Close';
    closeButton.style.marginTop = '10px';
    closeButton.style.padding = '10px';
    closeButton.style.border = 'none';
    closeButton.style.backgroundColor = 'red';
    closeButton.style.color = 'white';
    closeButton.style.fontSize = '16px';
    closeButton.style.borderRadius = '5px';
    closeButton.style.cursor = 'pointer';
    closeButton.style.transition = 'transform 0.3s ease, opacity 0.3s ease';

    closeButton.addEventListener('click', () => {
        closeButton.style.transform = 'scale(1.05)';
        closeButton.style.opacity = '0.8';

        warnContainer.style.opacity = '0'; // Gradual fade-out

        setTimeout(() => {
            document.body.removeChild(warnContainer); // Remove after fading out
        }, 3000); // Match the new fade-out duration (3 seconds)
    });

    warnBox.appendChild(closeButton);
    warnContainer.appendChild(warnBox);
    document.body.appendChild(warnContainer);

    // Create the GUI container
    const gui = document.createElement('div');
    gui.style.position = 'fixed';
    gui.style.top = '10px';
    gui.style.left = '10px';
    gui.style.backgroundColor = 'black';
    gui.style.color = 'white';
    gui.style.padding = '10px';
    gui.style.border = '2px solid white';
    gui.style.borderRadius = '8px';
    gui.style.zIndex = '10001';
    gui.style.width = '200px';
    gui.style.cursor = 'move';

    let isDragging = false;
    let offsetX, offsetY;

    gui.addEventListener('mousedown', (e) => {
        isDragging = true;
        offsetX = e.clientX - gui.getBoundingClientRect().left;
        offsetY = e.clientY - gui.getBoundingClientRect().top;
    });

    document.addEventListener('mousemove', (e) => {
        if (isDragging) {
            gui.style.left = `${e.clientX - offsetX}px`;
            gui.style.top = `${e.clientY - offsetY}px`;
        }
    });

    document.addEventListener('mouseup', () => {
        isDragging = false;
    });

    const refreshButton = document.createElement('button');
    refreshButton.textContent = 'Refresh Page';
    refreshButton.style.margin = '5px';
    refreshButton.style.padding = '5px';
    refreshButton.style.backgroundColor = 'gray';
    refreshButton.style.color = 'white';
    refreshButton.style.border = 'none';
    refreshButton.style.borderRadius = '5px';
    refreshButton.style.cursor = 'pointer';

    refreshButton.addEventListener('click', () => {
        location.reload();
    });

    gui.appendChild(refreshButton);

    // Fly button
    const flyButton = document.createElement('button');
    flyButton.textContent = 'Fly';
    flyButton.style.margin = '5px';
    flyButton.style.padding = '5px';
    flyButton.style.backgroundColor = 'gray';
    flyButton.style.color = 'white';
    flyButton.style.border = 'none';
    flyButton.style.borderRadius = '5px';
    flyButton.style.cursor = 'pointer';

    let isFlying = false;
    flyButton.addEventListener('click', () => {
        isFlying = !isFlying;
        if (isFlying) {
            document.body.style.transform = 'translateY(-200px)';
        } else {
            document.body.style.transform = 'translateY(0)';
        }
    });

    gui.appendChild(flyButton);

    // X-Ray button
    const xrayButton = document.createElement('button');
    xrayButton.textContent = 'X-Ray';
    xrayButton.style.margin = '5px';
    xrayButton.style.padding = '5px';
    xrayButton.style.backgroundColor = 'gray';
    xrayButton.style.color = 'white';
    xrayButton.style.border = 'none';
    xrayButton.style.borderRadius = '5px';
    xrayButton.style.cursor = 'pointer';

    xrayButton.addEventListener('click', () => {
        const blocks = document.querySelectorAll('.block'); // Adjust for actual block selector
        blocks.forEach(block => {
            block.style.opacity = '0.2'; // Make blocks semi-transparent
            block.style.outline = '3px solid red'; // Highlight with red
        });
        alert('X-Ray activated!');
    });

    gui.appendChild(xrayButton);

    // ESP button
    const espButton = document.createElement('button');
    espButton.textContent = 'ESP';
    espButton.style.margin = '5px';
    espButton.style.padding = '5px';
    espButton.style.backgroundColor = 'gray';
    espButton.style.color = 'white';
    espButton.style.border = 'none';
    espButton.style.borderRadius = '5px';
    espButton.style.cursor = 'pointer';

    let espEnabled = false;
    espButton.addEventListener('click', () => {
        espEnabled = !espEnabled;
        const players = document.querySelectorAll('.player'); // Adjust for actual player selector
        players.forEach(player => {
            if (espEnabled) {
                player.style.outline = '3px solid red';
                player.style.backgroundColor = 'rgba(255, 0, 0, 0.3)';
            } else {
                player.style.outline = '';
                player.style.backgroundColor = '';
            }
        });
        alert(`ESP ${espEnabled ? 'activated' : 'deactivated'}`);
    });

    gui.appendChild(espButton);

    // Aimbot button
    const aimbotButton = document.createElement('button');
    aimbotButton.textContent = 'Aimbot';
    aimbotButton.style.margin = '5px';
    aimbotButton.style.padding = '5px';
    aimbotButton.style.backgroundColor = 'gray';
    aimbotButton.style.color = 'white';
    aimbotButton.style.border = 'none';
    aimbotButton.style.borderRadius = '5px';
    aimbotButton.style.cursor = 'pointer';

    let aimbotEnabled = false;
    aimbotButton.addEventListener('click', () => {
        aimbotEnabled = !aimbotEnabled;
        if (aimbotEnabled) {
            // Implement aimbot targeting logic here (this is a simplified version)
            alert('Aimbot activated!');
        } else {
            alert('Aimbot deactivated!');
        }
    });

    gui.appendChild(aimbotButton);

    // Append the GUI to the body
    document.body.appendChild(gui);
})();