How to sync Player's dance animations?

I want to sync a player’s that clicked a button animation with another dancing player’s animation

how ever, i have no clue where to start, or what to do. with animation Keyframes i would only be able to sync the dance once it reaches the last Keyframe.

Any Help is accepted

This may not be the MOST efficient way of doing this, but every time the animation ends, any players that were waiting to be synchronized with the other players would play their animation along with them.

I’m not exactly sure how one would implement this, but this should give you a start of some sort.