I’m trying to change the character’s HipHeight when the player joins the game, because some of my animations have the player floating if i don’t adjust it. I Have tried using the following code:
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
local Humanoid = Character:WaitForChild("Humanoid")
Humanoid.HipHeight = 2.1
end)
end)
It isn’t working for some reason, and i don’t get any error messages on the output. Btw this is a Server script on ServerScriptService. Thanks in advance 
If you don’t get any errors, try adding a print() to see if it’s even running properly.
1 Like
I’m not receiving any output from the print(). Maybe the problem is in calling the function?
I tested it in the same circumstances as you and it works, It is not necessarily the contents of the scripts that is the problem I think.
1 Like
Weird. I also tested changing the HipHeight through the Properties tab in the explorer while running the game and it worked, so it isn’t a glitch with my character. I’ll see if maybe something is wrong with my place. Thanks!
Update: apparently the game was loading the default HipHeight after i set it to 2.1, so my solution was to add a wait(1) before changing it. It’s not ideal, but it works.