Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var autoclick = true;
- function autoClick() {
- $('#bigCookie').click();
- var max = 6;
- var min = 2;
- var wait = Math.floor(Math.random() * (max - min + 1)) + min;
- if($('#goldenCookie').css('display') != 'none') {
- $('#goldenCookie').click();
- wait = 100;
- }
- if($('#seasonPopup').css('display') != 'none') {
- $('#seasonPopup').click();
- wait = 100;
- }
- if(autoclick) {
- setTimeout(function(){autoClick()}, wait);
- }
- }
- autoClick();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement