Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to wait until a sound is a certain amount of time in?

In my code I have a sound that plays and then it waits for 6 seconds. The problem is, the sound sometimes is delayed by like half a second and doesn't stop where I want it to. Can you point me into the right direction as to what I would use to stop the song when it is a certain amount of time in? Is there a certain function I need to use or something???

2 comments

1

Sound.TimePosition

0

I tried using repeat wait () until it was a certain amount of time in but it didn't work. Then I just assumed that I can't use it. Is there a different way I should use it?

2 answers

Wow, I figured it out. Apparently you can't just put equals 'cause it just plays through the sound anyways... You have to put >= or >...

1 comment

0

I feel so stupid for asking this after figuring it out... It works perfectly now though...

This discussion is preserved as it was. New answers, comments, and votes are closed.