Argument 1 missing or nil?

Hey there!

I am trying to check some data in my game, and for some reason it won’t work!

I am just using printing as an example
I try doing these lines

print(nameData:GetAsync(itemKey))
print(nameData:GetAsync(itemKey[1]))

the first line prints
Screenshot 2021-08-10 102350
which makes sense, because it is supposed to print a table
but then I get this when I try to do the second line
Screenshot 2021-08-10 102418
I don’t know why that is, because calling the “1” should just be the Time25 right?
Could someone enlighten me on why this isn’t working?

When you do GetAsync you’re getting the entry, and itemKey is presumably the entry name. This means that it isn’t actually the data or the dictionary, it’s just the entry name meaning you’re trying to index a string/ whatever type. To fix it, either store it as a variable before that or do this:

print(nameData:GetAsync(itemKey)[1])