I tried to make a script where it prints the amount of bricks in workspace, but they dont do nor work as their supposed to, here are the scripts
c=workspace:children()
for i=1,#c do
if c.className=="Part"then
print(c)
end end
That didn't print anything, so I then tried this;
c=workspace:children()
for i,v in ipairs(c)do --Did 'pairs' too
if v:IsA("Part")then
print(v)
end end
It only print the names of the Brick(s), what am I doing wrong?

1 comment
Thanks man, this one works too. ;)