i was reading and testing the wiki when i got to using Material property with scripts i did what it said and it does not change the material of my object this is what i have
workspace.boron.BrickColor=BrickColor.new("Bright blue")
workspace.boron.Material=6
the value "6" in the wiki is foil when i tried it and clicked the play button my object stayed plastic how do i make it work?Thanks.

1 comment
I dont really like using numbers to change a value. I like using Enums, as if you read it, you would know what it is. Like, I dont know the value for 6.