What you will need;
Lifecycle x1
Vending Machine x1
Wire Repeater x1
Relay x1
Start by placing your lifecycle. You do NOT need to edit anything in the lifecycle.
Next, place a vending machine, and set the “required item” to cash. Set the “required amount” to 0.
Now, set the “granted item” to cash and th “granted amount” to 1.
After that, place your wire repeater, set the delay time to 1.0 and wire your lifecycle to the relay. Make sure the relay is set to “All Players”.
Next, wire the relay to the vending machine (Relay Trigger → Attempt to purchase).
Finally, wire the vending machine to the wire repeater (Item purchased → Relay pulse…) and wire the wire repeater back to the vending machine (Relay pulse… → Attempt to purchase)
Congrats, you’re done!
If you liked this please and if you have any questions or comments please reply below!
-RandomKid