Scrub Settings

Macro mass and auto custom settings

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 or Violentmonkey 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         Scrub Settings
// @namespace    https://github.com/DaFudgeWizzad
// @version      Cancer
// @description  Macro mass and auto custom settings
// @author       DaFudgeWizzad
// @match        http://agar.io/*
// @grant        none
// ==/UserScript==

(function() {
    var amount = 9;
    var duration = 50; //ms

    var overwriting = function(evt) {
        if (evt.keyCode === 69) { // KEY_W
            for (var i = 0; i < amount; ++i) {
                setTimeout(function() {
                    window.onkeydown({keyCode: 87}); // KEY_W
                    window.onkeyup({keyCode: 87});
                }, i * duration);
            }
        }
    };

    window.addEventListener('keydown', overwriting);
})();
setNoSkins(false);
setNoNames(false);
setNoColors(false);
setShowMass(true);
setDarkTheme(true);
setSkipStats(true);
setAcid(false);
setShowChart(false);
setColorlessViruses(false);
(end);