You know how this works if you've played this: https://scratch.mit.edu/projects/404843070/ because it's the inspiration, other than Cookie Clicker.