Anonymouse10101

Gamepass At Game Only Reborn (Fixed Later)

Apr 24th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 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 and 1
  15.    end
  16.  
  17.    return old(self, ...)
  18. end
Add Comment
Please, Sign In to add comment