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

Could someone help me fix my sound playlist?

Asked by
Lapwn 10
10 years ago

All of the song times are correct but it wont even play the first song.

01wait()
02game.Players.PlayerAdded:connect(function(nP)
03wait() 
04local Playlist=nP.PlayerGui    
05for _,v in pairs(game.Lighting:GetChildren()) do
06if v:IsA("Sound") then
07v:Clone().Parent=Playlist
08wait()
09while wait() do
10Playlist.Song1:Play()
11wait(118)
12Playlist.Song1:Pause()         
13Playlist.Song2:Play()
14wait(94)
15Playlist.Song2:Pause()
View all 21 lines...

1 answer

Log in to vote
1
Answered by 9 years ago

I have something way easier

01--------------------------------------------------
02                  --==Varibles==--
03--------------------------------------------------
04 
05local Audio = Instance.new("Sound")
06local Player = script.Parent
08 
09-------------------------------------------------
10                 --==PLAYLIST==--
11-------------------------------------------------
12 
13local Songs = {} -- Change the numbers here to the IDs of the songs. To add more songs, simply put a , after the last song and add your ID
14 
15--------------------------------------------------
View all 38 lines...
Ad

Answer this question