All of the song times are correct but it wont even play the first song.
01 | wait() |
02 | game.Players.PlayerAdded:connect( function (nP) |
03 | wait() |
04 | local Playlist = nP.PlayerGui |
05 | for _,v in pairs (game.Lighting:GetChildren()) do |
06 | if v:IsA( "Sound" ) then |
07 | v:Clone().Parent = Playlist |
08 | wait() |
09 | while wait() do |
10 | Playlist.Song 1 :Play() |
11 | wait( 118 ) |
12 | Playlist.Song 1 :Pause() |
13 | Playlist.Song 2 :Play() |
14 | wait( 94 ) |
15 | Playlist.Song 2 :Pause() |
I have something way easier
01 | -------------------------------------------------- |
02 | --==Varibles==-- |
03 | -------------------------------------------------- |
04 |
05 | local Audio = Instance.new( "Sound" ) |
06 | local Player = script.Parent |
07 | local Template = 'http://www.roblox.com/asset/?id=' |
08 |
09 | ------------------------------------------------- |
10 | --==PLAYLIST==-- |
11 | ------------------------------------------------- |
12 |
13 | local 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 | -------------------------------------------------- |