Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Disable Humanoid GettingUp?

Asked by 9 years ago

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

Log in to vote
2
Answered by
Merely 2122 Moderation Voter Community Moderator
9 years ago
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.

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 :/ DEVEL0PMENT 35 — 9y
0
Are you trying to stop all animations? If not, you could anchor the Torso part. Merely 2122 — 9y
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. Merely 2122 — 9y
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. DEVEL0PMENT 35 — 9y
View all comments (2 more)
0
So what exactly happens when you anchor the torso? Merely 2122 — 9y
0
The arms go parallel to the torso DEVEL0PMENT 35 — 9y
Ad

Answer this question