The title explains it all. I can’t store an array inside my Data Store:
I published the game and have Studio Access to API Services enabled.
Here is the saving portion of my data store script. It is supposed to save the Name and Position of every part in workspace.Build (the player’s build.)
game.Players.PlayerRemoving:Connect(function(player)
local build = workspace.Build
local saveTable = {}
local parts = build:GetChildren()
for count = 1, #parts do
local part = parts[count]
table.insert(saveTable, {part.Name, part.Position})
end
dataStore1:SetAsync(player.UserId, saveTable)
print ("Saved data for "..player.Name)
end)
Any help would be appreciated!
P.S. I checked the loading section and it works just fine.