LoadAnimaton is not a valid member of Animator?

Searched this error in google multiple times and yet i can’t find a post relating to my problem, idk why but i can’t find a solution, this problem “LoadAnimaton is not a valid member of Animator” is confusing me so much, most posts i find is telling the op to just switch “Humanoid” to “Animator” yet i did and its not working (i had it to “Animator” in the first place :confused:).

i print the animator’s name, it prints perfectly fine.

i just cant find a solution and this bug is prob one of the most annoying ones ever.

local hum = char:WaitForChild("Humanoid")
		local animator = hum:WaitForChild("Animator")
		local zippinganim = animator:LoadAnimaton(script:WaitForChild("WebZip")) --problem here

Thanks!!

You’re trying to use an Animator for what a Humanoid or AnimationController does.
Replace the animator with an AnimationController, and it should work.
EDIT: I for got to read the whole code, load the animation on the humanoid

now it prints this:
image

You forgot the second “i” in LoadAnimation

1 Like