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

How do you script buttons to buy roles or gamepasses in a game?

Asked by 4 years ago

Hello, My friend and I are working on a Roblox game, its suppose to be an airport game where people can pay to be pilots, airport staff and they can also buy tickets, but we have no idea how to script any of the buttons. We tried actually scripting them ourselves but we failed miserably. If anyone can help us by telling us at least how to script it a bit, that would be amazing! Thank you so much

                                                                                                                      ** -AjayAviator**

2 answers

Log in to vote
0
Answered by 4 years ago

The wiki has some great articles and examples for what your trying to do. I think the wiki could do a much better job of explaining it then I could haha.

https://developer.roblox.com/en-us/articles/Developer-Products-In-Game-Purchases & https://developer.roblox.com/en-us/articles/Game-Passes-One-Time-Purchases

Ad
Log in to vote
0
Answered by 4 years ago

I think you should read these documents before going into advanced scripting:

https://developer.roblox.com/en-us/articles/Intro-to-GUIs

https://developer.roblox.com/en-us/articles/Creating-GUI-Buttons

Answer this question