Managing player data
Managing player data will be very easy now that you have already created a reusable datastore system. All you need to do is parent the Data
module you created in the previous chapter to the ServerHandler
script. When making games of your own design, you can similarly copy and paste this module.
Important note
If you did not follow the tutorials of the last chapter, you will need to go back to the Managing player data section of Chapter 5, Creating an Obby, in order to continue with the following steps. Once you have completed that section and its associated parts, you may come back without following any other steps in that chapter.
For this game, we will need to make some small edits within the Data
module pertaining to what data we keep track of. In the last chapter, we only kept track of the player's current stage and the amount of coins that they had. For a Battle Royale game, we will want to keep track of the player's coins as well as how...