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

How do I fix this Sound script?

Asked by 10 years ago

Hi! I need a little help with scripting!

I need to know how to make a make the music stop when clicked with a click detector.

I know how to get it to play but I can't get it to pause.

When the Sound:Stop() function is used, it just replays the song.

Please tell me how to get it to stop the song when clicked.

0
So you want to know how to pause the song with a click, not stop it, correct? emite1000 335 — 10y
0
I already fixed it a while ago. Thank you though! jesse0135 5 — 10y

1 answer

Log in to vote
0
Answered by
emite1000 335 Moderation Voter
10 years ago

Replace Sound:Stop() with Sound:Pause()if you want it to pick up where you left it off.

Ad

Answer this question