ah srry forgot to add one more } xD
here you are
function onDeath(cid, corpse, killer)
local M ={
["Serpent Spawn"] = {{Pos = {x=983,y=994,z=7}, {x=990,y=992,z=7}},{id= 1060,5009},
}}
local x = M[getCreatureName(cid)]
function criar()
local parede = getTileItemById(x.Pos, x.id, x.Pos2, x.id2)...