Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Developer Product help?

Asked by 10 years ago
skip1Button.MouseButton1Down:connect(function(onClick) 
    game:GetService("MarketplaceService"):PromptPurchase(player, skip1Id)
    player.Skips.Value = player.Skips.Value + 1
end)

How can I get this to work properly, its a dev product and I want it to give the player 1 skip, this dosent work any ideas? I have the variables like skip1Button, etc, and it works when you click, but it when you buy it give syou nothing.

Answer this question