From 2ccb97d222b14a7ff5d00a04a293d8f6c1220f3c Mon Sep 17 00:00:00 2001 From: collisins Date: Thu, 12 Dec 2024 22:16:19 +0530 Subject: [PATCH] Update deadly-lava.md (#940) ## Changes ## Checks By submitting your pull request for review, you agree to the following: - [ ] 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. - [ ] 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. - [ ] To the best of my knowledge, all proposed changes are accurate. --------- --- .../use-case-tutorials/scripting/basic-scripting/deadly-lava.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en-us/tutorials/use-case-tutorials/scripting/basic-scripting/deadly-lava.md b/content/en-us/tutorials/use-case-tutorials/scripting/basic-scripting/deadly-lava.md index 9ff3e8b53..9f489ed95 100644 --- a/content/en-us/tutorials/use-case-tutorials/scripting/basic-scripting/deadly-lava.md +++ b/content/en-us/tutorials/use-case-tutorials/scripting/basic-scripting/deadly-lava.md @@ -43,7 +43,7 @@ Use an **event** to detect when a user touches the lava. Every part has a `Touch 1. Declare a new function called `kill`. 2. Access the `Touched` event on the lava object using a dot, just like a property: `lava.Touched`. -3. Call the `Connect` function on the `Touched` event, passing the `kill` function. +3. Call the `Connect` function on the `Touched` event, passing `kill()` as the function to call when the part is touched. ```lua local lava = script.Parent