Infection game type settings help

I downloaded the map Duck hunt but I wanted the game type to be infection so I made all the settings to fit the map but on infection how do you make it so that one’s the zombie is killed the game ends.