@edukf, tenta mudar de onStepOut pra onStepIn:
function onStepOut(cid, item, position, lastPosition, fromPosition, toPosition, actor) if not isPlayer(cid) then return true end for _, s in pairs(getSpectators(getCreaturePosition(cid), 7, 5)) do if isMonster(s) and not getCreatureMaster(s) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Elimine o monstro primeiro.") doTeleportThing(cid, fromPosition, false) return true end end return trueend