I have tried the Roblix Dev and wiki and had no luck in it working.
Can someone please explain to me how it works?
So when the raycast tests the brick is concrete it would do this
if part then if part == Enum.Material.Concrete then concrete.Sound.Playing = true concrete.Sound.Looped = true else concrete.Sound.Playing = false concrete.Sound.Looped = false end end
I don't know how to set this up
if part then if part.Material == "Concrete" then concrete.Sound.Playing = true concrete.Sound.Looped = true else concrete.Sound.Playing = false concrete.Sound.Looped = false end end