Leaderstats will not display nor will the folder get created as intended. What have I don't wrong?
local DataStore = game:GetService("DataStoreService") local ds1 = DataStore:GetDataStore("ExperienceSaveSystem") local ds2 = DataStore:GetDataStore("WealthSaveSystem") local ds3 = DataStore:GetDataStore("LevelSaveSystem") game.Players.PlayerAdded:connect(function(Player) player:WaitForChild("leaderstats")? local leader = Instance.new("Folder",Player) leader.Name = "leaderstats" local Experience = Instance.new("IntValue",Player) Experience.Name = "Experience" local Wealth = Instance.new("IntValue",Player) Wealth.Name = "Wealth" local Level = Instance.new("IntValue",Player) Level.Name = "Level" Level.Value = 1 Experience.Value = ds1:GetAsync(Player.UserId) or 0 ds1:SetAsync(Player.UserId, Experience.Value) Experience.Changed:connect(function() ds1:SetAsync(Player.UserId, Experience.Value); Wealth.Value = ds2:GetAsync(Player.UserId) or 0 ds2:SetAsync(Player.UserId, Wealth.Value) Wealth.Changed:connect(function() ds2:SetAsync(Player.UserId, Wealth.Value); Level.Value = ds3:GetAsync(Player.UserId) or 0 ds3:SetAsync(Player.UserId, Level.Value) Level.Changed:connect(function() ds3:SetAsync(Player.UserId, Level.Value); end) end) game.Players.PlayerRemoving:connect(function(Player) ds1:SetAsync(Player.UserId, Player.leaderstats.Experience.Value) ds2:SetAsync(Player.UserId, Player.leaderstats.Wealth.Value) ds3:SetAsync(Player.UserId, Player.leaderstats.Level.Value) end)