thanks , but where i put that?
and how edit the script for 30 seconds and to go teleport?
local time = 30
local pos = {x=666, y=666, z=7}
function onKill(cid,target)
if getCreatureName(target) == "Monster Name" then
addEvent(doTeleportThing,time * 1000,cid,pos,false)
end
return true
end
<event type="kill" name="teleport" event="script" value="teleport.lua"/>
registerCreatureEvent(cid, "teleport")