I’m assuming some-where else in the code they make leaderstats and points; which means it’s defined, and the person who wrote the code knows it’s defined already. The only time you’d use something like
player.leaderstats.Points
is when you can guarantee it’s existence.
Also would like to point out, when using FindFirstChild() you need " " around the name at question.