humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)local g=char:WaitForChild("\072\101\097\100")g.Shape=Enum.PartType.Ball g.Size=Vector3.new(1,1,1);(CS:GetInstanceAddedSignal("\082\097\103\100\111\108\108")):Connect(function(g)if g==char then humanoid:ChangeState(Enum.HumanoidStateType.Physics)hrp:ApplyAngularImpulse(Vector3.new(90,0,0))end end);(CS:GetInstanceRemovedSignal("\082\097\103\100\111\108\108")):Connect(function(g)if g==char then humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)end end)
-- FUNCTIONS --
humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp, false)

local head = char:WaitForChild("Head")
head.Shape = Enum.PartType.Ball
head.Size = Vector3.new(1, 1, 1)

CS:GetInstanceAddedSignal("Ragdoll"):Connect(function(v)
	if v == char then
		humanoid:ChangeState(Enum.HumanoidStateType.Physics)
		hrp:ApplyAngularImpulse(Vector3.new(90, 0, 0))
	end
end)

CS:GetInstanceRemovedSignal("Ragdoll"):Connect(function(v)
	if v == char then
		humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
	end
end)
