Greasy Fork is available in English.

autopress v1

try to take over the world!

// ==UserScript==
// @name autopress v1
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://evades.io/
// @grant none
// ==/UserScript==

let moveLockD = false, moveLockL = false, movePath = "R", A=true, Class="Aex";
document.addEventListener('keydown',(a)=>{
switch(a.keyCode){
case 220:
if(movePath == "R"&&Wload){n._send(new Uint8Array([16, 1, 26, 4, 8, 1, 16, 3]))}
else if(Wload){n._send(new Uint8Array([16, 1, 26, 4, 8, 1, 16, 1]))}
break;
}
});
let Wload = false;
let n=function(){};
WebSocket.prototype._send = WebSocket.prototype.send;
WebSocket.prototype.send = function(data){
if(this.url.indexOf('evades.io/api/game/connect?')+1 && this.url != n.url){
n=this; if(!Wload){Wload = true;}
}
this._send(data);
}
if(Class=="Cent"){setInterval(()=>{if(A&&Wload){n._send(new Uint8Array([16, 25, 26, 4, 8, 1, 16, 5]))}},49)}

window.light = 0