Throw Player upwards and Forward with LookVector and AssemblyLinearVelocity

Hello developers, I’ve recently been attempting to make a script that throws the player upwards and forward relative to the lookvector of the UpperTorso.

So I’m using AssemblyLinearVelocity and can’t figure out how to make it go forward (BodyPart.CFrame.LookVector * Speed) + Y value so player also goes upwards. Using LookVector to make the player be given velocity forwards in their looking direction and also adding a Y value. I’ve tried searching for a solution to but I cannot seem to figure it out.

If i was to write:

torso.AssemblyLinearVelocity = torso.CFrame.lookVector * 200 -- Only forward

then I would only move forward, so my question is how can I make the part also go upp and forward.

failed attempts:

torso.AssemblyLinearVelocity = Vector3.new(0,0,torso.CFrame.lookVector.Z * 200) -- Did not work
torso.AssemblyLinearVelocity = torso.CFrame.lookVector * Vector3.new(0,120, 200)
1 Like
torso.AssemblyLinearVelocity = torso.CFrame.lookVector * 200 + torso.CFrame.UpVector*200 
4 Likes

Thank you Poopmaster for coming in clutch. I managed to solve this and forgot to close this, however your method works just as good. I’ll mark it as solution, thank you.

1 Like