I have 2 leaderboards and the leaderstats inside them are the same every time, even if I change 1, when I leave the game they are the same, they sync together?
local DataStore = game:GetService("DataStoreService") local ds = DataStore:GetGlobalDataStore("PotatoesSaveSystem") local ds1 = DataStore:GetGlobalDataStore("Potatoes1SaveSystem") game.Players.PlayerAdded:connect(function(player) local leader = Instance.new("Folder",player) leader.Name = "leaderstats" local Potatoes = Instance.new("IntValue",leader) Potatoes.Name = "Potatoes" Potatoes.Value = ds:GetAsync(player.UserId) or 0 ds:SetAsync(player.UserId, Potatoes.Value) local leader1 = Instance.new("Folder",player) leader1.Name = "leaderstats1" local Credit = Instance.new("IntValue",leader1) Credit.Name = "Credit" Credit.Value = ds1:GetAsync(player.UserId) or 0 ds1:SetAsync(player.UserId, Credit.Value) Credit.Changed:connect(function() ds1:SetAsync(player.UserId, Credit.Value) end) Potatoes.Changed:connect(function() ds:SetAsync(player.UserId, Potatoes.Value) end) game.Players.PlayerRemoving:connect(function(player) ds:SetAsync(player.UserId, player.leaderstats.Potatoes.Value) ds1:SetAsync(player.UserId, player.leaderstats1.Credit.Value) end) end)