local r local P={}function P.Setup(L,P)r=P r.Text.FocusLost:Connect(function()local P=tonumber(r.Text.Text)if P then r.Text.Text=P L.Modules.Entity.EntitySettings.MaxRenderCount=P else r.Text.Text=L.Modules.Entity.EntitySettings.MaxRenderCount end end)end return P
--Obj
local Frame

local RenderCount = {}

function RenderCount:Setup(UI)
	Frame = UI

	Frame.Text.FocusLost:Connect(function()
		local text = tonumber(Frame.Text.Text)
		if text then
			Frame.Text.Text = text
			self.Modules.Entity.EntitySettings.MaxRenderCount = text
		else
			Frame.Text.Text = self.Modules.Entity.EntitySettings.MaxRenderCount
		end
	end)
end

return RenderCount
