This script does work. However, when I buy something during the game, it doesnt update and its just the same number the whole time. Though, it does update the points after the game has been reloaded. (shutdown & rejoin server)
points = game:GetService("PointsService") grant = game.Workspace:FindFirstChild("Grant", true) gui = game.Workspace:FindFirstChild("IngamePoints", true) awardablepoints = points:GetAwardablePoints() repeat wait() until points if points ~= nil then gui.Text = awardablepoints end
Points will be true when it is executed, so it will end. Try making the while go until something else?