forked from bloodball/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wally UI v3
69 lines (55 loc) · 1.91 KB
/
Wally UI v3
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
--Made by : https://v3rmillion.net/member.php?action=profile&uid=507120
--Go vouch release thread : https://v3rmillion.net/showthread.php?tid=1040650
local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall%20v3')))()
local w = library:CreateWindow("A") -- Creates the window
local b = w:CreateFolder("B") -- Creates the folder(U will put here your buttons,etc)
b:Label("Pretty Useless NGL",{
TextSize = 25; -- Self Explaining
TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
})
b:Button("Button",function()
print("Elym Winning")
end)
b:Toggle("Toggle",function(bool)
shared.toggle = bool
print(shared.toggle)
end)
b:Slider("Slider",{
min = 10; -- min value of the slider
max = 50; -- max value of the slider
precise = true; -- max 2 decimals
},function(value)
print(value)
end)
b:Dropdown("Dropdown",{"A","B","C"},true,function(mob) --true/false, replaces the current title "Dropdown" with the option that t
print(mob)
end)
b:Bind("Bind",Enum.KeyCode.C,function() --Default bind
print("Yes")
end)
b:ColorPicker("ColorPicker",Color3.fromRGB(255,0,0),function(color) --Default color
print(color)
end)
b:Box("Box","number",function(value) -- "number" or "string"
print(value)
end)
b:DestroyGui()
--[[
How to refresh a dropdown:
1)Create the dropdown and save it in a variable
local yourvariable = b:Dropdown("Hi",yourtable,function(a)
print(a)
end)
2)Refresh it using the function
yourvariable:Refresh(yourtable)
How to refresh a label:
1)Create your label and save it in a variable
local yourvariable = b:Label("Pretty Useless NGL",{
TextSize = 25; -- Self Explaining
TextColor = Color3.fromRGB(255,255,255);
BgColor = Color3.fromRGB(69,69,69);
})
2)Refresh it using the function
yourvariable:Refresh("Hello") It will only change the text ofc
]]