# Cumulus Library

{% content-ref url="/spaces/EKoGgh7bVFwWdkmMJiAk" %}
[Cumulus](https://runx-scripts.gitbook.io/library/)
{% endcontent-ref %}

## Getting Loadstring

```lua
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/Splix"))()
```

## Creating UI Library Window

```lua
local window = library:new({textsize = 13.5,font = Enum.Font.RobotoMono,name = "Libary",color = Color3.fromRGB(178,0,255)})
```

## Creating Tabs

```lua
local tab = window:page({name = "Dummy Tab"})
```

## Creating Boxes

Write right or left To Change The Position

```lua
local Tab = Tab:section({name = "Dummy Name",side = "left",size = 250})
```

## Creating Multple Tabs

```lua
local Multple = tab:multisection({name = "Dummy Name",side = "left",size = 250})
```

## Creating Toggles

```lua
Dummy_Name:toggle({name = "toggle",def = false,callback = function(value)
   tog = value
   print(tog)
end})
```

## Creating Buttons

```lua
Dummy_Name:button({name = "Umlimited Money",callback = function()
   print("Unlimited Credit Enable")
end})
```

## Creating Silder

```lua
Dummy_Name:slider({name = "rate ui lib 1-100",def = 1, max = 100,min = 1,rounding = true,ticking = false,measuring = "",callback = function(V)
-- Phamtom Force Silder Speed
game.Players.LocalPlayer.Character.Humanoid:Destroy()
   Instance.new('Humanoid').Parent = game.Players.LocalPlayer.Character
   game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = V
end})
```

## Creating DropDowns

```lua
Dummy_Name:dropdown({name = "dropdown",def = "",max = 10,options = {"1","2","3","4","5","6","7","8","9","10"},callback = function(chosen)
   print(chosen)
end})
-- for dropdowns put max to the number of items u have in the opions
```

## Creating MultBoxs

```lua
Dummy_Name:buttonbox({name = "buttonbox",def = "",max = 4, options = {"yoyoyo","yo2","yo3","yo4"},callback = function(value)
   print(value)
end})
```

## Creating TextBoxes

```lua
Dummy_Name:textbox({name = "textbox",def = "default text",placeholder = "Enter WalkSpeed",callback = function(value)
   print(value)
end})
```

## Creating Toggle

```lua
Dummy_Name:keybind({name = "set ui keybind",def = nil,callback = function(key)
   window.key = key
end})
```

## Creating ColorPickers

```lua
local picker = section1:colorpicker({name = "color",cpname = nil,def = Color3.fromRGB(255,255,255),callback = function(value)
   color = value
end})
```


---

# 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://runx-scripts.gitbook.io/library/cumulus-library.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.
