This is how you save and how you load variables
In this post how i save pressing Q and load pressing E
So you would need that adjust to your needs
BUT be aware it save/load variables
So if you save position of player into variable then you need to change position to that variable after you load
So however and whatever you save variables at certain points
You need to load and then set stuff you want to that variables