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:
leaderstats:
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:
stats.Parent = plr
cash.Parent = stats
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)