-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFinity-UI-Library.lua
More file actions
164 lines (139 loc) · 4.52 KB
/
Finity-UI-Library.lua
File metadata and controls
164 lines (139 loc) · 4.52 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
153
154
155
156
157
158
159
160
161
162
163
164
local Finity = loadstring(game:HttpGet("http://finity.vip/scripts/finity_lib.lua"))()
local FinityWindow = Finity.new(true)
FinityWindow.ChangeToggleKey(Enum.KeyCode.Q)
local VisualsCategory = FinityWindow:Category("Visuals")
local AimbotCategory = FinityWindow:Category("Aimbot")
-- Visuals Sectors
local VisualsESPSettings = VisualsCategory:Sector("ESP Settings")
local VisualsPlayerESP = VisualsCategory:Sector("Player ESP")
local VisualsItemESP = VisualsCategory:Sector("Item ESP")
-- Aimbot Sectors
local AimbotColors = AimbotCategory:Sector("Aimbot Colors")
local AimbotHotkeys = AimbotCategory:Sector("Aimbot Hotkeys")
local AimbotConfigurations = AimbotCategory:Sector("Aimbot Configurations")
VisualsESPSettings:Cheat(
"Checkbox", -- Type
"ESP Enabled", -- Name
function(State) -- Callback function
print("Checkbox state changed:", State)
end
)
VisualsPlayerESP:Cheat(
"Checkbox", -- Type
"Player ESP Enabled", -- Name
function(State) -- Callback function
print("Checkbox state changed:", State)
end
)
VisualsItemESP:Cheat(
"Checkbox", -- Type
"Item ESP Enabled", -- Name
function(State) -- Callback function
print("Checkbox state changed:", State)
end
)
AimbotConfigurations:Cheat(
"Checkbox", -- Type
"Aimbot Enabled", -- Name
function(State) -- Callback function
print("Checkbox state changed:", State)
end
)
VisualsESPSettings:Cheat("Slider", "Render Distance", function(Value)
print("Silder value changed:", Value)
end, {min = 0, max = 1500, suffix = " studs"})
AimbotConfigurations:Cheat("Slider", "Aimbot FOV", function(Value)
print("Silder value changed:", Value)
end, {min = 0, max = 120, suffix = "°"})
VisualsESPSettings:Cheat("Dropdown", "ESP Color", function(Option)
print("Dropdown option changed:", Option)
end, {
options = {
"Red",
"White",
"Green",
"Pink",
"Blue"
}
})
AimbotConfigurations:Cheat("Dropdown", "Aimbot Mode", function(Option)
print("Dropdown option changed:", Option)
end, {
options = {
"FOV",
"Distance",
"Visibility"
}
})
-- Visuals Textboxes
VisualsItemESP:Cheat("Textbox", "Item To Whitelist", function(Value)
print("Textbox value changed:", Value)
end, {
placeholder = "Item Name"
})
VisualsPlayerESP:Cheat("Textbox", "Player To Whitelist", function(Value)
print("Textbox value changed:", Value)
end, {
placeholder = "Player Name"
})
-- Aimbot Textboxes
AimbotColors:Cheat("Textbox", "BrickColor Input", function(Value)
print("Textbox value changed:", Value)
end, {
placeholder = "BrickColor"
})
AimbotHotkeys:Cheat("Textbox", "Quick Toggle Hotkey", function(Value)
print("Textbox value changed:", Value)
end, {
placeholder = "KeyCode"
})
AimbotHotkeys:Cheat("Textbox", "Panic Hotkey", function(Value)
print("Textbox value changed:", Value)
end, {
placeholder = "KeyCode"
})
VisualsPlayerESP:Cheat("Button", "Reset Whitelist", function()
print("Button pressed")
end)
AimbotColors:Cheat("Button", "Reset Color", function()
print("Button pressed")
end)
AimbotHotkeys:Cheat("Button", "Reset Key", function()
print("Button pressed")
end)
-- Create category
local CreditsCategory = FinityWindow:Category("Credits")
-- Create sectors
local CreditsCreator = CreditsCategory:Sector("Finity Library Creator")
local CreditsSpecialThanks = CreditsCategory:Sector("Special Thanks")
local CreditsTesters = CreditsCategory:Sector("Testers")
-- Create labels
CreditsCreator:Cheat("Label", "detourious @ v3rmillion.net")
CreditsCreator:Cheat("Label", "deto#7612 @ discord.gg")
CreditsSpecialThanks:Cheat("Label", "wallythebird - held me hostage")
CreditsSpecialThanks:Cheat("Label", "Jan - some inspiration from his lib showcase")
CreditsSpecialThanks:Cheat("Label", "& all of you for supporting me <3")
CreditsTesters:Cheat("Label", "detourious - made the darn thing")
-- No default color
Sector:Cheat("ColorPicker", "Color", function(Color)
print("Color changed: " .. "R:" .. tostring(Color.R) .. "; G:" .. tostring(Color.G) .. "; B:" .. tostring(Color.B))
end)
-- Default color
Sector:Cheat("ColorPicker", "Color", function(Color)
print("Color changed: " .. "R:" .. tostring(Color.R) .. "; G:" .. tostring(Color.G) .. "; B:" .. tostring(Color.B))
end, {
color = Color3.new(0, 1, 0) -- Bright green
})
-- No default bind
Sector:Cheat("Keybind", "Label Text", function(KeyCode)
print("Keybind pressed: " .. KeyCode.Name)
end)
-- With default bind
Sector:Cheat("Keybind", "Label Text", function(KeyCode)
print("Keybind pressed: " .. KeyCode.Name)
end, {
bind = DefaultBind -- KeyCode, ex: "Enum.KeyCode.LeftShift"
})
Sector:Cheat("Button", "Button Text", function()
print("Button pressed")
end)