-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathExample.lua
More file actions
152 lines (141 loc) · 2.48 KB
/
Example.lua
File metadata and controls
152 lines (141 loc) · 2.48 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
local Material = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
local X = Material.Load({
Title = "ChibuHub",
Style = 3,
SizeX = 500,
SizeY = 350,
Theme = "Light",
ColorOverrides = {
MainFrame = Color3.fromRGB(235,235,235)
}
})
local Y = X.New({
Title = "1"
})
local Z = X.New({
Title = "2"
})
local A = Y.Button({
Text = "Kill All",
Callback = function()
print("hello")
end,
Menu = {
Information = function(self)
X.Banner({
Text = "This function can get you banned in up-to-date servers; use at your own risk."
})
end
}
})
local B = Y.Toggle({
Text = "I'm a switch",
Callback = function(Value)
print(Value)
end,
Enabled = false
})
local C = Y.Slider({
Text = "Slip and... you get the idea",
Callback = function(Value)
print(Value)
end,
Min = 200,
Max = 400,
Def = 300
})
local D = Y.Dropdown({
Text = "Dropping care package",
Callback = function(Value)
print(Value)
end,
Options = {
"Floor 1",
"Floor 2",
"Floor 3",
"Floor 4",
"Floor 5"
},
Menu = {
Information = function(self)
X.Banner({
Text = "Test alert!"
})
end
}
})
local E = Y.ChipSet({
Text = "Chipping away",
Callback = function(ChipSet)
table.foreach(ChipSet, function(Option, Value)
print(Option, Value)
end)
end,
Options = {
ESP = true,
TeamCheck = false,
UselessBool = {
Enabled = true,
Menu = {
Information = function(self)
X.Banner({
Text = "This bool has absolutely no purpose whatsoever."
})
end
}
}
}
})
local F = Y.DataTable({
Text = "Chipping away",
Callback = function(ChipSet)
table.foreach(ChipSet, function(Option, Value)
print(Option, Value)
end)
end,
Options = {
ESP2 = true,
TeamCheck2 = false,
UselessBool2 = {
Enabled = true,
Menu = {
Information = function(self)
X.Banner({
Text = "This bool ALSO has absolutely no purpose. Sorry."
})
end
}
}
}
})
local G = Y.ColorPicker({
Text = "ESP Colour",
Default = Color3.fromRGB(0,255,110),
Callback = function(Value)
print("RGB:", Value.R * 255, Value.G * 255, Value.B * 255)
end,
Menu = {
Information = function(self)
X.Banner({
Text = "This changes the color of your ESP."
})
end
}
})
local H = Y.TextField({
Text = "Country",
Callback = function(Value)
print(Value)
end,
Menu = {
GB = function(self)
self.SetText("GB")
end,
JP = function(self)
self.SetText("JP")
end,
KO = function(self)
self.SetText("KO")
end
}
})