-
Notifications
You must be signed in to change notification settings - Fork 0
/
Example.lua
41 lines (29 loc) · 986 Bytes
/
Example.lua
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
local lib = loadstring(game:HttpGet"https://raw.githubusercontent.com/qamwxy/VapeUI/main/Vape.txt")()
local win = lib:Window("TestWindow",Color3.fromRGB(44, 120, 224), Enum.KeyCode.RightControl)
local tab = win:Tab("That is indeed a Tab")
tab:Button("Button", function()
lib:Notification("Notification", "test_sub", "Sure")
end)
tab:Toggle("Toggle",false, function(t)
print(t)
end)
tab:Slider("Slider",0,100,30, function(t)
print(t)
end)
tab:Dropdown("Dropdown",{"Option 1","Option 2","Option 3","Option 4","Option 5"}, function(t)
print(t)
end)
tab:Colorpicker("Colorpicker",Color3.fromRGB(255,0,0), function(t)
print(t)
end)
tab:Textbox("Textbox",true, function(t)
print(t)
end)
tab:Bind("Bind",Enum.KeyCode.RightShift, function()
print("1234")
end)
tab:Label("Label")
local changeclr = win:Tab("Change UI Color")
changeclr:Colorpicker("Change UI Color",Color3.fromRGB(44, 120, 224), function(t)
lib:ChangePresetColor(Color3.fromRGB(t.R * 255, t.G * 255, t.B * 255))
end)