I'm still learning scripting, saw Enum.Material and what to know how and what it is used for
COMMUNITY QUESTION
What is Enum.Material."any material" for?
1 answer
If you want to change a part material with script you just write :
script.Parent.Material = Enum.Material."any material"
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Just going to add: Enum is a datatype used for many different things that you can not or should not change with using strings. Read more about it here: https://create.roblox.com/docs/scripting/luau/enums