I can't change my character's hipheight

While I was trying to fix that my player was floating someone helped me and said to change the hipheight. He gave me different scripts but none work.
Here is the script I have at the moment.

local Players = game:GetService('Players')
Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function()
		
		
		local Humanoid = player.Character:WaitForChild('Humanoid')
		player.Character.Humanoid.HipHeight = 0
	end)
end)
2 Likes

Not sure if that will fix your issue. It should perhaps, but as I see it, the script is fine. I would add it in either way.

1 Like

Are you sure you are working with R6 characters? It won’t work if you have R15 characters.

1 Like

Sorry for the late response. I am sure I have R6. And I’ve tried with Character, still doesn’t work.

Yeah I don’t know then, I guess try adding prints to see if it breaks anywhere. Also maybe the hip height cannot be 0, try changing it to 0.1.

Okie, thanks. Sorry for the late response. I was busy doing something else.