Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why won't my other animations play?

Asked by 5 years ago
Edited 5 years ago

I added a loop function to this gun script, and by doing that it cancelled my other animations playing when they should. How can I keep those animations playing while still looping the main holding animation?

Here is the tool setup: https://gyazo.com/3661fa25393305a3e2690102241c79ed

And this is where I think I'm going wrong, because without this loop the hold animation will stop, but other animations can play, but when I added this loop my other animations won't play. It's probably simple, but I'm new to coding so any input would help.

-- Hold animation
            holdTrack = humanoid:LoadAnimation(holdAnim)
            holdTrack.Looped = true
            holdTrack:Play()
        end)

Also, if anybody was wondering I'm not getting any errors, hence why I'm thinking this is the problem.

0
You could try changing the actual player animations. Example: Setting the hold animation as the idle animation for ROBLOX when it is equipped. Conquesias 85 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

the animation you're using to play while holding probably has its priority set to action which overrides all other animations, but if it doesn't make sure that it does not include the limbs that your other animations move.

Ad

Answer this question