> For the complete documentation index, see [llms.txt](https://prezt.gitbook.io/azure-library/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prezt.gitbook.io/azure-library/master.md).

# Documentation

## Loadstring

```lua
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/preztel/AzureLibrary/master/uilib.lua", true))()
```

## Tab

After u added the main Library Code you will have to create a Tab.

```lua
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/2xDTKdpV", true))()

local AimbotTab = Library:CreateTab("Aimbot", "This is where you modify the Aimbot", true) 
--true means darkmode is enabled and false means its disabled
--if you leave it empty you have a custom theme.
```

<div align="left"><img src="/files/-M9-EcuorSr-HVoz148m" alt="This is what the Ui will look like so far."></div>

## Toggle

When you added the Tab you can add multiple things into it, such as a toggle.

```lua
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/2xDTKdpV", true))()

local AimbotTab = Library:CreateTab("Aimbot", "This is where you modify the Aimbot")

AimbotTab:CreateToggle("Enable Aimbot", function(arg) --the (arg) is if the checkbox is toggled or not
    if arg then
        print("Aimbot is now : Enabled")
    else
        print("Aimbot is now : Disabled")
    end
end)
```

<div align="left"><img src="/files/-M9-FA7CdSN4_p3B39u5" alt="When you add the toggle it will look like this."></div>

## Slider

You can also add a slider&#x20;

```lua
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/2xDTKdpV", true))()

local AimbotTab = Library:CreateTab("Aimbot", "This is where you modify the Aimbot")

AimbotTab:CreateSlider("Fov Radius", 0, 600, function(arg) --the (arg) is the sliders value
    print("Fov Radius is set to:", arg)
end)
```

<div align="left"><img src="/files/-M9-Fgmito2wUwxj-55H" alt="This is what the slider will look like."></div>

## DropDown

You can also add a dropdown. A dropdown is a list of options you can choose.

```lua
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/2xDTKdpV", true))()

local AimbotTab = Library:CreateTab("Aimbot", "This is where you modify the Aimbot")

AimbotTab:CreateDropDown("Aimbot Part", {"Head", "Torso"}, function(arg) --the (arg) is the option you choose 
    if arg == "Head" then
        print("HEahshoot")
    elseif arg == "Torso" then
        print("trrrrso")
    end
end)
```

<div align="left"><img src="/files/-M9-G-5lb5XlU6NgsPiR" alt="This is what the dropdown will look like when its opened."></div>

<div align="left"><img src="/files/-M9-GCJOC-x6oy-XLRRF" alt="What it looks like when its not opened."></div>

## Button

A button describes itself, it's a button you can click (duh)

```lua
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/2xDTKdpV", true))()

local AimbotTab = Library:CreateTab("Aimbot", "This is where you modify the Aimbot")

AimbotTab:CreateButton("Inf Jump", function() --you dont need "arg" for a button
    print("Inf Jump is now permanently on.")
end)
```

<div align="left"><img src="/files/-M9-GT6yT5DOZ86RYnNo" alt="And this is how the button looks like."></div>

```lua
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/2xDTKdpV", true))()

local AimbotTab = Library:CreateTab("Aimbot", "This is where you modify the Aimbot")

AimbotTab:CreateTextbox("Whitelist Player", function(arg) --arg is what the text is inside the textbox
    print("Whitelisted: " .. arg)
end)
```

That's it! It's not the best documentation but it's kinda helpful ig.

There will ofc be more updated n shit like darkmode/lightmode gui toggle bing and colorpickers
