Hey i try use you script too, i just change that.
function onStatsChange(cid, attacker, type, combat, value)
local healBonus = getPlayerStorageValue(cid, 1234)
print(healBonus)
if isPlayer(cid) then
if type == STATSCHANGE_HEALTHGAIN or type == STATSCHANGE_MANAGAIN then...