ive added a leaderboard script to my game (Learning to script) and frsome reason it isnt showing?
local players = game:GetService("Players")
local function leaderboardSetup(Player)
leaderstats = Instance.new("Folder")
leaderstats.Name = "leaderstats"
leaderstats.Parent = "Player"
local gold = Instance.new("IntValue")
gold.Name = "Gold"
gold.Value = 1
gold.Parent = "leaderstats"
end
players.PlayerAdded:Connect(leaderboardSetup)
I load into the game it has the option for leaderbaord but no leaderboard or "Gold" stat to show?
cheers benmz41998
