Deixa assim!
function onStepIn(cid, item, position, fromPosition)
if item.uid == 11055 then
newpos = {x=1072, y=1064, z=10}
if getPlayerStorageValue(cid, 11055) == -1 then
doTeleportThing(cid,newpos)
doSendMagicEffect(newpos,2)
doPlayerSendTextMessage(cid,22,"Parabens ! Você Conseguiu Passar !!")
setPlayerStorageValue(cid,11055,1)
else
doPlayerSendTextMessage(cid,22,"Você Não Conseguiu Passar !!")
end
end
end