Leaderstats not showing next to name

Someone please explain why the leaderstats don’t show up next to my name? I cant figure out why even looking at my past script

game.Players.PlayerAdded:Connect(function(PlayerJoined)
	local PlayerStatsContainer = Instance.new("Folder")
	PlayerStatsContainer.Name = "playerStatsContainer"
	PlayerStatsContainer.Parent = PlayerJoined
	
	local Experience = Instance.new("IntValue")
	Experience.Name = "Experience"
	Experience.Parent = PlayerJoined.playerStatsContainer
	Experience.Value = 0
end)

because in the players table only the values ​​within a folder called leaderstats are shown, so to achieve what you want change the name of the folder to “leaderstats”

Here I attach an example on how to do it.
hat

Ohhh so basically I cannot name the folder however I want and they will only display with the term “leaderstats” as the name?

correct, if you wanted to force the folder to be called with a different name and displayed, you would have to create your own player table system

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.