set material of part roblox studio lua code example Example: change material roblox lua script.Parent.Material = Enum.Material.MATERIALNAME