My Audio Playlist Script Is Not Working

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.

the script is not working 30charsssssssssssssssssssssssss

Try putting prints every few lines so you can pinpoint where the issue is happening.

what do you mean prints???

Here is an example:

print("1")
-- code
print("2")

If it does not print “2” in the output window, then you know there is an issue between point 1 and 2

I am gonna get the other issue solved first cause i think that is causing the problems