Multiplayer - Penalty for Leaving Game Prematurely

How would I go about giving a player a deduction of points for leaving a multiplayer game before the match ends? I’m trying to do this on a listen server, which i’m not sure if it is possible. Originally, I was thinking of using Event OnLogout to check but if they quit the game, this piece of code would not even run right? Any help would be appreciated!