Advertisement
Honansik

School Simulator Free Gamepasses Script

Nov 23rd, 2021
2,504
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 1
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement