Any script to do cluster objects in 3dsmax?

I saw nice animation from universaleverything with AOL project. It's really impressive with the cluster of objects following each other. Here's the video link on vimeo:

I wonder how to do the animation in the clip from 03:19 to 04:12.

Hope anyone can help me!