local itemID = 6533 -- The ID of the item that will give you EXP local xp = 20000000 --How much EXP will be givin when item is used local words = "+20mln xp" --What the player will say when item is used function onUse(cid, item, frompos, item2, topos) if item.itemid == itemID then if getPlayerLevel(cid) > 250 then doCreatureSay(cid, "too hlvl!", TALKTYPE_ORANGE_1) else doPlayerAddExp(cid, xp) doCreatureSay(cid, words, 3) doRemoveItem(cid, item.uid, 1) end end return true end