Categories > Coding > Lua >

Issue with a simple LeaderStats DataStore Script


New Reply

Hectique

Hectique

Posts: 1320

Threads: 184

Joined: Nov, 2019

Reputation: 14

  • 0

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.)

 

View post on imgur.com

 

If you guys can help that would be awesome. Thank you!

ROBLOX Lua Scripter | ROBLOX Game Developer

 

I have made a return!

OpenGamerTips

H3x0R (true virgin)

Mention

Posts: 2172

Threads: 131

Joined: Feb, 2020

Reputation: 20

  • 0

Replied

Do you mean showing up as in like not updating? Also, your script has a few problems.

Edit: fixed link

nickk#0104 (GitHub, Roblox Repository)

Exploits: Synapse, Script-Ware, Nihon.

Hectique

Hectique

Mention

Posts: 1320

Threads: 184

Joined: Nov, 2019

Reputation: 14

  • 0

Replied

@OpenGamerTips i mean showing up as its not showing in the leaderboard. also thanks

ROBLOX Lua Scripter | ROBLOX Game Developer

 

I have made a return!

Posts: 52

Threads: 1

Joined: Aug, 2021

Reputation: 6

  • 0

Replied

you forgot to set the parent of the numbervalues lol

UI Developer.

thats all ig

Hectique

Hectique

Mention

Posts: 1320

Threads: 184

Joined: Nov, 2019

Reputation: 14

  • 0

Replied

@CrackerIsHere oh shoot right, thanks

  • 0

Added

@OpenGamerTips its still not working, i tried my best to fix some of the stuff and its still being weird

ROBLOX Lua Scripter | ROBLOX Game Developer

 

I have made a return!

OpenGamerTips

H3x0R (true virgin)

Mention

Posts: 2172

Threads: 131

Joined: Feb, 2020

Reputation: 20

  • 0

Replied

nickk#0104 (GitHub, Roblox Repository)

Exploits: Synapse, Script-Ware, Nihon.

Posts: 18

Threads: 4

Joined: Jul, 2021

Reputation: 0

  • 0

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

man how u can use light mode??


New Reply

Users viewing this thread:


( Members: 0, Guests: 1, Total: 1 )