gxentry

Untitled

Apr 17th, 2025 (edited)
4,839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.94 KB | None | 0 0
  1. xpcall(function()
  2. local done = false
  3. local id, channel = create_comm_channel()
  4. channel.Event:Connect(function()
  5. done = true
  6. end)
  7.  
  8. local module_bypassed = false
  9. local offsets = {
  10. [76] = function(func)
  11. hookfunction(func, function(detection)
  12. if tonumber(detection) then
  13. local skyyy = Instance.new("Sky")
  14. skyyy.Name = detection
  15. skyyy._ = 0
  16. end
  17.  
  18. print("corescript", "module", detection)
  19. end)
  20. --print("corescript", "bypassed module vector util")
  21. module_bypassed = true
  22. end,
  23. };
  24. for _, func in getgc(false) do
  25. if type(func) ~= "function" or (iscclosure(func)) or (isexecutorclosure(func)) then
  26. continue
  27. end
  28.  
  29. local info = debug.getinfo(func)
  30. if not info.source:find("Modules.VectorUtil") then
  31. continue
  32. end
  33. if isfunctionhooked(func) then
  34. continue
  35. end
  36. local current_line = info.currentline
  37.  
  38. local current_offset = offsets[current_line]
  39. if current_offset and type(current_offset) == "function" then
  40. xpcall(current_offset, function(err)
  41. print("corescript", err)
  42. end, func)
  43. end
  44. end
  45.  
  46. if not module_bypassed then
  47. return cloneref(game:GetService"Players")["LocalPlayer"]:Kick("<0X36> FALLENGUARD UPDATED / INJECT INGAME")
  48. end
  49.  
  50. local actors = getactors()
  51. if actors and actors[1] then
  52. local fallen_guard = actors[1]
  53. run_on_actor(
  54. fallen_guard,
  55. [[
  56. local id = ...
  57.  
  58. if not id then
  59. return print('corescript', 'no id')
  60. end
  61.  
  62. local replicated_storage = cloneref(game:GetService('ReplicatedStorage'))
  63. local starter_gui = cloneref(game:GetService('StarterGui'))
  64. local players = cloneref(game:GetService('Players'))
  65.  
  66. local local_player = players.LocalPlayer
  67.  
  68. local selection = cloneref(game:GetService("Selection"));
  69. local loading_screen = replicated_storage:WaitForChild('LoadingScreen')
  70.  
  71. local admin_menu = Instance.new('ScreenGui')
  72. admin_menu.Name = "AdminMenu"
  73. admin_menu.Enabled = false
  74. local object = Instance.new('Frame')
  75. object.Name = 'AMain'
  76. object.Parent = admin_menu
  77. local ban_strings = {
  78. string.char(
  79. unpack(
  80. string.split("152/138/75/77/40/152/184/182/92/153/127/174/88/68/159/100/36/50/190/61/174/82/62/129/175/52/23/144/16/24", "/")
  81. )
  82. );
  83. }
  84. local console_bypassed = false
  85. local detection_up_function, debug_mode_function
  86.  
  87. local ban_hook = function(_, str)
  88. return setmetatable({}, {
  89. __index = function()
  90. return function()
  91. print('corescript', 'Rejoin please!', str)
  92. return local_player:Kick('<0X1>, BYPASS ERROR REJOIN OR MAKE A TICKET.')
  93. end
  94. end
  95. })
  96. end
  97.  
  98. local offsets = {
  99. [698] = function(func) -- console detection
  100. hookfunction(func, function(...)
  101. return nil, nil, true
  102. end)
  103. console_bypassed = true
  104. --print('corescript', 'bypassed actor console detections')
  105. end;
  106. [767] = function(func) -- detection upvalue, loading screen spawn function
  107. detection_up_function = func
  108. --print('corescript', 'found detection stuff')
  109. end;
  110. [567] = function(func) -- fire remote
  111. local old_fire_remote
  112. old_fire_remote = hookfunction(func, function(...)
  113. local args = {...}
  114. if args[4] and type(args[4]) == 'table' then
  115. if table.find(args[4], '0x00') or table.find(args[4], "0x3A") then -- sanity checks
  116. return old_fire_remote(unpack(args))
  117. end
  118. if detection_up_function then
  119. local detection_value = debug.getupvalue(detection_up_function, 1) or 'ham / yuiz_'
  120. if table.find(args[4], detection_value) then
  121. print('corescript', 'prevented loop ban', detection_value)
  122. return "-/|"
  123. end
  124. end
  125. if table.find(args[4], '117') or table.find(args[4], '045') then
  126. print('corescript', 'prevented loop ban', table.concat(args[4], ' '))
  127. return "-/|"
  128. end
  129. end
  130. if typeof(args[2]) == 'Instance' and args[2].Name == string.char(147, 83, 68, 180, 43, 30, 48, 136, 61, 104, 122, 19, 122, 67, 181, 42, 75, 158, 121, 190, 172, 183, 120, 142, 52, 165, 9, 130, 129, 110) then
  131. print('corescript', 'actor ban attempt ezez', debug.traceback())
  132. return "-/|"
  133. end
  134. for i, sad in ban_strings do
  135. if table.find(args, sad) then
  136. print('corescript', 'sad', sad, i)
  137. return "-/|"
  138. end
  139. end
  140. return old_fire_remote(unpack(args))
  141. end)
  142. --print('corescript', 'bypassed actor fire remote ban')
  143. end;
  144. [147] = function(func) -- error function
  145. local old_error_function
  146. old_error_function = hookfunction(func, function(detection)
  147. if detection == 'dumb mf' then
  148. return old_error_function(detection)
  149. end
  150. return print('corescript', detection)
  151. end)
  152. --print('corescript', 'bypassed actor vector util error')
  153. end;
  154. [2434] = function(func)
  155. if rawequal(debug.getupvalue(func, 34), false) then
  156. debug.setupvalue(func, 34, true)
  157. print('corescript', '🥶')
  158. end
  159. local old
  160. old = hookfunction(func, function()
  161. return old(false)
  162. end)
  163. --print('corescript', 'ban proxy bypassed')
  164. end;
  165. [2307] = function(func) -- debug mode
  166. debug_mode_function = func
  167. --print('corescript', 'actor found')
  168. end;
  169. [2577] = function(func) -- expects concat function
  170. local proto = debug.getproto(func, 1)
  171. if proto and typeof(proto) == 'function' and (not isfunctionhooked(proto)) then
  172. hookfunction(proto, function()
  173. print('corescript', 'ban function triggered')
  174. end)
  175.  
  176. print('corescript', 'ez')
  177. end
  178. hookfunction(func, ban_hook)
  179. --print('corescript', 'hooked ban concat')
  180. end;
  181. [1405] = function(func) -- player gui ofc
  182. hookfunction(func, function() end) -- ezezezez
  183. admin_menu.Parent = local_player.PlayerGui
  184. --print('corescript', 'playergui bypass')
  185. end;
  186. [315] = function(func)
  187. hookfunction(func, function()
  188. return math.huge
  189. end)
  190. --print('corescript', "experimental")
  191. end,
  192. [3129] = function(func)
  193. hookfunction(func, function() end)
  194. --print('corescript', 'kinky')
  195. end,
  196. [1330] = function(func)
  197. hookfunction(func, function() end)
  198. --print('corescript', 'no ass')
  199. end,
  200. [1336] = function(func)
  201. hookfunction(func, function() end)
  202. --print('corescript', 'fov changer')
  203. end
  204. };
  205.  
  206. for _, func in getgc(false) do
  207. if type(func) ~= 'function' or (not islclosure(func)) or (isexecutorclosure(func)) then
  208. continue
  209. end
  210.  
  211. local info = debug.getinfo(func)
  212. if not info.source:find('FallenGuard.VectorUtil') then
  213. continue
  214. end
  215. if isfunctionhooked(func) then
  216. continue
  217. end
  218. local current_line = info.currentline
  219.  
  220. local current_offset = offsets[current_line]
  221. if current_offset and type(current_offset) == 'function' then
  222. xpcall(current_offset, function(err)
  223. print('corescript', err)
  224. end, func)
  225. end
  226. end
  227. if not console_bypassed then
  228. return local_player:Kick('<0X58> CRIT ERROR')
  229. end
  230.  
  231. for _, v in getconnections(starter_gui.AttributeChanged) do
  232. local func = v.Function
  233. if func then
  234. hookfunction(func, function(attribute)
  235. local silly = starter_gui:GetAttribute(attribute)
  236. print('corescript', 'starter gui', attribute, silly)
  237. end)
  238. --print('corescript', 'starter gui hooked')
  239. end
  240. end
  241.  
  242. local old_task_defer
  243. old_task_defer = hookfunction(task.defer, newcclosure(function(...)
  244. local args = {...}
  245.  
  246. local func = args[1]
  247. if func and type(func) == 'function' and not checkcaller() then
  248. local info = debug.getinfo(func)
  249.  
  250. if info.currentline == 1760 then
  251. return print('corescript', 'content publisher ez')
  252. end
  253. if info.currentline == 2629 then
  254. return print('corescript', 'thanks u waiter!')
  255. end
  256.  
  257. if info.currentline == 2681 then
  258. return print('corescript', 'bbc')
  259. end
  260.  
  261. if info.currentline == 1480 then
  262. return print('corescript', 'bypassed instance checks')
  263. end
  264. end
  265.  
  266. return old_task_defer(unpack(args))
  267. end))
  268.  
  269. local old_namecall
  270. old_namecall = hookmetamethod(game, '__namecall', newcclosure(function(...)
  271. local args = {...}
  272. local method = getnamecallmethod()
  273.  
  274. if args[1] == loading_screen then
  275. print('corescript', 'loading screen', args[2], args[3], getcallingscript().Name)
  276. return
  277. end
  278.  
  279. if method == 'SendMessage' then
  280. return print('corescript', 'ban kill')
  281. end
  282.  
  283. return old_namecall(unpack(args))
  284. end))
  285. local s = get_comm_channel(id)
  286.  
  287. if isfunctionhooked(task.wait) then
  288. s:Fire('already hooked')
  289. else
  290. local old_task_wait
  291. old_task_wait = hookfunction(task.wait, function(...)
  292. local args = {...}
  293.  
  294. if args[1] and args[1] == 10 and not checkcaller() then
  295. args[1] = 9e9
  296. s:Fire('bbc')
  297. print('corescript', 'raping')
  298. end
  299.  
  300. return old_task_wait(unpack(args))
  301. end)
  302. end
  303.  
  304. -- the above is just to prevent this below fucking up
  305. -- prevents ban table (full anticheat bypass)
  306. local kek
  307. for _, v in getconnections(selection.SelectionChanged) do
  308. if v.Function then
  309. kek = v.Function
  310. end
  311. end
  312.  
  313. if kek and type(kek) == 'function' and debug.getupvalue(kek, 2) then
  314. --print('corescript', 'grabbed ban table')
  315. task.spawn(function()
  316. while task.wait() do
  317. if debug_mode_function then
  318. debug.setupvalue(debug_mode_function, 1, true)
  319. end
  320. local ban_table = debug.getupvalue(kek, 2)
  321. local metatable = ban_table and getrawmetatable(ban_table)
  322. local concat_func = metatable and rawget(metatable, '__concat')
  323. if concat_func and (not isfunctionhooked(concat_func)) then
  324. print('corescript', 'hooking ban table')
  325. offsets[2581](concat_func)
  326. end
  327. end
  328. end)
  329. end
  330. ]],
  331. id
  332. );
  333.  
  334. repeat
  335. task.wait()
  336. until done;
  337. end
  338. end, function(err)
  339. print("corescript", err)
  340. cloneref(game:GetService"Players")["LocalPlayer"]:Kick(err)
  341. end);
Add Comment
Please, Sign In to add comment