The script is in a folder called "AudioController" and the music IDs are in another folder called "Songs"
local sound = Instance.new("Sound") sound.Parent = game.Soundscape sound.Name = "CoolAudio" local number = 1 local songs = script.Parent.Songs:GetChildren() local currentsong = 1 local nowplaying = 0 for i=1,#songs do songs[i].Name = tostring(number) number = number + 1 end function cycle() local song = script.Parent.Songs:FindFirstChild(tostring(currentsong)) if song == nil then currentsong = 1 wait() cycle() else nowplaying = song.Value sound.SoundId = "rbxassetid://" .. tostring(song.Value) sound:Play() wait(sound.TimeLength) currentsong = currentsong + 1 sound:Stop() cycle() end end cycle()
In order for your song to be heard ingame, it has to be in the Workspace, Soundscape is like a storage place, not a song-playing service.