This is my first ever one command thingy, so I forgot to do the following things:
1. I made it spawn some command blocks outside the machine which means if you don't place the command block on a flat surface it's not going to work.
2. I forgot to make it so when you destory the machine it will removed the objectives that were created.
3. The commandBlockOutput gamerule doesn't get switched to false , you need to do that manually.
Intructions
1. Place a command block.
2. Put the command in and place a redstone block NEXT to it (IMPORTANT! Not on it!).
What does this do?
This machine makes it so whenever a zombie attacks you there's a %50 percent chance you'll (LITERALLY) become a zombie!
There's a cure though... Try it out!
I will , in the future, improve this and add all sorts of features, hope you like it!