#Works on screengui but not a surfacegui
5 messages · Page 1 of 1 (latest)
what?
just add a click detector
^^ 💀
5 messages · Page 1 of 1 (latest)
button.Activated:Connect(function()
game:GetService("MarketplaceService"):PromptGamePassPurchase(game.Players.LocalPlayer, 775836530)
end)```
The script works fine when I use it on a screengui, but for some reason it doesnt work on a surfacegui.
what?
just add a click detector
^^ 💀