Hey guys! I had forgotten how to make a new part change color with script. This is what I got:
function RegenPart() newPart = Instance.new("Part", workspace) newPart. -- I need to know how to use it here. newPart.FormFacor = "Custom" newPart.Size = Vector3.new(2, 0.4, 1) newPart.Position = Vector3.new(39, 4.19, -8.5) newPart.Anchored = false end RegenPart()
newPart.BrickColor = BrickColor.new("Dark green")
If needed for future reference, here is a Roblox Wiki article on BrickColor: http://wiki.roblox.com/index.php?title=BrickColor