The Scripts worked perfectly up until about 2 week or so ago, Not a clue why , any help would be appreciated.
local GamePassId = 4444743 -- Gamepass IDs
tools = {"Sword" , "Enfield Revolver"} -- Tool
local MarketplaceService = game:GetService("MarketplaceService")
function respawned(char)
player = game.Players:FindFirstChild(char.Name)
if char:FindFirstChild("Head") ~= nil then
if MarketplaceService:UserOwnsGamePassAsync(player.UserId,GamePassId)
then
print('player owns pass')
for i = 1,#tools do
game.ServerStorage.Gamepasses:FindFirstChild(tools[i]):Clone().Parent = player.Backpack
end
end
end
end
game.Workspace.ChildAdded:connect(respawned)
As per either something in game breaks the script, or Robloxs Studio Updates has broken the Script, My Gamepass Gear giver isnt working and I have no clue why....

2 comments
Isn't it MPS:UserOwnsGamePassAsync(player, GamePassId)? Cause gamepasses now have their own id not asset id
Just trialed it and it didnt work