Answered by
ee0w 458
6 years ago Edited 6 years ago
In order to trip the character, you must use Humanoid:ChangeState()
to manually change its state. We'll be focusing on the FallingDown
state:
By doing Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
, the Humanoid will fall to the floor unable to stand on its own. You can use this in conjunction with BasePart.Velocity
to fling the character into the air. Here's an example of what I mean:
02 | local rand = math.random |
05 | char.Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown) |
06 | char.HumanoidRootPart.Velocity = Vector 3. new( |
12 | char.HumanoidRootPart.RotVelocity = Vector 3. new( |
Here's it in action
Be sure to upvote/accept if I helped!