I created a mute button and it seemed to work perfectly except for one flaw, if i mute it on the menu screen and then unmute it ingame, the music doesnt play unless i die can anyone please help me with this? Thank you.
This is the code for my ingame sound:
This is the code for my menu music:
Any help is greatly appreciated, Thanks!