I have recently made this game: http://www.roblox.com/RBLXFrostLords-Hangout-Garden-place?id=219504138 I have been try to make a developer product to add purchasable ice cream to my game. But everywhere I look for tutorials I find varying things that don't show me what to do. I have tried to make the game prompt someone to buy the item when they touch a certain block. so i put this code in a script
void PromptProductPurchase ( Instance player, int playerId, 22822929 bool equipIfPurchased = true, CurrencyType currencyType = Default )
then I put that script in the block that I want to prompt the player to buy the item when they touch it but nothing happens when I touch the block. How do I make it so the player is prompted to buy the product when they touch the certain part?

1 comment
This question is really broad, there are plenty of exact code examples on the wiki, and this isn't a request site. Go and try with some of the wiki's tutorials then come back with code you've attempted, if you have to come back.