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

general confusion on this stop sound script?

i really dont know

sp = script.Parent

if sp.Playing then
	wait(10)
	sp:Stop()
end

1 comment

0

tell use your goal youre being too vague

1 answer

✓ Accepted answer

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.

1 comment

0

i found the solution, thanks!

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