Categories > Coding > Lua >
Issue with a simple LeaderStats DataStore Script
Posted
To all my WRD friends, hello! I've returned. For good, but not as frequent.
I am working on a simple "Sword fight and flex your kills" game. I was working on Leaderstats and after finishing them up, I shortly after realized I needed to set up a datastore to save the leaderstats.
No big deal, right?
Well, no.
After making modifications to the leaderstats so I could add the datastore, then shortly after actually implementing the datastore, the leaderstats shortly after stopped showing up.
Heres a screenshot of the script, (yes its in ServerScriptService if you are wondering.)
If you guys can help that would be awesome. Thank you!
a former active and known member of the WRD community, but im kinda just a meme now
Replied
you forgot to set the parent of the numbervalues lol
Cancel
Post
https://cdn.discordapp.com/attachments/1023423265160560745/1132948683747500092/Frame_12x.png
Added
@_realnickk its still not working, i tried my best to fix some of the stuff and its still being weird
Cancel
Post
a former active and known member of the WRD community, but im kinda just a meme now
Replied
Line 8 and 10 , Same names may cause problem. You didnt set parents of kills and deaths. You forgot to set data variable at line 23. Line 37 would cause infinite delay if there is no creator in humanoid
Cancel
Post
https://imgur.com/a/oOomuUo
Users viewing this thread:
( Members: 0, Guests: 2, Total: 2 )
Cancel
Post