Last active
December 24, 2015 00:08
-
-
Save Topener/6714341 to your computer and use it in GitHub Desktop.
Cookie Clicker Autobuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getScript(url) { | |
e = document.createElement('script'); | |
e.src = url; | |
document.body.appendChild(e); | |
} | |
getScript('http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'); | |
getScript('http://pastebin.com/raw.php?i=2KRNm8Gm'); | |
var goldenInterval = setInterval(function(){Game.goldenCookie.spawn(); for (i=0; i<5;i++){$('#cookie_monster_golden_overlay').click()}},50); | |
var cookieinterval = setInterval(function(){$('#bigCookie').click()},1); | |
var cursorBuyInterval = setInterval(function(){ if (Game.ObjectsById[0].amount < 200){Game.ObjectsById[0].buy()} },50); | |
var buyInterval = setInterval(function(){ for(var i = 1; i<10; i++){ if (Game.ObjectsById[i].amount < 100){Game.ObjectsById[i].buy()} }},450); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This also installs the plugin [Cookie Monster](http://cookieclicker.wikia.com/wiki/Cookie_Monster_(JavaScript_Add-on\))
Enter this code in your javascript console.
The only thing you'll have to do is buy upgrades. It will take you around 1 minute to have 200 cursors and 100 of everything else!