How to make gun equip animation stay in it's last keyframe and not have it looping

I want to have a non moving anim when the animation for equipping my gun is finished. When I equip my gun it will play a short equip anim, then after that my character will reset to idle. How will I keep my character in phase of the anim even after it’s done? Thanks

2 Likes

Well, you can try making an event within the animation and make a script within the gun so that whenever the event is activated, you can simply change the animation speed by 0 so it pauses using Animation:AdjustSpeed(0).

Basically:

local equipanim = -- Path to anim

equipanim:Play()
task.delay(equipanim.length,function()
    equipanim:AdjustSpeed(0)
end)
1 Like

Thanks dude it worked, this would be a big upgrade to the gun

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.