isle87

goldenCookie

May 13th, 2021
606
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function getID(id) {
  2.     return document.querySelectorAll('*[id^="'+ id +'"]');
  3. }
  4.  
  5. function clickGolden(){
  6.     const golden = getID("GCTimer");
  7.     if(!golden) return;
  8.     golden[0].click()
  9. }
  10.  
  11. javascript:(function() {
  12.     Game.LoadMod('https://cookiemonsterteam.github.io/CookieMonster/dist/CookieMonster.js');
  13. }());
  14.  
  15. setInterval(()=> clickGolden(),10000);
RAW Paste Data