Best way to push player's character during an m1

I’m making this melee combat system and I want the player’s character to be pushed in their move direction during a swing. Here is my reference. The game is called Balthazar:

This is my code right now:

humanoid.WalkSpeed = SprintConfiguration.WalkSpeed.Value + 16
		
walkSpeedTween = TweenService:Create(
humanoid,TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.Out),
	{WalkSpeed = SprintConfiguration.WalkSpeed.Value}
		)
walkSpeedTween:Play()

It feels awkward and unsmooth compared to Balthazar. I’m confused on what they are doing to make their push so smooth. Are they using some sort of velocity, or are they tweening the walk speed?

If anyone can help me, it would be greatly appreciated.

1 Like

Use LinearVelocity and make the dirwction the HumanoidRootPart’s lookvector.