function thing(model,timeToWait)
for i,v in pairs(model:GetChildren()) do --important line here.
for q=1,100 do
wait(timeToWait)--maths are needed here
end
end
end
print("it should have taken"..timeToWait.."seconds to print this")
end
thing(game.Workspace.Model,10) --6 children in this one.
thing(game.Workspace.Model2,8)
Pretty much it. The first thing() should print "it should have taken10seconds to print this", and the second one should print "it should have taken8seconds to print this"
I'm not very good at math, and I couldn't get this to work right.

3 comments
i had a model with ONE child, and this happend: it should have taken 10 seconds to print this it took 11 seconds to print this
Try making the loop run like 50 times or so instead of 100
Note that the smallest wait() possible is roughly 0.033 seconds, which is about 1/30 seconds. wait()ing with a delay smaller than this would make it act as if it waited 1/30 seconds.