local textLabel = script.Parent
textLabel.Text = game:GetService("Players").LocalPlayer.leaderstats.Points.Value
for context I have a leaderstats script that creates a folder named leaderstats in any player in the game with the points value inside it and what I am trying to do is have the number of points displayed of a gui, is there a simple fix, or is there a better way to about this?

3 comments
You can't get the local player in a server script
Try putting a wait script between the first line and the third line.
put this is a while true loop. it will update