What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

[ OPEN SOURCE ] Anti Env Log | Env Check - 8 CHECKS!!!

Version / Update: v1.0.0
Download / Script Link
-- 1
local Players = game:GetService("Players")

local ok, player = pcall(function()
return Players:GetPlayerFromCharacter(workspace)
end)

if ok and player == nil then
else
print'1' -- inf loop here
end

-- code below runs fine in a exec.
print'pass'

-- 2
local GuiService = game:GetService("GuiService")
local origSelected = GuiService.SelectedObject
GuiService.SelectedObject = nil
task.wait()
if GuiService.SelectedObject ~= nil then
print'1' -- inf loop
end
local fakePart = Instance.new("Part")
local setOk = pcall(function()
GuiService.SelectedObject = fakePart
end)
if setOk then
print'2' -- inf loop
end
GuiService.SelectedObject = origSelected

-- code below runs fine in a exec.
print'pass'

-- 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'1'
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
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'1'
end

if not dsOk and not tostring(store):lower():find("invalid") and not tostring(store):find("name") then
else
print'2'
end

local globalOk = pcall(DS.GetGlobalDataStore, DS)
if not globalOk then
else
print'3'
end

-- code below runs fine in a exec.
print'pass'

-- 5
local StarterPlayer = game:GetService("StarterPlayer")
local sps = StarterPlayer:FindFirstChild("StarterPlayerScripts")

if not sps then
print'1' -- inf loop here
end

local childCount = #sps:GetChildren()
if childCount < 2 then
print'2' -- 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'3' -- inf loop here
end

-- code below runs fine in a exec.
print'pass'

-- 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'1' -- inf loop here or whatever
end

-- code below runs fine in a exec.
print'pass'

-- 7
local Teams = game:GetService("Teams")
local neutral = Teams:FindFirstChild("Neutral")
if neutral and neutral.TeamColor ~= BrickColor.new("Medium stone grey") then
print'1' -- inf loop
end

-- code below runs fine in a exec.
print'pass'

-- 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'1' -- inf loop
end
else
print'2' -- inf loop
end

-- code below runs fine in a exec.
print'pass'
[ View More ]
384c1345-5954-4317-a7f7-ddd8a44cf54f.webp


join my server for more checks &amp; a prom fork obfuscator twin : discord.gg/BGQkGUW2QsCHECK DUMPER RESULTS HERE: pastefy 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 executorshow 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 providehow 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 sowhy 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 ofwhat 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.
 
Back
Top