So I made a hammer tool and I want to make it so that if a player hits another player with the hammer the player hit will be launched in the direction that the player who hit them was looking.

4 comments

0

Player1.Character.CFrame.LookVector

0

I thought it was basepart.CFrame.lookVector

0

@Feahren Character does not have a CFrame, nor the CFrame's respective LookVector - I assume you meant HumanoidRootPart.CFrame.LookVector?

0

@OP, take this directional vector and multiply it by some amplitude - and make it the Player's Velocity (or use a BodyMover) to create the effect you seek.