Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how to change the material using a Script?

Asked by 4 years ago

I am starting to make games in Roblox and want to change the material USING A SCRIPT. It is not in the tutorials. How do I do it?

1 answer

Log in to vote
1
Answered by 4 years ago

Try using Enum.Material

local block = Instance.new("Part", workspace)
block.Material = Enum.Material.Grass
0
Oh thank you so much! mr_maker231 14 — 4y
Ad

Answer this question