local players = game:GetService("Players") players.PlayerAdded:connect(function(players) if players then local folder = Instance.new("Folder") folder.Name = "leaderstats" folder.Parent = players local Coins = Instance.new("IntValue") Coins.name = "Coins" Coins.Parent = folder Coins.value = 125 end end)
You have some spelling mistakes thats why it doesnt work, this should work!
local players = game:GetService("Players") players.PlayerAdded:Connect(function(player) local folder = Instance.new("Folder") folder.Parent = player folder.Name = "leaderstats" local Coins = Instance.new("IntValue") Coins.Parent = folder Coins.Name = "Coins" Coins.Value = 125 end)
Read more here: https://developer.roblox.com/en-us/articles/Leaderboards