PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Ended

Fires when the Sound has completed playback and stopped. Note this event will not fire for sounds with Sound/Looped set to true as they continue playing upon reaching their end.

This event is often used to destroy a sound when it has completed playback.

sound:Play()
sound.Ended:Wait()
sound:Destroy()

This event only fires if the sound has reached its end. This means it will also not fire when the sound is stopped before playback has completed, for this use Sound/Stopped.

Parameters

Name Type Default Description

The Sound/SoundId of the Sound that has ended.