[if this was a real game] Space to see your save code, press the button to enter one to get back to where you were. Remember to look at your current code and note it down before leaving the game, otherwise your progress will be lost! [for ppl looking at this to learn how] Experiment with it, see if it fits your needs, then copy it into your game if it does. All I ask is that you put my username in the notes and credits and Heart/Love this project! (Don't forget to follow if this game is good, I may post other tutorials)
I made this for a friend, it creates an inventory system that allows for players to get back to where they were last time they played. This gives the same code to everyone who has the same progress, and is easy to exploit to progress in the game.