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

Whats the event that fires when a song ends?

Asked by 6 years ago

I am making a music admin script, I want to create a hint after the song ended, ex What's the event that fires after a song has ended.

Song ended code here
local hi = Instance.new("Hint", workspace)
0
why didn't you look on the wiki? http://wiki.roblox.com/index.php?title=API:Class/Sound Perci1 4988 — 6y
0
Oh I totally forgot about that Thanks AwesomeBuilder346 11 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

You could use the .Ended event of the Sound object, like so:

SongAudio.Ended:wait()
local hi = Instance.new("Hint", workspace)

More reference here: http://wiki.roblox.com/index.php?title=API:Class/Sound/Ended

Ad

Answer this question