game.Players.PlayerAdded:connect(function(char) local leaderstats = Instance.new("Model") leaderstats.Name = "Leaderstats" leaderstats.Parent = char local money = Instance.new("IntValue") money.Name = "Money" money.Value = 0 money.Parent = leaderstats end)
The name of the leaderstat should be leaderstats
, not Leaderstats
.
--// Also, remember that the player added event returns the player, not the character. game.Players.PlayerAdded:connect(function(char) local leaderstats = Instance.new("Model") leaderstats.Name = "leaderstats" leaderstats.Parent = char local money = Instance.new("IntValue") money.Name = "Money" money.Value = 0 money.Parent = leaderstats end)