Errors that make no sense

Hello, So I’m working on a basketball defense system. I keep getting this error that the “HumanoidRootPart” Isn’t being found in the character but there is a HumanoidRootPart in the character. This error is making no sense to me and I’ve been stuck on it.

Image:

Maybe do WaitForChild('HumanoidRootPart')?