I'm making a simple music changer and using Stopped:wait() so it checks if the music has ended and putting other music on, I'm not sure if this is the way cause someone told me to use Stopped:wait(). I'm basically saying how can i check if the sound has ended?
Sound.Stopped:wait() Sound:Destroy()
Here is some example code that can describe what you can do.
repeat wait() until not Sound.IsPlaying Sound:Destroy()
What the code is basically doing is gonna repeat wait() until the song ends or IsPlaying = false
.
I hope this helped!
Sincerely, jmanrock123