Skip to content

Instantly share code, notes, and snippets.

@ymrl
Last active May 13, 2023 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ymrl/6595051 to your computer and use it in GitHub Desktop.
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);
@idrkaa
Copy link

idrkaa commented May 13, 2023

it deletes all of my cookies

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