# Loading

## Loading the UI Lib

```lua
local lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/panduh16/juju/main/ui.lua"))()
```

## Creating the Menu

To create a menu, you must use the lib and access the menu variable. The code below is not required, rather just shows you how to get to it.

```lua
local menu = lib["menu"]
```

## Creating a Group

To create a group, you must load it from the lib\["menu"]

```lua
lib["menu"].create_group(name: String)
```

| Argument | Type   | Description                      |
| -------- | ------ | -------------------------------- |
| name     | String | The group's name, keep it short. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://panduh.gitbook.io/panduh-docs/getting-started/loading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
