Stat.Value not working when API Services enabled?

Serverscriptservice

That’s basically the only safest place it can be

I really don’t get the point of this one, it also has alot of orange lines (false lines)

I fixed the script and it worked

But at the same time the datastore doesn’t work for some reason

What is the error please could you tell me

It’s something with “data.W”

it’s about the W idk where it comes from

Updated the script tell me if it works

Nope, this is what i get.

afbeelding

Ohhhh I fixed it, it was something else

I had to update this

afbeelding

Yes I changed it in the script I sent

Appreciate it dawhg

Finally fixed it

uhh, i have problems again, it still doesn’t save sometimes

could you show me the error? I could maybe help

There are no errors, it just sometimes doesn’t load the data or save it, and it resets it to 0 too

Ok try the script I sent it might work

Nope doesn’t work, no errors and doesn’t save

are you trying this in studio or in game

I test it inside the studio, yeah

you need to test it in the game because I don’t think studio works when saving data sometimes