Useless Egg Count

Egg Count Abuse

  1. // ==UserScript==
  2. // @name Useless Egg Count
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Egg Count Abuse
  6. // @author Jayvan
  7. // @match https://shellshock.io/
  8. // @icon https://cdn1.iconfinder.com/data/icons/logos-brands-in-colors/231/among-us-player-white-512.png
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. setInterval(function() {
  13. var random;
  14. function genNumber() {
  15. random = Math.floor(Math.random() * 1000000);
  16. return random;
  17. };
  18. genNumber();
  19. while(random % 5 !== 0) {
  20. genNumber();
  21. }
  22. document.getElementById('account_top').getElementsByClassName('egg_count')[0].innerHTML = random;
  23. document.getElementById('equip_screen').getElementsByClassName('egg_count')[0].innerHTML = random;
  24. document.getElementById('game_account_panel').getElementsByClassName('egg_count')[0].innerHTML = random;
  25. }, 100);
  26. //Change the above number to speed up/slow down
  27. //Lower # is faster, Higher # is slower (1000 = 1 second)