Buzzy

Loading...

Buzzy

Register

Roblox Studio Tutorials - March 9, 2022

How to Make a Skip Stage Function

1

buzzygamesbri

@buzzygamesbri

Download – Skip Stage Script

How To – Make a Skip Stage Function in Roblox Studio

What’s up everyone welcome to buzzygames, my name is BuzzyGamesBeth and today I’ll be teaching you how to make a skip stage function!

  • Sometimes it’s a little too hard to complete one stage, and you want to just skip it. I recommend watching the how to make checkpoints video first before you watch this, because it won’t work if you don’t have a checkpoint system.
  • Inside of server script surface, we’re going to go ahead and add a script. Delete your print statement, we don’t need that at all. Inside of this script, we have our variable which references our marketplace service. Now we have a function where anytime a player wants to skip a stage, then the product ID wil be purchased for however many Robux you set it to. This will move the player to the following checkpoint by one. They can keep doing this until they get to the end of the stage.
  • To get our product ID, which is essentially our skip stage product, head over to Roblox.com, go to the create tab and then find your experience. Go ahead and click configure experience, create a developer product, and then name your products whatever you want. I’m going to do skip stage. Do a quick description because it’s going to show inside of your game what the description is. Set your price in the Robux, and click create. You can also set a picture if you would like. Copy that ID to paste it inside of your script.
  • Next, we’re going to go ahead and create our skip stage button. Inside of starter GUI, go ahead and add a screen GUI. Inside of our screen GUI, you can add either an image button or a text button (it’s really up to you).
  • I’m going to go ahead and configure my image button, the skip stage button to the right of my screen. Then I’m going to go ahead and set an image and the background transparency to 1 so that I can actually see the image instead of that white background.
  • Inside of our button, go ahead and add a local script. Delete our print statement, we don’t need that. We have our variables which references our player and the marketplace service. Anytime a player clicks on the skip stage button, it’s going to prompt them to purchase the skip stage, the product ID.