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

How do I make a certain loop time part in a script?

Asked by 4 years ago

I want to make a script so it loops for me a hi audio every 10 seconds without having to use the looping thing in the audio properties. I tried script.parent.audio.looping = true but it does that wrong.

1 answer

Log in to vote
0
Answered by 4 years ago

While True Do script.Parent.Audio.Playing = true wait(however long the audio is) script.Parent.Audio.Playing = false wait(10) end

Ad

Answer this question