Splint.OnServerEvent:Connect(function(E)local T=E.Character.Humanoid local B=T.Parent.Saude.Variaveis.Doer local u=T.Parent.Saude.Stances.Sangrando local v=T.Parent.Saude.Variaveis.MLs local S=T.Parent.Saude.Stances.Caido local Z=T.Parent.Saude.Stances.Ferido local R=T.Parent.Saude.Kit.Splint if B.Value==false and S.Value==false then if R.Value>=1 and Z.Value==true then B.Value=true wait(.3)Z.Value=false R.Value=R.Value-1 wait(2)B.Value=false end end end)PainKiller.OnServerEvent:Connect(function(E)local T=E.Character.Humanoid local B=T.Parent.Saude.Variaveis.Doer local u=T.Parent.Saude.Stances.Sangrando local v=T.Parent.Saude.Variaveis.MLs local S=T.Parent.Saude.Variaveis.Dor local Z=T.Parent.Saude.Stances.Caido local R=T.Parent.Saude.Stances.Ferido local K=T.Parent.Saude.Kit.Aspirina if B.Value==false and Z.Value==false then if K.Value>=1 and S.Value>=1 then B.Value=true wait(.3)S.Value=S.Value-math.random(60,75)K.Value=K.Value-1 wait(2)B.Value=false end end end)Energetic.OnServerEvent:Connect(function(E)local T=E.Character.Humanoid local B=T.Parent.Saude.Variaveis.Doer local u=T.Parent.Saude.Stances.Sangrando local v=T.Parent.Saude.Variaveis.MLs local S=T.Parent.Saude.Variaveis.Dor local Z=T.Parent.Saude.Stances.Caido local R=T.Parent.Saude.Stances.Ferido local K=T.Parent.Saude.Kit.Energetico if B.Value==false and(Z.Value==false and K.Value>=1)then if T.Health<T.MaxHealth then B.Value=true wait(.3)T.Health=T.Health+T.MaxHealth/3 K.Value=K.Value-1 wait(2)B.Value=false end end end)Tourniquet.OnServerEvent:Connect(function(E)local T=E.Character.Humanoid local B=T.Parent.Saude.Variaveis.Doer local u=T.Parent.Saude.Stances.Sangrando local v=T.Parent.Saude.Variaveis.MLs local S=T.Parent.Saude.Variaveis.Dor local Z=T.Parent.Saude.Stances.Caido local R=T.Parent.Saude.Stances.Ferido local K=T.Parent.Saude.Kit.Tourniquet if T.Parent.Saude.Stances.Tourniquet.Value==false then if B.Value==false and K.Value>0 then B.Value=true wait(.3)T.Parent.Saude.Stances.Tourniquet.Value=true K.Value=K.Value-1 wait(2)B.Value=false end else if B.Value==false then B.Value=true wait(.3)T.Parent.Saude.Stances.Tourniquet.Value=false K.Value=K.Value+1 wait(2)B.Value=false end end end)
--

Splint.OnServerEvent:Connect(function(player)


	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local Sangrando = Human.Parent.Saude.Stances.Sangrando
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Ferido = Human.Parent.Saude.Stances.Ferido

	local Bandagens = Human.Parent.Saude.Kit.Splint

	if enabled.Value == false and Caido.Value == false  then
	
		if Bandagens.Value >= 1 and Ferido.Value == true  then 
		enabled.Value = true
		
		wait(.3)		
		
		Ferido.Value = false 
		
		Bandagens.Value = Bandagens.Value - 1 
		
		
		wait(2)
		enabled.Value = false
	
		end	
	end	
end)

PainKiller.OnServerEvent:Connect(function(player)


	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local Sangrando = Human.Parent.Saude.Stances.Sangrando
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Dor = Human.Parent.Saude.Variaveis.Dor
	local Caido = Human.Parent.Saude.Stances.Caido
	local Ferido = Human.Parent.Saude.Stances.Ferido

	local Bandagens = Human.Parent.Saude.Kit.Aspirina

	if enabled.Value == false and Caido.Value == false  then
	
		if Bandagens.Value >= 1  and Dor.Value >= 1  then
		enabled.Value = true
		
		wait(.3)		
		
			Dor.Value = Dor.Value - math.random(60,75)
		
		Bandagens.Value = Bandagens.Value - 1 
		
		
		wait(2)
		enabled.Value = false
	
		end	
	end	
end)

Energetic.OnServerEvent:Connect(function(player)


	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local Sangrando = Human.Parent.Saude.Stances.Sangrando
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Dor = Human.Parent.Saude.Variaveis.Dor
	local Caido = Human.Parent.Saude.Stances.Caido
	local Ferido = Human.Parent.Saude.Stances.Ferido

	local Bandagens = Human.Parent.Saude.Kit.Energetico
	--local Energia = Human.Parent.Saude.Variaveis.Energia

	if enabled.Value == false and Caido.Value == false and Bandagens.Value >= 1 then
	
		if Human.Health < Human.MaxHealth  then
		enabled.Value = true
		
		wait(.3)		
		
		Human.Health = Human.Health + (Human.MaxHealth/3)
		--Energia.Value = Energia.Value + (Energia.MaxValue/3)
		Bandagens.Value = Bandagens.Value - 1
		
		
		wait(2)
		enabled.Value = false
	
		end	
	end	
end)

Tourniquet.OnServerEvent:Connect(function(player)


	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local Sangrando = Human.Parent.Saude.Stances.Sangrando
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Dor = Human.Parent.Saude.Variaveis.Dor
	local Caido = Human.Parent.Saude.Stances.Caido
	local Ferido = Human.Parent.Saude.Stances.Ferido

	local Bandagens = Human.Parent.Saude.Kit.Tourniquet

if Human.Parent.Saude.Stances.Tourniquet.Value == false then
	if enabled.Value == false and Bandagens.Value > 0 then
		enabled.Value = true
		
		wait(.3)		
		
		Human.Parent.Saude.Stances.Tourniquet.Value = true
		Bandagens.Value = Bandagens.Value - 1
		
		
		wait(2)
		enabled.Value = false
		
	end	
else
	if enabled.Value == false then
		enabled.Value = true
		
		wait(.3)		
		
		Human.Parent.Saude.Stances.Tourniquet.Value = false
		Bandagens.Value = Bandagens.Value + 1
		
		
		wait(2)
		enabled.Value = false
	end
end
end)
