Evoworld.io Hack menu

Cheats for EvoWorld.io

// ==UserScript==
// @name         Evoworld.io Hack menu
// @namespace    http://tampermonkey.net/
// @version      1.9
// @description  Cheats for EvoWorld.io
// @author       not you
// @license      MIT
// @match        https://evoworld.io/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=evoworld.io
// @grant        none
// ==/UserScript==

(function() {
    alert ('open / close menu on Insert / Y. You can move the menu!')
    let cheatMenuHTML = `
    <div id="cheatMenu" style="position: absolute; top: 30px; left: 20px; z-index: 9999; background: white; padding: 10px; border: 1px solid black;"><li style="background:#808080;">
        <h>-----------------------------------CHEAT-----------------------------------<h>
        <hr>
        <label><input type="checkbox" id="ExpHackCheckbox"> Exp bonus +30%</label>
        <label><input type="checkbox" id="EmojiCheckbox"> Emoji Hack (Buttons Q , E)</label><br>
        <label><input type="checkbox" id="PremiumCheckbox"> 30 minutes in clouds (Visual)</label>
        <label><input type="checkbox" id="SmoothCheckbox"> Smooth movement</label><br>
        <button id="injectButton">Inject</button>
        <hr>
        <label><input type="button" value="Print screen (may not work)" onclick="print()"></br>
        <label><input type="button" value="Show all bonus codes" onclick="alert ('SkyBS, Nortos, xxostepolse64, Plaxer1, JeromeASF, imdamacik')">
        <br><label><input type="button" value="Sharp movement" onclick="game.maxInterpolateDistanceTeleport = 0"></br>
        <label><input type="button" value="Normal movement" onclick="game.maxInterpolateDistanceTeleport = 350">
        <br><label><input type="button" value="Minimum zoom" onclick="gameZoom -= 100">
        <label><input type="button"  value="Maximum zoom" onclick="gameZoom += 100">
        <hr><font color="black">Enter your height - x (Visual)</font>
        <br><font color="black">Enter your level - r (Visual)</font>
        <br><font color="black">Enter your nick - j (Visual)</font>
        <br><font color="black">Enter your zoom - h</font>
        <hr><font color="black">Show your hp - B</font>
        <hr><font color="black">Open / close menu - Insert / Y</font>
        <br><font color="black">You can move the menu!</font>
        </div>
    `;
    function get(x) { return document.getElementById(x);}
    let cheatMenu = document.createElement('div');
    cheatMenu.innerHTML = cheatMenuHTML;
    document.body.appendChild(cheatMenu);
    let acc = get("accordian"),box = get ("cheatMenu");box.style.opacity = "1"
    document.addEventListener('keydown', (event) => {if (event.key === 'Insert') {
    let opac = box.style.opacity; if(opac == 1) {
    box.style.opacity = "0";}else {box.style.opacity = "1"}}})
    document.body.appendChild(cheatMenu);
    document.addEventListener('keydown', (event) => {if (event.keyCode == 89) {
    let opac = box.style.opacity; if(opac == 1) {
    box.style.opacity = "0";}else {box.style.opacity = "1"}}})
    dragElement(document.getElementById("cheatMenu"));

function dragElement(elmnt) {
  var pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
  if (document.getElementById(elmnt.id + "header")) {
    // если присутствует, заголовок - это место, откуда вы перемещаете DIV:
    document.getElementById(elmnt.id + "header").onmousedown = dragMouseDown;
  } else {
    // в противном случае переместите DIV из любого места внутри DIV:
    elmnt.onmousedown = dragMouseDown;
  }

  function dragMouseDown(e) {
    e = e || window.event;
    e.preventDefault();
    // получить положение курсора мыши при запуске:
    pos3 = e.clientX;
    pos4 = e.clientY;
    document.onmouseup = closeDragElement;
    // вызов функции при каждом перемещении курсора:
    document.onmousemove = elementDrag;
  }

  function elementDrag(e) {
    e = e || window.event;
    e.preventDefault();
    // вычислить новую позицию курсора:
    pos1 = pos3 - e.clientX;
    pos2 = pos4 - e.clientY;
    pos3 = e.clientX;
    pos4 = e.clientY;
    // установите новое положение элемента:
    elmnt.style.top = (elmnt.offsetTop - pos2) + "px";
    elmnt.style.left = (elmnt.offsetLeft - pos1) + "px";
  }

  function closeDragElement() {
    // остановка перемещения при отпускании кнопки мыши:
    document.onmouseup = null;
    document.onmousemove = null;
  }
}

document.getElementById('injectButton').addEventListener('click', function() {
        let expHack = document.getElementById('ExpHackCheckbox').checked;
        let emojiHack = document.getElementById('EmojiCheckbox').checked;
        let SmoothMod = document.getElementById('SmoothCheckbox').checked;
        let Premium = document.getElementById('PremiumCheckbox').checked;
        alert('Successfully!')

        if (expHack) {
            setInterval(function(){startBonus = 1}, 1)
        }
if (emojiHack) {
let i_i = 0;
let inj = false;
const interval = setInterval(() => {
{
document.body.onkeyup = function(e) {
if (e.keyCode == 81){
sendEmote(1);
}
if ( e.keyCode == 69){
sendEmote(10);
}}}}, );
        }
        if (SmoothMod) {
           game.maxInterpolateDistanceTeleport = 3500
        }
        if (Premium) {
        game.me.premium = true



        }

    });
    document.addEventListener('keydown', function(event)
   {if(event.key === 'x') {
   var height = prompt('Enter your height')
   {
   game.me.height = height;
   }
}});
    document.addEventListener('keydown', function(event)
   {if(event.key === 'r') {
   var level = prompt('Enter your level')
   {
   game.me.level = level;
   }
}});
   document.addEventListener('keydown', function(event)
   {if(event.key === 'j') {
   var nick = prompt('Enter your nick')
   {
   game.me.nick = nick;
   }
}});
        document.addEventListener('keydown', function(event)
   {if(event.key === 'h') {
   var zoom = prompt('Enter your zoom')
   {
   gameZoom = zoom;
   }
}});
        document.addEventListener('keydown', function(event)
   {if(event.key === 'b') {
   {
   alert(game.me.hp);
   }
}});
})();