Auto Spawn V2

diep.io

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Auto Spawn V2
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  diep.io
// @author       Tariteur
// @match        https://diep.io/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=diep.io
// @grant        none
// ==/UserScript==

function Spawn(name) {
		input.execute('game_spawn ' + name);
	}

    let AR = false;
    function autoRespawn() {
        if (AR) {
        Spawn(localStorage.name)
        }
    }
    setInterval(autoRespawn, 0);
document.addEventListener("keydown", (yes) => {
        if (yes.keyCode === 84) {
            AR = !AR;
            Hook.recv(new Uint8Array([3, ...new TextEncoder().encode(`Auto Spawn: ${AR ? 'Activated' : 'Deactivated'}`), 0, ...new Uint8Array(new Uint32Array([0x0500ff]).buffer), ...new Uint8Array(new Float32Array([2000]).buffer), 0]))
    }
});