I have searched the forums and it seems from what I have found that it is impossible to hide the leaderboard without disabling it (and creating your own custom GUI).
What I want it to do it just toggle the same as if a user on pc presses the TAB button. I just want a script to be able to press the TAB button for them.
You can do this with the chat window, why not with the leaderboard? If anyone knows of a way to do this, please let me know.
Thanks but that is not what Iâm wanting to do. I want to show/hide the entire player list / leaderboard with a script. Not trying to hide a particular stat from showing up on the leaderboard.
That wonât work very well because I want to hide it but I want them to immediately be able to toggle it back on if they want. If I undo the âfalseâ later with a âtrueâ it will toggle the PlayerList back on immediately which is of no use.
You have to use game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList,false) or make your own player list.
Since playerlist is presented in core gui and you canât really control it.
Its not hard to code a playerlist, if you want playerlist ui then go to studio settings and enable show coreui while playing.
After that play the game and click core gui in explorer and find
Thanks, but I want to keep as much default as possible so when Roblox changes the coregui stuff I wonât have to update it and it just works with mobile and xbox, etc.
I was hoping for something like show/hide chat which you can do with:
Thanks, I was hopeful that this would work for me, but I was able to do the opposite of what I want, but not what I want.
If you disable the âplayerlistâ in this way, it will hide it, but enabling it defaults to showing it(not just enable it so it can be shown). So I still have no way of hiding it while leaving it enabled. HmmâŚ
Btw are you able to see the leaderboard gui components when you test your game? Perhaps you could use a script that just sets the relevant frame .Visible to falseâŚ
I would also appreciate this feature. I like default Roblox player list functionality, but the GUI takes up valuable real estate when displayed so would like for it to begin hidden.