autorespawn using a new method after the update
נכון ליום
// ==UserScript==
// @name AutoRespawn (NEW METHOD)
// @namespace http://tampermonkey.net/
// @version 0.0.1
// @description autorespawn using a new method after the update
// @author You
// @match https://diep.io/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=diep.io
// @grant none
// @license MIT
// ==/UserScript==
let state = "idk yet";
//set name here
let name = "h3llside";
function check_state(){
switch(input.doesHaveTank()){
case 0:
state = "in menu";
input.try_spawn(name);
break
case 1:
state = "in game";
break
}
console.log(state);
}
setInterval(check_state, 100);