this is another one of my stupid/picky things but don't you think it would be better to put the showndead scoreboard fix in the client_disconnect function instead of the client_connect one. It seems that the "showndead" bug only comes up when people disconnect, but the fix for this bug only starts working when a new player connects. Maybe it would make more sense to run the fix right as the player disconnects, meh...