lol375090

code

Feb 7th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Slither.io skin rotator
  3. // @version 1.0
  4. // @description Skin rotator for slither.io
  5. // @author Ploid720
  6. // @match http://slither.io/
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. (function() {
  11. 'use strict';
  12.  
  13. 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);
  14. })();
Add Comment
Please, Sign In to add comment