So I’m making my own admin commands and I wanted to make some sort of command to make the player trip but not use Humanoid.Sit, I kept googling anything couldn’t find anything, there was a Humanoid state thing but I tried it not sure if i’m even using it correctly. What I’m looking for is basically make the player trip, but not an animation or anything. You know how sometimes players temporarily lose control of their character and their character just falls down? That’s what I want but I don’t know how to do.
You could transform the CFrame of their HumanoidRootPart by 90 degrees in the X axis.
It works but not exactly how I want it, the character just keeps flipping and doing some weird stuff
You could try anchoring them for a really short period, then, after the transformation, you could unanchor them
I’ve been trying that for 20 minutes now, I have to work with a for loop and a wait() which i’m not good with using so i’ve been stuck on that
I’m going to assume you want to prevent the player from instantly falling/rotating on their local x axis, in that case, I recommend you look into TweenService.
You could make an animation of the player tripping, and play that. Then you don’t have to anything to the player but play the animation and turn walkspeed down.
It sounds like you are looking for
Humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
Note that this is only reliable if done on the client side (from a LocalScript)
Here’s the wiki reference:
This might be something interesting for that case.
Yup exactly what I need, Thanks