What is this sorcery?


#1

Can anyone explain what this sorcery with the dice at 1:45 is:

//youtu.be/FyorOlyBSmQ

I understand that it has something to do with script controllers but for the life of me I can’t seem to create a setup that would make it seem like the object is using separate pivots consistently.
EDIT: Fixed link.