--[[
o2.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.o2


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




Compress_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local isdead = Human.Parent.Saude.Stances.rodeath

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local cpr = PlHuman.Parent.Saude.Stances.cpr
		local isdead = PlHuman.Parent.Saude.Stances.rodeath
		
		if enabled.Value == false then
	
		if isdead.Value == true and (Sangrando.Value == false or Human.Parent.Saude.Stances.Tourniquet.Value == true) then 
		enabled.Value = true
				
				
			
		PlHuman.Health = PlHuman.Health + 5
		
		
		
		
		wait(0.5)
	
				enabled.Value = false
				
			
			
			end
			end
		
		
	end
end)

Bandage_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.Bandagem

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		
		if enabled.Value == false then
	
		if Item.Value >= 1 and Sangrando.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		local number = math.random(1, 2)
				
		if number == 1 then		
			Sangrando.Value = false
		end
				
		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)

scalpel_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.scalpel

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local cutopen = PlHuman.Parent.Saude.Stances.cutopen
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local o2 = PlHuman.Parent.Saude.Stances.o2
		local caido = PlHuman.Parent.Saude.Stances.Caido
		
		if enabled.Value == false and cutopen.Value == false and caido.Value == true and o2.Value == true then
	
		if Item.Value >= 1 then 
		enabled.Value = true
		
		wait(.3)		
		
		cutopen.Value = true
			
		
		
		wait(2)
				
		enabled.Value = false
		end	

		end	
	end
end)

suction_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.suction

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local npa = PlHuman.Parent.Saude.Stances.npa
		local etube = PlHuman.Parent.Saude.Stances.etube
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.cutopen.Value == true and PlHuman.Parent.Saude.Stances.o2.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then

		if enabled.Value == false then
			if Item.Value > 0 then 
			--if Item.Value > 0 then 
					
					enabled.Value = true
		
		wait(.1)		
		
		PlHuman.Parent.Saude.Stances.suction.Value = true	
		wait(3.5)	

		PlHuman.Parent.Saude.Stances.suction.Value = false
		
		
		wait(0.1)
		enabled.Value = false
		end
		end	
		end
		end
			
end)

clamp_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.clamp

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local npa = PlHuman.Parent.Saude.Stances.npa
		local etube = PlHuman.Parent.Saude.Stances.etube
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.cutopen.Value == true and PlHuman.Parent.Saude.Stances.o2.Value == true and PlHuman.Parent.Saude.Stances.suction.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then

		if enabled.Value == false then
			if Item.Value > 0 then 
			--if Item.Value > 0 then 
					
					enabled.Value = true
		
		wait(.1)		
		
		PlHuman.Parent.Saude.Stances.clamped.Value = true	
		wait(5.5)	

		PlHuman.Parent.Saude.Stances.clamped.Value = false
		
		
		wait(0.1)
		enabled.Value = false
		end
		end	
		end
		end
			
end)



catheter_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.catheter
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local balloonbleed = PlHuman.Parent.Saude.Stances.balloonbleed
		local balloon = PlHuman.Parent.Saude.Stances.balloon
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local cutopen = PlHuman.Parent.Saude.Stances.cutopen
		local suction = PlHuman.Parent.Saude.Stances.suction

	if PlHuman.Parent.Saude.Stances.catheter.Value == false and PlHuman.Parent.Saude.Stances.o2.Value == true and cutopen.Value == true and suction.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then

		if enabled.Value == false then
		if Item.Value > 0 and (Sangrando.Value == true or bbleeding.Value == true) then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.catheter.Value = true	


		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.balloon.Value == false then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.catheter.Value = false		

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)

balloon_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.catheter
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local balloonbleed = PlHuman.Parent.Saude.Stances.balloonbleed
		local repaired = PlHuman.Parent.Saude.Stances.repaired
		local catheter = PlHuman.Parent.Saude.Stances.catheter
		local o2l = PlHuman.Parent.Saude.Stances.o2
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.balloon.Value == false then

		if enabled.Value == false then
		if Item.Value > 0 and (Sangrando.Value == true or bbleeding.Value == true) and o2l.Value == true and catheter.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.balloon.Value = true	
		Sangrando.Value = false
		bbleeding.Value = false	

		
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.balloon.Value == true and repaired.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.balloon.Value = false		
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)


prolene_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.prolene
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local o2l = PlHuman.Parent.Saude.Stances.o2
		local balloonbleed = PlHuman.Parent.Saude.Stances.balloonbleed
		local repaired = PlHuman.Parent.Saude.Stances.repaired
		local balloon = PlHuman.Parent.Saude.Stances.balloon
		
		
		if enabled.Value == false then
	
		if Item.Value > 0 and o2l.Value == true and balloon.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then 
		enabled.Value = true
		
		wait(2)		
		
			Sangrando.Value = false
			bbleeding.Value = false
			balloonbleed.Value = false
			repaired.Value = true
			Item.Value = Item.Value - 1
			
		
		
		wait(2)
				
				enabled.Value = false
				
		end	

		end	
	end
end)

