galera estou com erro nesse portal 
 
	segunte erro [Error - CreatureScript Interface] 
	In a timer event called from: 
	data/creaturescripts/scripts/tp.lua:onDeath 
	Description:
 
	 
 
	local tpId = 1387 
	local tps = { 
	["Dark Abominator"] = {pos = {x=839, y=566, z=8}, toPos = {x=846, y=551, z=8}, time = 30}, 
	}
 
	function removeTp(tp) 
	local t = getTileItemById(tp.pos, tpId) 
	if t then 
	doRemoveItem(t.uid, 1) 
	doSendMagicEffect(tp.pos, CONST_ME_POFF) 
	end 
	end
 
	function onDeath(cid) 
	local tp = tps[getCreatureName(cid)] 
	if tp then 
	doCreateTeleport(tpId, tp.toPos, tp.pos) 
	doCreatureSay(cid, "O teleport irá sumir em "..tp.time.." segundos.", TALKTYPE_ORANGE_1) 
	addEvent(removeTp, tp.time*1000, tp) 
	end 
	return TRUE 
	end