I made a tool that moves your character in the direction that you're looking (supposedly,) however it does not work. Here is the script:
script.Parent.Equipped:connect(function()
while true do
local cf = game.Players.LocalPlayer.Character.Torso.CFrame
cf = cf + Vector3.new(2,0,0)*cf.lookVector
wait(0.2)
end
wait(0.1)
end)
It only moves me left or right depending on how I'm looking, rather than any direction. Help?

1 comment
It would be '+' (cf.lookVector2) not ''