Humanoid.Running stops firing after being fired 3 times?

I’ve been trying to give my custom rig a walking animation, but it seems like the Humanoid.Running event is not firing, or well, it fires 3 times to then not fire at all.

Here’s my rig:
Cow.rbxm (25.3 KB)

Here’s a video showing what’s going on (it prints the “speed” Humanoid.Running event gives me):

And here’s the code that prints in the video (it works well on the default roblox dummy and I used a check just to see if it was the cow to print the speed)

Humanoid.Running:Connect(function(Speed)
	if Monster.Name == "Cow" then
		print(Speed)
	end
	if Speed > 0.01 then
		PlayAnimation("Walk", 0.1)
	end
end)
1 Like

I think i found the issue
the cow’s HipHeight is too low, so it’s being dragged across the floor and not moving properly, so .Running isn’t triggering
I raised it to 3 and .Running is triggering now, but you should make the legs uncollidable and use a smaller number than 3 because 3 looks like this
image


here’s the logs of me testing it
image

2 Likes

Thank you so much, this works.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.