prolene5_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.prolene5
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local o2l = PlHuman.Parent.Saude.Stances.o2
		local balloonbleed = PlHuman.Parent.Saude.Stances.balloonbleed
		local repaired = PlHuman.Parent.Saude.Stances.repaired
		local balloon = PlHuman.Parent.Saude.Stances.balloon
		local clamped = PlHuman.Parent.Saude.Stances.clamped
		local surg2 = PlHuman.Parent.Saude.Stances.surg2
		
		
		if enabled.Value == false then
	
		if Item.Value > 0 and o2l.Value == true and clamped.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then 
				
		enabled.Value = true
		
		wait(2)		
		

			surg2.Value = false
			repaired.Value = true
			Item.Value = Item.Value - 1
			
		
		
		wait(2)
				
				enabled.Value = false
				
		end	

		end	
	end
end)

nylon_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.nylon
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local o2l = PlHuman.Parent.Saude.Stances.o2
		local balloonbleed = PlHuman.Parent.Saude.Stances.balloonbleed
		local repaired = PlHuman.Parent.Saude.Stances.repaired
		local balloon = PlHuman.Parent.Saude.Stances.balloon
		local catheter = PlHuman.Parent.Saude.Stances.catheter
		local cutopen = PlHuman.Parent.Saude.Stances.cutopen
		
		
		if enabled.Value == false then
	
		if Item.Value >= 1 and o2l.Value == true and repaired.Value == true and catheter.Value == false and cutopen.Value == true and PlHuman.Parent.Saude.Stances.Caido.Value == true then 
		enabled.Value = true
		
		wait(2)		
		
			
			
			repaired.Value = false
			cutopen.Value = false
		
		
		wait(2)
				Item.Value = Item.Value - 1
				enabled.Value = false
				
		end	

		end	
	end
end)


defib_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.defib
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local bbleeding = PlHuman.Parent.Saude.Stances.bbleeding
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local PlCaido = PlHuman.Parent.Saude.Stances.Caido
		local o2p = PlHuman.Parent.Saude.Stances.o2
		local isdead = PlHuman.Parent.Saude.Stances.rodeath
		local cpr = PlHuman.Parent.Saude.Stances.cpr
		local life = PlHuman.Parent.Saude.Stances.life
		
		
		if enabled.Value == false then
	
		if Item.Value >= 1 and o2p.Value == true and isdead.Value == true then 
		enabled.Value = true

		wait(1)		
				
			isdead.Value = false
			
			life.Value = true
			
				
			PlHuman.Health = PlHuman.Health + 100
				
			
		
		wait(1)
		enabled.Value = false
	
		end	
	end	
	end
end)

Splint_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.Splint

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		
		if enabled.Value == false then
	
		if Item.Value >= 1 and Ferido.Value == true  then 
		enabled.Value = true
		
		wait(.3)		
		
		Ferido.Value = false		

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)

Tourniquet_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.Tourniquet

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.Tourniquet.Value == false then

		if enabled.Value == false then
		if Item.Value > 0 then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.Tourniquet.Value = true		

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.Tourniquet.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.Tourniquet.Value = false		

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)

skit_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.skit

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.skit.Value == false then

		if enabled.Value == false then
		if Item.Value > 0 then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.skit.Value = true		

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.skit.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.skit.Value = false		
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)

npa_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.npa

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local faido = PlHuman.Parent.Saude.Stances.Caido
		local o2p = PlHuman.Parent.Saude.Stances.o2
		local nrb = PlHuman.Parent.Saude.Stances.nrb
		
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.npa.Value == false then

		if enabled.Value == false then
		if Item.Value > 0 and faido.Value == false then 
		enabled.Value = true
		
		wait(.3)		
		
	
		PlHuman.Parent.Saude.Stances.npa.Value = true	
					

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.npa.Value == true and nrb.Value == false then 
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.npa.Value = false	

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)

etube_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.etube

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local faido = PlHuman.Parent.Saude.Stances.Caido
		local o2p = PlHuman.Parent.Saude.Stances.o2
		
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.etube.Value == false then

		if enabled.Value == false then
		if Item.Value > 0 and faido.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		
		PlHuman.Parent.Saude.Stances.etube.Value = true

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.etube.Value == true and o2p.Value == false then 
		enabled.Value = true
		
		wait(.3)		
		
	
		PlHuman.Parent.Saude.Stances.etube.Value = false
				

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)

nrb_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.nrb

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local faido = PlHuman.Parent.Saude.Stances.Caido
		local o2p = PlHuman.Parent.Saude.Stances.o2
		
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.nrb.Value == false and PlHuman.Parent.Saude.Stances.npa.Value == true then

		if enabled.Value == false then
		if Item.Value > 0 then 
		enabled.Value = true
		
		wait(.3)		
		
		
		PlHuman.Parent.Saude.Stances.nrb.Value = true

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.nrb.Value == true and o2p.Value == false then 
		enabled.Value = true
		
		wait(.3)		
		
	
		PlHuman.Parent.Saude.Stances.nrb.Value = false
				

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)

