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

How do the functions pcall and spawn work?

Asked by 6 years ago

I havent seen the wiki page for pcall and spawn yet, but I believe I can get a more descriptive way on here, if anyhow possible try to make the explanation easy to understand.

2
`Pcall` can be seen short for `protected call`, which when an error occurs, it'll prevent it from breaking the rest of the script. As for spawn, it creates a separate thread than the rest of a script. TheeDeathCaster 2368 — 6y
0
Put that as a answer and ill put it as as answer HeComesAt_Night 116 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago

heres the awner: Pcall can be seen short for protected call, which when an error occurs, it'll prevent it from breaking the rest of the script. As for spawn, it creates a separate thread than the rest of a script.I hoped i helped :D

Ad

Answer this question