-- 1
warn'dtc 1'
local Players = game:GetService("Players")
local ok, player = pcall(function()
return Players:GetPlayerFromCharacter(workspace)
end)
if ok and player == nil then
else
print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop here
end
-- code below runs fine in a exec.
print'pass'
-- 2
warn'dtc 2'
local GuiService = game:GetService("GuiService")
local origSelected = GuiService.SelectedObject
GuiService.SelectedObject = nil
task.wait()
if GuiService.SelectedObject ~= nil then
print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop
end
local fakePart = Instance.new("Part")
local setOk = pcall(function()
GuiService.SelectedObject = fakePart
end)
if setOk then
print'failed 2 discord.gg/BGQkGUW2Qs' -- inf loop
end
GuiService.SelectedObject = origSelected
-- code below runs fine in a exec.
print'pass'
-- 3
warn'dtc 3'
local Tween123 = game:GetService("TweenService")
local part21 = Instance.new("Part")
local badGoal23 = {
Position = "detected fr?",
CFrame = true,
Transparency = "how sad T_T"
}
local tweenOk = pcall(function()
Tween123:Create(part21, TweenInfo.new(1), badGoal23)
end)
if tweenOk then
print'failed 1 discord.gg/BGQkGUW2Qs'
else
end
local goodTween = Tween123:Create(part21, TweenInfo.new(0.1), {
Transparency = 1
})
goodTween:Play()
task.wait()
goodTween:Cancel()
-- code below runs fine in a exec.
print'pass'
-- 4
warn'dtc 4'
local DS = game:GetService("DataStoreService")
local invalidName = "logger_trap//invalid@chars"
local dsOk, store = pcall(DS.GetDataStore, DS, invalidName, "scope")
if dsOk and store then
print'failed 1 discord.gg/BGQkGUW2Qs'
end
if not dsOk and not tostring(store):lower():find("invalid") and not tostring(store):find("name") then
else
print'failed 2 discord.gg/BGQkGUW2Qs'
end
local globalOk = pcall(DS.GetGlobalDataStore, DS)
if not globalOk then
else
print'failed 3 discord.gg/BGQkGUW2Qs'
end
-- code below runs fine in a exec.
print'pass'
-- 5
warn'dtc 5'
local StarterPlayer = game:GetService("StarterPlayer")
local sps = StarterPlayer:FindFirstChild("StarterPlayerScripts")
if not sps then
print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop here
end
local childCount = #sps:GetChildren()
if childCount < 2 then
print'failed 2 discord.gg/BGQkGUW2Qs' -- inf loop here
end
local testScript = Instance.new("LocalScript")
testScript.Source = "sigma boi"
testScript.Parent = sps
local stillThere = sps:FindFirstChild(testScript.Name)
testScript:Destroy()
if not stillThere then
print'failed 3 discord.gg/BGQkGUW2Qs' -- inf loop here
end
-- code below runs fine in a exec.
print'pass'
-- 6
warn'dtc 6'
local PromptService = game:GetService("ProximityPromptService")
local shown, hidden = false, false
local conShown = PromptService.PromptShown:Connect(function() shown = true end)
local conHidden = PromptService.PromptHidden:Connect(function() hidden = true end)
local part = Instance.new("Part")
part.Parent = workspace
local prompt = Instance.new("ProximityPrompt")
prompt.Parent = part
task.wait()
conShown:Disconnect()
conHidden:Disconnect()
prompt:Destroy()
part:Destroy()
if not shown or not hidden then
else
print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop here or whatever
end
-- code below runs fine in a exec.
print'pass'
-- 7
warn'dtc 7'
local Teams = game:GetService("Teams")
local neutral = Teams:FindFirstChild("Neutral")
if neutral and neutral.TeamColor ~= BrickColor.new("Medium stone grey") then
print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop
end
-- code below runs fine in a exec.
print'pass'
-- 8
warn'dtc 8'
local GroupService = game:GetService("GroupService")
local ok, groups = pcall(function()
return GroupService:GetGroupsAsync(game.Players.LocalPlayer.UserId)
end)
if ok and groups then
if #groups < 1 then
else
print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop
end
else
print'failed 2 discord.gg/BGQkGUW2Qs' -- inf loop
end
-- code below runs fine in a exec.
print'pass'join my server for more checks & a prom fork obfuscator twin : discord.gg/BGQkGUW2Qs
CHECK DUMPER RESULTS HERE: https://pastefy.app/UTaIjnTV/raw
what is an anti env logger?
an anti env logger aka env check, breaks env loggers (services that run your code in order to see what it does) by viewing inconsistencies in the environment that usually don't appear on normal executors
how do i use this?
simply copy the code, and when you go to obfuscate your code, paste it before your code, and then env loggers should no longer be able to see what your code does(ONLY IF YOU PUT AN INF LOOP IN THE COMMENTS)
why/when should i use this?
if you obfuscate your code, you'll want to use an anti env logger, as it's an added layer of security that most obfuscators don't provide
how does this anti env logger work?
i noticed during testing that env loggers seem to only run code inside of connections once just to see what it does, so i used that to my advantage, all this code simply does is see if a connection (one that's supposed to run every frame) runs twice, and waits for it to do so
why should i use this over any other anti env logger or env check?
this env logger is currently not patched as of the time of this message, it's also not comparing or checking a function or global so it will never result in less compatibility with executors, even in the future, it uses a repeat loop instead of an error to ensure the env logger breaks, and it's simple enough to learn off of
what env loggers does this work on?
currently, it's confirmed to work on .gg/25ms and .gg/threaded, and it may work on every env logger out there and some dumpers might pass in these checks.
No comments yet. Be the first to comment!
1-- 1
2warn'dtc 1'
3local Players = game:GetService("Players")
4
5local ok, player = pcall(function()
6 return Players:GetPlayerFromCharacter(workspace)
7end)
8
9if ok and player == nil then
10else
11 print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop here
12end
13
14-- code below runs fine in a exec.
15print'pass'
16
17-- 2
18warn'dtc 2'
19local GuiService = game:GetService("GuiService")
20local origSelected = GuiService.SelectedObject
21GuiService.SelectedObject = nil
22task.wait()
23if GuiService.SelectedObject ~= nil then
24 print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop
25end
26local fakePart = Instance.new("Part")
27local setOk = pcall(function()
28 GuiService.SelectedObject = fakePart
29end)
30if setOk then
31 print'failed 2 discord.gg/BGQkGUW2Qs' -- inf loop
32end
33GuiService.SelectedObject = origSelected
34
35-- code below runs fine in a exec.
36print'pass'
37
38-- 3
39warn'dtc 3'
40local Tween123 = game:GetService("TweenService")
41local part21 = Instance.new("Part")
42local badGoal23 = {
43 Position = "detected fr?",
44 CFrame = true,
45 Transparency = "how sad T_T"
46}
47local tweenOk = pcall(function()
48 Tween123:Create(part21, TweenInfo.new(1), badGoal23)
49end)
50if tweenOk then
51 print'failed 1 discord.gg/BGQkGUW2Qs'
52else
53end
54local goodTween = Tween123:Create(part21, TweenInfo.new(0.1), {
55 Transparency = 1
56})
57goodTween:Play()
58task.wait()
59goodTween:Cancel()
60
61-- code below runs fine in a exec.
62print'pass'
63
64-- 4
65warn'dtc 4'
66local DS = game:GetService("DataStoreService")
67local invalidName = "logger_trap//invalid@chars"
68local dsOk, store = pcall(DS.GetDataStore, DS, invalidName, "scope")
69
70if dsOk and store then
71 print'failed 1 discord.gg/BGQkGUW2Qs'
72end
73
74if not dsOk and not tostring(store):lower():find("invalid") and not tostring(store):find("name") then
75else
76 print'failed 2 discord.gg/BGQkGUW2Qs'
77end
78
79local globalOk = pcall(DS.GetGlobalDataStore, DS)
80if not globalOk then
81else
82 print'failed 3 discord.gg/BGQkGUW2Qs'
83end
84
85-- code below runs fine in a exec.
86print'pass'
87
88-- 5
89warn'dtc 5'
90local StarterPlayer = game:GetService("StarterPlayer")
91local sps = StarterPlayer:FindFirstChild("StarterPlayerScripts")
92
93if not sps then
94 print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop here
95end
96
97local childCount = #sps:GetChildren()
98if childCount < 2 then
99 print'failed 2 discord.gg/BGQkGUW2Qs' -- inf loop here
100end
101
102local testScript = Instance.new("LocalScript")
103testScript.Source = "sigma boi"
104testScript.Parent = sps
105
106local stillThere = sps:FindFirstChild(testScript.Name)
107testScript:Destroy()
108
109if not stillThere then
110 print'failed 3 discord.gg/BGQkGUW2Qs' -- inf loop here
111end
112
113-- code below runs fine in a exec.
114print'pass'
115
116-- 6
117warn'dtc 6'
118local PromptService = game:GetService("ProximityPromptService")
119local shown, hidden = false, false
120local conShown = PromptService.PromptShown:Connect(function() shown = true end)
121local conHidden = PromptService.PromptHidden:Connect(function() hidden = true end)
122local part = Instance.new("Part")
123part.Parent = workspace
124local prompt = Instance.new("ProximityPrompt")
125prompt.Parent = part
126task.wait()
127conShown:Disconnect()
128conHidden:Disconnect()
129prompt:Destroy()
130part:Destroy()
131
132if not shown or not hidden then
133else
134 print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop here or whatever
135end
136
137-- code below runs fine in a exec.
138print'pass'
139
140-- 7
141warn'dtc 7'
142local Teams = game:GetService("Teams")
143local neutral = Teams:FindFirstChild("Neutral")
144if neutral and neutral.TeamColor ~= BrickColor.new("Medium stone grey") then
145 print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop
146end
147
148-- code below runs fine in a exec.
149print'pass'
150
151-- 8
152warn'dtc 8'
153local GroupService = game:GetService("GroupService")
154
155local ok, groups = pcall(function()
156 return GroupService:GetGroupsAsync(game.Players.LocalPlayer.UserId)
157end)
158
159if ok and groups then
160 if #groups < 1 then
161 else
162 print'failed 1 discord.gg/BGQkGUW2Qs' -- inf loop
163 end
164else
165 print'failed 2 discord.gg/BGQkGUW2Qs' -- inf loop
166end
167
168-- code below runs fine in a exec.
169print'pass'