Hello, I’m trying to make dual-wieldable pistols that can be fired separately. However, I’ve encountered and issue that I’m not sure how to fix. It applies to all the guns I have made but it’s most noticeable with the pistols.
If I fire one of the guns, the animation will partially apply to all other weapons parented to the player. For example, most of the guns have a part called “Barrel”. When the animation plays, it moves all the parts called “Barrel” instead of only the one that’s part of the gun I fired. Is there any way to fix this? I don’t think it’d really make sense to come up with different names for each part of every gun so I’m not sure what to do.
When you equipped the gun in the equipped event set a variable like “equipped = true” and then in the part where your animating the gun have “if equipped then”. So then it only does the animations when that specific tool is equipped. Oh and don’t forget to set “equipped = false” in the unequipped event.
The problem is that even after I tried something like that, the animation will still animate parts on guns that aren’t currently equipped or active. Since each gun has parts called “Barrel” and “Magazine”, for example, every part with that name will be animated even if it’s not part of the equipped weapon.