Character Jumping way too high while rotating

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want player not to jump high like that in the video

  2. What is the issue? Video as you can see it jumps very high. Jump Power is the normal value.

  3. What solutions have you tried so far? I dont know whats wrong soo yeah

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

local plr = game.Players.LocalPlayer
local char = plr.Character
local Humanoid = char:WaitForChild("Humanoid")

Humanoid.Jumping:Connect(function ()
    script.Parent.Enabled = true
end)

Humanoid.StateChanged:Connect(function (old,new)
    if new == Enum.HumanoidStateType.Landed then
        script.Parent.Enabled = false
    end
end)

while task.wait() do
    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.lookAt(game.Players.LocalPlayer.Character.PrimaryPart.Position ,mouse.Hit.Position)
end

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

What’s the script for? If you just want the character to face the cursor, you should probably just remove the Y component of the position like this:

 local hit = mouse.Hit.Position
 local pos = Vector3.new(hit.X, char.HumanoidRootPart.CFrame.Position.Y, hit.Z)
 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.lookAt(game.Players.LocalPlayer.Character.PrimaryPart.Position , pos)

Doing this does not cause flight or jumping issues