There are few functions that declaring(also called searching or calling) a object, FindFirstChild, WaitForChild etc…
For example, there is a part in workspace and I want to call it.
Then I can write the script something like this.
local part = workspace:FindFirstChild("Part")
or
local part = workspace:WaitForChild("Part")
or
local part = workspace.Part
...
I know difference between FindFirstChild and WaitForChild but which one is most fastest include just called part. I checked it, but there is no difference I think. Please, let me know.
Well, imo waitforchild and findfirstchild are supposed to be used in very specific situations, i can’t give any example really rn. I prefer basic finding e.g. workspace.Part, script.IntValue and etc.
Edit: actually there’s a small example i can give about FindFirstChild. It can be used when you’re checking if there’s a child inside something