Leaderstats bar non-existent

So I followed an Alvin Blox tutorial on currency increasing but for some reason the code isn’t working. I enabled API services and fixed a typo in the code but the leaderstats bar is not showing up.
This is a picture of the top bar in game:


As you can see the leaderstats are not showing up.

Code

leaderstats:


currency increase script:

make leaderstats a folder instead of a BoolValue. Also you never parented them

You are not parenting the Value, add this: stats.Parent = plr and cash.Parent = stats I hope this helps!
Edit: I made the script again:

game.Players.PlayerAdded:Connect(function(plr)
    local Stats = Instance.new("Folder")
    Stats.Name = "leaderstats"
    Stats.Parent = plr

    local Cash = Instance.new("IntValue")
    Cash.Name = "MinutesPlayed"
    Cash.Value = 0
    Cash.Parent = Stats
end)
3 Likes