It it possible to change a part's colour with the command bar?

the title is self-explanatory

i tried using this in the command bar but i feel like i did something wrong (either that or it’s just not possible)

for i,v in pairs(game.Workspace:GetDescendants()) do 
   if (v:isA("MeshPart")) then
      if (v.Color == Color3(213, 115, 61)) then
         v.Color = Color3(196, 40, 28)
      end
   end
end

any help is appreciated

Try Color3.fromRGB() instead of just Color3 :wink:

i literally did not know it was this simple :joy:
thanks regardless!!

1 Like