Greasy Fork is available in English.

Paper.io Mod Menu

Mod menu for Paper.io

// ==UserScript==
// @name         Paper.io Mod Menu
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Mod menu for Paper.io
// @author       ClumsyLulz Taylor Christian Newsome
// @match        https://paper-io.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Create and append the mod menu HTML
    let modMenuHTML = `
    <div id="modMenu" style="position: absolute; top: 20px; left: 20px; z-index: 9999; background: white; padding: 10px; border: 1px solid black;">
        <h2>Mod Menu</h2>
        <hr>
        <label><input type="checkbox" id="godModeCheckbox"> God Mode</label><br>
        <label><input type="checkbox" id="speedHackCheckbox"> Speed Hack</label><br>
        <label><input type="checkbox" id="autoKillCheckbox"> Auto Kill</label><br>
        <button id="applyButton">Apply</button>
    </div>
    `;
    
    let modMenu = document.createElement('div');
    modMenu.innerHTML = modMenuHTML;
    document.body.appendChild(modMenu);

    // Apply button functionality
    document.getElementById('applyButton').addEventListener('click', function() {
        let godMode = document.getElementById('godModeCheckbox').checked;
        let speedHack = document.getElementById('speedHackCheckbox').checked;
        let autoKill = document.getElementById('autoKillCheckbox').checked;

        if (godMode) {
            // Implement God Mode functionality
            // e.g., increase health, invincibility, etc.
        }

        if (speedHack) {
            // Implement Speed Hack functionality
            // e.g., faster movement speed
        }

        if (autoKill) {
            // Implement Auto Kill functionality
            // e.g., automatically eliminate nearby enemies
        }
    });
})();