To swap to the 'Combat' music, press space. To change to the 'Calm' music, press A.
Please note the script is mind-bogglingly simple and free to use on any project. It's just 2 separate sprites and could be figured out by anyone else in five minutes tops. Been working on my a game and needed a dynamic music script for inside and outside of combat, similar to the game ULTRAKILL. So I made it by using 2 separate sprites and the 'change volume by' block. To swap to the 'Combat' music, press space. To change to the 'Calm' music, press A. The song used is Tenebre Rosso Sangue by Keygen Church, downloaded in high quality for free from his Bandcamp, available at the link below. (Not sponsored, just a fan) https://keygenchurch.bandcamp.com/album/tenebre-rosso-sangue