I don't even know how to script, Can someone explain how to write it so I know like separate it into little blocks?
✓ ANSWER ACCEPTED
How to make a sound play when touched a part?
2 answers
✓ Accepted answer
script.Parent.Touched:connect(function()
script.Parent.Sound:Play()
end)
function touch()
script.Parent.Sound:Play()
wait(3)
end
script.Parent.Touched:connect(touch)
This discussion is preserved as it was. New answers, comments, and votes are closed.
