My Audio Playlist Script Is Not Working

My audio playlist is not working how do I fix that image

How do you want it to work though? Do you want to play the sound, wait for it to finish and then play the next sound?

i want it to play all of the audios in a folder

Any errors in your output window?

Are they sound ID’s or actual sound instances?

I dont think so how would I show you?

Sounds Instances 30charssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss

You can view your output window by going to View → Output, then you can just send me a screen shot :slight_smile:

local IDs = script.folder:GetChildren()

for i, sound in pairs(IDs) do
     sound:Play()
     sound.Ended:Wait()
end

Basically goes through the sounds, plays the sound, waits for it to end, then goes to the next sound.

2 Likes

I don’t think these are related to your issue on how to play the sounds.

That’s a nasty error, but like @FirewolfYT_751Adult said, I don’t think that’s related to your sound system. That is a nasty error though, and you’ll want to look into that.

then what does it mean???

what you mean what does it have to deal with???

Are you able to view the script when you click on one of these errors?

No I am not able to is that bad

It depends, but to prevent going off topic maybe you should post a different topic about it :man_shrugging:

ok question what topic do i put it in and does it cause lag

I’m not sure what kind of error this is, or what is causing it to happen, so I am unsure on where it should go. And whether or not it causes lag I am not sure. You could try scripting support, but I’m not sure sorry.

ok i want this fixed fast but ty for telling me to show you my output or else i would have never found out about this

We should not go off-topic much further and get back to the sound playing issue.