Roblox Studio Tutorials - March 11, 2022

How to Make Checkpoints in Roblox Studio




Download – Checkpoint Script

How To – Make Checkpoints in Roblox Studio

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

  • Checkpoints are where you respawn if you don’t want to respawn at the very beginning. For example, I have this bunch of stages here. Once I’ve reached stage number two and I die, then I’ll be respawned at stage two rather than respawning at the very beginning. It can be pretty frustrating having to start over at the very beginning once you’ve gotten so far in your game.
  • Let’s get into it. Go ahead and spawn a part for me. Since I don’t really like to see my checkpoint parts, I’m gonna make sure that my transparency for my parts are one, and make sure to untick can collide because we want to go through these blocks, rather than going on top of it. Go ahead and add however many checkpoint parts that you need throughout your game, and then once you’re done, go ahead and rename them in numerical order.
  • In our explorer page, go ahead and add a folder. Drag your checkpoint parts into that folder (I renamed mine to checkpoints).
  • Inside of serverscriptservice, let’s go ahead and add a script. Inside of our script, we have a variable which references the checkpoints folder inside of our workspace. We’re going to go ahead and create another function where we’re going to create the leader stats where our value is stage. We’re going to have another function where any time a player moves to a new checkpoint, then their later stats value is going to be increased in increments of one.