|
| 04 Nov 2017 06:01 PM |
How to define when the song will end without adding wait() < time that the song ends example 213 seconds for despacito and then another song is 10 seconds but I don't want to enter it all manually.
So I'm thinking song:ended() wait(1) next song?
Please help thank you! sound.SoundId = "rbxassetid://880612615" musicgui.Text = "Despacito" wait(2)
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 05 Nov 2017 12:57 AM |
if song:Ended() then song2:Play() end |
|
|
| Report Abuse |
|
|
soutenu
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 1021 |
|
|
| 05 Nov 2017 01:31 AM |
@OP
sound:Play(); wait(sound.TimeLength); print'the sound has finished playing'; |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2017 01:42 AM |
A wilf runaredie appears and gets hashtagged on his 4th word.
11:44 PM
|
|
|
| Report Abuse |
|
|
runaredie
|
  |
| Joined: 13 Aug 2015 |
| Total Posts: 30 |
|
|
| 05 Nov 2017 01:44 AM |
| I go on ####### and search you up and then all i see is meeting headlesstheo and kids screaming in there mic saying "omg omg omg" |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2017 01:50 AM |
| For a music system. while true do ######################### ? with number of songs if math.random=1 do Find the sound:Play() wait(Find the sound.TimeLength) Find the sound:Stop() end |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2017 01:54 AM |
Sound.Ended:Connect(function() --Fires whenever the song ends end)
SongLength = Sound.TimeLength |
|
|
| Report Abuse |
|
|