if configuracao.EnableRagdoll==true then if human.Health<=1 then Ragdoll(Char)end end human.HealthChanged:Connect(function(f)if dead.Value==false and Sang.Value>=10 then human.Health=math.clamp(f,.1,100)if f<=.1 or human.Health<=.1 then Caido.Value=true end if(rodeath.Value==true or life.Value==false)and f<=-25 then local C=f*40 Sang.Value=Sang.Value+C human.PlatformStand=true human.AutoRotate=false Caido.Value=true end else human.PlatformStand=false human.AutoRotate=true human.Health=0 end end)


if configuracao.EnableRagdoll == true then
	if human.Health <= 1 then
		Ragdoll(Char)
	end
end


human.HealthChanged:Connect(function (newhealth)
		if dead.Value == false and Sang.Value >= 10 then
		
		
			human.Health = math.clamp(newhealth, 0.1, 100)
		
		if newhealth <= 0.1 or human.Health <= 0.1 then
			Caido.Value = true
		end
	
		if (rodeath.Value == true or life.Value == false) and newhealth <= -25 then
			local loss = newhealth * 40
			Sang.Value = Sang.Value + loss
			human.PlatformStand = true
			human.AutoRotate = false	
			Caido.Value = true	
	
		end
		
			
		
		else
			human.PlatformStand = false
		human.AutoRotate = true
			
			human.Health = 0
			
		end
end)

