Hello! I need help making a Cash / Money leaderboard. These lines of scripting are confusing me...
Very easy, actually!
game.Players.PlayerAdded:connect(function(plr) if plr then local leaderstats = Instance.new("IntValue") leaderstats.Name = "leaderstats" --The name of this has to be leaderstats for it to work local cash = Instance.new("IntValue", leaderstats) cash.Name = "Cash" cash.Value = 3 local money = Instance.new("IntValue", leaderstats) money.Name = "Money" money.Value = 2 leaderstats.Parent = plr end end)