So, The thing with Battlegrounds is the majority of them have this kind of controllable dash.
Let me explain:
You can essentially turn while dashing and that will change the direction of the dash.
Here are some Examples:
How would I Achieve this?
I have already tried using body velocity but that sends you in a hard locked direction
I did something else and was wondering if it works?
local function BodyVelocityApply(Times,Factor,Duration)
for i = Times, 0, Factor do
if CurrentDirection == "Left" then
BodyVelocity.Velocity = Character.HumanoidRootPart.CFrame.RightVector * -i
elseif CurrentDirection == "Right" then
BodyVelocity.Velocity = Character.HumanoidRootPart.CFrame.RightVector * i
elseif CurrentDirection == "Back" then
BodyVelocity.Velocity = Character.HumanoidRootPart.CFrame.LookVector * -i
elseif CurrentDirection == "Front" then
BodyVelocity.Velocity = Character.HumanoidRootPart.CFrame.LookVector * i
end
wait(Duration)
end
BodyVelocity:Destroy()
end