Example

local rank = data:GetDataStore("Rank1")
game.Players.PlayerAdded:connect(function(player)
	local saverank = rank:GetAsync(userid)
    player.Data.Rank.Value = saverank or 1
end end)
game.Players.PlayerRemoving:Connect(function(player)
	rank:SetAsync(player.UserId,player.Data.Stats.Rank.Value)
end end)

Another game in this place

local rank = data:GetDataStore("Rank1")
game.Players.PlayerAdded:connect(function(player)
	local saverank = rank:GetAsync(userid)
    player.Data.Rank.Value = saverank or 1
end end)
game.Players.PlayerRemoving:Connect(function(player)
	rank:SetAsync(player.UserId,player.Data.Stats.Rank.Value)
end end)

is its possible

3 comments

0

no impossible

0

I'm pretty sure it is possible.

0

it's possible. it's just that all your places have to be part of one main game or something like that