Problem with datastores

so a few weeks ago i made a post askind how to make datastores and everyone was very helpfull
but ive encounterd a problem
in my game there are multiple worlds that the player can teleport between the problem is that there separated into different places (to reduce lag and also make the teleporting better) what i wanted to do was make separte datastores in each world so once you beat the first world ( to beat the world you have to collect 5 collectibles and same for the second world) then your progress wont save in the second world since you need to collect antother 5 collectibles i got it working where once you join the second world you have 0 collectibles but then when you rejoin the first world it puts your collectibles back to zero

is there a way to make separate datastores per place and if not how would i make one store for all the places

You could have the players data be a table which contains more tables that contain the data for each place. From there it’s just figuring out which place you’re on.