Tool script not recognising Humanoid?

The part of my script that is causing a problem is this.

Sometimes after respawn this script will yield an error stating:

Even though the Humanoid is gotten via (WaitForChild) and I repeat wait until the Humanoid is loaded. It still gives me this error when it tries to load the animations for my tool. :confused: