xTh3_Hunter

Dex v3

Jan 21st, 2021 (edited)
614
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function Load(x)
  2.     if x:IsA("LuaSourceContainer") then
  3.         coroutine.wrap(function()
  4.             local env = rawset({}, "script", x)
  5.             return setfenv(loadstring(x.Source, "=" .. x:GetFullName()), setmetatable({}, {
  6.                 __index = function(a, b)
  7.                     return env[b] == nil and getfenv()[b] or env[b]
  8.                 end,
  9.                 __newindex = function(a, b, c)
  10.                     (env[b] == nil and getfenv() or env)[b] = c
  11.                 end
  12.             }))()
  13.         end)()
  14.     end
  15.     for _, v in ipairs(x:GetChildren()) do
  16.         Load(v)
  17.     end
  18.     return x
  19. end
  20. local Dex = rawget(game:GetObjects("rbxassetid://3567096419"), 0X1)
  21. if syn and type(syn) == "table" and syn.protect_gui and type(syn.protect_gui) == "function" then
  22.     xpcall(syn.protect_gui, function(msg)
  23.         return warn(debug.traceback(msg))
  24.     end, Dex)
  25. end
  26. Dex.Name = (function()
  27.     local x = ""
  28.     for _ = 1, math.random(24, 50) do
  29.         x = x .. string.char(math.random(33, 126))
  30.     end
  31.     return x or "Dex"
  32. end)()
  33. Dex.Parent = (get_hidden_gui and type(get_hidden_gui) == "function" and get_hidden_gui()) or (gethui and type(gethui) == "function" and gethui()) or game:GetService("CoreGui")
  34. return Load(Dex) or Dex
RAW Paste Data