how to write a script so that the things that the player has saved and on the next input they appear back