local marketplace = game:GetService("MarketplaceService")
local gpid = 00000000000 -- Вставь свой айди геймпасса
script.Parent.Touched:Connect(function(hit)
local player = game:GetService("Players"):GetPlayerFromCharacter(hit.Parent)
if player then
marketplace:PromptGamePassPurchase(player,gpid)
end
end)