How to manually save data with datastore2 without the player?

Hello! I know that I can manipulate normal datastore with the player.UserId but how can I do this with datastore2? I want to overwrite data of a player without having him on the server

I’ve readed this DataStore2 but I couldn’t find anything

I want to do something like this WITH DATASTORE2 :

coinsStore:Set( "value" , "player.UserId" )

1 Like

If you know the player’s UserId you can set it manually by replacing the part of “player.UserId” with their user id.

coinsStore:Set( "value", 1234567890)

1 Like

I suggest using @Crazyman32’s DataStore Editor.

Here’s the link on how to use it with DataStore2.

3 Likes

I believe that his DataStore editor only supports the one from Roblox, not DataStore2. I do know that he’s working on a new one which supports both.

What you could do, assuming yout game isn’t released, is add a while loop and increment the value to your choice.

You can use DataStore Editor with DataStore2 just fine. There’s a process you have to use How to use DataStore2 - Data Store caching and data loss prevention - #287 by Kampfkarren

1 Like

As @MrAsync has said, DataStore Editor will work just fine with DataStore2. I’ve provided a link that shows you how, here is it again.

2 Likes

Posted here: https://devforum.roblox.com/t/gamestorage-service-to-persist-data-across-places/1493951