I’m making a level leader stat system and I have 3 stats, Level, XP, and XP needed. By default all these show on the leader stats tab. Is there a way to make the XP needed and XP value hidden?
Just don’t add it to the leaderstats, you can have an extra folder for it.
but am I able to keep in the folder is the question really since this makes it really easy to find.
I don’t think you can hide it, everything in that folder will be displayed.
Folder within a folder perhaps? I never tried it but…
Ok if you want data that you dont want to show then try this
local leaderstats = Instance.new("Configuration",Player)
leaderstats.Name = 'leaderstats'-- if you want the data to show set the parent to this!
local HiddenData = Instance.new("Configuration",Player)
HiddenData.Name = 'HiddenData'-- if you want the data to be hidden set the parent to this!
end)
He wanted it in the same folder, not 2 folders.
There are many new developers who don’t understand what “Folder within a folder” means.
Basically you just gotta parent the new folder to the leaderstats one like on this example here:
local leaderstats = Instance.new(“Folder”)
leaderstats.Name = “leaderstats”
leaderstats.Parent = Player
local hiddenFolder = Instance.new(“Folder”)
hiddenFolder.Name = “hiddenFolder”
hiddenFolder.Parent = leaderstats
then you just parent the values to the hiddenFolder instead of the leaderstats:
rebirths.Parent = hiddenFolder
And if you want to get the values to use it on coins etc… you just gotta do something like this:
Player.leaderstats.hiddenFolder.Coins.Value
Hope this helped a lot of new devs. And congrats to everyone’s progress!