-
Notifications
You must be signed in to change notification settings - Fork 319
/
Moon
44 lines (29 loc) · 952 Bytes
/
Moon
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
local library = loadstring(game:HttpGet('https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/Moon'))()
local main = library:CreateWindow("MoonLIB", "#19cf83", 9160626035)
main:CreateTab("Home")
main:CreateTab("Tab")
-- // home tab
main:CreateLabel("Label", "Home")
main:CreateToggle("Toggle", "Home", function(togglestate)
print(togglestate)
end)
main:CreateButton("Button", "Home", function()
print('btn')
end)
main:CreateDropdown("Dropdown", "Home", {"Oranges", "Apples", "Grapes", "Cherrys"}, function(arg)
print(arg)
end)
main:CreateSlider("Slider", "Home", 0, 100, function(sliderval)
print(sliderval)
end)
main:CreateLabel("another label", "Home")
main:CreateButton("button again", "Home", function()
print('btn')
end)
-- // the tab's tab
main:CreateButton("another button", "Tab", function()
print('btn')
end)
main:CreateToggle("another toggle", "Tab", function(togglestate)
print(togglestate)
end)