for i, v in pairs(game.Workspace:GetChildren()) do if v.BrickColor and v.BrickColor == BrickColor.new("Medium stone grey") then v.Name = "0" end end
The error comes out as:
21:57:56.209 - BrickColor is not a valid member of Model
I remember that there used to be a way around this, but I forgot the way. Help?

1 comment
Replace if v.BrickColor with if v:IsA('BasePart')