Exercise 8.2 – Simple obby
One of the most iconic types of Roblox game is obbies, short for obstacle courses. Throughout the years, they have increased a lot in quality. However, we will script a simple and iconic obby using data stores in this exercise.
In the previous exercise, we made a DataManager
. In this exercise, we will focus on creating a game that uses the DataManager
. There is a Fill In version of our simple obby with three stages. This Fill In version can be found on the GitHub page for this book:
https://github.com/PacktPublishing/Mastering-Roblox-Coding/tree/main/Exercises
Figure 8.3 – Our obby
As previously mentioned, our current obby only has three stages. This is not much. However, it is enough to understand the concept of an obby. Feel free to include additional stages.
Inside the ServerScriptService, you can find two scripts: our DataManager
module and a script named KillParts
. We will use the DataManager
module to...