Mr_3242

Anti Cheat remover (removes the anti cheat on some games)

May 23rd, 2026 (edited)
79
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 28.34 KB | Gaming | 0 0
  1. -- Import the Library
  2. local fnl = loadstring(game:HttpGetAsync 'https://raw.githubusercontent.com/Code1Tech/utils/main/notification.lua')()
  3.  
  4. -- Make a Notification function
  5. function notify(title, text, duration)
  6.   title = title or "Notification"
  7.   text = text or "No text provided."
  8.   duration = duration or 5
  9.  
  10.   fnl:MakeNotification({
  11.     Title = title,
  12.     Text = text,
  13.     Duration = duration
  14.   })
  15. end
  16.  
  17. -- Use the func
  18. notify("ACR:Started", "AntiCheat Removal Started\n⚠️: Only Works On Some Games\nℹ️: Made By @Mr_3242", 3.5)
  19.  
  20. pcall(function()
  21. local ACRunning = false
  22. local ACRemovalInterval = 0.1 -- seconds between scans
  23. local LastScanTime = 0
  24.  
  25. -- Improved non-blocking wait function with better yielding
  26. local function SecureWait(duration)
  27.     local start = tick()
  28.     while tick() - start < duration and ACRunning do
  29.         -- Use smaller increments for smoother yielding
  30.         task.wait(math.min(0.05, duration - (tick() - start)))
  31.     end
  32. end
  33.  
  34. -- Optimized iterative deep scan to avoid stack overflow and improve performance
  35. local function DeepScan(parent)
  36.     local results = {}
  37.     local stack = {parent}
  38.     local count = 0
  39.    
  40.     while #stack > 0 and ACRunning do
  41.         local current = table.remove(stack)
  42.         local children = current:GetChildren()
  43.        
  44.         for i = 1, #children do
  45.             table.insert(results, children[i])
  46.             table.insert(stack, children[i])
  47.            
  48.             -- Yield every 50 items to prevent freezing
  49.             count = count + 1
  50.             if count % 50 == 0 then
  51.                 task.wait()
  52.             end
  53.         end
  54.     end
  55.    
  56.     return results
  57. end
  58.  
  59. -- Enhanced detection with better performance and more checks
  60. local function DetectAntiCheatComponents()
  61.     local foundAC = {}
  62.     local acStrength = 0
  63.     local totalPossibleStrength = 0
  64.    
  65.     -- Expanded list of anti-cheat identifiers with categories
  66.     local commonACNames = {
  67.         -- General AC terms
  68.         "AntiCheat", "AntiExploit", "AC_", "SecurityModule", "AntiHack",
  69.         "ExploitProtection", "CheatDetection", "HackShield", "VAC", "MoonSec",
  70.         "SimpleSpy", "Synapse", "Kick", "Ban", "AntiExploit", "ExploitDetection",
  71.         "AntiExploitScrpit", "AntiExploitScript", "banscript",
  72.        
  73.         -- Protection terms
  74.         "AntiInject", "ScriptProtection", "ScriptShield", "AntiTamper",
  75.         "MemoryProtect", "Guardian", "Sentinel", "Watchdog", "Defender",
  76.         "Shield", "Protector", "Fortify", "Bulwark", "GProtect", "KillExp",
  77.         "BanWave", "byfron", "byfronbypass", "Anti", "AntiHack",
  78.         "FOREST", "AntiCheat",
  79.        
  80.         -- Commercial AC systems
  81.         "DarkStar", "Elysian", "Vanguard", "FairFight", "EasyAntiCheat",
  82.         "BattlEye", "Nexus", "Polaris", "CheatEngine", "CheatPunch",
  83.         "GameGuard", "XignCode", "nProtect", "HSHIELD", "PunkBuster",
  84.         "Equ8", "Ricochet", "VACnet", "FAC", "SAC", "Warden", "Denuvo", "Citadel Anti-Cheat",
  85.        
  86.         -- Mythological references (common in custom AC)
  87.         "Aegis", "RiotShield", "Ironclad", "Sentry", "Valkyrie", "Hyperion",
  88.         "Artemis", "Apollo", "Athena", "Zeus", "Odin", "Thor", "Fenrir",
  89.         "Jormungandr", "Typhon", "Cerberus", "ByeBye", "Exploiter",
  90.         "Minerva", "Aspect",
  91.        
  92.         -- Obfuscation markers
  93.         "Secure", "Encrypted", "Protected", "Obfuscated", "Bytecode", "XOR",
  94.        
  95.         -- Common module names
  96.         "Detector", "Scanner", "Validator", "Checker", "Monitor", "Logger", "Aspect", "Minerva",
  97.  
  98.         -- More stuff
  99.         "Crystal", "Redone", "SuperAC", "Flight", "NoAir", "HyperionAC",
  100.         "RAC", "OPA", "UntitledAC", "Seeking", "Identify", "GL", "Gate",
  101.         "Goodbye", "PowerfulAC", "Hitbox", "Bannisher", "SOS", "BadHacker",
  102.         "Tracker", "InfiniteYield", "DarkHub", "Hydrogen", "OxygenU",
  103.         "VapeV4", "ScriptWare", "Krnl", "Fluxus", "Electron", "Comet",
  104.         "Delta", "Eclipse", "Celestial", "SirHurt", "Nihon", "Valyse",
  105.         "Trigon", "Elysian", "Acheron", "Vortex", "Paradox", "Nebula",
  106.         "Phantom", "Specter", "Ghost", "Wraith", "Revenant", "Doppelganger",
  107.         "Ethereal", "Arcane", "Mystic", "Occult", "Enigma", "Cipher",
  108.         "Cryptic", "Shadow", "Veil", "Cloak", "Shroud", "Obfuscator",
  109.         "Deobfuscator", "JJSploit", "ProtoSmasher", "ScriptDumper",
  110.         "HookGen", "Bytecode", "LuaC", "Luau", "Decompiler", "AntiDump",
  111.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  112.         "AntiLeak", "AntiReverse", "AntiDecompile", "AntiDisassemble",
  113.         "AntiAnalysis", "AntiResearch", "AntiDevelopment", "AntiCreation",
  114.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  115.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall",
  116.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  117.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  118.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  119.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLua",
  120.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  121.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  122.         "AntiExec", "AntiCall", "AntiHook", "AntiInject", "AntiModify",
  123.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  124.         "AntiHack", "AntiCheat", "AntiInject", "AntiTamper", "AntiDebug",
  125.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall",
  126.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  127.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  128.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  129.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLua",
  130.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  131.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  132.         "AntiExec", "AntiCall", "AntiHook", "AntiInject", "AntiModify",
  133.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  134.         "AntiLeak", "AntiReverse", "AntiDecompile", "AntiDisassemble",
  135.         "AntiAnalysis", "AntiResearch", "AntiDevelopment", "AntiCreation",
  136.         "AntiMod", "AntiScript", "AntiLua", "AntiRoblox", "AntiExploit",
  137.         "AntiHack", "AntiCheat", "AntiInject", "AntiTamper", "AntiDebug",
  138.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall",
  139.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  140.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  141.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  142.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLua",
  143.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  144.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  145.         "AntiExec", "AntiCall", "AntiHook", "AntiInject", "AntiModify",
  146.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  147.         "AntiLeak", "AntiReverse", "AntiDecompile", "AntiDisassemble",
  148.         "AntiAnalysis", "AntiResearch", "AntiDevelopment", "AntiCreation",
  149.         "AntiMod", "AntiScript", "AntiLua", "AntiRoblox", "AntiExploit",
  150.         "AntiHack", "AntiCheat", "AntiInject", "AntiTamper", "AntiDebug",
  151.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall", "DllFiles",
  152.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  153.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  154.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  155.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLuau",
  156.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  157.         "AntiTamper", "AntiDebug", "GoodLuck", "NoMod", "AntiSpeedHack"
  158.     }
  159.  
  160.     -- Services to check for AC components (prioritized by likelihood)
  161.     local servicesToCheck = {
  162.         game:GetService("ServerScriptService"),
  163.         game:GetService("ReplicatedStorage"),
  164.         game:GetService("Players").LocalPlayer:WaitForChild("PlayerScripts"),
  165.         game:GetService("Workspace"),
  166.         game:GetService("StarterPlayer").StarterPlayerScripts,
  167.         game:GetService("Lighting"),
  168.         game:GetService("StarterPack"),
  169.         game:GetService("StarterGui")
  170.     }
  171.    
  172.     -- Pre-compiled patterns for faster matching
  173.     local suspiciousPatterns = {
  174.         "hook", "inject", "exploit", "cheat", "bypass", "tamper",
  175.         "detect", "monitor", "scan", "validate", "check", "secure", "hitbox",
  176.         "protect", "shield", "guard", "ban", "kick", "report", "fairplay", "debug",
  177.         "guard", "exploit", "fairfight", "nohacks", "aspect", "minerva", "exec",
  178.         "citadel", "anti-cheat", "azure", "infinity", "roblox", "elizabeth", "decompile",
  179.         "warden", "coda", "axon", "mef", "nullify", "byfron", "redfox", "dll",
  180.         "crystal", "redone", "ac", "anticheat", "game guard", "dex",
  181.         "hyperion", "rac", "anti", "opa", "undetected", "unnamed anticheat", "prevention",
  182.         "untitled anticheat", "seeking", "identify", "id", "look", "1ac", "state", "safemode" ,
  183.         "inspect", "examining", "surveying", "scrutinizing", "reviewing", "mod", "nocheat",
  184.         "browsing", "analyzing", "observing", "viewing", "assessing", "tracking", "rat",
  185.         "gg", "gl", "goodluck", "faironly", "antimodification", "speedhack", "esp", "pests",
  186.        
  187.         -- More stuff
  188.         "Crystal", "Redone", "SuperAC", "Flight", "NoAir", "HyperionAC",
  189.         "RAC", "OPA", "UntitledAC", "Seeking", "Identify", "GL", "Gate",
  190.         "Goodbye", "PowerfulAC", "Hitbox", "Bannisher", "SOS", "BadHacker",
  191.         "Tracker", "InfiniteYield", "DarkHub", "Hydrogen", "OxygenU",
  192.         "VapeV4", "ScriptWare", "Krnl", "Fluxus", "Electron", "Comet",
  193.         "Delta", "Eclipse", "Celestial", "SirHurt", "Nihon", "Valyse",
  194.         "Trigon", "Elysian", "Acheron", "Vortex", "Paradox", "Nebula",
  195.         "Phantom", "Specter", "Ghost", "Wraith", "Revenant", "Doppelganger",
  196.         "Ethereal", "Arcane", "Mystic", "Occult", "Enigma", "Cipher",
  197.         "Cryptic", "Shadow", "Veil", "Cloak", "Shroud", "Obfuscator",
  198.         "Deobfuscator", "JJSploit", "ProtoSmasher", "ScriptDumper",
  199.         "HookGen", "Bytecode", "LuaC", "Luau", "Decompiler", "AntiDump",
  200.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  201.         "AntiLeak", "AntiReverse", "AntiDecompile", "AntiDisassemble",
  202.         "AntiAnalysis", "AntiResearch", "AntiDevelopment", "AntiCreation",
  203.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  204.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall",
  205.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  206.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  207.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  208.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLua",
  209.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  210.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  211.         "AntiExec", "AntiCall", "AntiHook", "AntiInject", "AntiModify",
  212.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  213.         "AntiHack", "AntiCheat", "AntiInject", "AntiTamper", "AntiDebug",
  214.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall",
  215.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  216.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  217.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  218.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLua",
  219.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  220.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  221.         "AntiExec", "AntiCall", "AntiHook", "AntiInject", "AntiModify",
  222.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  223.         "AntiLeak", "AntiReverse", "AntiDecompile", "AntiDisassemble",
  224.         "AntiAnalysis", "AntiResearch", "AntiDevelopment", "AntiCreation",
  225.         "AntiMod", "AntiScript", "AntiLua", "AntiRoblox", "AntiExploit",
  226.         "AntiHack", "AntiCheat", "AntiInject", "AntiTamper", "AntiDebug",
  227.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall",
  228.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  229.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  230.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  231.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLua",
  232.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  233.         "AntiTamper", "AntiDebug", "AntiAttach", "AntiRead", "AntiWrite",
  234.         "AntiExec", "AntiCall", "AntiHook", "AntiInject", "AntiModify",
  235.         "AntiDelete", "AntiClone", "AntiCopy", "AntiPaste", "AntiSteal",
  236.         "AntiLeak", "AntiReverse", "AntiDecompile", "AntiDisassemble",
  237.         "AntiAnalysis", "AntiResearch", "AntiDevelopment", "AntiCreation",
  238.         "AntiMod", "AntiScript", "AntiLua", "AntiRoblox", "AntiExploit",
  239.         "AntiHack", "AntiCheat", "AntiInject", "AntiTamper", "AntiDebug",
  240.         "AntiAttach", "AntiRead", "AntiWrite", "AntiExec", "AntiCall", "DllFiles",
  241.         "AntiHook", "AntiInject", "AntiModify", "AntiDelete", "AntiClone",
  242.         "AntiCopy", "AntiPaste", "AntiSteal", "AntiLeak", "AntiReverse",
  243.         "AntiDecompile", "AntiDisassemble", "AntiAnalysis", "AntiResearch",
  244.         "AntiDevelopment", "AntiCreation", "AntiMod", "AntiScript", "AntiLuau",
  245.         "AntiRoblox", "AntiExploit", "AntiHack", "AntiCheat", "AntiInject",
  246.         "AntiTamper", "AntiDebug", "GoodLuck", "NoMod", "AntiSpeedHack"
  247.     }
  248.    
  249.     -- Check for specific AC names and components with optimized yielding
  250.     for serviceIndex, service in ipairs(servicesToCheck) do
  251.         if not ACRunning then break end
  252.        
  253.         -- Yield every service to ensure smooth operation
  254.         task.wait()
  255.        
  256.         local success, descendants = pcall(function()
  257.             return service:GetDescendants()
  258.         end)
  259.        
  260.         if not success then
  261.             warn("Failed to get descendants for: " .. service:GetFullName())
  262.             continue
  263.         end
  264.        
  265.         for itemIndex, item in ipairs(descendants) do
  266.             if not ACRunning then break end
  267.            
  268.             -- Yield every 100 items to prevent freezing
  269.             if itemIndex % 100 == 0 then
  270.                 task.wait()
  271.             end
  272.            
  273.             -- Check name matches first (fastest check)
  274.             local itemNameLower = string.lower(item.Name)
  275.             for _, acName in ipairs(commonACNames) do
  276.                 if string.find(itemNameLower, string.lower(acName)) then
  277.                     local strength = 1 -- Base strength
  278.                     local detectionType = "Name Match"
  279.                    
  280.                     -- Type-based strength adjustments
  281.                     if item:IsA("RemoteEvent") then
  282.                         strength = strength + 3
  283.                         detectionType = "RemoteEvent"
  284.                     elseif item:IsA("RemoteFunction") then
  285.                         strength = strength + 4
  286.                         detectionType = "RemoteFunction"
  287.                     elseif item:IsA("Script") or item:IsA("ModuleScript") then
  288.                         strength = strength + (item:IsA("ModuleScript") and 3 or 2)
  289.                         detectionType = item.ClassName
  290.                     elseif item:IsA("BindableEvent") or item:IsA("BindableFunction") then
  291.                         strength = strength + 1.5
  292.                         detectionType = "Bindable"
  293.                     elseif item:IsA("LocalScript") then
  294.                         strength = strength + 1.5
  295.                         detectionType = "LocalScript"
  296.                     end
  297.                    
  298.                     -- Source code analysis (only for script objects)
  299.                     if (item:IsA("Script") or item:IsA("LocalScript") or item:IsA("ModuleScript")) and item:IsDescendantOf(service) then
  300.                         local success, source = pcall(function()
  301.                             return item.Source
  302.                         end)
  303.                        
  304.                         if success and source then
  305.                             local sourceLower = string.lower(source)
  306.                            
  307.                             -- Check for obfuscation patterns
  308.                             local obfuscationPatterns = {
  309.                                 "getfenv", "setfenv", "loadstring", "bytecode",
  310.                                 "xor", "encrypt", "secure", "protected", "hidden"
  311.                             }
  312.                            
  313.                             for _, pattern in ipairs(obfuscationPatterns) do
  314.                                 if string.find(sourceLower, pattern) then
  315.                                     strength = strength + 1
  316.                                     detectionType = detectionType.." | Obfuscated"
  317.                                     break
  318.                                 end
  319.                             end
  320.                            
  321.                             -- Check for suspicious function patterns
  322.                             for _, pattern in ipairs(suspiciousPatterns) do
  323.                                 if string.find(sourceLower, pattern) then
  324.                                     strength = strength + 0.5
  325.                                     detectionType = detectionType.." | Suspicious Code"
  326.                                     break
  327.                                 end
  328.                             end
  329.                         end
  330.                     end
  331.                    
  332.                     table.insert(foundAC, {
  333.                         object = item,
  334.                         name = item.Name,
  335.                         path = item:GetFullName(),
  336.                         type = item.ClassName,
  337.                         strength = strength,
  338.                         detection = detectionType
  339.                     })
  340.                     acStrength = acStrength + strength
  341.                     totalPossibleStrength = totalPossibleStrength + 6 -- Max per item
  342.                     break -- No need to check other names if we found a match
  343.                 end
  344.             end
  345.         end
  346.     end
  347.    
  348.     -- Check for hidden or protected scripts (with proper error handling)
  349.     if ACRunning then
  350.         local success, nilInstances = pcall(getnilinstances)
  351.         if success and nilInstances then
  352.             for i, v in ipairs(nilInstances) do
  353.                 if not ACRunning then break end
  354.                
  355.                 -- Yield every 25 nil instances to prevent freezing
  356.                 if i % 25 == 0 then
  357.                     task.wait()
  358.                 end
  359.                
  360.                 local itemNameLower = string.lower(v.Name)
  361.                 for _, acName in ipairs(commonACNames) do
  362.                     if string.find(itemNameLower, string.lower(acName)) then
  363.                         table.insert(foundAC, {
  364.                             object = v,
  365.                             name = v.Name,
  366.                             path = "Hidden Instance",
  367.                             type = v.ClassName,
  368.                             strength = 6, -- Highest strength for hidden AC
  369.                             detection = "Hidden Instance"
  370.                         })
  371.                         acStrength = acStrength + 6
  372.                         totalPossibleStrength = totalPossibleStrength + 6
  373.                         break
  374.                     end
  375.                 end
  376.             end
  377.         end
  378.     end
  379.    
  380.     -- Check for memory protection and other system-level AC
  381.     if ACRunning then
  382.         pcall(function()
  383.             -- Check for protected core scripts
  384.             local coreScripts = game:GetService("ScriptContext"):GetScripts()
  385.             for i, script in ipairs(coreScripts) do
  386.                 if not ACRunning then break end
  387.                
  388.                 -- Yield every 50 scripts to prevent freezing
  389.                 if i % 50 == 0 then
  390.                     task.wait()
  391.                 end
  392.                
  393.                 if script.ClassName == "LocalScript" and not script:IsDescendantOf(game:GetService("Players").LocalPlayer) then
  394.                     table.insert(foundAC, {
  395.                         object = script,
  396.                         name = "Suspicious Core Script",
  397.                         path = script:GetFullName(),
  398.                         type = "LocalScript",
  399.                         strength = 4,
  400.                         detection = "Unusual Core Behavior"
  401.                     })
  402.                     acStrength = acStrength + 4
  403.                     totalPossibleStrength = totalPossibleStrength + 6
  404.                 end
  405.             end
  406.            
  407.             -- Check for protected stats
  408.             if not pcall(function() return game:GetService("Stats").PerformanceStats:GetChildren() end) then
  409.                 table.insert(foundAC, {
  410.                     name = "Memory Protection",
  411.                     path = "Game Stats",
  412.                     type = "System",
  413.                     strength = 5,
  414.                     detection = "Memory Protection"
  415.                 })
  416.                 acStrength = acStrength + 5
  417.                 totalPossibleStrength = totalPossibleStrength + 6
  418.             end
  419.         end)
  420.     end
  421.    
  422.     -- Final pass for suspicious script behavior
  423.     if ACRunning then
  424.         pcall(function()
  425.             local playerScripts = game:GetService("Players").LocalPlayer:FindFirstChild("PlayerScripts")
  426.             if playerScripts then
  427.                 local scripts = playerScripts:GetDescendants()
  428.                 for i, script in ipairs(scripts) do
  429.                     if not ACRunning then break end
  430.                    
  431.                     -- Yield every 150 descendants to prevent freezing
  432.                     if i % 150 == 0 then
  433.                         task.wait()
  434.                     end
  435.                    
  436.                     if script:IsA("LocalScript") then
  437.                         local success, source = pcall(function()
  438.                             return script.Source
  439.                         end)
  440.                        
  441.                         if success and source then
  442.                             local sourceLower = string.lower(source)
  443.                             for _, pattern in ipairs(suspiciousPatterns) do
  444.                                 if string.find(sourceLower, pattern) then
  445.                                     table.insert(foundAC, {
  446.                                         object = script,
  447.                                         name = "Exploit Detection",
  448.                                         path = script:GetFullName(),
  449.                                         type = "LocalScript",
  450.                                         strength = 5,
  451.                                         detection = "Pattern Match: "..pattern
  452.                                     })
  453.                                     acStrength = acStrength + 5
  454.                                     totalPossibleStrength = totalPossibleStrength + 6
  455.                                     break
  456.                                 end
  457.                             end
  458.                         end
  459.                     end
  460.                 end
  461.             end
  462.         end)
  463.     end
  464.    
  465.     return {
  466.         components = foundAC,
  467.         strength = acStrength,
  468.         maxStrength = totalPossibleStrength,
  469.         percentage = totalPossibleStrength > 0 and (acStrength / totalPossibleStrength) * 100 or 0,
  470.         lastUpdate = os.time()
  471.     }
  472. end
  473.  
  474. local function RemoveAntiCheats()
  475.     -- Random delay pattern with better distribution
  476.     SecureWait(math.random() * 0.5 + 0.15) -- Between 0.15 and 0.65
  477.    
  478.     local success, err = pcall(function()
  479.         if not ACRunning then return "Scan aborted" end
  480.        
  481.         -- Use the advanced detection system
  482.         local acData = DetectAntiCheatComponents()
  483.         local deletedCount = 0
  484.        
  485.         -- Remove all detected components with yield points
  486.         for i, ac in ipairs(acData.components) do
  487.             if not ACRunning then break end
  488.            
  489.             -- Yield every 25 deletions to prevent freezing
  490.             if i % 25 == 0 then
  491.                 task.wait()
  492.             end
  493.            
  494.             if ac.object and ac.object.Parent then
  495.                 pcall(function()
  496.                     ac.object.Parent = nil -- Safer than Destroy
  497.                     deletedCount = deletedCount + 1
  498.                 end)
  499.             end
  500.         end
  501.        
  502.         -- Check for common anti-cheat containers
  503.         if ACRunning then
  504.             local suspectFolders = {"Security", "AntiCheat", "Protection", "Shield", "Guard"}
  505.             for i, folderName in ipairs(suspectFolders) do
  506.                 if not ACRunning then break end
  507.                
  508.                 -- Yield every folder check
  509.                 task.wait()
  510.                
  511.                 local folder = game:FindFirstChild(folderName)
  512.                 if folder and folder:IsA("Folder") then
  513.                     pcall(function()
  514.                         folder:Destroy()
  515.                         deletedCount = deletedCount + 1
  516.                     end)
  517.                 end
  518.             end
  519.         end
  520.        
  521.         -- Post-deletion cleanup with better garbage collection
  522.         if deletedCount > 0 and ACRunning then
  523.             -- Gradual garbage collection with yields
  524.             for i = 1, 3 do
  525.                 SecureWait(0.1)
  526.                 collectgarbage("step", 100) -- Incremental collection
  527.                 task.wait()
  528.             end
  529.            
  530.             return ("Operation completed: %d items processed"):format(deletedCount)
  531.         end
  532.        
  533.     end)
  534.    
  535.     if success then
  536.         LastScanTime = tick()
  537.         print("Scan result: " .. err)
  538.     else
  539.         warn("AC Detection Error: " .. tostring(err):sub(1, 100))
  540.     end
  541.    
  542.     return ACRunning
  543. end
  544.  
  545. function ACRStart()
  546.     if ACRunning then
  547.         warn("AC Detection already running")
  548.         return
  549.     end
  550.    
  551.     ACRunning = true
  552.     print("Starting advanced security scan")
  553.    
  554.     -- Initial notifications with better timing
  555.     task.spawn(function()
  556.         game:GetService("StarterGui"):SetCore("SendNotification", {
  557.             Title = "ACR:Warn",
  558.             Text = "⚠️: This May Lag Alot",
  559.             Duration = 0.9,
  560.             Icon = "rbxassetid://0"
  561.         })
  562.  
  563.         SecureWait(0.5)
  564.  
  565.         game:GetService("StarterGui"):SetCore("SendNotification", {
  566.             Title = "ACR:System",
  567.             Text = "ACR:HRP Is Active",
  568.             Duration = 0.9,
  569.             Icon = "rbxassetid://0"
  570.         })
  571.     end)
  572.    
  573.     -- Create the removal loop with proper yielding
  574.     task.spawn(function()
  575.         while ACRunning do
  576.             -- Randomize interval slightly to avoid pattern detection
  577.             local scanTime = ACRemovalInterval * (0.9 + math.random() * 0.2)
  578.             SecureWait(scanTime)
  579.            
  580.             if not RemoveAntiCheats() then
  581.                 break
  582.             end
  583.         end
  584.     end)
  585. end
  586.  
  587. function ACRStop()
  588.     if not ACRunning then
  589.         warn("AC Detection not active")
  590.         return
  591.     end
  592.    
  593.     ACRunning = false
  594.     print("Scan terminated")
  595.    
  596.     -- Clear any pending operations
  597.     task.wait()
  598.     collectgarbage("collect")
  599. end
  600.  
  601. function ACSetInterval(seconds)
  602.     if type(seconds) == "number" and seconds > 0 then
  603.         ACRemovalInterval = math.max(0.001, seconds) -- Minimum 1ms interval
  604.         print("Scan interval updated to " .. ACRemovalInterval)
  605.     else
  606.         warn("Invalid interval value")
  607.     end
  608. end
  609.  
  610. function HrpACR()
  611.       pcall(function()
  612.       local player= game:GetServices('Player').LocalPlayer
  613.       local character = player.Character
  614.       character.Parent = nil
  615.       character.HumanoidRootPart:Destroy()
  616.       character.Parent = workspace
  617.       end)
  618.       print("HrpAcR Is Active")
  619. end
  620.  
  621. HrpACR()
  622.  
  623.  
  624.  
  625. -- Start with random delay and better initialization
  626. task.delay(math.random(1, 3), function()
  627.     if not ACRunning then -- Only start if not already running
  628.         ACRStart()
  629.     end
  630. end)
  631.  
  632. end)
  633.  
Tags: delta
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment