Advertisement
JuanVillalbaModz14

JuanVillalbaModz

Apr 24th, 2016
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Skin hack
  3. // @version 1.0
  4. // @description Skin rotator slither.io
  5. // @author JVMODZYT
  6. // @match http://slither.io/// ==UserScript==
  7. // @name Skin hack
  8. // @version 1.0
  9. // @description Skin rotator for slither.io
  10. // @author JVMODZYT
  11. // @match http://slither.io/
  12. // @grant none
  13. // ==/UserScript==
  14.  
  15. (function() {
  16. 'use strict';
  17.  
  18. 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);
  19. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement