I want to add a sound to my door when you open it but I dont know how, i searched yt and I cant find anything. Please help!
COMMUNITY QUESTION
How can I add a sound when I open my door in roblox?
2 answers
All you would do is insert a sound into SoundService, reference that sound, then out Sound:Play() after the door opens. Example:
local sound = game.SoundService.DoorOpening --Make sure it is named DoorOpening if you are using this.
--DOOR OPENING SCRIPT--
sound:Play()
It would've helped a lot more if you gave the script.
You could make a sound in the part and make a script that plays it when opened. You would put this script in the handle if its a click detector :
local sound = script.Parent.Parent.Sound
script.Parent.MouseClick:Connect(function()
sound:Play()
end)
Put the script as a normal script.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
bruh at least try to make a script