"WaitForChild" & "FindFirstChild" , when to use?

Please read the post thoroughly first. I understand that each function has it own purpose. I’m more asking on whether it’s okay to use one over another, (inclusive of the context). I’m not saying use FindFirstChild in placement of WaitForChild, these have two completely different functions. I was also asking if one is more efficient then the other. I understand now though, and know better to use which function.

Yes, it’s “okay to use” X over Y, to accomplish Z.
However use them wisely.

Use this if it already exists.

Use this when you are waiting for something on the client side, or waiting for something to exist. Keep in mind the specified object has to exist at some point.

Use this when you are unsure if an object is existent or not, for example, checking the part has a humanoid inside of it.


There’s a really nice article that explains all of this:

10 Likes