Ragdolls not colides?Not works?Frozen?In this post you will tell all solutions that i know
For frist i want to say that it may be outdated in future or wont work for you.
Aswell its my frist time when i make post in this topic so format may be inacurrate aswell i use translator
The reason i make this post is becouse a lot of people who try to make ragdolls ends up having broken system.
Most common is that your ragdoll`s parts not have collision at all
Solution:
--For frist move your ragdoll into workspace incase if you using clone
YourRagDoll.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)
YourRagDoll.Humanoid:ChangeState(Enum.HumanoidStateType.Running)
YourRagDoll.Humanoid:ChangeState(Enum.HumanoidStateType.Ragdoll)
YourRagDoll:WaitForChild("Head").CanCollide = true
YourRagDoll:WaitForChild("HumanoidRootPart").CanCollide = false
YourRagDoll.HumanoidRootPart.Anchored = true
--Remove BallSocketConstraint from humanoidrootpart its very important
YourRagDoll.HumanoidRootPart.BallSocketConstraint:Destroy()
After that your ragdoll would work better
now if user gets nearby your ragdoll may go insane
Solution:
--local Root
--Find new body root
if YourRagDoll:FindFirstChild("Torso") then
YourRagDoll.Torso:SetNetworkOwner(nil)
--Root = YourRagDoll.Torso
else
YourRagDoll:WaitForChild("LowerTorso"):SetNetworkOwner(nil)
--Root = YourRagDoll.LowerTorso
end
Now it would render physic of body on server
Aswell there maight be thing that your ragdoll regenerates HP very simple to fix it
for _,b in pairs(YourRagDoll:GetDescendants()) do
if b:IsA("Script") and b.Name == "Health" then
b:Destroy()
Humanoid.Health = 0
end
end
So that it its all for me known reasons why ragdoll may no work
Final result:
Have a nice day
This may fix most common issues