How to Make a Murder Mystery Game On ROBLOX [PART 2] | ROBLOX Studio Scripting Tutorial
Summary
TLDRIn this tutorial, the creator demonstrates how to build a Murder Mystery game in Roblox, focusing on two key features: the voting system and role display GUI. The video covers setting up a voting mechanism to select maps, creating simple map thumbnails, and handling teleportation after votes are cast. It also shows how to animate the display of player roles (Innocent, Sheriff, Murderer) with sound effects, along with resolving issues like teleport delays. Future updates will include adding victory screens and allowing players to pick up the sheriff's gun. A comprehensive guide for building an engaging Murder Mystery game in Roblox.
Takeaways
- 😀 The tutorial focuses on creating a murder mystery game, starting with the voting system and role display GUI.
- 😀 The previous tutorial laid the groundwork for the basic round system and role mechanics, which are built upon in this video.
- 😀 The voting system allows players to vote on different maps, which will impact the game environment after teleportation.
- 😀 Three simple maps (red, blue, and green) are used as examples for the voting system.
- 😀 Each map in the voting system requires a thumbnail (image) and spawn points, with options for players to vote on these maps.
- 😀 The role display GUI shows the player's role in the game (e.g., murderer, sheriff, innocent), with animations and sound effects.
- 😀 The script uses remote events to handle the display of the role and trigger the visual effects and sounds associated with the role reveal.
- 😀 A delay is added before players receive their weapons after the role is revealed, to align with common murder mystery game conventions.
- 😀 The tutorial also touches on playing different victory sounds depending on the outcome (e.g., innocent win, murderer win).
- 😀 Some adjustments are made to improve the speed of teleportation between players after map selection, with a delay tweak for smoother transitions.
Q & A
What are the two main features being added in this part of the tutorial?
-The tutorial focuses on adding a voting system for map selection and creating a role display GUI that shows players their assigned roles.
Why is the voting system important in a murder mystery game?
-The voting system allows players to choose which map to play on, which is a common feature in most murder mystery-style games and improves player engagement.
What setup is required for the voting system to work properly?
-At least three maps must be created, each containing required components like 'CanBeVoted', 'Image', and 'Spawns' to function correctly in the voting system.
What does the 'CanBeVoted' value do in each map?
-It determines whether a map is eligible to be selected during the voting phase.
Why must the 'Spawns' object be placed correctly inside each map?
-Because the game teleports players to these spawn points, and incorrect placement can cause players to spawn in unintended locations.
What is the purpose of the role display GUI?
-The role display GUI visually shows players their assigned role (Innocent, Sheriff, or Murderer) with an animated effect at the start of each round.
How does the role display animation work?
-It rapidly cycles through possible roles (flickering effect) for a few seconds before stopping on the player's actual assigned role.
Why is a RemoteEvent used for displaying roles?
-A RemoteEvent is used to communicate from the server to the client so each player can see their own role displayed on their screen.
What is the purpose of adding a delay before giving players weapons?
-The delay ensures that the role is displayed first, creating a smoother and more polished gameplay experience before players receive their tools.
How are different role colors handled in the GUI?
-A dictionary (table) maps each role name to a specific color, which is then applied to the role text when displayed.
Why is a loop used in the role display script?
-The loop creates the flickering effect by repeatedly cycling through role names before settling on the final assigned role.
What issue was identified with teleportation timing, and how was it fixed?
-Players were receiving roles before being teleported; this was fixed by adding a short delay before firing the role display event.
What is the purpose of cloning sound objects in the GUI script?
-Cloning allows sounds to play repeatedly without cutting off or interfering with each other during rapid playback.
How is the winning sound implemented at the end of a round?
-A victory sound is played from ReplicatedStorage when the round ends, though it can be customized for different outcomes.
What improvements are planned for the next part of the tutorial?
-Future improvements include allowing players to pick up the sheriff’s gun after death and adding a proper victory screen.
Outlines

Этот раздел доступен только подписчикам платных тарифов. Пожалуйста, перейдите на платный тариф для доступа.
Перейти на платный тарифMindmap

Этот раздел доступен только подписчикам платных тарифов. Пожалуйста, перейдите на платный тариф для доступа.
Перейти на платный тарифKeywords

Этот раздел доступен только подписчикам платных тарифов. Пожалуйста, перейдите на платный тариф для доступа.
Перейти на платный тарифHighlights

Этот раздел доступен только подписчикам платных тарифов. Пожалуйста, перейдите на платный тариф для доступа.
Перейти на платный тарифTranscripts

Этот раздел доступен только подписчикам платных тарифов. Пожалуйста, перейдите на платный тариф для доступа.
Перейти на платный тариф5.0 / 5 (0 votes)





