Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Does the container HAVE to be named leaderstats to affect the leaderboard?

So I'm looking at the wiki article, and it I notice that when they create the container for the leaderstat objects that the container is named leaderstats. So I tried using the leaderboard with the container named leaderstats and it worked, but when I renamed the container to something like Leaderboard, the stats stopped showing up in the leaderboard.

Does the container have to be named leaderstats?

5 comments

0

Explain the downvote, could I have asked this question in a better way? I tried :(.

0

It's a portion of the CoreScripts Roblox uses to display the leaderboard. If you rename the container to anything other than and specifically "leaderstats", the script will ultimately ignore it.

0

That's kinda weird to me, but I guess if it has to be that way...

0

It's the same with handles in tools. The part needs to be named handle to be recognized as such.

0

I think this is a good question; I have no clue why someone would downvote this. Even I had this question at one time a while back. +1 to get you back on track

1 answer

✓ Accepted answer

As evidenced by your own tinkering, the answer is yes.

The reason for your downvote is most people would assume that it follows that changing the name to something other than "leaderstats" causing the leaderboard to disappear means that the container has to be named "leaderstats".

1 comment

0

Oh thanks, I thought I was going crazy for a moment and that it was probably something else.

This discussion is preserved as it was. New answers, comments, and votes are closed.