-- 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'
Universal Script 🎭
undefined [ OPEN SOURCE ] Anti Env Log| Env Check - 8 CHECKS!!!
890views
8 months ago

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

Author
User Avatar
polleser
Status
Working
Price
Free

Description

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.

Features

1
  • open source
Join Discord ServerUpdates and support from the developer

Related Scripts