Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

R15 Avatars tripping when falling from high places?

I've noticed that for some reason, R15 avatars tend to trip when they land after falling from a high point (Example). As seen in the gif, the player face plants after falling down. Is there any way to stop this?

Thanks for reading

1 answer

✓ Accepted answer

Humanoid:SetStateEnabled(HumanoidStateType, bool)

You can disable a Humanoid's state (in this case, FallingDown) to false to prevent the state from happening. I believe this can only be used in local scripts (correct me if I'm wrong).

Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)

You can find more HumanoidStateTypes here.

2 comments

1

Nope, both the server and client can use SetStateEnabled(). Using it from the client is a bad idea anyway because the change will not replicate to the server.

0

I will have to do some testing before I can accept the answer. I've tried this already but on the server and it didn't help, but i'll leave it on the client for a while and see if i notice it anymore

This discussion is preserved as it was. New answers, comments, and votes are closed.