enemy hits

nooby mc-noob here,
didn't want to sift through 1500+ topics to find this in here. I was just wondering how to make enemies take specific #s of hits from gunfire.
didn't want to sift through 1500+ topics to find this in here. I was just wondering how to make enemies take specific #s of hits from gunfire.