This was fun to make. Tell me if there are glitches. You can't buy something 2 in a row.
See this https://scratch.mit.edu/projects/438874146/