FE gun kit animation not loading properly

I’m not a good scripter so instead of making a gun kit myself I decided to use the FE gun kit. However, I have found an issue where upon equipping the gun the animation doesn’t load properly like in the video below:


The issue seems to be in the equipping process, because after putting a small wait time after equipping solved the animation issue. But that caused another issue where upon quickly equipping two guns they would “stack”. I’m looking for help because I really have no idea how to fix this. Has anyone else ran into the same issue? What solution did you apply? Any help appreciated.

3 Likes

Are you loading the animation every time you equip? If so, you really shouldn’t do that and try this:

local equipanimation = humanoid:LoadAnimation(animation)

tool.Equipped:Connect(function() -- connects to equipped
    equipanimation:Play()
end

tool.Unequipped:Connect(function() -- connects to unequipped
    equipanimation:Stop()
end

Of course, you can change that code to be what you need.

2 Likes

Yep, everything loads. As you can see in the video the animation works only on one hand which isn’t the hand that holds the gun.

1 Like

Oh thats what you mean. Try looking at AnimationPriority. The idle animation may be overriding the equip animation.

6 Likes

wow I can’t believe how simple that was! Thank you so much!

2 Likes