Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I change the width of a cell in leaderstats?

Asked by
Hypgnosis 186
5 years ago

Hello! I am creating a leader board for a group that includes the player's rank in the group. I was wondering how I could increase the width of the rank column so that the rank name does not get cut off in the leaderboard?

I'm not asking for scripts. I just need direction on where to read or look for this information.

0
That isnt well documented. You can always look at the corescripts though. In particular Topbar.lua, line 759 should be what you're looking for. https://github.com/Roblox/Core-Scripts/blob/master/CoreScriptsRoot/CoreScripts/Topbar.lua nick540 20 — 5y
0
U simply cant. User#24403 69 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

The default leaderboard GUI element that is generated by CoreScripts using 'leaderstats' is not customizable.

What you could do however, (and what the majority of well-made games are doing now) is create your own leaderboard GUI. Simply design the GUI in the fashion you wish and populate it with the information you'd like to use (you can use a structure similar to 'leaderstats' to store data, or do it however you'd like.)

There aren't any wiki articles on the subject, but it's pretty self-explanatory. It's a little more involved than simply using leaderstats, but will ultimately give you much more control over the exact look and function of your leaderboard.

Ad

Answer this question