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

How to make a sound play when touched a part?

I don't even know how to script, Can someone explain how to write it so I know like separate it into little blocks?

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.