local truepos = {x=1000, y=1000, z=7}
function onStepIn(cid, frompos, topos) -- You might need to edit this part as i cant remember the entire function
if getPlayerLevel(cid) >= Place_level then
doTeleportThing(cid, truepos, TRUE)
doCreatureSay(cid, "You can pass!", 19)
elseif getPlayerLevel(cid) <= 19 then
doCreatureSay(cid, "You are not high enough level to pass!", 19)
doTeleportThing(cid, truepos, FALSE)
end
return true
end