And what do you know, 20 seconds later I have figured it out. It was my own script just doing what I had told it to do - stop playing the music as soon as the "LoadMenu" variable changes and that happens when you click one of the buttons that is supposed to load a different layout except I hadn't yet made it load the layouts. Disregard this, sorry to bother.