What do you want to achieve? I want to be able to ragdoll a player, while not dead, and preferably using ChangeState as I think this results in the smoothest ragdoll (R15).
What is the issue? Well, you can only use ChangeState on a local script. I’m hoping to find a workaround
What solutions have you tried so far? I’ve tried searching other ways and all I’ve seen is making the network ownership nil, then auto-setting the network ownership. Though this does allow ChangeState to run on the server it’s extremely glitchy and not as I would like it to be.
The base of the ragdoll script is from:
All I’ve done is made it so that when the player’s health is under 26, they ragdoll, then get back up once their health is more than 26. I did this by simply changing the state of the humanoid to “Physics” and then disabling the animate script, vice versa for getting up. As I stated though, changing the state of the humanoid can only be done on the client, not the server.