Trying to make a /sync like how mocap has theirs

Hey, so I am looking to help someone out and they need a /sync like how Animations: Mocap has theirs where you can sync to the dance the other player is doing at the exact same time.

Any help on this matter would be greatly appreciated.