Hi there! I currently have a music queue script and I have a sound that is stored in the SoundService. This works fine when the server starts and it plays the first song, however, when it plays the next one, it doesn’t play anything. When I have the sound object parented to the Workspace, everything works perfectly fine.
I don’t really know much about the SoundService, so I’ll be glad if anyone figures out this issue.
Playing the song Code:
local music = game.Soundspace.Music
local queue = {}
music.Ended:Wait()
if #queue == 0 then addSongs() end
table.remove(1, queue)
music.SoundId = queue[1].songID
music:Play()
This is wrapped in a function, I’m not showing the full code.