function onKill(cid,target,lastHit)
local config = {
message = "BOSS +1",
color = COLOR_WHITE,
bosses = { -- Monster Name, Storagevalue,
["Ra revenge"] = {storage=51001},
["Warshabaal"] = {storage=51002},
["Seadevil"] = {storage=51003},
["Haunted Dragon"] = {storage=51004},
["Thunder dragon"] = {storage=51005},
["Green-eyes red dragon"] = {storage=51006},
["Chaos emperor dragon"] = {storage=51007},
["Vampire genesis"] = {storage=51008},
["Dark ruler ha des"] = {storage=51009},
["Amidamaru"] = {storage=51010},
["Bason"] = {storage=51011},
["Eliza faust"] = {storage=51012},
["Fortress Golem"] = {storage=51013},
["Lucifer the illusionist"] = {storage=51014},
["Iron maiden jeanne"] = {storage=51015},
["Kouki"] = {storage=51016},
["Zenki"] = {storage=51017},
["Lanancuras"] = {storage=51018},
["red eyes ultimate dragon"] = {storage=51019},
["Silva"] = {storage=51020},
["Zorc necrophadus"] = {storage=51021},
["King scorpion"] = {storage=51022},
["Bazir"] = {storage=51023},
["Apocalypse"] = {storage=51024},
["Infernatil"] = {storage=51025},
["Orshabaal"] = {storage=51026},
["Morgaroth"] = {storage=51027},
["verminor"] = {storage=51028},
["Saggi the dark clown"] = {storage=51029},
["Spirit of light"] = {storage=51030},
["ghazbaran"] = {storage=51031},
["fiend"] = {storage=51032},
["plague"] = {storage=51033},
["Black luster soldier"] = {storage=51034},
["Gate guardian"] = {storage=51035},
},
}
local b = config.bosses[getCreatureName(target)]
function exp(cid, target)
setPlayerStorageValue(cid,b.storage,1)
doSendAnimatedText(getCreaturePosition(cid),config.message, config.color)
end
if b then
addEvent(exp, 1500, cid, target)
end
return true
end