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.
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.