# Wally UI v3 Library

## Booting the Library

```lua
local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall%20v3')))()
```

### Creating a Window

<pre class="language-lua"><code class="lang-lua">local w = library:CreateWindow("Title of the library") 
--[[
<strong> w is used to identify the window.
</strong> If you set it to e, when you create a tab, 
 it will be b = e:CreatFolder("B")
]]
</code></pre>

## Creating a Tab

```lua
local b = w:CreateFolder("B")
--[[
 The w in w: is the window to which it is attached. 
 If the window is e, you can use it by changing it to 
 e. b is the name of the tab, which is used when adding 
 buttons, etc. It doesn't matter if you use Main, One, etc.
]]
```

## Creating a TextLabel

```lua
b:Label("Pretty Useless NGL",{
    TextSize = 25; 
    TextColor = Color3.fromRGB(255,255,255); 
    BgColor = Color3.fromRGB(69,69,69); 
}) 
--[[
b: is an instruction for which tab to attach it to. If you 
change the b in the previous
tab to a, it needs to be a:Label.
]]
```

## Creating a Button

```lua
b:Button("Button",function()
    print("Elym Winning")
end)
--[[
You can change the text by changing the text of ("Button")
]]
```

## Creating a Toggle

```lua
b:Toggle("Toggle",function(bool)
    shared.toggle = bool
    print(shared.toggle)
end)
--[[
You can change the text by changing the text of ("Toggle")
]]
```

## Creating a Slider

```lua
b:Slider("Slider",{
    min = 10;
    max = 50;
    precise = true; 
},function(value)
    print(value)
end)
--[[
min is the minimum digit and max is the maximum digit.
You can control it by changing these. The "Slider" Slider 
allows you to change the text by changing the Slider inside!
]]
```

## Creating a Dropdown Menu

```lua
b:Dropdown("Dropdown",{"A","B","C"},true,function(mob)
    print(mob)
end)
--[[
If you change "A" etc. to B, the items
displayed in the drop-down will change
from A to B. You can also increase the options 
by adding "A", "B", "C", "D", etc.
]]
```

## Creating a KeyBind

```lua
b:Bind("Bind",Enum.KeyCode.C,function() --Default bind
    print("Yes")
end)
--[[
KeyCode.C is the default key code. By changing 
C here to A or B, the default key code will become 
A, etc. By changing Bind in "Bind", the text will change.
]]
```

## Creating a Color Picker

```lua
b:ColorPicker("ColorPicker",Color3.fromRGB(255,0,0),function(color) --Default color
    print(color)
end)
--[[
fromRGB(255,0,0) tells the color to start with red. 
If you set it to 255,255,255, it will start with white.
]]
```

## Creating a TextBox

```lua
b:Box("Box","number",function(value) -- "number" or "string"
    print(value)
end)
--[[
You can change the text by rewriting the
"Box" box. "Number" means that only numbers are allowed. 
You can enter text by changing this to "string".
]]
```

## Destroy UI

```lua
b:DestroyGui()
--[[
DestroyGui Button
]]
```
