Skip to content

Instantly share code, notes, and snippets.

@fadelakin
fadelakin / codeBot.js
Last active December 25, 2015 20:39 — forked from AndrewCraswell/codeBot.js
Simple bot for CoderClicker: http://coderclicker.meteor.com/ for when you have lots and lots of money only. Not for when starting out. How to use: Paste the following into the JavaScript console in your browser and run it. To start the bot type: "CodeBot.start();" to stop it do: "CodeBot.stop();" (or just reload the page). This gist was fashione…
CodeBot = {
start: function() {
this.clickInterval = setInterval(function(){
// Click the code button fast as possible!
$(".code.btn").click();
}, 1);
this.buyInterval = setInterval(function(){
// Try to buy items as fast as possible, starting with more expensive ones
// NOTE: We have fallbacks because we will start earning money too fast to rely on only buying Monkeys
$("#50000000000").click();