o2_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.o2

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local npa = PlHuman.Parent.Saude.Stances.npa
		local nrb = PlHuman.Parent.Saude.Stances.nrb
		local etube = PlHuman.Parent.Saude.Stances.etube
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.o2.Value == false then

		if enabled.Value == false then
			if Item.Value > 0 and (nrb.Value == true or etube.Value == true) then 
			--if Item.Value > 0 then 
					
					enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.o2.Value = true		

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	else
		if enabled.Value == false then
		if PlHuman.Parent.Saude.Stances.o2.Value == true then
		enabled.Value = true
		
		wait(.3)		
		
		PlHuman.Parent.Saude.Stances.o2.Value = false		

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end
		end	
	end
	end
end)


bvm_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.bvm

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local npa = PlHuman.Parent.Saude.Stances.npa
		local etube = PlHuman.Parent.Saude.Stances.etube
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		

	if PlHuman.Parent.Saude.Stances.o2.Value == false then

		if enabled.Value == false then
			if Item.Value > 0 and (npa.Value == true or etube.Value == true) then 
			--if Item.Value > 0 then 
					
					enabled.Value = true
		
		wait(.2)		
		
		PlHuman.Parent.Saude.Stances.o2.Value = true	
		wait(4.5)	

		PlHuman.Parent.Saude.Stances.o2.Value = false
		
		
		wait(0.2)
		enabled.Value = false
		end
		end	
		end
		end
			
end)



Epinephrine_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.Epinefrina
	local bbleeding = Human.Parent.Saude.Stances.bbleeding
	

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local PlCaido = PlHuman.Parent.Saude.Stances.Caido
		local isdead = PlHuman.Parent.Saude.Stances.rodeath
		local skit = PlHuman.Parent.Saude.Stances.skit
		
		if enabled.Value == false then
		--if enabled.Value == false and bbleeding.Value == false then
		if Item.Value >= 1 and PlCaido.Value == true and skit.Value == true then 
		enabled.Value = true
				
	
		
		wait(.3)		
		
		if Dor.Value > 0 then
		Dor.Value = Dor.Value + math.random(10,20)
		end
		
		if Sangrando.Value == true then
		MLs.Value = MLs.Value + math.random(10,35)
		end
				
		isdead.Value = false
		
		PlCaido.Value = false	
				
		PlHuman.PlatformStand = false
		PlHuman.AutoRotate = true		

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)

anesthetic_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.anesthetic
	local bbleeding = Human.Parent.Saude.Stances.bbleeding

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local PlCaido = PlHuman.Parent.Saude.Stances.Caido
		local skit = PlHuman.Parent.Saude.Stances.skit
		
		if enabled.Value == false then
		--if enabled.Value == false and bbleeding.Value == false then
		if Item.Value >= 1 and PlCaido.Value == false and skit.Value == true then 
		enabled.Value = true
		
		
		wait(.3)		
		
	
		
		PlCaido.Value = true	
		PlHuman.PlatformStand = true
		PlHuman.AutoRotate = false

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)

Morphine_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.Morfina

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local PlCaido = PlHuman.Parent.Saude.Stances.Caido
		local skit = PlHuman.Parent.Saude.Stances.skit
		
		if enabled.Value == false then
	
		if Item.Value >= 1 and Dor.Value >= 1 and skit.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		Dor.Value = Dor.Value - math.random(100,150)

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)

BloodBag_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.SacoDeSangue

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local blood = PlHuman.Parent.Saude.Variaveis.Sangue
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local PlCaido = PlHuman.Parent.Saude.Stances.Caido
		local skit = PlHuman.Parent.Saude.Stances.skit
		
		if enabled.Value == false then
	
		if Item.Value >= 1 and skit.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		blood.Value = blood.Value + 2000

		Item.Value = Item.Value - 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)

drawblood_Multi.OnServerEvent:Connect(function(player)

	local Human = player.Character.Humanoid
	local enabled = Human.Parent.Saude.Variaveis.Doer
	local MLs = Human.Parent.Saude.Variaveis.MLs
	local Caido = Human.Parent.Saude.Stances.Caido
	local Item = Human.Parent.Saude.Kit.SacoDeSangue

	local target = Human.Parent.Saude.Variaveis.PlayerSelecionado
	
	if Caido.Value == false and target.Value ~= "N/A" then

		local player2 = game.Players:FindFirstChild(target.Value)
		local PlHuman = player2.Character.Humanoid
	

		local Sangrando = PlHuman.Parent.Saude.Stances.Sangrando
		local MLs = PlHuman.Parent.Saude.Variaveis.MLs
		local Dor = PlHuman.Parent.Saude.Variaveis.Dor
		local blood = PlHuman.Parent.Saude.Variaveis.Sangue
		local Ferido = PlHuman.Parent.Saude.Stances.Ferido
		local PlCaido = PlHuman.Parent.Saude.Stances.Caido
		local skit = PlHuman.Parent.Saude.Stances.skit
		
		if enabled.Value == false then
	
		if Item.Value < 10 and skit.Value == true then 
		enabled.Value = true
		
		wait(.3)		
		
		blood.Value = blood.Value - 2000

		Item.Value = Item.Value + 1 
		
		
		wait(2)
		enabled.Value = false
		end	

		end	
	end
end)