It goes at random speeds, sometimes slow, sometimes fast, how do I make it go super fast:
local at0 = Instance.new("Attachment")
at0.Parent = humrp
local at1 = Instance.new("Attachment")
at1.Parent = nearestPlayer.Character:WaitForChild("HumanoidRootPart")
local AP = Instance.new("AlignPosition")
AP.MaxForce = 1e5
AP.MaxVelocity = math.huge
AP.Parent = nearestPlayer.Character:WaitForChild("HumanoidRootPart")
local started
local ended
Track:Play()
started = Track:GetMarkerReachedSignal("Start"):Connect(function()
AP.Attachment0 = at0
AP.Attachment1 = at1
started:Disconnect()
end)
ended = Track:GetMarkerReachedSignal("End"):Connect(function()
AP:Destroy()
at0:Destroy()
at1:Destroy()
ended:Disconnect()
dashing.Value = false
end)
delay(config.cooldown, function()
db = false
end)