forked from zzerexx/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathUniversalAimbotUI.lua
More file actions
367 lines (359 loc) · 7.93 KB
/
UniversalAimbotUI.lua
File metadata and controls
367 lines (359 loc) · 7.93 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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
getgenv().AimbotSettings = {
TeamCheck = true, -- Press ] to toggle
VisibleCheck = true,
RefreshRate = 10, -- how fast the aimbot updates (milliseconds)
Keybind = Enum.UserInputType.MouseButton2, -- Must be a UserInputType or KeyCode
ToggleKey = Enum.KeyCode.RightShift,
MaximumDistance = 300, -- Set this to something lower if you dont wanna lock on some random person across the map
AlwaysActive = false,
Aimbot = {
Enabled = true,
TargetPart = "Head",
Use_mousemoverel = true,
Strength = 100, -- 1% - 200%
AimType = "Hold", -- "Hold" or "Toggle"
},
AimAssist = {
Enabled = false,
MinFov = 15,
MaxFov = 80,
DynamicFov = true,
ShowFov = false, -- Shows Min & Max fov
Strength = 55, -- 1% - 100%
SlowSensitivity = true,
SlowFactor = 1.75, -- 1% - 10%
RequireMovement = true,
},
FovCircle = {
Enabled = true,
Dynamic = true,
Radius = 100,
Transparency = 1,
Color = Color3.fromRGB(255,255,255),
NumSides = 64,
},
Whitelisted = {}, -- Username or User ID
WhitelistFriends = true, -- Automatically adds friends to the whitelist
Ignore = nil -- Raycast Ignore
} -- v1.1.11
if UAIMBOT then
return
end
if OldInstance then
getgenv().OldInstance = nil
end
local players = game:GetService("Players")
local aimbot = loadstring(game:HttpGet("https://raw.githubusercontent.com/zzerexx/scripts/main/UniversalAimbot.lua"))()
local Material = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
local UI = Material.Load({
Title = "Universal Aimbot",
Style = 2,
SizeX = 400,
SizeY = 500,
Theme = "Dark"
})
function Banner(text)
UI.Banner({Text = text})
end
local Aimbot = UI.New({Title = "Aimbot"})
local Assist = UI.New({Title = "Aim Assist"})
local Settings = UI.New({Title = "Settings"})
local Fov = UI.New({Title = "Fov Circle"})
local Other = UI.New({Title = "Other"})
local ui = OldInstance
Aimbot.Toggle({
Text = "Enabled",
Callback = function(value)
aimbot:Set("Aimbot","Enabled",value)
end,
Enabled = true
})
Aimbot.Dropdown({
Text = "Target Part",
Callback = function(value)
aimbot:Set("Aimbot","TargetPart",value)
end,
Options = {"Head","UpperTorso","Torso","HumanoidRootPart"},
Menu = {
Info = function()
Banner("Some games don't have certain parts. For example, Arsenal doesn't have Torso, so you will have to select UpperTorso.")
end
}
})
Aimbot.Toggle({
Text = "Use mousemoverel",
Callback = function(value)
aimbot:Set("Aimbot","Use_mousemoverel",value)
end,
Enabled = true
})
Aimbot.Slider({
Text = "Strength",
Callback = function(value)
aimbot:Set("Aimbot","Strength",value)
end,
Min = 1,
Max = 200,
Def = 100
})
Aimbot.Dropdown({
Text = "Aim Type",
Callback = function(value)
aimbot:Set("Aimbot","AimType",value)
end,
Options = {"Hold","Toggle"}
})
Assist.Toggle({
Text = "Enabled",
Callback = function(value)
aimbot:Set("AimAssist","Enabled",value)
end,
Enabled = false
})
Assist.Slider({
Text = "Minimum Fov",
Callback = function(value)
aimbot:Set("AimAssist","MinFov",value)
end,
Min = 0,
Max = 50,
Def = 15
})
Assist.Slider({
Text = "Maximum Fov",
Callback = function(value)
aimbot:Set("AimAssist","MaxFov",value)
end,
Min = 0,
Max = 200,
Def = 80
})
Assist.Toggle({
Text = "Dynamic Fov",
Callback = function(value)
aimbot:Set("AimAssist","DynamicFov",value)
end,
Enabled = true
})
Assist.Toggle({
Text = "Show Fov",
Callback = function(value)
aimbot:Set("AimAssist","ShowFov",value)
end,
Enabled = false
})
Assist.Slider({
Text = "Strength",
Callback = function(value)
aimbot:Set("AimAssist","Strength",value)
end,
Min = 1,
Max = 100,
Def = 55
})
Assist.Toggle({
Text = "Slow Sensitivity",
Callback = function(value)
aimbot:Set("AimAssist","SlowSensitivity",value)
end,
Enabled = true
})
Assist.Slider({
Text = "Slow Factor",
Callback = function(value)
aimbot:Set("AimAssist","SlowFactor",value / 10)
end,
Min = 10,
Max = 100,
Def = 17
})
Assist.Toggle({
Text = "Require Movement",
Callback = function(value)
aimbot:Set("AimAssist","RequireMovement",value)
end,
Enabled = true
})
Settings.Toggle({
Text = "Team Check",
Callback = function(value)
aimbot:Set("Other","TeamCheck",value)
end,
Enabled = true
})
Settings.Toggle({
Text = "Visible Check",
Callback = function(value)
aimbot:Set("Other","VisibleCheck",value)
end,
Enabled = true
})
Settings.Slider({
Text = "Refresh Rate",
Callback = function(value)
aimbot:Set("Other","RefreshRate",value)
end,
Min = 0,
Max = 50,
Def = 10
})
Settings.TextField({
Text = "Toggle Key",
Type = "Default",
Callback = function(value)
if Enum.KeyCode[value] then
aimbot:Set("Other","Keybind",Enum.KeyCode[value])
else
Banner("Invalid KeyCode.\nVisit https://developer.roblox.com/en-us/api-reference/enum/KeyCode for a list of KeyCodes.")
end
end,
Menu = {
Info = function()
Banner("This is the keybind that toggles aimbot and aim assist (switches between the two). Default is RightShift. Must be a valid KeyCode!")
end,
KeyCodes = function()
setclipboard("https://developer.roblox.com/en-us/api-reference/enum/KeyCode")
Banner("Copied to your clipboard!")
end
}
})
Settings.Slider({
Text = "Maximum Distance",
Callback = function(value)
aimbot:Set("Other","MaximumDistance",value)
end,
Min = 0,
Max = 2000,
Def = 300
})
Settings.Toggle({
Text = "Always Active",
Callback = function(value)
aimbot:Set("Other","AlwaysActive",value)
end,
Enabled = false,
Menu = {
Info = function()
Banner("If enabled, aimbot/aim assist will always be active, even without holding right click.")
end
}
})
Fov.Toggle({
Text = "Enabled",
Callback = function(value)
aimbot:Set("FovCircle","Enabled",value)
end,
Enabled = true
})
Fov.Toggle({
Text = "Dynamic",
Callback = function(value)
aimbot:Set("FovCircle","Dynamic",value)
end,
Enabled = true
})
Fov.Slider({
Text = "Radius",
Callback = function(value)
aimbot:Set("FovCircle","Radius",value)
end,
Min = 0,
Max = 500,
Def = 100
})
Fov.Slider({
Text = "Transparency",
Callback = function(value)
aimbot:Set("FovCircle","Transparency",value / 10)
end,
Min = 0,
Max = 10,
Def = 10
})
Fov.ColorPicker({
Text = "Color",
Default = Color3.fromRGB(255,255,255),
Callback = function(value)
aimbot:Set("FovCircle","Color",value)
end
})
Fov.Slider({
Text = "Number of Sides",
Callback = function(value)
aimbot:Set("FovCircle","NumSides",value)
end,
Min = 16,
Max = 128,
Def = 64
})
local list = getgenv().AimbotSettings.Whitelisted
local plr = nil
Other.TextField({
Text = "Username or User ID",
Type = "Default",
Callback = function(value)
if not players:FindFirstChild(value) then
return Banner(value.." is not in the game. (must be a username or user id, not display name)")
end
plr = value
end
})
Other.Button({
Text = "Add Player to Whitelist",
Callback = function()
if plr == nil then
return Banner("Please enter a Username or User ID.")
end
if table.find(list,plr) then
return Banner(plr.." is already whitelisted.")
end
table.insert(list,plr)
end
})
Other.Button({
Text = "Remove Player from Whitelist",
Callback = function()
if plr == nil then
return Banner("Please enter a Username or User ID.")
end
if not table.find(list,plr) then
return Banner(plr.." is not whitelisted.")
end
table.remove(list,table.find(list,plr))
end
})
Other.Toggle({
Text = "Whitelist Friends",
Callback = function(value)
aimbot:Set("Other","WhitelistFriends",value)
end,
Enabled = true,
Menu = {
Info = function()
Banner("If enabled, your friends will automatically be whitelisted upon joining.")
end
}
})
Other.Button({
Text = "Destroy Aimbot",
Callback = function()
aimbot:Destroy()
ui:Destroy()
end,
Menu = {
Info = function()
Banner("This button will completely remove Universal Aimbot, including the UI.")
end
}
})
Other.Button({
Text = "Credits",
Callback = function()
Banner("Material UI Library created by twink marie\nUniversal Aimbot created by zzerexx#3970")
end,
Menu = {
Version = function()
Banner("v1.1.11")
end
}
})