Has `nearest` been defined here? I'm guessing you meant `humanoid`