roblox if material then code example Example: change material roblox lua script.Parent.Material = Enum.Material.MATERIALNAME