Advertisement
Vzurxy

Exploit Gamepasses ROBLOX (setreadonly)

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