can u help me to edit this script cause its not working ;x
function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey)
if isInArray({SKULL_RED, SKULL_BLACK}, player:getSkull()) and (Tile(position):hasFlag(TILESTATE_PROTECTIONZONE)) then
player:setSkull(SKULL_NONE)...