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

How to correctly stun a player ?

I would like to know how to stun a player. Not just using animation + putting walkspeed to 0, what i want is that the player's character can "fall" by himself... For example, he is at the border of a mountain, then he is stuned and he fall down, not because he wanted to , but because he was "forced" to fall

1 comment

0

Not a request site

1 answer

✓ Accepted answer

You can change the humanoid's state using this function. Here is a list of all possible states. The best one in this case would be Ragdoll.

Example:

local humanoid

humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll)

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