local B local n={}function n.Setup(x,n)B=n B.Text.FocusLost:Connect(function()local n=tonumber(B.Text.Text)if n then B.Text.Text=n x.Modules.Entity.EntitySettings.MaxRenderCount=n else B.Text.Text=x.Modules.Entity.EntitySettings.MaxRenderCount end end)end return n

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
