I am currently making an Character Creation system, and it seems that it doesn’t want to modify the datastore? I am modifying it thru an server script. When I print the datastore before changes, it looks like this.
maybe for you you might not need to index Data since the Data part is what doesnt exist so just check if u need to index with Data then CharacterData or just ProfileCache.CharacterData
This has nothing to do with the structure. Read carefully what i said on my previous reply. If it does not help try printing ProfileCache outside the for loop and show us what it prints.
I figured it out. I wasn’t checking the player’s data properly. I was requiring the module without [player] part, and I also put .Value for the characterdata which wasn’t supposed to be there.