I’m trying to briefly move my character they way they’re facing when they swing a sword (to just give them a little lunge). the only part that I need help on is the whole moving the way they’re facing part of the script.
local Character = game.Players.LocalPlayer.Character
local BV = Instance.new("BodyVelocity", Character.HumanoidRootPart)
BV.Velocity = Character.HumanoidRootPart.CFrame.LookVector * (Insert a number here) --This is the "moving forward" part of the script, mess around with the number until you get the distance you want + Also change the wait time if it's too long
task.wait(1)
BV:Destroy()
LookVector uses CFrame and CFrame is the position and orientation of an object
If you still are confused on how they work, read about CFrames here