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

general confusion on this stop sound script?

Asked by 5 years ago

i really dont know

1sp = script.Parent
2 
3if sp.Playing then
4    wait(10)
5    sp:Stop()
6end
0
tell use your goal youre being too vague SoftlockedUnderZero 668 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

The variable "sp" probably is the Sound's name in the workspace. and you parented the script to the sound: aka, you put the script into the sound file. Then whenever sound "sp" is playing, the script will play the file for 10 seconds, then stops.

0
i found the solution, thanks! RYANGAMES11 17 — 5y
Ad

Answer this question