Hi, I wanted to make a script that changed the part's material but I can't seem to see how to do it...
local text = script.Parent --The text is "Brick"
part.Material = text.Text
and I get:
Invalid value "Bricks" for enum Material
Why? Please help! Thanks!

1 comment
To change Material we use enum value, but in your script you use string value.