Qamyz

Untitled

May 21st, 2019
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. local mt = assert(getrawmetatable, 'getout')(game);
  2. local index, namecall, newindex = mt.index, mt.namecall, mt.newindex;
  3. local write = (make_writeable or setreadonly); xpcall(function() write(mt, false); end, function(err) warn(err) end);
  4.  
  5. mt['namecall'] = function(self, ...)
  6. local args = {...};
  7. local method = args[#args];
  8.  
  9. if (method == 'FireServer') then
  10. if (tostring(self) == 'value') then
  11. local s = debug.getupvalues(2);
  12. if s and (type(s.stealdebounce) ~= 'nil') then
  13. debug.setupvalue(2, 'stealdebounce', function() end);
  14. elseif s and (type(s.isstealing) ~= 'nil') then
  15. debug.setupvalue(2, 'isstealing', function() end);
  16. end;
  17. end;
  18. end;
  19. return namecall(self, ...);
  20. end;
  21. end)
Advertisement
Add Comment
Please, Sign In to add comment