trixade

Untitled

Sep 28th, 2021 (edited)
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  1. local mt = getrawmetatable(game);
  2. local old = mt.__namecall
  3. local readonly = setreadonly or make_writeable
  4.  
  5. local MarketplaceService = game:GetService("MarketplaceService");
  6.  
  7. readonly(mt, false);
  8.  
  9. mt.__namecall = function(self, ...)
  10.   local args = {...}
  11.   local method = table.remove(args)
  12.  
  13.   if (self == MarketplaceService and method:find("UserOwnsGamePassAsync")) then
  14.       return true
  15.   end
  16.  
  17.   return old(self, ...)
  18. end
Add Comment
Please, Sign In to add comment