Quantum64 Thank you very much for taking the effort to help me out. I am sorry for your dissapointment. I have tried something similiar as you did already, but I didn't succeed. EDIT: Looking back at my code, I created an apart function to stop the sound, wherein the sound var might not have been initialized. I didn't know you could do it your way. Thank you.