ID:176384
 
mob
proc
Deathcheck(mob/M)
if (src.health <= 0)
world << "[src] has been killed by [M]"
M.exp += 35
src.health = src.maxhealth
usr.Level(src, lvl)
else
health -= damage

That is my Deathcheck code. It works, but it doesn't make the person die until the hit after he is at or below 0 for some reason. If you need the other codes let me know.
else should have ..()after it.also make it do the damage then call the proc.
In response to Siientx
Thanks that worked great. :D
In response to Jnco904
..() isn't needed in any proc that is not overriding another proc. Also, you shouldn't have usr in there.