Vai fikar assim:
function onStepIn(cid, item, position, fromPosition)
local config = {
pos1 = {x=171,y=130,z=7},
pos2 = {x=173,y=141,z=7},
}
if getPlayerStorageValue(cid, 11130) < 50 then
doTeleportThing(cid, config.pos2)
doPlayerSendTextMessage(cid,22,"Voçe Não Termino Ainda.")
else
doPlayerSendTextMessage(cid,22,"Parabens Voçe Termino.")
setPlayerStorageValue(cid, 11130, -1)
doTeleportThing(cid, config.pos1)
end
return TRUE
end