Advertisement
HansCSia320

JailBreak Inf Nitro And Anti-Ragdoll

Jun 28th, 2019
6,803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.28 KB | None | 0 0
  1. --JailBreak Inf Nitro And Anti-Ragdoll
  2. --Made by ??? (I forgot his name ;=;)
  3. local Functions = {}
  4. local script = game:GetService("Players").LocalPlayer.PlayerScripts.LocalScript
  5. for i, v in next, debug.getregistry() do
  6.     if typeof(v) == "function" and getfenv(v).script == script then
  7.         Functions[v] = debug.getupvalues(v)
  8.     end
  9. end
  10. local Get = function(n)
  11.     for i,v in next, Functions do  
  12.         if v[n] then
  13.             return v[n], i
  14.         end
  15.     end
  16. end
  17. local Set = function(n, v)
  18.     local o, f = Get(n)
  19.     if f then
  20.         debug.setupvalue(f, n, v)
  21.     end
  22.     return o
  23. end
  24. local All = (function()
  25.     local t = {}
  26.     for i,v in next, Functions do
  27.         for k,l in next, v do
  28.             t[k] = l
  29.         end
  30.     end
  31.     return t
  32. end)()
  33. for i,v in next, All do
  34.     if typeof(v) == "table" and v.LastVehicleExit then
  35.         print(v)
  36.         Set(i, setmetatable({}, {
  37.             __index = function(self, index)
  38.                 if index == "Nitro" then
  39.                     return 250
  40.                 elseif index == "LastVehicleExit" then
  41.                     return tick()
  42.                 else
  43.                     return v[index]
  44.                 end
  45.             end,
  46.             __newindex = v
  47.         }))
  48.         break
  49.     end
  50. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement