function GM:PlayerHurt(pl, newhealth, attacker) local hg = pl:LastHitGroup() Msg("Hitgroup = " .. tostring(hg)) end