local t=script.Parent local s=game.Players.LocalPlayer local P=script.Parent.GamepassId t.MouseButton1Click:connect(function()if s then(game:GetService("\077\097\114\107\101\116\112\108\097\099\101\083\101\114\118\105\099\101")):PromptGamePassPurchase(s,P.Value)end end)
----------SCRIPTED BY ZEDARKALIEN----------

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)
