Instead of being a jerk like pyth_n, here you go.
Put this into a local script inside of a textlabel in a screengui
local count = workspace -- Change this to the model you want to count
function CountBricks()
local c = 0
for i,v in pairs(count:GetChildren()) do
if v:IsA("BasePart") then
c = c + 1
end
end
return c
end
script.Parent.Text = "Part count: " .. CountBricks()
|