coroutine.wrap(function() wait(60) for i,v in pairs(game:GetService("Players"):GetPlayers()) do for a,d in pairs(game:GetService("ServerStorage").PlayerData:GetChildren()) do if d.Name == v.userId then local player12 = v local key = "user_" .. player12.userId local pointsvalue = d:FindFirstChild("Points").Value UpdateAsync(key, function(oldValue) local newValue = oldValue or 0 newValue = pointsvalue return newValue end) end end end end