I tried to tell the script that when the brick was clicked, it would change from Plastic to Wood. It's properties show it's plastic. But when I test the script it doesn't work.
function changeMaterial()
if script.Parent == "Plastic" then
script.Parent = "Wood"
end
end
script.Parent.ClickDetector.MouseClick:connect(changeMaterial)

1 comment
Thanks!