This doesn't actually have buying, it tells you what to do with variables and how to place things and combine them. Press c to close. Here is how you make the shops. Let's say you need two shops (Check out homeless simulator by Mist-Man and I it is beta so there may be shop bugs). You create a variable named Mode. The mode changes depending on which shop is opened. If shop one is opened, the mode switches to shop1. Same with shop2. You create if statements to make the shops purchase anything with number keys. If mode = shop1 then if key1 pressed then if money = ___ then else _______ The blanks are your choices. Basically, if you need to use the number keys to purchase items in the shop, this is how you do it so you don't buy both items for key 1.
Thank you @mist-man for the idea of how to do the certain shops... from Homeless Sim (The shops are the garage and main.) Feel free to copy the scripts! Just make sure to check the instructions for tips on how to do it :)