local Players = game:GetService("Players")
local MarketplaceService = game:GetService("MarketplaceService")
local gamePassID = 12345678 -- ID вашего геймпаса
local itemID = 98765432 -- ID предмета
Players.PlayerAdded:Connect(function(player)
if pcall(function() return MarketplaceService:UserOwnsGamePassAsync(player.UserId, gamePassID) end) then
local item = game.ServerStorage:FindFirstChild(itemID)
if item then
item:Clone().Parent = player.Backpack
end
end
end)