Advertisement
Vortex23

Steal xD

Jun 26th, 2025 (edited)
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.42 KB | None | 0 0
  1. if getgenv().BACBP then
  2.     warn("bypass method is currently running")
  3.     return
  4. end
  5.  
  6. local scanned = {}
  7.  
  8. local ReplicatedStorage = cloneref(game:GetService("ReplicatedStorage"))
  9.  
  10. local Players = cloneref(game:GetService("Players"))
  11.  
  12. local FindFunc = loadstring(game:HttpGet("https://raw.githubusercontent.com/Awakenchan/GcViewerV2/refs/heads/main/Utility/FindFunction.lua"))()
  13.  
  14. local Class,Default = loadstring(game:HttpGet("https://raw.githubusercontent.com/Awakenchan/GcViewerV2/refs/heads/main/Utility/Data2Code%40Amity.lua"))()
  15.  
  16. getgenv().Log = getgenv().Log or function(...) print(...) end
  17.  
  18. local PlayerName = game.Players.LocalPlayer.Name
  19.  
  20. local function hookRemote(remote)
  21.  
  22.     if remote:IsA("RemoteEvent") then
  23.  
  24.         local oldFire
  25.  
  26.         oldFire = hookfunction(remote.FireServer, function(self, ...)
  27.  
  28.             local args = {...}
  29.  
  30.             if args[1] and (tostring(args[1]):lower() == "x-15" or tostring(args[1]) == "X-15") or (tostring(args[1]):lower() == "x-16" or tostring(args[1]) == "X-16") then
  31.  
  32.                 return task.wait(9e9)
  33.  
  34.             end
  35.  
  36.             return oldFire(self, unpack(args))
  37.  
  38.         end)
  39.  
  40.     end
  41.  
  42. end
  43.  
  44. local function isRemote(obj)
  45.  
  46.     return typeof(obj) == "Instance" and obj:IsA("RemoteEvent")
  47.  
  48. end
  49.  
  50. local function deepScan(value)
  51.  
  52.     if scanned[value] then return end
  53.  
  54.     scanned[value] = true
  55.  
  56.     if isRemote(value) then
  57.  
  58.         if not value:IsDescendantOf(ReplicatedStorage) then
  59.  
  60.             hookRemote(value)
  61.  
  62.             local Old -- dont really need this hook but it does disable basic ac in this ac
  63.  
  64.             Old = hookfunction(getrenv().coroutine.wrap, function(...)
  65.  
  66.                 if not checkcaller() then
  67.  
  68.                     print(...,getfenv(2).script)
  69.  
  70.                    return task.wait(9e9)
  71.  
  72.                 end
  73.  
  74.                 return Old(...)
  75.  
  76.             end)
  77.  
  78.         end
  79.  
  80.         return
  81.  
  82.     end
  83.  
  84.     if typeof(value) == "function" then
  85.  
  86.         local upvalues = getupvalues(value)
  87.  
  88.         for i, v in pairs(upvalues) do
  89.  
  90.             deepScan(v)
  91.  
  92.         end
  93.  
  94.     end
  95.  
  96.     if typeof(value) == "table" then
  97.  
  98.         for k, v in pairs(value) do
  99.  
  100.             deepScan(v)
  101.  
  102.         end
  103.  
  104.     end
  105.  
  106. end
  107.  
  108. getgenv().BACBP = true
  109.  
  110. for _, obj in next, getgc(true) do
  111.  
  112.     if typeof(obj) == "function" and islclosure(obj) and not isexecutorclosure(obj) then
  113.  
  114.         deepScan(obj)
  115.  
  116.     end
  117.  
  118. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement