I'm trying to code it so that when a button is press a music will play when you press a pause button it will pause the music then turn into a play button then when you press it again resume the song from where it stop. How would I do something like that?

