Skip to content

Commit d112aa4

Browse files
authored
Update create-player-hazards.md (#1097)
Fixed a typo in the Code Explanation of the CoinService script. But I'm not sure if the link will be updated automatically. ## Changes <!-- Please summarize your changes. --> <!-- Please link to any applicable information (forum posts, bug reports, etc.). --> ## Checks By submitting your pull request for review, you agree to the following: - [x] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses. - [x] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses. - [x] To the best of my knowledge, all proposed changes are accurate.
1 parent 1c905b6 commit d112aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/en-us/tutorials/curriculums/core/scripting/create-player-hazards.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ Players.PlayerRemoving:Connect(onPlayerRemoved)
141141
The code defines functions to reset coin counts during the appropriate
142142
lifecycle events:
143143

144-
- `Class.Player.PlayerAdded` fires when a player joins the experience, and sets
144+
- `Class.Players.PlayerAdded` fires when a player joins the experience, and sets
145145
the coin count to `0`.
146146
- `Class.Player.CharacterAdded` fires when a player's character model is added
147-
to the world. It occurs after `Class.Player.PlayerAdded|PlayerAdded` and
147+
to the world. It occurs after `Class.Players.PlayerAdded|PlayerAdded` and
148148
whenever the player respawns.
149149
- `Class.Humanoid.Died` fires when a player dies, and sets
150150
the coin count to `0`. `Library.task.spawn()` creates

0 commit comments

Comments
 (0)