#Super close to solving!
16 messages · Page 1 of 1 (latest)
Okay so I’m trying to make leaderstats with these two values and for some reason every time I leave and rejoin all of the “gold” gets transferred into “time” and it resets the time. Then if I join back again everything gets pushed back to zero. Please help, really trying to fix this issue I’m incredibly new to coding I literally do not know anything whatsoever but I tried my best to make two leaderstats in a script that alr had one.
Hello
I recommen
you give better variable names
these are very confusing
it is likely you mixed them up
Use :GetDataStore()
thanks guys I appreciate it, I’ll look into this today and try and fix :)
Alright so I didn’t change the code whatsoever but I did enable api services to studio and that fixed most of my issues, the gold saves correctly but the gold stats also passover to time spots when you leave, do you think if I make gold :GetDataStore() that it would help or is there something else?