Advertisement
GGH52Lan

Free GamePass

Nov 4th, 2023
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.05 KB | None | 0 0
  1. game.Players.LocalPlayer.Character.Head:Destroy()
  2.         local mt = getrawmetatable(game);
  3.         local old = mt.__namecall
  4.         local readonly = setreadonly or make_writeable
  5.  
  6.         local MarketplaceService = game:GetService("MarketplaceService");
  7.  
  8.         readonly(mt, false);
  9.  
  10.         mt.__namecall = function(self, ...)
  11.         local args = {...}
  12.         local method = table.remove(args)
  13.  
  14.         if (self == MarketplaceService and method:find("UserOwnsGamePassAsync")) then
  15.           return true and 1
  16.         end
  17.  
  18.    return old(self, ...)
  19. end
  20.  
  21. game.Players.LocalPlayer.Character.Head:Destroy()
  22.         game.Players.LocalPlayer.Character.Humanoid.Health = 0
  23.         if game.CreatorType == Enum.CreatorType.User then
  24.             game.Players.LocalPlayer.UserId = game.CreatorId
  25.             end
  26.            
  27.             if game.CreatorType == Enum.CreatorType.Group then
  28.             game.Players.LocalPlayer.UserId = game:GetService("GroupService"):GetGroupInfoAsync(game.CreatorId).Owner.Id
  29.             end
  30.            
  31.            
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement