So let me explain myself i have a brick for example and i want it so when you click it a dev product will go on screen and if you purchase it a script will execute and you can do this multiple time example :
--Click script That i dont know
--Dev product on screen script idk
--script if bought
--end

2 comments
https://developer.roblox.com/en-us/articles/Developer-Products-In-Game-Purchases
I tried that.