I am making a sound system that will play a random song and I could successfully do that, however, I want to pick a new song to play when the random song is done playing. I just don't know how to manage this.
Here is the code:
local musicTable = script.Music:GetChildren() -- yes i recycled this from my impact sound script :troll:
local randomSong = musicTable[math.random(1, #musicTable)]
Sorry, it's just those 2 variables.

4 comments
So I'm pretty sure you're trying to make a sound system that plays random music and has a skipping feature https://scriptinghelpers.org/questions/126153/why-this-local-script-isnt-skipping-random-music#114757
I'm not trying to have a skipping feature, but I want a song to play when the song that was selected randomly is over. This is my fault, I didn't clarify.
You can edit by the way. Might get taken down for being Non-Descriptive
So you want to play a new random song after one song has finished?