Skin Changer After Patch

A skin changer for the web game agario

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name Skin Changer After Patch
// @namespace Fantasy
// @grant none
// @description A skin changer for the web game agario
// @version 1.1.0
// @match agar.io
// ==/UserScript==
/////////////////////////*Options*///////////////////////// 
var skinChanger = true; /* Turn Changer on or off */////
var switchTime = 0; /*Time between skin switch change*/
//////////////////////////////////////////////////////

if (switchTime === 0) { // Restrict 0 for less lag
   switchTime = 1
}

if (skinChanger === true) { // Start skin change process
			Array.prototype.random = function() {
				return this[Math.floor((Math.random() *
					this.length))];
			}
			skins = ['alien1', 'alien2',
				'alien3', 'apple', 'appleface',
				'aprilfool', 'army', 'astronaut',
				'badger', 'blackhole', 'dragon',
				'grey', 'nuclear', 'cia',
			]

// Loop 
			var loop = setInterval(function() {
                // Set nickname and spawn
				MC.setNick(skins.random()); 
// Load skins

				core.registerSkin('alien1', null,
					'http://agarfantasy.esy.es/skins/Alien2_Gamma.png',
					1, null);

				core.registerSkin('alien2', null,
					'http://agarfantasy.esy.es/skins/Alien2_Neila.png',
					1, null);

				core.registerSkin('alien3', null,
					'http://agarfantasy.esy.es/skins/Alien2_Omicron.png',
					1, null);

				core.registerSkin('apple', null,
					'http://agarfantasy.esy.es/skins/Apple.png',
					1, null);

				core.registerSkin('appleface',
					null,
					'http://agarfantasy.esy.es/skins/Apple_Face.png',
					1, null);

				core.registerSkin('aprilfool',
					null,
					'http://agarfantasy.esy.es/skins/AprilFool.png',
					1, null);

				core.registerSkin('army', null,
					'http://agarfantasy.esy.es/skins/Army.png',
					1, null);

				core.registerSkin('astronaut',
					null,
					'http://agarfantasy.esy.es/skins/Astronaut.png',
					1, null);
				core.registerSkin('badger', null,
					'http://agarfantasy.esy.es/skins/Autumn_Badger.png',
					1, null);
				core.registerSkin('bannana', null,
					'http://agarfantasy.esy.es/skins/Banana.png',
					1, null);
				core.registerSkin('blackhole',
					null,
					'http://agarfantasy.esy.es/skins/Blackhole.png',
					1, null);
				core.registerSkin('dragon', null,
					'http://agarfantasy.esy.es/skins/Dragon.png',
					1, null);
				core.registerSkin('grey', null,
					'http://agarfantasy.esy.es/skins/Grey.png',
					1, null);
				core.registerSkin('nuclear', null,
					'http://agarfantasy.esy.es/skins/Nuclear.png',
					1, null);
				core.registerSkin('cia', null,
					'http://agarfantasy.esy.es/skins/birthday_cia.png',
					1, null);
				core.registerSkin('doge', null,
					'http://agarfantasy.esy.es/skins/birthday_doge.png',
					1, null);
			}, switchTime * 1000) // Get switchTime multiply by 1000
}