i don't know if this is about roblox lua though
Well you have to use the Touched event and then use a method to make the sound play. Looks like low level research was gone into this one before asking but whatever.
local Sound = script.Parent:WaitForChild('Sound') -- Assuming sound is a child of your part and this script is also a child of the part local Part = script.Parent local SoundPlaying = false -- This is a boolean because we don't want the sound to play over and over every time we touch Part.Touched:connect(function() if not SoundPlaying then SoundPlaying = true Sound:Play() end end) Sound.Ended:connect(function() -- This is to make it so when the sound ends we can touch the part again to make it play SoundPlaying = false end)