#Slaktaren
it does not work :(
I tried to convert with function onkill
function onUse(cid, item, frompos, item2, topos)
local monster = 2916
if(isPlayer(target) == FALSE and monster and getPlayerStorageValue(cid, 76669) == 2) then
if getPlayerStorageValue(cid, monster) < 6666 then...