Body Velocity making character shake?

So i tried making a dash script, it works but when i do that it makes me shake… Anyone know why?

Here is my code:
(It does not work when max force is like 8k or 10k)

local Move2 = Instance.new("BodyVelocity")
Move2.MaxForce = Vector3.new(500000,500000,500000)--Power
Move2.Velocity = root.CFrame.lookVector*100--Direction

Edit: (btw script is on server side) animation is not the cause, also here is an example:

You can just use math.huge for the maxforce, and can u provide a gif?

I use math.huge now and do you know how i would send a gif? (My bad, haven’t been in the forum for a while) but to describe it, when i use it, it plays an animation but the head is shaking left and right repeatedly and also fast…

either gyazo or upload with this button
image

1 Like

It would help if you provided us a bit more on your code, the other potential reason why is that you didn’t really parent Move2 anywhere within the script you provided us

local Move2 = Instance.new("BodyVelocity")
Move2.MaxForce = Vector3.new(500000, 500000, 500000)--Power
Move2.Velocity = root.CFrame.lookVector * 100 --Direction
Move2.Parent = root
game.Debris:AddItem(Move2, 0.5)
1 Like

Here is the script that you mostly need (the other parts are just remote on event)

local Move2 = Instance.new("BodyVelocity")
		Move2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)--Power
		Move2.Velocity = root.CFrame.lookVector*100--Direction
		local animator = char:WaitForChild("Humanoid"):WaitForChild("Animator")
		local animTrack = animator:LoadAnimation(DashAnim)
		animTrack:Play()
		Move2.Parent = char.UpperTorso
		wait(.25)
		Move2:Destroy()
		animTrack:Stop()

I did something like this before let me find it in my old files for studio.

Try this

local Move2 = instance.new("BodyVelocity")
Move2.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
Move2.Velocity = root.CFrame.LookVector * 100
Move2.Parent = root
Move2.P = 10

It still does the exact same thing unfortunately, maybe its the animation?

Edit: i turned off the anim and it does not work… Its not the animation…

Maybe its because the force is *100? Im not sure…

Anyone know why this is happening?

From this post.