How Do You Make Weapons Attached To Your Right Waist?

This is my first forum post, so excuse me if I mess something up, but I’m trying to make weapons display on your waist like in Murder Mystery 2 because I’m adding a weapons system. I don’t have the actual tool display on your waist, it’s just a part with a mesh on it that disappears when a tool is equipped. I’ve used a Motor6D, which makes it get to where I want it to be, but I can’t alter the orientation via script, do Motor6D’s make it so you can’t rotate connected parts? Other unsuccessful things I tried include Welds, WeldConstraints, and Attachments (Although I have no clue how to use Attachments). I want to make it so that the part can be where it is on the first snippet but I can also change the orientation via script, because all Roblox tools don’t have the same orientation so I have to rotate them somehow, and if they did, then I wouldn’t be writing this right now.
(I don’t know if the images display because it’s in text and not an image when editing it)
image
image
image

I’ve tried looking up tutorials on the internet and I asked the Roblox AI, but the tutorials on the internet are for R15, and this is R6 (So I doubt they work the same), and the Roblox AI kept talking about waist accessories, and gears are not waist accessories.

Here is the script for the weapon:
(Most of the stuff in the script doesn’t matter)

To summarize, if there’s some way I can rotate this then I’m good, if there’s an alternative to Motor6D’s that work then I’m good… if I have to redesign everything I won’t be happy but I’ll be good afterward.

2 Likes

What I would do is use weldconstraints. I would first do is first create the weld constraint, set the first attachment to be the waist attachment, then set the other attachment to be an attachment created on the weapon. Then, use a cframe offset (your new cframe position relative to the waist) and multiply it by waist CFrame. Then parent it to the waist and there you go. Don’t forget to also parent the weld constraint to the workspace so that the constraint can function

1 Like

They don’t let you use attachments or offsets for weldconstraints so do I have to use a hingeconstraint or something else?

Try using weld instance.

local weld = Instance.new("Weld")
weld.Part0 = ?
weld.Part1 = ?
weld.C0 = offset c0 (cframe)
weld.C1 = offset c1 (cframe)