Hi, my game printing data store issue but i dont understand that. Previous code what work:
local DataStoreService = game:GetService('DataStoreService')
local playerData = DataStoreService:GetDataStore('PlayerData')
data = {p.Diamonds.Value, p.Coins.Value, p.LVL.Value, p.EXP.Value, p.GUN.Value, p.KNIFE.Value, p.JDiamonds.Value, p.ABILITY.Value}
playerData:SetAsync(p.UserId, data)
New code what don't work:
local DataStoreService = game:GetService('DataStoreService')
local playerData = DataStoreService:GetDataStore('PlayerData')
data = {p.Diamonds.Value, p.Coins.Value, p.LVL.Value, p.EXP.Value, p.GUN.Value, p.KNIFE.Value, p.JDiamonds.Value, p.ABILITY.Value, p.LEgg.Value, p.Armor.LeftLeg.Value, p.Armor.RightLeg.Value, p.Armor.Torso.Value, p.Armor.LeftArm.Value, p.Armor.RightArm.Value, p.Armor.Head.Value}
playerData:SetAsync(p.UserId, data)
Error: Cannot store Array in DataStore. Thanks for helping - kurka123

1 comment
No... That's not it. PS p.Diamonds = String value p.Coins string value etc... All of that is only string value