I am trying to make a dodge type move, and i am having trouble making the torso's velocity go to it's right.
I do not know what math i need to do and nothing seems to work, I tried CFrame, vectors..nothing has worked so far. This is what I have so far.
elseif input.KeyCode == Enum.KeyCode.D then
print('pressed D')
local torso = player.Character.Torso
local bp = Instance.new('BodyVelocity', torso)
bp.MaxForce = Vector3.new(5000,5000,5000)
bp.Velocity = CFrame.new(20,0,0) * torso.CFrame.lookVector
wait(.8)
bp:Destroy()
end

1 comment
omg ur even here o,O