Guest User

Untitled

a guest
Oct 23rd, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. function makeCookie() {
  2. Game.shimmerTypes.golden.time = Game.shimmerTypes.golden.maxTime;
  3. }
  4.  
  5. function clickVisibleCookies() {
  6. Game.shimmers.forEach(function(item) {
  7. if (item.type === 'golden') {
  8. item.l.click();
  9. }
  10. });
  11. }
  12.  
  13. _clicker = null;
  14.  
  15. function clickCookiesStart() {
  16. _clicker = setInterval(clickVisibleCookies, 500);
  17. }
  18.  
  19. function clickCookiesStop() {
  20. clearInterval(_clicker);
  21. }
  22.  
  23. _maker = null;
  24.  
  25. function makeCookiesStart(time) {
  26. _maker = setInterval(makeCookie, time);
  27. }
  28.  
  29. function makeCookiesStop() {
  30. clearInterval(_maker);
  31. }
  32.  
  33. _bigClicker = null;
  34.  
  35. function bigCookieClick() {
  36. document.getElementById('bigCookie').click();
  37. }
  38.  
  39. function bigCookieStart() {
  40. _bigClicker = setInterval(bigCookieClick, 100)
  41. }
  42.  
  43. function bigCookieStop() {
  44. clearInterval(_bigClicker)
  45. }
Add Comment
Please, Sign In to add comment