How to transfer data between games?

Hello there! :wave:

I’m wondering if it’s possible to transfer data from DataStores between 2 games - not places. I think it should be, since Islands (Sky block before) did exactly that.

So it must be a possibility, but how would you do it exactly?

1 Like

You would have to use an external web server.

1 Like

Yes it is possible TeleportService can teleport data also if you teleport their data to the other game and let the other game pick it up and set it as their data.

That is another way.
characters

Could you give an example on how you would do that? I would use this for example to move a game to another group.

Here: TeleportService | Documentation - Roblox Creator Hub, TeleportService | Documentation - Roblox Creator Hub, TeleportService | Documentation - Roblox Creator Hub, TeleportService | Documentation - Roblox Creator Hub

Hopefully these helped

1 Like

Sorry i took me long to find these

1 Like

Could you explain how I’d do it? It would be great, but not needed :sweat_smile:

Ok If you first game serverscript:

game.Players.PlayerAdded:Connect(function(plr)
local Data = {
data1 = game.DataStoreService:GetAsync() -- Put you data store stuff here
data2 = game.DataStoreService:GetAsync() -- Put you data store stuff here
}
game.TeleportService:Teleport(placeId,plr,data )
end)

And this in your new game

local DataStore
local DataStore2
local TeleportService = game:GetService("TeleportService")
local teleportData = TeleportService:GetLocalPlayerTeleportData()
if teleportData then
DataStore = teleportData.data1
DataStore2 = teleportData.data2
end)
if DataStore and DataStore2 then
game.DataStoreService:SetAsync() -- The datastore stuff
end
7 Likes

If a player plays your normal game all of their data and them will be teleported to your group game

1 Like

Great! Thanks for helping me :pray:

Your welcome! But what game are you using this for? :grinning:

1 Like

Yeah basically no game for now really, but i’ll use this in not too long! It’s basically for a game that I created in a group and wanna move it to a new group because I want a new group name.

It is possible to change a group name in a new form i heard

Yeah, i’ve heard of it too, but it hasn’t come out YET.

1 Like