Model refusing to get welded

I barely know how to describe this problem, however I will try my best to.

To provide some context, I am currently working on a first person dungeon crawler. I’m implementing an inventory system. The game includes a viewmodel, which is individual to each client. This is the code for the viewmodel:

[[Removed to avoid unwanted usage of my scripts]]

This is the code from the client that attaches whatever model to the viewmodel arms:

[[Removed to avoid unwanted usage of my scripts]]

There is a folder inside of Workspace where the effects are handled.
game.Workspace.Effects
This also contains the folder where the models for first person go.
game.Workspace.Effects.ViewAttach["Left Arm"]
game.Workspace.Effects.ViewAttach["Right Arm"]

This works completely fine with the sword. However, now onto the actual issue. There is a second item, which is the shield. It is scripted basically the same way as the sword is, except for it just doesn’t weld properly to the first person view. I don’t know if this is really a scripting issue, something with Roblox welds / motor6ds, or if I’m just not rigging it properly.

The shield works completely fine attaching onto the character, it couldn’t be closer to perfect. Aside from missing assets, like it’s unique animations, it’s working exactly as it should. But the issue lies on attaching it to the viewmodel.

When the model is attached, the shield drags down the model completely, and goes as far as to break animations and make the right arm completely dysfunctional. I seriously don’t know why it’s doing this. I thought it could have been the model itself, so I replaced it with something else. I made a completely new model from scratch, and the same problem was still occuring. I made a model with 2 blank parts, set their properties, and did nothing more. Same problem still occuring, so maybe it was an issue with the arm itself? Well, no. I used a duplicate model of the sword as the shield’s model, and that worked perfectly. I am genuinely stumped on this, if anyone could provide any possible feedback it would be greatly appreciated. Here is the code for the shield equipping in the server, and footage of the problem:

[[Removed to avoid unwanted usage of my scripts]]

There are no errors in the output.

1 Like

All I had to do was anchor the viewmodel’s main part… Wow…

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.