Hello there! I need to make sure that each object with a certain material is given a certain color.
How do I do this?
Here is my script :
for i,v in pairs(workspace:GetChildren()) do
if v.ClassName == "Part" then
if v.Material == Enum.Material.SmoothPlastic then
v.BrickColor = BrickColor.new("Really red")
end
end
end