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

Disable Humanoid GettingUp?

I know it's an event, but how can I prevent the character from getting up? I can't anchor the body, it needs to be suspended sort of tipped over and the arms need to be just so. Thanks in advance.

1 answer

local Character = game.Workspace.Player1
Character.Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
Character.Animate:Remove()

This prevents a character from getting back up. The characters will act for the most part, like a regular part, in that it obeys gravity.

6 comments

0

How can I get the character to stay in the position, with no physics? I know I'm asking a lot and requesting, sorry :/

0

Are you trying to stop all animations? If not, you could anchor the Torso part.

0

Actually, after setting the state to Physics, you can just remove the Animate LocalScript from the character, and that will make it stop moving.

0

I'll explain the whole thing. I'm making an animation tool that will make you go to a certain position, but I want the character to stay in that position regardless of physics, but I can't anchor the torso because the arms need to stay in a certain position relative to the body.

0

So what exactly happens when you anchor the torso?

0

The arms go parallel to the torso

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