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)
