pressed = 0 function health_init(e) end function health_range_main(e) if GetPlayerDistance(e) < 60 and g_PlayerHealth > 0 and g_PlayerThirdPerson == 0 then PromptLocal(e,"Press E to collect the Med kit") if g_KeyPressE == 1 and pressed == 0 then pressed = 1 PromptDuration("Collected health",3000) PlaySound(e,0) AddPlayerHealth(e) Destroy(e) ActivateIfUsed(e) end if g_KwyPressE == 0 then pressed = 0 end end end