function onUse(cid, item, frompos, item2, topos)
local nonremskulls ={ -- These are the skulls it cant remove. If player has any of these, the rune wont wor
SKULL_WHITE,
0
}
if isInArray(nonremskulls, getPlayerSkullType(cid)) then
doPlayerSendCancel(cid,"You either dont have a skull or your skull is non removal.")
doSendMagicEffect(getPlayerPosition(cid),2)
else
doCreatureSetSkullType(cid,0)
doPlayerSendTextMessage(cid,27,"Your skull have been removed, thanks for donating!")
doSendMagicEffect(getPlayerPosition(cid),CONST_ME_MAGIC_RED)
doSendAnimatedText(getPlayerPosition(cid), "Removed!", 180)
doRemoveItem(item.uid, 1)
end
return true
end