Why does this script not work?

hello, i’m trying to make my part’s material change. Why won’t it work?

script.Parent.Material = "grass"
1 Like

oops turns out I had to put a capital G oops

workspace.Part.Material = Enum.Material.Concrete  -- By full enum (preferred method)


You should use Enums to do this, see my previous post. Its like using a dropdown selector list, if you use that you can’t get it wrong.

He can use this way aswell, both work. But I agree, using enums is neater and better.

1 Like