How to make buyable barriers - Credit to @Max-Grass

I’ve seen a lot of people ask this question, and if you don’t know I hope I help you.
Items Needed:
Barrier Prop
Vending Machine

Take the barrier, design it anything you want.
In ‘Featured’ Click Yes for Collision Enabled.

Now, go to Availability, and on ‘Visible when game starts’ click No.
After that, switch to your Button and in ‘Featured’, make the button message "Buy Barrier ( - Energy) (In that space put how much energy you want.
Make sure your button settings look like mine.

Now switch to your vending machine.
In Featured, ‘Purchase Action click Grant Item.
Under Required Item, Put Energy.
In Required Item Amount, put your desire.

In When Item Purchased, Transmit On’ Type Barrier On.
In Visible-In-Game, put no.
Now connect button to the vending machine. [Button Pressed- Attempt to Purchase]
And wire the vending machine to the barrier. [Item Purchased- Show Prop]

It should look something like this at the end.

After that, Voila, you’re done!


Nice first guide!
I suggest you credit this guide by @Max-Grass

1 Like

Nice guide!


Nice guide, @tspentakota !

1 Like

Thank you so much! :slight_smile:

Okay, thank you @Haiasi

Thank you @The_7th_Dragon

1 Like

Do you need the button because can’t you just buy from a barrier?

Also, this is a really good guide!

1 Like

You would because the vending machine is invisible and the barrier, so the button has to show.

Looks good!

1 Like

thank you @WhereIsMyHat

If you click the reply button, it automatically pings me. You don’t need to use the @ button. :slightly_smiling_face:

Ik but, it has to be 20 words long.

You can put words between t < > to make them disappear.


1 Like

Nice first guide @tspentakota!

1 Like