#Interaction volume enable/disable music toggle

1 messages · Page 1 of 1 (latest)

low sundial
#

Interaction volume enable/disable music toggle

#

So all you’ll need is 3 chips believe it or not

Place an If chip, and a Boolean variable

Firstly, configure the Boolean variable and set it to synced that why it will remember what state it is in between players (so no jank when used), also rename the variable if you’d like to make it easier to tell what it’s doing, something like “music toggle”

Place down the if chip, and wire it to the “else” port into the variable (set the variable data to true) and follow through with the chain to turn on your music via an audio gadget, now clone the variable and set it’s data to false, use the “then” port on the if chip to connect that and follow the chain into the stop port on the audio gadget