Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Is it possible to have an error in a code and it still work?

Asked by 5 years ago

Is it possible to have an error in a code (with the red line under the code) and it still works?

1 answer

Log in to vote
0
Answered by
thebayou 441 Moderation Voter
5 years ago

Yes, it's possible.

For example, if you surround the thing with pcall() then if that part fails then your whole script won't crash. Otherwise, the script with the error in it will crash, but not other scripts that don't have the error.

0
Thanks... thatvaultboy111 -3 — 5y
Ad

Answer this question