I have a sound and if its stoped the loop should stop how do i do this?
✓ ANSWER ACCEPTED
Is there a way to make a repeat loop until a sound has stoped?
1 answer
✓ Accepted answer
local SoundStopped = false
Sound.Stopped:Connect(function()
SoundStopped = true
end)
repeat
--code
until SoundStopped = true
Something like this should work
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Just needed to know if there aws a function to do this , This opens up a new world for me i was using wait(sound.Timelenght)
Uh.. you can just use Sound.Ended:Wait()