Animation not playing instantly

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I want my viewmodel gun holding animation to play out instantly and go to it’s proper position

  2. What is the issue?
    When I press any number (1-3) to equip a weapon the animation doesn’t play instantly and the hands and gun a bit to get to the place where’s supposed to be (animation is literally just holding the gun on the first frame, there is nothing else)

  3. What solutions have you tried so far?
    Changed animation priorities
    Sped up the animation
    Used ContentProvider service to preload animation (did help a little)
    Used ContentProvider service to viewmodel & gun

When playing animation you should do Animation:Play(0)

2 Likes

This did help stop the lerping/tweening (you get what I mean) thingy happening so thank you very much it’s just that sometimes the gun would freeze in the middle then snap. To combat this I just made a function to hide and Show viewmodel and made it so it starts off hidden then after being equipped I used task.wait() at the end then unhid the viewmodel

Although this does work, I’m not too happy with the workaround so I’ll leave the code handling the animation/equipping here if you have any suggestions

image

Hey! Could you set @neviquatro’s post as a solution, or are you intentionally leaving this open for people to give suggestions?