Leaderstat not showing

I don’t know what I’m doing wrong, but the leaderstats of the player, will not show up when they join the game.


leaderstats needs to be lowercase for it to show. On another note you should create the instances and set their properties before parenting them: see this thread on why.

local leader = Instance.new("Folder")
leader.Name = "leaderstats"

local coins = Instance.new("NumberValue")
coins.Name = "Coins"

coins.Parent = leader
leader.Parent = plr
1 Like

thank you. I will be sure to take your advice