Music Player with different musics playing after one another?
Asked by
8 years ago Edited 8 years ago
Basically, I want my music player to play songs in order with a shortened amount of lines, but I don't know how to do it. I need some help, this is the code for my music player. It's working but not as I want it to be (I obviously know that there is nothing that attempts to do what I want it to do, but I find no solution in attempting to do it).
How do I do it?
01 | local ContentProvider = Game:GetService( 'ContentProvider' ); |
02 | local ServerStorage = Game:GetService( 'ServerStorage' ); |
03 | local Song = ServerStorage:WaitForChild( 'Song' ); |
26 | function PreLoadAssets(Assets) |
27 | for _, ID in pairs (Assets) do |
37 | for _, V in pairs (Songs) do |
47 | until Song.IsPlaying = = false ; |