you have made a large number logic mistakes.
As an example
Layout1 - Level 1 group
leveloneEnemy isVisible then play Zombie Chase....
The error: there is no limited condition. it's going to constantly start playing the song every tick. Try adding a "Once while True" system condition tom ake sure this doesn't happen.
Level 2 and level 2 group
When your doing On start of layout and Active_level = 2. Wasn't passing. so the function would never call.
Compare Two values( Layoutname = "Level 2") and 188.8.131.52.7 as needed. Then no need for the function call.
Alternativivly you could organize your code to be handled a little easier than one big sheet.
create a core set of game play mechanics. and put all your custom level mechanics and music on level based layouts. then just include the core mechanics.
also as a suggestion. I don't believe any browser will ever play the .wav file. My suggestion is once importing the songs delete the .wave file version. The difference. I deleted the .wav files from the project that was 90mb. The resulting size was 14mb.
ogg and m4a are about 1/8 the size of a wav file.