im using this now
function onKill(cid, target, lastHit)
local m = {
["Demodras"] = {
time = 30, -- Seconds
to = { x = 1146, y = 1101, z = 7 }, -- Where Teleport Goes
tp = { x = 1146, y = 1101, z = 6, stackpos = 1 } -- Where Teleport Creates
}
}
local monster =...