while true do for t,U in ipairs(game.Players:GetPlayers())do local D=U:FindFirstChild("\108\101\097\100\101\114\115\116\097\116\115")if not D then continue end for t,D in ipairs(D:GetChildren())do local j=trackedStats[D.Name](U)if not j then continue end D.Value=j end end wait(1)end
-- update stats loop
while true do
	for _, player in ipairs(game.Players:GetPlayers()) do
		local leaderstats = player:FindFirstChild("leaderstats")
		if not leaderstats then
			continue
		end

		for _, statObject in ipairs(leaderstats:GetChildren()) do
			local saveValue = trackedStats[statObject.Name](player)
			if not saveValue then
				continue
			end
			statObject.Value = saveValue
		end
	end

	wait(1)
end
