How to make tracker stops a device when there's one player remaining...

I have 2 teams and want a device to stop once there is 1 player alive… I’m lost in this guys