I've tried to search and figure out how to make a progress bar that loops. Similar to clicker games, such as ad capitalist. I would like for the progress bar to fill within a set amount of time from clicking an active button and to continue looping after the initial click on the active button. The user would receive X amount of an item each time the progress bar loops.
Thank you for any help.