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

Anyone knows how to make a doorbell?

i made a house,i put a part in front of my door,i already have ClickDetector on the part,now i need to make it play a sound when someone clicked it,anyone knows how?

2 answers

script.Parent.ClickDetector.MouseClick:connect(function()
	script.Parent.Sound:Play()
	--well just replace script.Parent.Sound with the location of the sound
end)

1 comment

0

to get a sound in the doorbell, rightclick> insert basic object >sound. Then change the Id to whatever sound you want.

This isn't a site on how to make scripts. You post your broken script here and someone will try and help you fix it.

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