How to detect a player being killed by a certain mob

Solution 1:

Answer by TQ1000 "I believe the criteria is stat.entityKilledBy.Zombie"