script.Parent.Parent.Part.Touched:Connect(function(hit) if hit.Parent:FindFirstChildOfClass("Smoke") then script.Parent.Sound:Play() end end
script.Parent.Parent.Part.Touched:Connect(function(hit) if hit.Parent:FindFirstChildOfClass("Smoke") then script.Parent.Sound:Play() end end
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
.Touched can only detect objects that are a BasePart touching it
I've try everything without the touch to see if it will detect the smoke but nothing is working. Could you give some example so it can help me out a little bit??