Last active
May 1, 2018 01:48
-
-
Save DavidMetcalfe/a1dfc7f8809b310cb178708f8741b87d to your computer and use it in GitHub Desktop.
Cookie Clicker Auto Clicker (Click Spammer)
This file contains hidden or 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
// [ === Toggleable autoclicker === ] | |
// Activating will enable, and a second toggle will deactivate. | |
// ** Legit version (doesn't activate Game.autoclickerDetected) | |
if (window._activeClickInterval) { | |
clearInterval(window._activeClickInterval); | |
delete window._activeClickInterval; | |
} else { | |
window._activeClickInterval = setInterval(Game.ClickCookie, 250); | |
} | |
// ** Illegit version (DOES activate Game.autoclickerDetected) | |
if (window._activeClickInterval) { | |
clearInterval(window._activeClickInterval); | |
delete window._activeClickInterval; | |
} else { | |
window._activeClickInterval = setInterval(Game.ClickCookie, 10); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment