I advise you to use Profile Service to save data, as it is more convenient and you will only need to register 50-100~ lines of code. I advise you to watch the ProfileService guide on YouTube
ProfileService - Save your player data with ProfileService! (DataStore Module)