How could i make a sort of purchase saving system?

You would utilize Roblox’s DataStore Service. This is the only way to save data between sessions (besides modules that use Datastore such as ProfileService)