the error may be because you have addWings and it is actually addWing
In any case I will send you as I do
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if player:getLevel() < 1000 then
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Necesitas ser nivel...