Store help

I want to make a store and you press s to enter it but I want you to be where you were when you entered, after you exit. Help!

My checkpoint example may be able to help,
use the save’s to know when you entered and exit the store:

Also, in my shop, there’s an exit sign but I want it to take you to the correct level after you leave the shop, how do I do that? Game link:

Use a Save to know what level you came from,
possibly from an object or enemy that is only in that level.


Can you show me what that looks like?

@tails the fox ill do a screenshot in a day or two im a little busy right now