Leaderboard bars aren't showing up

Hello! I am currently working on a leaderboard to count wins in my game. However, when I play-test, the bars (names, scores, etc.) do not show up. If anyone would like a video, I’d be happy to provide you with one. For now, here is a pastebin:

https://pastebin.com/4EWShgBS

Thank you in advance!

1 Like

So you are saying the whole player list isn’t showing up or just the scores?

Can u send Pictures or videos of the error you are getting?
Would be helpful for others to Help You :slight_smile:

Sorry! I should have specified. Nothing is showing up on the board; players, images, nothing.

Nothing is erroring in the output. I’m wrapping everything in pcalls, so …

Have you enabled Studio API access? I’m pretty sure this needs to be enabled on the website for the place in order to access DataStores.

Also it might benefit you to print the result of the pcall if it’s unsuccessful as it’ll most likely tell you what the problem is.

Yep. It is currently enabled.

Also, I will edit the script so it prints out the pcall result and get back to you!

I assume it doesn’t get saved correctly, please put some prints or something when data are saved.
Aswell some prints inside the leaderboard making process(where you clone frame etc.)

I figured it out! Turns out I capitalized the word “value” on line 41 (line 44 on the pastebin), leading to the script pulling a value that did not exist.

1 Like