Jumping makes the player move really weird. How do i fix that?

So, I’ve been trying to fix the issue with jumping being very weird. I don’t know why this happens or how to fix it.

How it looks when you jump:

No-jumping animation is not the issue by the way.

what kind of scripts have you made/used?

There are no scripts in the place/game.

Only the no-jumping animation script. But I don’t think that’s the problem.

What do you mean by this? maybe that is the problem.

I’ve made a script, where it disables the Roblox jump animation.

It looks almost like it’s trying to load an r15 animation instead of an r6 animation.

The character type is actually R15.

Maybe that is the problem with it?

I’ve also tried with the r6 character type. It was 1 year ago, and the same thing happened.

I fixed it (By making the player move like he has shift lock)

Here’s the video:

Here’s the script (for those who needs it):

repeat wait(2) until game:IsLoaded()

local cam = workspace.CurrentCamera

local humRootPart = game:GetService("Players").LocalPlayer.Character:WaitForChild("HumanoidRootPart")

game:GetService("RunService").RenderStepped:Connect(function()



humRootPart.CFrame = CFrame.new(humRootPart.Position) * CFrame.Angles(0, math.atan2(-cam.CFrame.LookVector.X, -cam.CFrame.LookVector.Z), 0)

end)