Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can not store double in datastore error??

Asked by 6 years ago

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!

0
Is "Wins" an int value? hiimgoodpack 2009 — 6y
0
yes. outlook1234567890 115 — 6y
1
What is the error? thesit123 509 — 6y
0
Can not store double in datastore.. outlook1234567890 115 — 6y
View all comments (2 more)
0
Try making Wins an IntValue, not a NumberValue. TheDeadlyPanther 2460 — 6y
0
i figured it out outlook1234567890 115 — 6y

Answer this question