Hi, i made a sort of purchase prompting surfacegui but it doesn't seem to be working for me. any help>
local plr = game.Players.LocalPlayer
local gpID = 4692614
script.Parent.MouseButton1Click:Connect(function()
game:GetService("MarketplaceService"):PromptGamePassPurchase(plr, gpID)
end)

1 comment
Local Script or Server Script? And where you put that?