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

How to change the material using a script? Check my script below.

Asked by
bailley5 114
4 years ago

game.Workspace.Baseplate.Material="Grass"

0
Does part.Material = Enum.Material.DiamondPlate work? bailley5 114 — 4y
0
i think it should, try it Lazarix9 245 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

When changing materials, you have to use Enum.Material["Grass"] or Enum.Material.Grass

workspace.Part1.Material = Enum.Material["Grass"]

workspace.Part1.Material = Enum.Material.Grass

Both do the same thing

Ad

Answer this question