The “Music” variable is the same variable as the previous sound. Copied and pasted on the next line of logic so it merely overrides the sound stored previously and stops the audio component and vice versa.
This will only work if you “spawn” the sound and doesn’t work with “play” sound 2d as you wouldn’t be able to create a reference to stop the audio component with play sound 2d.
Additionally, and haven’t tested completely with this setup, but you may need to destroy the audio component as well if you don’t want it lingering around too long. Not too sure though. Some particle effects work in this manner. You may not see them and they are stopped, but they pile up and become a problem if you have many of them not being destroyed.