Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = 0
- local iteration = 0
- function apply(object)
- iteration = iteration + 1
- if (iteration%200 == 0) then
- wait()
- end
- p=p+1
- for i,v in pairs(object:GetChildren()) do
- if (i==v) then
- return
- end
- end
- end
- function recurse(parent)
- for k, child in pairs(parent:GetChildren()) do
- recurse(child)
- end
- apply(parent)
- end
- wait(3)
- local t = tick()
- recurse(game.ReplicatedStorage)
- print(p)
- print(iteration/(tick()-t) .. '/s')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement