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.