The script is in a folder called "AudioController" and the music IDs are in another folder called "Songs"
01 | local sound = Instance.new( "Sound" ) |
02 | sound.Parent = game.Soundscape |
03 | sound.Name = "CoolAudio" |
04 |
05 | local number = 1 |
06 | local songs = script.Parent.Songs:GetChildren() |
07 |
08 | local currentsong = 1 |
09 | local nowplaying = 0 |
10 |
11 | for i = 1 ,#songs do |
12 | songs [ i ] .Name = tostring (number) |
13 | number = number + 1 |
14 | end |
15 |
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.