Try this
function onStepIn(cid, item, frompos, topos)
if item.itemid == 426 and item.uid == 40001 then
if isPlayer(cid) == 1 then
doCreatureAddHealth(cid,-350)
doTransformItem(item.uid,item.itemid-1)
player = getPlayerPosition(cid)
statue = {x=?, y=?, z=?} -- statue pos...