Set save code to *blank*. Put your variables in the write _ block. Add save code to copy to clipboard. Show list copy to clipboard. Then in a different set of blocks, ask "Enter save code" and wait. Set save code to answer. Set save idx to 1. (Repeat for each write block you used) Read value, set *variable* to the variable value. Example in the code if you want to see inside.
Thanks to @griffpatch for the YouTube tutorial. NOTE: The code only saves variables.