local part = script.Parent
part.Touched:connect(function(hit)
if hit.Parent then
if hit.BrickColor == "Dark orange" and hit.Material == "Wood" then
hit.Parent.BrickColor = BrickColor.Black()
end
end
end)
It's supposed to, when a part is made of dark orange wood, "burn" it. There are no errors in the output.
Thank you in advance for any help you may provide.
