function onKill(cid, target)
if getGlobalStorageValue(_Exp_Event.storage) ~= -1 and isMonster(target) == true then
local percent,exp = _Exp_Event.rate,getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier)
local count = math.floor(((getMonsterInfo(string.lower(getCreatureName(target))).experience*exp)*percent))
doPlayerAddExperience(cid, count)
addEvent(doSendAnimatedText, 500, getCreaturePosition(cid), '+'..count, math.random(50,60))
end
return true
end