I am trying to make a ragdoll recovery, although when the player stops ragdolling, they can move and everything, although they have the falling animation. I have tried messing around with the state types but nothing has worked.
Seans Ragdoll - Roblox Studio (gyazo.com)
Script:
player.Character.Ragdoll:Destroy()
RagdollEvent:FireClient(player,"Disable",player.Character.Humanoid)
player.Character.HumanoidRootPart:SetNetworkOwner(nil)
local humanoid = player.Character.Humanoid
player.Character.HumanoidRootPart.CanCollide = true
humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
humanoid:ChangeState(Enum.HumanoidStateType.PlatformStanding,false)
humanoid:ChangeState(Enum.HumanoidStateType.Physics,false)
humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll,false)
humanoid:ChangeState(Enum.HumanoidStateType.FallingDown,false)
humanoid:ChangeState(Enum.HumanoidStateType.Freefall,false)
humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
-- humanoid:ChangeState(Enum.HumanoidStateType.None)
humanoid:ChangeState(Enum.HumanoidStateType.Running)
humanoid.WalkSpeed = 16
This is part of the script
It has something to do with the statetypes I believe.