forked from bloodball/UI-Librarys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wally UI v2
69 lines (64 loc) · 1.52 KB
/
Wally UI v2
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
-- forked by SharKK | SharKK#1954
local library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wally2", true))()
local w = library:CreateWindow('Example')
w:Section('Top')
local t = w:Toggle('Example Toggle', {flag = "toggle1"})
local b = w:Button("Example Button", function()
print(w.flags.toggle1)
end)
w:Section('Middle')
local old = workspace.CurrentCamera.FieldOfView
local s = w:Slider("FOV", {
min = math.floor(workspace.CurrentCamera.FieldOfView);
max = 120;
flag = 'fov'
}, function(v)
workspace.CurrentCamera.FieldOfView = v;
end)
local b2 = w:Button('Reset FOV', function()
s:Set(old)
end)
w:Section('Bottom')
local box = w:Box('WalkSpeed', {
flag = "ws";
type = 'number';
}, function(new, old, enter)
print(new, old, enter)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(new)
end)
w:SearchBox("gamers", {
location = shared;
flag = "memes";
list = {
"kiriot";
"magikmanz";
"gamer vision";
"ironbrew";
"wally";
"firefox";
"this is epic";
}
}, warn)
w:Dropdown("locations", {
location = _G;
flag = "memes";
list = {
"jewelryin";
"jewelryout";
'bank';
'gas';
'prison';
'crimbase1';
'crimbase2';
}
}, function(new)
warn(new)
print(_G.memes)
end)
w:Bind("Kill Player", {
flag = "killbind";
kbonly = true;
default = Enum.KeyCode.RightAlt;
}, function()
game.Players.LocalPlayer.Character:BreakJoints()
end)