Animating Accessories Question

Simply put, I’m looking for a way to animate player accessories. My main goal is to make a weapon accessory move and turn with attacking animations.

I’m testing out using accessories rather than tools for items and just using a remote event and ContextActionService to bind actions with that accessory and specific player. I was trying to use Moon Animator to perhaps weld accessories to a player and animate them but I couldn’t seem to make it work. Any thoughts on how to make this possible would be appreciated. I’m still relatively new to Moon Animator and I’m wondering if there’s a way to do this with Easy Weld or some other plugin. I’m not looking for anyone to write up entire blocks of code (which hopefully shouldn’t even be necessary). I’m simply asking if anyone who has pursued this topic or looked into it can tell me whether or not there’s an efficient way to do this and offer a bit of guidance to put me on the right track.

Here’s how I add the accessory to a specific player in case anyone’s interested as well:

local Weapon = ServerStorage.Tools.Weapon -- This is an accessory
character.Humanoid:AddAccessory(Weapon:Clone())

Thank you for your time.

1 Like

Still looking for an answer, any response would be greatly appreciated.

1 Like

What I’ve seen some users do is using Motor 6Ds, they add a motor 6D between the Torso of the character and the accessory’s handle part, try that out and see if it works.

did u ever figure out? i’m still trying to figure out myself for animated accessories haha xx

Nope, and I haven’t tried to figure it out since. I would recommend researching how to use Moon Animator to add handles/baseparts to animations and working from there instead.

This is how I’d do it

If you want the sword to have custom actions like de-attaching it from the arm and a more realistic feel when swinging the sword you’ll have to do it yourself (You can always use tools but it might not feel as realistic and fluid)

  1. Rig the Sword/Object via Blender (Bones/Armatures)
  2. Animate the rig via Moon Animator or Blender
  3. Import Rigged Model into Roblox Studios
  4. (If you’re using Blender to animate you’ll need some plugin to import the animation however I’m unable to access studio or blender right now and I forgot what it was called)
  5. Constantly teleport the Sword Model towards the player at whatever offset you want and play the animation

This is just a very brief layout of how it should be done so if you want more info about it then you should research and experiment more on this topic

good boy you’re helping me out