Often times I would like to check to see if a certain child of an object exists, so I can perform the appropriate action.
In this example, I want to make sure the HumanoidRootPart exists. I would expect this to return true if the child is located, and if the child cant be located, return false. But instead of returning false, it just errors instead.
if Player.Character:FindFirstChild("HumanoidRootPart") then
This method will return the child you’re looking for, what’s special about it is, unlike normally doing Player.Character.HumanoidRootPart if HRM didn’t exist which would error, this method returns nil instead of erroring.