local y=game:GetService("\082\117\110\083\101\114\118\105\099\101")local o=require(script.Parent.Parent.Parent.vide)local u=require(script.Parent.Parent.components.graph.bargraph)local t=require(script.Parent.Parent.components.graph.linegraph)local O=require(script.Parent.Parent.components.util.list)return function(D)local n=o.source({0,0})return o.mount(function()o.cleanup(y.Heartbeat:Connect(function(y)table.insert(n(),y)if#n()>=50 then table.remove(n(),1)end n(n())end))return O({t({values=n;max=.033,size=UDim2.new(1,-8,0,200);(o.create("\085\073\083\116\114\111\107\101"))({})}),u({values=n;max=.033,size=UDim2.new(1,-8,0,200);(o.create("\085\073\083\116\114\111\107\101"))({})})})end,D)end
local RunService = game:GetService("RunService")

local vide = require(script.Parent.Parent.Parent.vide)
local bargraph = require(script.Parent.Parent.components.graph.bargraph)
local linegraph = require(script.Parent.Parent.components.graph.linegraph)
local list = require(script.Parent.Parent.components.util.list)

return function(target)

	local graph = vide.source {0, 0}

	return vide.mount(function()

		vide.cleanup(RunService.Heartbeat:Connect(function(dt)
			table.insert(graph(), dt)
			
			if #graph() >= 50 then
				table.remove(graph(), 1)
			end

			graph(graph())
		end))
	
		return list {

			linegraph {
				values = graph,
				max = 0.033,
	
				size = UDim2.new(1, -8, 0, 200),

				vide.create "UIStroke" {}
			},

			bargraph {
				values = graph,
				max = 0.033,
	
				size = UDim2.new(1, -8, 0, 200),

				
				vide.create "UIStroke" {}
			},

		}

	end, target)

end