did you save the data? [data for the player who left first is not saved if you don’t save all player’s data, because ds2 use BindToClose]
is datastore in game settings enabled?
if dataWins:Get() ~= nil then -- checks if datawins is not nill
Wins.Value = dataWins:Get()
else
Wins.Value = 0
if dataLevel:Get() ~= nil then
Level.Value = dataLevel:Get()
else
Level.Value = 0
end
Wins.Changed:Connect(function() -- these will only fire if datawins == "something" (they are inside the if loop)
dataWins:Set(Wins.Value)
Level.Changed:Connect(function()
dataLevel:Set(Level.Value)
end)
end)
end
end)