Data not Saving Properly

image

Here is the event that will save the data for the player. It is supposed to save how much money the player has, which pets they have, and what pet they have equipped.
When I print the value data, the output shows:
image

but when I check the DataStore Editor plugin, the data is:
[1] = 50

How do I fix this issue?

Yo, wrong category. Switch to #help-and-feedback:scripting-support

2.) try deleting the data first than retrying it

I tried deleting it and putting it back. It just did the same thing.

I got it working now.
Thank you