I am using Datastore2 and i try to use API to get information (Standard Data Stores | Documentation - Roblox Creator Hub) but I’m a bit confused about what these entries are because they are all numbers. How do you know which record is the newest?
Use Ordered data store, with the datastoreName being like DATA/21569025 or whatever you have it as.
Sort it from largest to smallest. Take the largest value, and use it as a key in the normal data store. That will be the most recent data entry.