Thank you, I played with with it more on my own, I will see if yours works cause it seems to be much shorter than what I came up with!
Any idea how would I also apply this just for players? Realized that if players died in a heli with an alive ai besides them this doesn't trigger which can create problems.