This is what i got so far, and i wanted it so it can make a sound whenever they purchased the game pass and i dont know how to...
Help plz
BuyButton.MouseButton1Click:connect(function() local PassId = 248125881 game:GetService("MarketplaceService"):PromptPurchase(Player, PassId ) end)
If your button contains a sound, you can just add a line with the sound name followed by :play
Sound:Play() --like this
I recommend looking at the roblox wiki before asking questions in the future