Collapse.OnServerEvent:Connect(function(P)local z=P.Character.Humanoid local k=z.Parent.Saude.Variaveis.Dor local B=z.Parent.Saude.Variaveis.Sangue local a=z.Parent.Saude.Stances.Caido if B.Value<=3500 or k.Value>=200 or a.Value==true then a.Value=true z.PlatformStand=true z.AutoRotate=false elseif B.Value>3500 and(k.Value<200 and a.Value==false)then z.PlatformStand=false a.Value=false z.AutoRotate=true end end)Reset.OnServerEvent:Connect(function(P)local z=P.Character.Humanoid local k=z.Parent.Saude.Variaveis.PlayerSelecionado k.Value="\078\047\065"end)


Collapse.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local Dor = Human.Parent.Saude.Variaveis.Dor
	local Sangue = Human.Parent.Saude.Variaveis.Sangue
	local IsWounded = Human.Parent.Saude.Stances.Caido


	if (Sangue.Value <= 3500) or (Dor.Value >= 200)  or (IsWounded.Value == true) then -- Man this Guy's Really wounded,
		IsWounded.Value = true
		Human.PlatformStand = true
		Human.AutoRotate = false	
	elseif (Sangue.Value > 3500) and (Dor.Value < 200) and (IsWounded.Value == false) then -- YAY A MEDIC ARRIVED! =D
		Human.PlatformStand = false
		IsWounded.Value = false
		Human.AutoRotate = true	
		
	end
end)

Reset.OnServerEvent:Connect(function(player)

local Human = player.Character.Humanoid
local target = Human.Parent.Saude.Variaveis.PlayerSelecionado

target.Value = "N/A"
end)
