I want this script to check if the child of Workspace is a Part, then if the Part's BrickColor is "Really blue".
Does someone know how to do this?
h = Instance.new("Hint")
h.Parent = script
print("Loading Brick Coutnter...")
h.Text = "Blue Wait"
a = game.Workspace:getChildren()
wait(2)
script.ValueScript.Value = true
for i = 1, #a do
if a[i].className == "Part" then
script.Value.Value = script.Value.Value + 1
wait(0.0001)
end
end
print("CubeEnd")
|