How would I smoothly move a player forward about 4 studs? I’m trying to do this for a combat system I’m working on so the player doesn’t just stand in place all the time, but everything I tried was either choppy, didn’t work or looked bad.
Currently I insert a “BodyVelocity” into the player locally like this:
local forwardVelocity = Instance.new("BodyVelocity")
forwardVelocity.velocity = Player.Character.HumanoidRootPart.CFrame.lookVector*5
forwardVelocity.P = forwardVelocity.P*4
forwardVelocity.maxForce = Vector3.new(10000,10000,10000)*999
forwardVelocity.Parent = Player.Character.HumanoidRootPart
And it works fine locally, but to other players the character sometimes doesn’t even move or the movement is delayed which ruins my combat. I also tried doing the same but from the server and it still was delayed and not smooth. What can I do to make it work flawlessly every single time?