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

how do you make it to where when you approach a object it plays a sound?

I made a fireplace but I want people to hear fire crackling whenever they get close but how do I do that do I put the sound in the part or what?

1 comment

0

and that it plays looped while they are over near the fire

1 answer

Easy, basically, put the sound i n the fireplace, in any place, then, in the script, put the script in the sound first off, then in the script put:

local sound = script.Parent
sound:Play()

the rest you can find out about on the roblox wiki by typing in "Sound" on the roblox wiki search box.

2 comments

0

alright thank you

0

yeah, no prob

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