You could just add an event on player destroyed.
or you could add a system compare player.count is 0
or put all the events concerning the score in a group and deactivate it in the same event you destroy the player.
There's probably more possibilities I can't think of in these 5 seconds
But how could the score go up anyway if the player is destroyed?