I need to create the script, which need to play if you touch the part. I want to create some place, and I need to make it work with FE.(Filtering Enabled) Please, help me!
✓ ANSWER ACCEPTED
How to make script which will play sound if you touch the part?
2 answers
✓ Accepted answer
Assuming the script is parented to the part and the sound is also parented and named 'Sound':
script.Parent.Touched:Connect(function() script.Parent.Sound:Play() end)
You place this script inside the part with a Sound named Sound like a child of the Script Like this
script.Parent.Touched:Connect(function() script.Sound:Play()
If this worked for you please accept the answer.
1 comment
0
I reccomend saying script.Parent.Touched:Connect(function() script.Sound:Play()
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I can make this for you, one second please.
Look here https://www.roblox.com/library/417813897/Touch-Part-Play-Sound