It came across my mind that I really never understood why some people use Datastore and OrderedDatastore. Is OrderedDatastore a way more secure way of saving players stats or something else?
DataStores allow you to save data such as arrays, tables, and other strings and numbers. You cannot get a list of Data with a DataStore in a convenient fashion.
OrderedDataStores are mostly used for things like leaderboards as you can use functions to get an ordered list of the top <number> players with a Data type. OrderedDataStores, because of this, are usually only used to save integers. You can only save positive integers (whole numbers) with OrderedDataStores.
Read more here: https://developer.roblox.com/api-reference/class/OrderedDataStore
If this helped, upvote it and mark it correct! Thanks!