it keeps saying bucks isnt a valid member of intvalue
game.Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local bucks = Instance.new("IntValue") bucks.Name = "bucks" bucks.value = 0 bucks.Parent = leaderstats end)