[Need Help] Dashing Script Bugging?

Hello Dev Forum, I’ve been trying to create a dashing script over a while, but, I keep on ending up with the same bug. It keeps on “Flinging” me, while I try to dash into a wall or anything like that. Is there any solutions to this problem? Or any way to get past it, please let me know!

VIDEO :

you can try disabling the ragdoll humanoid state on the client when they are dashing because that’s what causes the “flinging” behaviour

local humanoid = game.Players.LocalPlayer.Character.Humanoid
humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)

Sadly it did not work, is there any other possible way?

have you tried doing it on the server too?

actually try disabling the fallingdown state too on the client , it worked for me.

it works, but there is still some faulty errors to it still causing the fling.

what do you mean by the faulty errors?

Like it works some times, then it doesn’t.

Is it possible to send a video of that?

I would set the HumanoidRootPart’s CFrame vertically so that it doesn’t fall down.

I once had the same issue, have you tried turning down the max force? I used BodyVelocity and set the MaxForce to math.huge this flung the player far when hitting a wall. Set it to around 100,000 on each axis

1 Like

This worked thank you so much!

1 Like