forked from bloodball/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Evo Hub v2 (example incomplete)
45 lines (44 loc) · 1.04 KB
/
Evo Hub v2 (example incomplete)
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
local UI = loadstring(game:HttpGetAsync("https://projectevo.xyz/script/utils/libraryv3.lua"))()
local Library = UI.library
local Main = Library.new("Main")
local Tab = Main:AddTab("Name", "Description", 0) -- Put a image link where the 0 is if you want a icon.
Main:AddProfile()
local Status = false
local BoxText = ""
local Value = 0
local Unused = 0
Tab:AddLabel("Label", "Gotham") -- You can change the font if you want, or you can leave it blank for a default of Gotham
Tab:AddStatusLabel("Status Label", Status)
Tab:AddClipboardLabel("Copy my name to your clipboard", "SyndiCat")
Tab:AddToggle(
"Toggle",
function(state)
Status = state
end
)
Tab:AddSlider(
"Slider",
function(a)
Value = a
end
)
Tab:AddBox(
"Textbox",
function(a)
BoxText = a
end
)
Tab:AddButton(
"Print Textbox/Slider",
function(a)
print("Textbox: " .. BoxText)
print("Slider: " .. Value)
end
)
Tab:AddDropdown(
"Dropdown",
function(a)
Unused = a
end,
{items = {1, 2, 3, 4, 5}}
)