#Saving the old data problem

1 messages · Page 1 of 1 (latest)

stable mauve
#

"I have 2500 gold in my leaderstats at first, and after killing some NPCs, it becomes 2600 on the leaderboard. However, when I leave the game, this script saves the 2500 gold instead of the 2600. Why is this happening?

vague frigate
#

Does the value change to 2600 in a local script or a server script?

merry robinBOT
#

studio** You are now Level 4! **studio

merry robinBOT
#

studio** You are now Level 4! **studio

vague frigate
# stable mauve LocalScript

Thats why, I had this same problem for a different project. It only started working once I converted it to a server script

stable mauve
#

its a free tool i found on the tool box

#

and its shooting script is localscript

vague frigate
stable mauve
#

i had an error when i tried to use remoteevents, FireClient can only be called from the server

stable mauve
#

does it work in local script?

vague frigate
stable mauve
#

Okay tysm ill try that

vague frigate
stable mauve
vague frigate
#

Good luck on your project!

stable mauve
vague frigate
stable mauve
#

When i put the tool directly in the starter pack it works but when i clone it to my backpack i cant use it why do you think this happening?

vague frigate
frigid fractal