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

Is it possible to hide the stats in leaderstats?

is it really possible to do it though?

        local leaderstats = Instance.new("Folder", player)
	leaderstats.Name = "leaderstats"
	leaderstats.Parent = player
	
	local bucks = Instance.new("IntValue")
	bucks.Name = "Bucks"
	bucks.Value = 10
	bucks.Parent = leaderstats

1 comment

0

name it anything other than leaderstats, like Leaderstats

1 answer

✓ Accepted answer

You can rewrite your code to

local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"

local bucks = Instance.new("IntValue", leaderstats)
bucks.Name = "Bucks"
bucks.Value = 10

Also, if you don't want the stats up on the leaderboard, just don't put them into the leaderboard folder. Make a new folder and put it in there like this

local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"

local stats = Instance.new("Folder", player)
stats.Name = 'Stats'

local bucks = Instance.new("IntValue", stats)
bucks.Name = "Bucks"
bucks.Value = 10

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