Advertisement
DrawingJhon

Exploit Adonis Fly

Oct 4th, 2021
1,079
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.96 KB | None | 0 0
  1. local source = game:HttpGet("https://pastebin.com/raw/U1sCUumP")
  2.  
  3. local function GiveOwnGlobals(Func, Script)
  4.     local Fenv = {}
  5.     local RealFenv = {script = Script}
  6.     local FenvMt = {}
  7.     FenvMt.__index = function(a,b)
  8.         if RealFenv[b] == nil then
  9.             return getfenv()[b]
  10.         else
  11.             return RealFenv[b]
  12.         end
  13.     end
  14.     FenvMt.__newindex = function(a, b, c)
  15.         if RealFenv[b] == nil then
  16.             getfenv()[b] = c
  17.         else
  18.             RealFenv[b] = c
  19.         end
  20.     end
  21.     setmetatable(Fenv, FenvMt)
  22.     setfenv(Func, Fenv)
  23.     return Func
  24. end
  25. local function LoadScripts(Script)
  26.     if Script.ClassName == "Script" or Script.ClassName == "LocalScript" then
  27.         task.spawn(function()
  28.             GiveOwnGlobals(loadstring(Script.Source, "=" .. Script:GetFullName()), Script)()
  29.         end)
  30.     end
  31.     for i,v in pairs(Script:GetChildren()) do
  32.         LoadScripts(v)
  33.     end
  34. end
  35.  
  36. local scr = Instance.new("LocalScript")
  37. wait()
  38. scr.Source = source
  39. scr.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  40. LoadScripts(scr)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement