How do it make it so that when someone buys something, it removes something else,

they can buy in any order so idk how to do this

vending machine—hide prop/barrier/device?

welcome back, its been a while I see.
image

3 Likes

What do you actually want to remove? It might not be a prop/barrier.

2 Likes

just wire them together…(Item purchased > hide prop/barrier)
Screenshot 2025-10-22 2.06.18 PM

I need a gadget removed, but they can buy in any order

Maybe a vending machine wired to an item granter
Item granter settings: (Item Given: [The gadget you’re trying to remove]) (Amount: -1)

Wire vending to granter
Item purchased > Grant Item

2 Likes

yes but idk what they will have, Because they can buy in any order

1 Like

Maybe when they purchase, run a check for the other gadgets?
And if they have that gadget, remove it? Best thing I could tell you, I dunno

1 Like

maybe add a bunch of item inventory managers to remove when the item is purchased, it might look cluttered but it could work

1 Like

you can wire each vending machine to a wire repeater,

the repeater will then activate a few item granters that’ll take any gadget they might have

then, make a wire repeater that’ll give the wanted gadget after everything else is taken


screenshot shows what to wire

1 Like

ok, ill try it :+1: I wont solution yet tho cuz i need to review it a few times

1 Like

Forgot to add something, you need to give the bought gadget AFTER everything else is taken,
you can do that by putting a wire repeater (delay 0.5) in between the grant 1 part