A way to add horizontal velocity to player

Is there a way to reliable add horizontal velocity to the player, I have found a way for vertical but not horizontal

Continue to help post