How do I make people have to pay to get into places?

How do I make people have to pay to get into places? I know this might be a little basic, but I was not able to find anyone else who asked/answered this question.

Add a barrier to that specific place. Then add a button for the players to click. Wire that button to a checker that will check if the player has greater than however much you want them to have of your currency minus 1. Then wire the checker to the barrier and have it deactivate it.

Use vending machines. Connect a wire from the vending machine to the door, something like “Item purchased” → “Deactivate barrier”

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.