Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Help with adding a lookVector to force?

I am making a hammer and when it hits another character, it suppose to add a force (velocity) to push the character back b/c of them being hit. I am unsure on how to explain this but, the code should be fairly simple to understand. The BodyVelocity's velocity is staying the same.

Force.Velocity = Vector3.new(Character.Head.CFrame.lookVector * 30,0,0)

1 answer

✓ Accepted answer
Force.Velocity = Character.Head.CFrame.lookVector * Vector3.new(30,0,0)

This discussion is preserved as it was. New answers, comments, and votes are closed.