the table looks like this
before:
[7113887688] = ▼ {
[“Streak”] = 1,
[“TimeRewards”] = {[“1”] = {Reward = {}, Claimed = false}}
}
after using this function:
local function updateDaily(player)
playerSessions[player.UserId].Streak = playerSessions[player.UserId].Streak + 1
end
and it just losts data?
[7113887688] = ▼ {
[“Streak”] = 2
}