Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mt = assert(getrawmetatable, 'getout')(game);
- local index, namecall, newindex = mt.index, mt.namecall, mt.newindex;
- local write = (make_writeable or setreadonly); xpcall(function() write(mt, false); end, function(err) warn(err) end);
- mt['namecall'] = function(self, ...)
- local args = {...};
- local method = args[#args];
- if (method == 'FireServer') then
- if (tostring(self) == 'value') then
- local s = debug.getupvalues(2);
- if s and (type(s.stealdebounce) ~= 'nil') then
- debug.setupvalue(2, 'stealdebounce', function() end);
- elseif s and (type(s.isstealing) ~= 'nil') then
- debug.setupvalue(2, 'isstealing', function() end);
- end;
- end;
- end;
- return namecall(self, ...);
- end;
- end)
Advertisement
Add Comment
Please, Sign In to add comment