How would I hide this from a Leaderboard?

How would I hide these boolvalue’s from the player’s leaderboard?

The Code:

game.Players.PlayerAdded:connect(function(p)
	local stats = Instance.new("IntValue")
	stats.Name = "leaderstats"
	stats.Parent = p
	
	local TalkedToNerd = Instance.new("BoolValue")
	TalkedToNerd.Name = "TalkedToNerd"
	TalkedToNerd.Parent = stats
	TalkedToNerd.Value = false
	
	local MetRock = Instance.new("BoolValue")
	MetRock.Name = "MetRock"
	MetRock.Parent = stats
	MetRock.Value = false
end)

The Code that I want to hide from the player:

	local TalkedToNerd = Instance.new("BoolValue")
	TalkedToNerd.Name = "TalkedToNerd"
	TalkedToNerd.Parent = stats
	TalkedToNerd.Value = false
	
	local MetRock = Instance.new("BoolValue")
	MetRock.Name = "MetRock"
	MetRock.Parent = stats
	MetRock.Value = false

What the player sees:
RobloxScreenShot20220716_195657471

What I want the player to see:
RobloxScreenShot20220716_195920576

Don’t parent them to the leaderstats folder, you can just parent them to the Player

2 Likes

There should be a folder called leaderstats that when you add the values in it will create a leaderboard/leaderstats. I don’t see one in ur code but it might be the IntValue you call leaderstats not sure.

image

Thanks you! You just earnt a solution and like :wink: