SHARE
TWEET

eeeeeeeee

sbfashfbsajfhsbafbas Nov 19th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local MainTable = setmetatable({},{__index = function(self,req) return game:GetService(req) end})
  2.  
  3. local Players = MainTable.Players
  4. local LPlayer = MainTable.Players.LocalPlayer
  5. local PlayersI = game:GetService("Players")
  6. local LPlayerI = PlayersI.LocalPlayer
  7. local Name = LPlayerI.Name
  8. local Mouse = LPlayerI:GetMouse()
  9.  
  10. local getgc = (getgc or get_gc_objects)
  11. local getupvalues = (getupvalues or debug.getupvalues)
  12. local setupvalue = (setupvalue or debug.setupvalue)
  13. local getreg = (getreg or debug.getregistry)
  14.  
  15. local Client = {}
  16.  
  17. for i,v in next, getgc() do
  18.     if network and gamelogic and effects and chat then
  19.         break
  20.     end
  21.    
  22.     if type(v) == "function" then
  23.         for k,x in next, getupvalues(v) do
  24.             if type(x) == "table" then
  25.                 for Func, Name in next, x do
  26.                     if Func == "loadgrenade" and "loadgun" then
  27.                         Client.char = x
  28.                     elseif Func == "breakwindows" then
  29.                         Client.effects = x
  30.                     elseif Func == "add" then
  31.                         Client.network = x
  32.                         Client.Funcs = x
  33.                     elseif Func == 'aim' then
  34.                         Client.NetRecv = x
  35.                     end
  36.                 end
  37.             end
  38.         end
  39.     end
  40. end
  41.  
  42. local function ModGun(ModuleName, ModuleValue)
  43.     if Client then
  44.         local GunMod = Client.char.loadgun
  45.         local LoadFrag = Client.char.loadgrenade
  46.         local Character = Client.char
  47.        
  48.         local Network = Client.network
  49.        
  50.         do
  51.             Network = function(self, ...)
  52.                 local Arguments = {...};
  53.                 if #Arguments > 0 then
  54.                     local Name = Arguments[1];
  55.                     if Name == "changehealththx" and Char_Settings.FallDamage then
  56.                         if #Arguments > 4 and Arguments[5] == "Faling" then
  57.                             return
  58.                         else
  59.                             if Arguments[1] == "Equip" then
  60.                                 openups = Arguments[2]
  61.                             end
  62.                         end
  63.                     end
  64.                     return Send(self, ...)
  65.                 end
  66.             end
  67.             Character.loadgun = function(...)
  68.                 local Arguments = {...}
  69.                 local Data = Arguments[2]
  70.                 local Data2 = Arguments[1]
  71.  
  72.                 Data[ModuleName] = ModuleValue
  73.                
  74.                 Arguments[2] = Data
  75.                 return GunMod(unpack(Arguments))
  76.                
  77.             end
  78.         end
  79.     end
  80. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top