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

How do you launch player in facing direction through a script?

So, I want to launch the player forward, let's say about 30, how would I do this through a script?

I've tried using Velocity in the properties of the UpperTorso, but the axis is fixed so you can only get launched in one direction every time:

local torso = character.UpperTorso 
		torso.Velocity = Vector3.new(-50,5,torso.Velocity.z*1.5)

Is there another property that can be used, or another way in general?

1 answer

✓ Accepted answer
local torso = character.UpperTorso 
torso.Velocity = torso.CFrame.lookVector * 75 --increase/decrease 75 to change speed

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