Infection Mechanic

I am making a Murder Mystery game and am looking to add a role that turns players into zombies and respawns them, only when killed by a player on the team "Zombie"

If possible how would I do this?

Continue to help post