The Players service has an event called PlayerAdded that you can use to set up points for each user who joins the experience. In Roblox, a service is an object which performs a range of useful functions. In ServerScriptService, create a script called SetupPoints. It's best to put scripts which set up experience state into ServerScriptService because they will automatically run when the experience starts. You'll learn more customizable ways to display information in later tutorials, but the leaderboard is the simplest way of making a visible scoring system in Roblox. When you set player points through the leaderboard, they show up on the right side of the screen in the experience. Roblox has a built-in Leaderboard for showing user stats. Make sure you place a SpawnLocation somewhere where users can jump onto the platforms to start playing. You can also use deadly lava to kill users when they fall off the platforms, or just let them fall to their doom. Duplicate the fading platforms you made in the previous tutorial and let users compete to stay on the board of platforms for as long as possible. Setting Upįirst up, you'll need to set the scene for your experience. Every second they stay alive, a point will be added to their score. This tutorial ties these together into a playable experience where users see who can stay alive the longest. In previous tutorials, you made a variety of experience features including fading platforms and deadly lava.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |