Thank you for using our website
Your script:
for _, obj in pairs(workspace:GetDescendants()) do
if obj:IsA("Part") then
if obj.Name == "Vidrio templado" then
obj.BrickColor = BrickColor.new("Bright green")
elseif obj.Name == "Vidrio roto" then
obj.BrickColor = BrickColor.new("Bright red")
end
end
end