Evoworld.io cheat
当前为
// ==UserScript==
// @name Evoworld.io Cheat
// @namespace http://tampermonkey.net/
// @version 0.6
// @description Evoworld.io cheat
// @author You
// @license MIT
// @match https://evoworld.io/
// @icon https://www.google.com/s2/favicons?sz=64&domain=evoworld.io
// @grant none
// ==/UserScript==
(function() {
let ƒ = () => {
let overlayHTML = `
<div id="cheat">
EvoWorld.io Cheat
<div class="button" onclick="(function() { setInterval(function(){startBonus = true}, 1) })();">Exp bonus +30% (ExpHack)</div>
<div class="button" onclick="document.body.onkeyup = function(e) {if (e.keyCode == 81){ sendEmote(1); } if ( e.keyCode == 69){sendEmote(10);}};">Emoji hack (Buttons Q . E)</div>
<div class="button" onclick="setInterval(function(){if(imDead == true){playAgain()}}, 1)">Instant respawn</div>
<div class="button" onclick="document.addEventListener('keydown', (event) => {if (event.key == 'r') {game.canvas.click()}})">Holding jump (key r)</div>
Zoom<input type="range" min="1" max="2" value="1" step="0.01" style="accent-color:coral" id="Zoom">
<br>ViewPos<input type="range" min="1" max="100000" value="50000" step="0.1" style="accent-color:coral" id="Position">
<br><input type="input" value="Enter any level here(Visual)" id="anyLevel">
<br><input type="input" value="Enter any nick here(Visual)" id="anyNick">
<br>Toggle menu - y
</div>
<style>
#cheat {
z-index: 10;
position: absolute;
top: 320px;
left: 7px;
transition: 0.5s;
}
.button {
margin: auto;
background-color: #000000;
color: white;
font-size: 16px;
border: none;
padding: 8px;
border-radius: 6px;
transition: 0.15s;
}
</style>
`
function get(x){ return document.getElementById(x); };
let overlay = document.createElement("div");
overlay.innerHTML = overlayHTML;
document.body.appendChild(overlay);
document.body.appendChild(overlay);
let acc = get("accordian"),box = get ("cheat");box.style.opacity = "1"
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"}}})
let Game = {me:{zoom:undefined, visualNick:undefined,visualLevel:undefined},camera:{position:undefined}}
let slider = document.getElementById('Zoom')
slider.oninput = function() {
Game.me.zoom = this.value;
gameZoom = Game.me.zoom
}
let slider1 = document.getElementById('Position')
slider1.oninput = function() {
Game.camera.position = this.value
game.me.position.x = Game.camera.position
}
let input = document.getElementById('anyLevel')
input.oninput = function() {
Game.me.visualLevel = this.value;
game.me.level = Game.me.visualLevel;
}
let input1 = document.getElementById('anyNick')
input1.oninput = function() {
Game.me.visualNick = this.value;
game.me.nick = Game.me.visualNick;
}
}
ƒ();
if(!ƒ()) {
alert('Script\x20loaded\x20successfully');
}
else {
alert("Error!\x20Script\x20doesn't\x20work!\nError\x20code\x20:\x20302")
}
}
)();