local y=script.Parent local q=game.Players.LocalPlayer local g=script.Parent.GamepassId y.MouseButton1Click:connect(function()if q then(game:GetService("\077\097\114\107\101\116\112\108\097\099\101\083\101\114\118\105\099\101")):PromptGamePassPurchase(q,g.Value)end end)


local button = script.Parent
local player = game.Players.LocalPlayer
local GamepassId = script.Parent.GamepassId

button.MouseButton1Click:connect(function()
	if player then
		game:GetService("MarketplaceService"):PromptGamePassPurchase(player, GamepassId.Value)
	end
end)
