I’m trying to recolor a vehicle that has a lot of parts and I only want to color certain parts, is there any way to only get the grey parts of the helicopter using a script in the command bar or something? It would be extremely helpful, also, I’m not sure if this is building or scripting but I’ll post it here for now I guess.
for _, Part in pairs(workspace:GetDescendants()) do
if Part:IsA("Part") then
if Part.Color == Color3.new(255, 255, 255) then
Part.Color = Color3.new(255, 0, 255)
end
end
end
I ran that in the command bar but it wouldn’t change the color…
for _, Part in pairs(workspace:GetDescendants()) do
if Part:IsA("Part") then
if Part.Color == Color3.new(163, 162, 165) then
Part.Color = Color3.new(48, 63, 25)
end
end
end
for _, Part in pairs(workspace:GetDescendants()) do
if Part:IsA("Part") then
if Part.Color == Color3.fromRGB(255, 255, 255) then
Part.Color = Color3.fromRGB(255, 0, 255)
end
end
end
for _, Part in pairs(workspace.Helicopter:GetDescendants()) do
if Part:IsA("Part") or Part:IsA("UnionOperation") then
if Part.Color == Color3.fromRGB(255, 255, 255) then
Part.Color = Color3.fromRGB(255, 0, 255)
end
end
end