This is a good way to start getting into DataStores but for serious projects I highly recommend using a module like DataStore2 or ProfileService, since plain DataStore calls are highly susceptible to outages, corruption, race conditions, rate limiting/budgeting, etc.
The aforementioned modules deal with most if not all of these issues pretty reliably, which is why a lot of games, small and big, make use of them.