function onDeath(cid, corpse, killer)
registerCreatureEvent(cid, "ltg")
local creaturename = getCreatureName(cid)
doCreatureSay(cid, "YOU ARE STRONGER THAN I THOUGHT! TAKE THAT!.", TALKTYPE_ORANGE_2, getCreaturePosition(cid))
if creaturename == 'Lizard, the guard' then
doSummonCreature("Mage, the protector",{x=1427, y=808, z=10})
doSummonCreature("plaguesmith",{x=1423, y=809, z=10})
doSummonCreature("plaguesmith",{x=1431, y=809, z=10})
doSendMagicEffect({x=1423, y=809, z=10},17)
doSendMagicEffect({x=1431, y=809, z=10},17)
end
end