Is it possible to change all the bricks with the same color?

Heya, I got a game that is mainly pink and I wanna make it be orange without havin to select every brick and change the color. I’m wondering if there is a way to select all of the parts that are the same color at once and make em a different color.

1 Like

This is relating to programming or your just new to Roblox studio. Please read the UI of the Studio before making these kinds by of topics.

To answer your question, simply click the top part of the part in workspace and go down till the last part, shift click that last part and go to properties and change the color.

That wont work, not every brick is the same color, I just wanna change the bricks that are the same color.

Then that will be involving programming. To solve your problem:

for i,v in pairs(workspace:GetDescendants()) do
    if v:IsA(“Part”) or v:IsA(“UnionOperation”) then
        if v.BrickColor == BrickColor.new(“Pink”) then 
            v.BrickColor = BrickColor.new(“Green”)
        end
    end
end
3 Likes

Alright, thank you for the help!

1 Like

Reminder: Ive made it so that it can change the color of the unions as well.

1 Like