#Can someone help me improve my dash?

1 messages · Page 1 of 1 (latest)

gray bluff
#

dashEvent.OnServerEvent:Connect(function(plr)
local character = plr.Character
if not character then return end
local hrp = character:FindFirstChild("HumanoidRootPart")
if not hrp then return end


    local bodyVelocity = Instance.new("BodyVelocity")
    bodyVelocity.MaxForce = Vector3.new(100000, 0, 100000)
    bodyVelocity.Velocity = dashDirection * 50 
    bodyVelocity.Parent = hrp

    print("dashhh....")
    
    game:GetService("Debris"):AddItem(bodyVelocity, 0.2)
end)
hasty quest
#
   local dashDirection = hrp.CFrame.LookVector
   local bodyVelocity = Instance.new("BodyVelocity")
   local dashing = true
   bodyVelocity.MaxForce = Vector3.new(1, 0, 1) * 140000
   bodyVelocity.Parent = hrp

   delay(1, function()
     dashing = false
   )

   while dashing == true do
    bodyVelocity.Velocity = dashDirection * 50
   end
maiden juniper
hasty quest
hasty quest
maiden juniper
#

BITCHH

hasty quest
#

wheres my thank you????

quasi skiff
gray bluff
#

oh ye

#

task.delay

#

it CRAHED me

#

hellop

#

help

gray bluff
#

it cahsed me

#

crashed

hasty quest
#

hi

#
   local dashDirection = hrp.CFrame.LookVector
   local bodyVelocity = Instance.new("BodyVelocity")
   local dashing = true
   bodyVelocity.MaxForce = Vector3.new(1, 0, 1) * 140000
   bodyVelocity.Parent = hrp

   delay(1, function()
     dashing = false
   )

   while dashing == true do
    bodyVelocity.Velocity = dashDirection * 50
   end
gray bluff
#

.

#

it crashes my game

hasty quest
#

OH

#

WAIT

#

I FORGOT LOL

#
   local dashDirection = hrp.CFrame.LookVector
   local bodyVelocity = Instance.new("BodyVelocity")
   local dashing = true
   bodyVelocity.MaxForce = Vector3.new(1, 0, 1) * 140000
   bodyVelocity.Parent = hrp

   delay(1, function()
     dashing = false
   )

   while dashing == true do
    bodyVelocity.Velocity = dashDirection * 50
    task.wait()
   end
#

tast.wait() rightt

gray bluff
#

also

#

iit moves me in 1 direction

#

infinetly

#

i think i should make it myself bro

hasty quest
#

idek

native tartan
#

or set velocity to 0

gray bluff
#

oh ok