Having trouble welding a model to player character

Hello everyone,

So I have a problem. I’m trying to weld a model to the player’s hand, but every time I try to render that model’s clone in workspace I just teleport to the model and get stuck to it instead (anchored). This is my code so far. I have not actually welded anything together myself, I used “qPerfectionWeld” to do it for me which requires me to anchor the model itself so I am wondering if that is the problem. I have tried work arounds with this like waiting before attaching the model to the hand, giving the server some time, but nothing works so far. This is my code (where model is the specific model I want to attach to the hand):

local model = replicatedStorage.Model:Clone()
model.Parent = workspace
	
local weld = Instance.new("Weld")
weld.Part0 = character:FindFirstChild("RightHand")
weld.Part1 = model.PrimaryPart
weld.Parent = character:FindFirstChild("RightHand")

Please tell me what i’m doing wrong here. Thanks!

3 Likes

Dont use perfectionweld, get RigEdit (RigEditLite works too) and weld manually. Also, the model should be unanchored.

5 Likes

Yeah either use RigEdit, RigEditLite, (but you have to weld manually) or (if you have moon animator) the easy weld, which is the easiest plugin for welding for me as it automatically welds the parts in the correct positions and the model doesn’t have to be anchored.

3 Likes

Okay thanks everyone, I will look into it and try those things. Really appreciate it.

2 Likes

Rig edit is great.

But you can also use attachments to visualize and calculate the CFrames for you.

2 Likes