Arrays are data structures of memory pointers and data segments from offsets (indices).
Store it as a string using JSONEncode.
1 Like
You’re trying to save an array to a OrderedDataStore, you can only save positive integers to an OrderedDataStore.
And how can i fix that? i’m kinda new at programming
Don’t use an OrderedDataStore. Use a normal datastore.
local DS = game:GetService("DataStoreSrevice"):GetDataStore("SaveData")
2 Likes