HertsDan
(Ro_land)
October 29, 2022, 12:50pm
#1
Hi so I am currently making a Tower Defense game, and I just wanted to know how do I transfer the user’s values to another game. Any help is appreciated!
bujirokun
(KnownAsTelly)
October 29, 2022, 12:57pm
#2
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 teleportD…
Read this post, it should be useful.
1 Like
If it’s between servers, you can use messaging service.
Anything else, you’re going to have to use 3rd party tools to transfer