I'm making a vibe game and have the camera bounce/shake on. Due to this there is a certain way I have to do things. Like I can only have sounds in the workspace, I can't put them in folders or other things for it to work. I'm asking if there's a way to make a looping playlist script in server script storage.
✓ ANSWER ACCEPTED
How can I fix a working looped sound playlist with these conditions?
1 answer
✓ Accepted answer
You can do:
local Sounds = {"Sounds1", "Sound2", "Sound3"} -- Add Sounds Names Here
while true do
for _,v in pairs(Sounds) do
local Sound = game.Workspace[v]
Sound:Play()
Sound.Ended:Wait()
end
end
The sounds will loop infinitely
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thx