Function returning a specific string value(Not memory address of table)

Hello!

I am getting a very peculiar result within my script.
Whenever I return this data value(Dictionary) it somehow changes the value in transit.

Before(Datastore module)

After(PlayerSystem module)

What is this string value that I get from this? And how do I prevent this from happening. If there is any need for further elaboration feel free to ask :slight_smile:

That string is a version identifier. This is the only value returned by GlobalDataStore:SetAsync. Your code expects this function to return the data you set. Due to this misconception, you override your Data variable to this version identifier:

1 Like

Wow! Totally missed that! Thank you :slight_smile:

1 Like