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
5 years ago

game.Workspace.Baseplate.Material="Grass"

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

1 answer

Log in to vote
0
Answered by 5 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