Datastore scopes and leaderboard

Hello,

For my game, players have several datas that I store in tables. But I’d like to use “:GetOrderedDataStore” to make a leaderboard. I can’t use it because the datas are tables.

Is it possible to use scopes to isolate a particular piece of data and use :GetOrderedDataStore? Thanks

How exactly is the data stored in the table? You’ll need to store a single value in the players’ ordered data store and store all their data in a normal datastore.

In the table there are three elements, the first two give the number of points and the number of wins, and the third is another table in which inventory items are stored. I want to make a leaderboard for the wins

could your print the data and screen the output

image
In items there will be more objects. And there are no characters for now.
but i just want to know if we can use :GetOrderedDataStore with a scope for a table datastore.