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)
Sailexv
(Sailex)
June 19, 2024, 1:48am
2
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”
Sailexv
(Sailex)
June 19, 2024, 1:50am
3
Here I attach an example on how to do it.
Ohhh so basically I cannot name the folder however I want and they will only display with the term “leaderstats” as the name?
Sailexv
(Sailex)
June 19, 2024, 2:02am
5
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
system
(system)
Closed
July 3, 2024, 2:02am
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.