i really dont know
sp = script.Parent
if sp.Playing then
wait(10)
sp:Stop()
end
i really dont know
sp = script.Parent
if sp.Playing then
wait(10)
sp:Stop()
end
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.
i found the solution, thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
tell use your goal youre being too vague