How to detect manual player respawn?

Without testing, just theory…

You could save logic that detects if a player recieves damage. Reset that logic on spawn.

Filter your code through that logic.