I keep getting this error when trying to make a gun animate in my game, I have
local HoldAnimation = Humanoid:LoadAnimation(Handle.Hold)
located in my script, and others similar, but one animation seems to not work at all. Is there a limit to 2 animations per client that I am not aware of? Or is this an issue with my code?
2 Likes
Make sure you’re actually passing an Animation object whenever you run LoadAnimation.
To check this, you can type print(Handle.Hold.ClassName)
before loading it to make sure it’s an Animation. If it prints anything other than “Animation”, that’s your issue.
1 Like
local HoldAnimation = Humanoid:LoadAnimation(Handle.Hold)
local ReloadAnimation = Humanoid:LoadAnimation(Handle.Reload)
local ShootAnimation = Humanoid:LoadAnimation(Handle.Shoot)
All of these seem to work except the ReloadAnimation, i’ve changed the order and still the same issue.
They are all the same besides the AnimationId, and name
2 Likes
Are there any other instances inside the Handle named “Reload”?
6 Likes
Yep… And I can’t believe I didnt notice it, my bad
3 Likes