Slither.io skin rotator

Skin rotator for slither.io

ผู้เขียน
X_ank RBLX
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
1,195
คะแนน
0 0 0
เวอร์ชัน
1.0
สร้างเมื่อ
21-07-2017
อัปเดตเมื่อ
21-07-2017
Size
508 ไบต์
สัญญาอนุญาต
ไม่มี
ปรับใช้กับ

// ==UserScript==
// @name Slither.io skin rotator
// @version 1.0
// @description Skin rotator for slither.io
// @author Ploid720
// @match http://slither.io/
// @grant none
// ==/UserScript==

(function() {
'use strict';

var loopTheLoop = true; var nextSkin = 0; var theLoop = setInterval(function() { if (loopTheLoop) { if (nextSkin > 25) nextSkin = 0; if (snake !== null) setSkin(snake, nextSkin); nextSkin++; } else { clearInterval(theLoop); } }, 400);
})();