Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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?

01local ContentProvider=Game:GetService('ContentProvider');
02local ServerStorage=Game:GetService('ServerStorage');
03local Song=ServerStorage:WaitForChild('Song');
04local Playing=false;
05 
06local Songs={
07438917260; --// 1
08143959455; --// 2
09243372213; --// 3
10142295308; --// 4
11401120618; --// 5
12130844430; --// 6
13130797915; --// 7
14142435409; --// 8
15143204341; --// 9
View all 56 lines...
0
oml... TheeDeathCaster 2368 — 8y
0
What do you mean by "playing after one another?" How is it not working as you intended to? Your question is vague; could you please expand & be more specific on what you're asking/ talking about? TheeDeathCaster 2368 — 8y
0
i didn't realize i didn't say anything about it rofl, changing Naxxanar 77 — 8y
0
You can loop through the list and connect the Ended event to a function that starts playing the next song. GoldenPhysics 474 — 8y

Answer this question