stats = game.Players.LocalPlayer.leaderstats
while true do
wait(.1)
if stats.Points = stats.Points then
stats = game.Platers.LocalPlayer.leaderstats
-- Run GUI update code here here
end
-- Don't worry about lag, this doesn't update the gui unless it changes, checking a value barely takes any performance, and there is no way around it. |