Why is the Character Hitbox so big?

  1. What do you want to achieve?
    I want to make a crawling animation for my game.

  2. What is the issue?
    While crawling, the hitbox is massive, therefore the animation loses its function

  3. What solutions have you tried so far?

  • Animating every body part. Its still big.

I can show the Local script that triggers the animation

local UserInputService = game:GetService("UserInputService")
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local crawlAnim = humanoid:LoadAnimation(script:WaitForChild("CrawlAnim"))
local isCrawling = false

humanoid.Running:Connect(function(speed)
	if speed > 0 then
		crawlAnim:AdjustSpeed(1)
	else
		crawlAnim:AdjustSpeed(0)
	end
end)

UserInputService.InputBegan:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.C then
		if not isCrawling then
			isCrawling = true
			crawlAnim:Play()
			crawlAnim:AdjustSpeed(0)
			humanoid.WalkSpeed = 8
			humanoid.JumpPower = 0
		else
			crawlAnim:Stop()

			humanoid.WalkSpeed = 16
			humanoid.JumpPower = 50
			isCrawling = false
		end
	end
end)

Every Help is appreciated!

It is because of hrp aka humanoidrootpart It is invisible but you can try set the Hrp as cancollide to false using remote event

1 Like

Ok. How can I set up the Remote event and what do I need for that?

the humanoid root part never being affected by animations, so if you make a crouch script it will not be affected

It’s because the HumanoidRootPart hasn’t moved. It is standing in mid air because that’s where it’s used to be because the character usually stands up.