Skip to content

Instantly share code, notes, and snippets.

@ymrl
Last active May 13, 2023 23:28
Show Gist options
  • Select an option

  • Save ymrl/6595051 to your computer and use it in GitHub Desktop.

Select an option

Save ymrl/6595051 to your computer and use it in GitHub Desktop.
Cookie Clicker Cheat Script
setInterval(function(){
var g=Game,h=g.goldenCookie,o=g.ObjectsById,u=g.UpgradesInStore,
s=o.concat(u).sort(function(a,b){return a.bought-b.bought;}),
l=s.length,i;
g.ClickCookie();
for(i=0;i<l;i++){s[i].buy();}
h.life>0&&h.click();
},10);
@jam4859

jam4859 commented Apr 17, 2023

Copy link
Copy Markdown

how do you do that if you are are on a chrom book

@idrkaa

idrkaa commented May 13, 2023

Copy link
Copy Markdown

it deletes all of my cookies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment