Help trying to replicate a long action

I finally completed this charging system where my character flies to the enemy and hit it once I press the attack button. Now I have to replicate it :confused: PLEASE HELP!!