forked from DohmBoyOG/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathZesty's UI
More file actions
26 lines (21 loc) · 694 Bytes
/
Zesty's UI
File metadata and controls
26 lines (21 loc) · 694 Bytes
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
--Made by : https://v3rmillion.net/member.php?action=profile&uid=1083871
local lib = loadstring(game:HttpGet"https://fluxteam.xyz/external-files/lib.lua")()
lib:CreateWindow(title)
local window = lib:CreateWindow("window title")
window:AddButton(title, callback)
window:AddButton("Button",function()
-- button function
print("use fluxus, its cool!")
end)
window:AddToggle(title, callback)
local tog1 = false
window:AddToggle("Toggle", function()
-- toggle function
tog1 = not tog1
print(tostring(tog1))
end)
window:AddSlider(title, minvalue, maxvalue, startpoint, callback)
window:AddSlider("Slider",0, 100, 0, function(var)
-- slider function
print(var)
end)