Exercise 3.1 – event-based game
In this exercise, we will make a game based on the knowledge we learned during this chapter. The game will consist of two teams. Each team has to claim as many parts as possible. You can claim parts by simply walking over them. Because this game requires buildings, a premade game has been made. This game is open source. Therefore, anyone can edit the game and create their version. Please bear in mind that the game is not finished. In this exercise, we will finish the game.
You can find the game here:
https://www.roblox.com/games/8645775042/Event-Based-Game
Select the three dots next to the name, and click on Edit to open this game in Roblox Studio.
Once opened, you will see a square in the Workspace service. The gray area is the playing field. This gray area consists of 144 different parts. In ServerScriptService, you will see a script named TeamAssigner
. This is a premade script; you do not have to change anything here. This script...