how do i create a sound off button?

Did you ever solved this?