Hello I created a script with SaveNumber() And LoadNumber()
In server I was testing it. I wrote:
game.Players.vincius0000:SaveNumber("VincTesting", 5)
Then I wrote.
print(game.Players.vincius0000:LoadNumber("VincTesting"))
And it printed number 5. But I need it to work with leaderboard. I don't know how can I save and load my leaderboard. I tried loading with
game.Players.vincius0000.leaderstats.KOs.Value = LoadNumber("VincTesting")
I tried everything that I know. And I know that there is simple mistake. Plz Help Me Find It.