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()

2 comments
What color did you want to change it to?
Dark green.