I'm trying to make a GUI button that asks to give a gamepass, but all it does is ask to buy clothes. Help?
local productId = 4422629
script.Parent.MouseButton1Click:connect(function()
local player = script.Parent.Parent.Parent.Parent.Parent
game:GetService("MarketplaceService"):PromptProductPurchase(player, productId)
end)
I'm a bit of a noob, so please go easy on me!
