Data store for Elo doesn’t work at all Even though It has the exact same code as the win data store except wins are replaced with Elo.
local dss = game:GetService("DataStoreService") local DefualtElo = 1000 local ELO = Instance.new("IntValue") ELO.Name = "Elo" ELO.Value = 1000 ELO.Parent = leaderstats local ELoData pcall(function() ELoData = dataStores:GetAsync(player.UserId.."-Elo") end)
if ELoData ~=nil then Note I do think that It is this line I have tried something like -- If ELoData ~=defaultElo then But that didn’t really work. ELO.Value = ELoData end
You shouldn’t be using bindable events for saving data once the player leaves, it very insufficient. Most of the time it won’t be able to get the data. You should use a functions To save your data.