So im making a script with: GetOrderedDataStore and im saving a value of a value in a player but it keeps on giving me this error..
Heres the code that the error is happening on:
score:SetAsync(player.Name, player:FindFirstChild("Wins").Value)
Any help would be greatly appreciated!

6 comments
Is "Wins" an int value?
yes.
What is the error?
Can not store double in datastore..
Try making Wins an IntValue, not a NumberValue.
i figured it out