R

antiban&skreenshot logger

public
rrixh Mar 28, 2024 Never 96
Clone
Lua lulas-antiban.jar 477 lines (410 loc) | 17.69 KB
1
-- Gui to Lua
2
-- Version: 3.2
3
4
-- instanxes:
5
6
local ScreenGui = Instance.new("ScreenGui")
7
local Frame = Instance.new("Frame")
8
local UICorner = Instance.new("UICorner")
9
local UIGradient = Instance.new("UIGradient")
10
local TextLabel = Instance.new("TextLabel")
11
local UICorner_2 = Instance.new("UICorner")
12
local TextLabel_2 = Instance.new("TextLabel")
13
local UICorner_3 = Instance.new("UICorner")
14
local TextButton = Instance.new("TextButton")
15
local UICorner_4 = Instance.new("UICorner")
16
local TextButton_2 = Instance.new("TextButton")
17
local UICorner_5 = Instance.new("UICorner")
18
19
--Properties:
20
21
ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
22
ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
23
24
Frame.Parent = ScreenGui
25
Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
26
Frame.BackgroundTransparency = 0.120
27
Frame.Position = UDim2.new(0.354000002, 0, 0.316000015, 0)
28
Frame.Size = UDim2.new(0, 445, 0, 252)
29
30
UICorner.Parent = Frame
31
32
UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(4, 4, 4)), ColorSequenceKeypoint.new(0.49, Color3.fromRGB(12, 4, 20)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(12, 4, 20))}
33
UIGradient.Parent = Frame
34
35
TextLabel.Parent = Frame
36
TextLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
37
TextLabel.BackgroundTransparency = 0.600
38
TextLabel.Position = UDim2.new(0.00224719103, 0, 0, 0)
39
TextLabel.Size = UDim2.new(0, 443, 0, 27)
40
TextLabel.Font = Enum.Font.SourceSans
41
TextLabel.Text = "Warning"
42
TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
43
TextLabel.TextScaled = true
44
TextLabel.TextSize = 14.000
45
TextLabel.TextWrapped = true
46
47
UICorner_2.Parent = TextLabel
48
49
TextLabel_2.Parent = Frame
50
TextLabel_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
51
TextLabel_2.BackgroundTransparency = 0.600
52
TextLabel_2.Position = UDim2.new(0.0269662924, 0, 0.162698418, 0)
53
TextLabel_2.Size = UDim2.new(0, 421, 0, 115)
54
TextLabel_2.Font = Enum.Font.SourceSans
55
TextLabel_2.Text = "u are exekuting anti-ban/anti-logger meaning that Roblox's system wont be able to detekt your messages so u kant be banned for anything u say. are u sure u want to exekute it?"
56
TextLabel_2.TextColor3 = Color3.fromRGB(255, 255, 255)
57
TextLabel_2.TextScaled = true
58
TextLabel_2.TextSize = 14.000
59
TextLabel_2.TextWrapped = true
60
61
UICorner_3.Parent = TextLabel_2
62
63
TextButton.Parent = Frame
64
TextButton.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
65
TextButton.BackgroundTransparency = 0.600
66
TextButton.BorderColor3 = Color3.fromRGB(27, 42, 53)
67
TextButton.Position = UDim2.new(0.287640452, 0, 0.658730209, 0)
68
TextButton.Size = UDim2.new(0, 189, 0, 34)
69
TextButton.Font = Enum.Font.SourceSans
70
TextButton.Text = "Enable"
71
TextButton.TextColor3 = Color3.fromRGB(0, 194, 45)
72
TextButton.TextSize = 14.000
73
74
UICorner_4.Parent = TextButton
75
76
TextButton_2.Parent = Frame
77
TextButton_2.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
78
TextButton_2.BackgroundTransparency = 0.600
79
TextButton_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
80
TextButton_2.Position = UDim2.new(0.280898869, 0, 0.821428478, 0)
81
TextButton_2.Size = UDim2.new(0, 194, 0, 32)
82
TextButton_2.Font = Enum.Font.SourceSans
83
TextButton_2.Text = "Klose"
84
TextButton_2.TextColor3 = Color3.fromRGB(203, 0, 0)
85
TextButton_2.TextSize = 14.000
86
87
UICorner_5.Parent = TextButton_2
88
89
-- Scripts:
90
91
local function CPNQ_fake_script() -- TextButton.LocalScript
92
local script = Instance.new('LocalScript', TextButton)
93
94
script.Parent.MouseButton1Click:Connect(function()
95
-- This basically makes roblox unable to log your chat messages sent in-game. Meaning if you get reported for saying something bad, you won't get banned!
96
-- Store in autoexec folder
97
-- Credits: AnthonyIsntHere and ArianBlaack
98
99
--[[
100
Change-logs:
101
8/22/2022 - Fixed Chat gui glitching on some games such as Prison Life.
102
9/30/2022 - Fixed chat gui glitching AGAIN... (added better checks too)
103
10/10/2022 - Added gethui() function and fix for Synapse v3.
104
11/11/2022 - Idk what happened but it stopped working... I fixed it though.
105
]]--
106
107
local ACL_LoadTime = tick()
108
109
local ChatChanged = false
110
local OldSetting = nil
111
local WhitelistedCoreTypes = {
112
"Chat",
113
"All",
114
Enum.CoreGuiType.Chat,
115
Enum.CoreGuiType.All
116
}
117
118
local StarterGui = game:GetService("StarterGui")
119
120
local FixCore = function(x)
121
local CoreHook; CoreHook = hookmetamethod(x, "__namecall", function(self, ...)
122
local Method = getnamecallmethod()
123
local Arguments = {...}
124
125
if self == x and Method == "SetCoreGuiEnabled" and not checkcaller() then
126
local CoreType = Arguments[1]
127
local Enabled = Arguments[2]
128
129
if table.find(WhitelistedCoreTypes, CoreType) and not Enabled then
130
if CoreType == ("Chat" or Enum.CoreGuiType.Chat) then
131
OldSetting = Enabled
132
end
133
ChatChanged = true
134
end
135
end
136
137
return CoreHook(self, ...)
138
end)
139
140
x.CoreGuiChangedSignal:Connect(function(Type)
141
if table.find(WhitelistedCoreTypes, Type) and ChatChanged then
142
task.wait()
143
if not StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Chat) then
144
x:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
145
end
146
wait(1)
147
if StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Chat) then
148
x:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, OldSetting) -- probably defaults to false i am too tired for the making of this lol
149
end
150
ChatChanged = false
151
end
152
end)
153
end
154
155
if StarterGui then
156
FixCore(StarterGui)
157
if not StarterGui:GetCoreGuiEnabled(Enum.CoreGuiType.Chat) then
158
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
159
end
160
else
161
local Connection; Connection = game.ChildAdded:Connect(function(x)
162
if x:IsA("StarterGui") then
163
FixCore(x)
164
Connection:Disconnect()
165
end
166
end)
167
end
168
169
if not game:IsLoaded() then
170
game.Loaded:wait()
171
end
172
173
local CoreGui = game:GetService("CoreGui")
174
local TweenService = game:GetService("TweenService")
175
local Players = game:GetService("Players")
176
177
local Player = Players.LocalPlayer
178
179
local PlayerGui = Player:FindFirstChildWhichIsA("PlayerGui") do
180
if not PlayerGui then
181
repeat task.wait() until Player:FindFirstChildWhichIsA("PlayerGui")
182
PlayerGui = Player:FindFirstChildWhichIsA("PlayerGui")
183
end
184
end
185
186
local Notify = function(_Title, _Text , Time)
187
print(_Title)
188
print(_Text)
189
print(Time)
190
end
191
192
local Tween = function(Object, Time, Style, Direction, Property)
193
return TweenService:Create(Object, TweenInfo.new(Time, Enum.EasingStyle[Style], Enum.EasingDirection[Direction]), Property)
194
end
195
196
local ACLWarning = Instance.new("ScreenGui")
197
local Background = Instance.new("Frame")
198
local Top = Instance.new("Frame")
199
local Exit = Instance.new("TextButton")
200
local UICorner = Instance.new("UICorner")
201
local WarningLbl = Instance.new("TextLabel")
202
local Loading = Instance.new("Frame")
203
local Bar = Instance.new("Frame")
204
local WarningBackground = Instance.new("Frame")
205
local WarningFrame = Instance.new("Frame")
206
local Despair = Instance.new("TextLabel")
207
local UIListLayout = Instance.new("UIListLayout")
208
local Reason_1 = Instance.new("TextLabel")
209
local Reason_2 = Instance.new("TextLabel")
210
local Trollge = Instance.new("ImageLabel")
211
local UIPadding = Instance.new("UIPadding")
212
213
local MakeGuiThread = coroutine.wrap(function()
214
if syn then
215
if gethui then
216
gethui(ACLwarning)
217
else
218
syn.protect_gui(ACLWarning)
219
end
220
end
221
222
ACLWarning.Name = "ACL Warning"
223
ACLWarning.Parent = CoreGui
224
ACLWarning.Enabled = false
225
ACLWarning.DisplayOrder = -2147483648
226
227
Background.Name = "Background"
228
Background.Parent = ACLWarning
229
Background.AnchorPoint = Vector2.new(0.5, 0.5)
230
Background.BackgroundColor3 = Color3.fromRGB(21, 0, 0)
231
Background.BorderSizePixel = 0
232
Background.Position = UDim2.new(0.5, 0, 0.5, 0)
233
Background.Size = UDim2.new(0.300000012, 0, 0.5, 0)
234
235
Top.Name = "Top"
236
Top.Parent = Background
237
Top.AnchorPoint = Vector2.new(0.5, 0.5)
238
Top.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
239
Top.BorderSizePixel = 0
240
Top.Position = UDim2.new(0.5, 0, 0.100000001, 0)
241
Top.Size = UDim2.new(0.899999976, 0, 0.100000001, 0)
242
243
Exit.Name = "Exit"
244
Exit.Parent = Top
245
Exit.AnchorPoint = Vector2.new(0.5, 0.5)
246
Exit.BackgroundColor3 = Color3.fromRGB(38, 0, 0)
247
Exit.Position = UDim2.new(0.949999988, 0, 0.5, 0)
248
Exit.Size = UDim2.new(0.100000001, -6, 1, -9)
249
Exit.Visible = false
250
Exit.Font = Enum.Font.Arcade
251
Exit.Text = "X"
252
Exit.TextColor3 = Color3.fromRGB(255, 255, 255)
253
Exit.TextScaled = true
254
Exit.TextSize = 14.000
255
Exit.TextWrapped = true
256
257
UICorner.CornerRadius = UDim.new(0.200000003, 0)
258
UICorner.Parent = Exit
259
260
WarningLbl.Name = "WarningLbl"
261
WarningLbl.Parent = Top
262
WarningLbl.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
263
WarningLbl.BackgroundTransparency = 1.000
264
WarningLbl.Position = UDim2.new(0, 17, 0, 0)
265
WarningLbl.Size = UDim2.new(0.5, 0, 1, 0)
266
WarningLbl.Font = Enum.Font.Arcade
267
WarningLbl.Text = "Warning!"
268
WarningLbl.TextColor3 = Color3.fromRGB(255, 255, 255)
269
WarningLbl.TextScaled = true
270
WarningLbl.TextSize = 14.000
271
WarningLbl.TextWrapped = true
272
WarningLbl.TextXAlignment = Enum.TextXAlignment.Left
273
274
Loading.Name = "Loading"
275
Loading.Parent = Top
276
Loading.AnchorPoint = Vector2.new(0.5, 0.5)
277
Loading.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
278
Loading.BorderSizePixel = 0
279
Loading.Position = UDim2.new(0.699999988, 0, 0.5, 0)
280
Loading.Size = UDim2.new(0.349999994, 0, 0.0199999996, 0)
281
282
Bar.Name = "Bar"
283
Bar.Parent = Loading
284
Bar.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
285
Bar.BorderSizePixel = 0
286
Bar.Size = UDim2.new(0, 0, 1, 0)
287
288
WarningBackground.Name = "WarningBackground"
289
WarningBackground.Parent = Background
290
WarningBackground.AnchorPoint = Vector2.new(0.5, 0.5)
291
WarningBackground.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
292
WarningBackground.BorderSizePixel = 0
293
WarningBackground.Position = UDim2.new(0.5, 0, 0.550000012, 0)
294
WarningBackground.Size = UDim2.new(0.899999976, 0, 0.800000012, 0)
295
296
WarningFrame.Name = "WarningFrame"
297
WarningFrame.Parent = WarningBackground
298
WarningFrame.AnchorPoint = Vector2.new(0.5, 0.5)
299
WarningFrame.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
300
WarningFrame.BorderSizePixel = 0
301
WarningFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
302
WarningFrame.Size = UDim2.new(0.899999976, 0, 0.899999976, 0)
303
304
Despair.Name = "Despair"
305
Despair.Parent = WarningFrame
306
Despair.AnchorPoint = Vector2.new(0.5, 0.5)
307
Despair.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
308
Despair.BackgroundTransparency = 1.000
309
Despair.BorderColor3 = Color3.fromRGB(27, 42, 53)
310
Despair.BorderSizePixel = 0
311
Despair.Position = UDim2.new(0.5, 0, 0.100000001, 0)
312
Despair.Size = UDim2.new(0.949999988, 0, 0.119999997, 0)
313
Despair.Font = Enum.Font.Oswald
314
Despair.Text = "anti-logger will not work here stupid!"
315
Despair.TextColor3 = Color3.fromRGB(255, 255, 255)
316
Despair.TextScaled = true
317
Despair.TextSize = 50.000
318
Despair.TextWrapped = true
319
Despair.TextYAlignment = Enum.TextYAlignment.Top
320
321
UIListLayout.Parent = WarningFrame
322
UIListLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
323
UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
324
UIListLayout.Padding = UDim.new(0, 15)
325
326
Reason_1.Name = "Reason_1"
327
Reason_1.Parent = WarningFrame
328
Reason_1.AnchorPoint = Vector2.new(0.5, 0.5)
329
Reason_1.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
330
Reason_1.BackgroundTransparency = 1.000
331
Reason_1.BorderColor3 = Color3.fromRGB(27, 42, 53)
332
Reason_1.BorderSizePixel = 0
333
Reason_1.Position = UDim2.new(0.5, 0, 0.100000001, 0)
334
Reason_1.Size = UDim2.new(0.949999988, 0, 0.100000001, 0)
335
Reason_1.Visible = false
336
Reason_1.Font = Enum.Font.Oswald
337
Reason_1.Text = "-xhat module was not found"
338
Reason_1.TextColor3 = Color3.fromRGB(255, 0, 0)
339
Reason_1.TextScaled = true
340
Reason_1.TextSize = 50.000
341
Reason_1.TextWrapped = true
342
Reason_1.TextYAlignment = Enum.TextYAlignment.Top
343
344
Reason_2.Name = "Reason_2"
345
Reason_2.Parent = WarningFrame
346
Reason_2.AnchorPoint = Vector2.new(0.5, 0.5)
347
Reason_2.BackgroundColor3 = Color3.fromRGB(17, 17, 17)
348
Reason_2.BackgroundTransparency = 1.000
349
Reason_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
350
Reason_2.BorderSizePixel = 0
351
Reason_2.Position = UDim2.new(0.5, 0, 0.100000001, 0)
352
Reason_2.Size = UDim2.new(0.949999988, 0, 0.100000001, 0)
353
Reason_2.Visible = false
354
Reason_2.Font = Enum.Font.Oswald
355
Reason_2.Text = "-MessagePosted funktion is invalid"
356
Reason_2.TextColor3 = Color3.fromRGB(255, 0, 0)
357
Reason_2.TextScaled = true
358
Reason_2.TextSize = 50.000
359
Reason_2.TextWrapped = true
360
Reason_2.TextYAlignment = Enum.TextYAlignment.Top
361
362
Trollge.Name = "Trollge"
363
Trollge.Parent = WarningFrame
364
Trollge.AnchorPoint = Vector2.new(0.5, 0.5)
365
Trollge.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
366
Trollge.BackgroundTransparency = 1.000
367
Trollge.Position = UDim2.new(0.5, 0, 0.670000017, 0)
368
Trollge.Size = UDim2.new(0.449999988, 0, 0.5, 0)
369
Trollge.Image = "rbxassetid://10104834800"
370
371
UIPadding.Parent = WarningFrame
372
UIPadding.PaddingTop = UDim.new(0, 10)
373
374
Exit.MouseButton1Click:Connect(function()
375
local UpTween = Tween(Background, .2, "Quint", "Out", {Position = UDim2.new(0.5, 0, 0.45, 0)})
376
local DownTween = Tween(Background, 1, "Quad", "Out", {Position = UDim2.new(0.5, 0, 2, 0)})
377
UpTween:Play()
378
UpTween.Completed:wait()
379
DownTween:Play()
380
DownTween.Completed:wait()
381
ACLWarning:Destroy()
382
end)
383
end)()
384
385
local ExitCooldown = function()
386
wait(.5)
387
local Tween = Tween(Bar, 3, "Quad", "InOut", {Size = UDim2.new(1, 0, 1, 0)})
388
Tween:Play()
389
Tween.Completed:wait()
390
Loading:Destroy()
391
Exit.Visible = true
392
end
393
394
local PlayerScripts = Player:WaitForChild("PlayerScripts")
395
local ChatMain = PlayerScripts:FindFirstChild("ChatMain", true) or false
396
397
if not ChatMain then
398
local Timer = tick()
399
repeat
400
task.wait()
401
until PlayerScripts:FindFirstChild("ChatMain", true) or tick() > (Timer + 3)
402
ChatMain = PlayerScripts:FindFirstChild("ChatMain", true)
403
if not ChatMain then
404
ACLWarning.Enabled = true
405
Reason_1.Visible = true
406
ExitCooldown()
407
return
408
end
409
end
410
411
local PostMessage = require(ChatMain).MessagePosted
412
413
if not PostMessage then
414
ACLWarning.Enabled = true
415
Reason_2.Visible = true
416
ExitCooldown()
417
return
418
end
419
420
local MessageEvent = Instance.new("BindableEvent")
421
local OldFunctionHook
422
OldFunctionHook = hookfunction(PostMessage.fire, function(self, Message)
423
if not checkcaller() and self == PostMessage then
424
MessageEvent:Fire(Message)
425
return
426
end
427
return OldFunctionHook(self, Message)
428
end)
429
430
if setfflag then
431
setfflag("AbuseReportScreenshot", "False")
432
setfflag("AbuseReportScreenshotPercentage", "0")
433
end
434
435
ChatFixToggle = false
436
task.spawn(function()
437
wait(1)
438
ACLWarning:Destroy()
439
end)
440
if OldSetting then
441
StarterGui:SetCoreGuiEnabled(CoreGuiSettings[1], CoreGuiSettings[2])
442
end
443
Notify("🍭lulas anti-ban", "ANTI XHATLOGGER AND SKREENSHOT LOADED!", 15)
444
print(string.format("Anti XHAT Logger has loaded in %s sekonds.", tostring(tick() - ACL_LoadTime):sub(1, 4)))
445
wait(0.3)
446
script.Parent.Parent:TweenPosition(UDim2.new(0.355, 0,1.291, 0), "Out", "Quint",1,true)
447
wait(0.9)
448
local AkaliNotif = loadstring(game:HttpGet("https://raw.githubusercontent.com/FD2Team/archive/main/notificationtest"))();
449
local Notify = AkaliNotif.Notify;
450
Notify({
451
Description = "Anti ban/anti xhatlogger has been ran.";
452
Duration = 5;
453
454
});
455
end)
456
end
457
coroutine.wrap(CPNQ_fake_script)()
458
local function OZEERJ_fake_script() -- TextButton_2.LocalScript
459
local script = Instance.new('LocalScript', TextButton_2)
460
461
script.Parent.MouseButton1Click:Connect(function()
462
script.Parent.Parent:TweenPosition(UDim2.new(0.355, 0,1.291, 0), "Out", "Quint",1,true)
463
wait(0.9)
464
script.Parent.Parent.Parent:Destroy()
465
end)
466
end
467
coroutine.wrap(OZEERJ_fake_script)()
468
local function ELJBIKO_fake_script() -- Frame.LocalScript
469
local script = Instance.new('LocalScript', Frame)
470
471
script.Parent.Position = UDim2.new(0.355, 0,-1.291, 0)
472
473
script.Parent:TweenPosition(UDim2.new(0.354, 0,0.316, 0), "Out", "Quint",1,true)
474
475
476
end
477
coroutine.wrap(ELJBIKO_fake_script)()