Store check-out (SCRAPPED)

I am making a grocery store and want a popup to sense what items you have. How is that possible? Each barrel has a button to add the item to your inventory, and I am thinking it might involve blocks. Any help? Also, I’d like a way if you don’t have enough cash, it says you don’t have enough.

NVM, I’ll just scrap the idea.

you could just use a game overlay and set it to track a specific item

You could use a checker and a notification if you don’t have enough cash.

i know, but I also need the overlay to say all the items you have.

you can use an inventory checker for the items in the store. Just have it so that when the popup opens, it broadcasts to run the check.