Connecting animated objects with splines

Thanks for this. Having issues could you explain how this part is setup?