HumanoidRootPart tween going crazy

I was trying to make it so this worm thing would lunge out at players using a CFrame tween, but when I ran it the worm would teleport to a random distance instead.

wait(10)
game:GetService("TweenService"):Create(script.Parent.HumanoidRootPart, 
TweenInfo.new(1), {CFrame = CFrame.new(Vector3.new(-840.266, -794.696, 
675.583), Vector3.new(-840.266, -794.696, 675.583))}):Play()

What happens

Nothing comes up in the output
Thanks in advance

The problem is that your CFrame constructor is using the lookAt format, but your two Vector3 points are the same. Replace that code with CFrame = CFrame.new(Vector3.new(-840.266, -794.696, 675.583), Vector3.new(-840.266, -795, 675.583))
or
CFrame = CFrame.new(Vector3.new(-840.266, -794.696, 675.583)).