Audio playback via physical button

Hello,

I’m having an issue in the following scene, which is supposed to turn a room’s audio playback on/off when using a button: if music is playing and I press the button, I stop the music, and vice versa.

The

When you say « refuses to work », what is the symptom?