forked from bloodball/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wave
48 lines (42 loc) · 796 Bytes
/
Wave
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wave"))()
local Main = library:Main()
local Tab = Main:Tab("Tab")
local Section = Tab:Section("Section")
Section:Item(
"dropdown",
"DropDown",
function(v)
print(v)
end,
{items = {"Item 1", "Item 2", "Item 3", "A", "B", "C"}}
)
Section:Item(
"button",
"Button",
function()
library.Warn("Button", "Pressed")
end
)
Section:Item("label", "Label")
Section:Item(
"textbox",
"TextBox",
function(v)
print(v)
end,
{Placeholder = "Hello"}
)
Section:Item(
"slider",
"Slider",
function(v)
print(v)
end
)
Section:Item(
"toggle",
"Toggle",
function(v)
print(v)
end
)