i got script for door:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if (item.actionid == 5788 and getPlayerStorageValue(cid,63111) >= 1) then
doTeleportThing(cid, {x=toPosition.x-1,y=toPosition.y,z=toPosition.z}, TRUE)
doCreatureSay(cid, "You can Pass Survival Door."...