Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Can you guys help out?

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)

1 answer

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

This discussion is preserved as it was. New answers, comments, and votes are closed.