From 2e89aa7c8bccc6bb6339751aae5ff7235ec3a433 Mon Sep 17 00:00:00 2001 From: ych33 <124697504+ych33@users.noreply.github.com> Date: Thu, 8 May 2025 11:34:32 +0300 Subject: [PATCH 1/2] Update create-player-hazards.md Fixed a typo in the Code Explanation of the CoinService script. But I'm not sure if the link will be updated automatically. --- .../curriculums/core/scripting/create-player-hazards.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md b/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md index 752b52ee5..2a6ddb49a 100644 --- a/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md +++ b/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md @@ -141,7 +141,7 @@ Players.PlayerRemoving:Connect(onPlayerRemoved) The code defines functions to reset coin counts during the appropriate lifecycle events: -- `Class.Player.PlayerAdded` fires when a player joins the experience, and sets +- `Class.Players.PlayerAdded` fires when a player joins the experience, and sets the coin count to `0`. - `Class.Player.CharacterAdded` fires when a player's character model is added to the world. It occurs after `Class.Player.PlayerAdded|PlayerAdded` and From fd9fe7f927617c100bbe0a521105425b4f9b61c7 Mon Sep 17 00:00:00 2001 From: ych33 <124697504+ych33@users.noreply.github.com> Date: Thu, 8 May 2025 11:38:16 +0300 Subject: [PATCH 2/2] Update create-player-hazards.md --- .../curriculums/core/scripting/create-player-hazards.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md b/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md index 2a6ddb49a..deaf76b88 100644 --- a/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md +++ b/content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md @@ -144,7 +144,7 @@ lifecycle events: - `Class.Players.PlayerAdded` fires when a player joins the experience, and sets the coin count to `0`. - `Class.Player.CharacterAdded` fires when a player's character model is added - to the world. It occurs after `Class.Player.PlayerAdded|PlayerAdded` and + to the world. It occurs after `Class.Players.PlayerAdded|PlayerAdded` and whenever the player respawns. - `Class.Humanoid.Died` fires when a player dies, and sets the coin count to `0`. `Library.task.spawn()` creates