Hey, I was kinda being nosy (sorry) but I saw that you said this;
"i do make a warp inside the cave and make sure that it goes to the outside but when i test it in game it dosent work and for some reason it only happens on the maps that i make."
I know that problem, mostly because I had it too. You're not using the right tile; There should be another ground tile (like those ones you put on the ground) that, when you step on it, produces an arrow pointing downwards.
Just try to use all of the different tiles, and you should find it eventually. =)