How do you make buttons unusable if you dont have enough of a certain item? [RESOLVED]

I’m making a tycoon and I got to a problem. I can buy things without having enough money. How can I change this?

2 Likes

Try making vending machines invisible its really nice

1 Like

I would say block the button with a barrier. Barriers were made to do that stuff.

1 Like

Oh yeah use a checker and connect it to the barrier so it will deactivate if you have enough

1 Like

He has the right idea, bro.

1 Like

Great idea, thank you very much.

1 Like