Making a player smaller during crouch

I’ve made a script which allows the player to enter a crouch and walk around, which all works fine; however, the crouching animation doesn’t actually make the player smaller. This makes it impossible for the player to crouch under things as I would like.

I’ve already tried searching for a solution but I couldn’t seem to find anything that works, I also attempted to change the players hip height which worked but it made the player fall to the ground and looked strange.

In summary, is there a value that I can edit with a script to change a players hitbox, while maintaining their visual hitbox to avoid strange interactions.

Set the cancollide property of the HumanoidRootPart of the player’s character to false. Because even though it looks like they are smaller, the HumanoidRootPart is probably colliding making the player unable to get under things. You can do this in the script and I’ll give you an idea.

character:FindFirstChild("HumanoidRootPart").CanCollide = false
2 Likes