Weld C0 not working accurately with players

You can write your topic however you want, but you need to answer these questions:

  1. I’m trying to fix welds extra offset when you weld players


  2. I have a cutscene where character welded to player’s character(or non-playable character). When it comes to NPCs is works just fine, but players welding with offset.

  3. I did limit player’s movement, rotation and jumping when they on the cutscene. HumanoidRootPart is also anchored.

targetroot.Anchored = true;
	
	local mod;
	if (targetwalkspeed) then
		mod = Instance.new("NumberValue");
		mod.Value = 0;
		mod.Parent = targetwalkspeed:WaitForChild("Modifiers");	
	end

	local weld = Instance.new("Weld");
	weld.Part0 = targetroot;
	weld.Part1 = root;
	weld.C0 = CFrame.new(0, 0, -3) * CFrame.Angles(0, math.rad(180), 0);
	weld.Parent = root;

Just to clarify - at the first screenshot you see that player not welded to blocky character’s arm correctly. At the second its right, with NPC

Is the Weld.C1 different between the two cases?

You might find it easier to use a rigid constraint because working with attachments instead of C0/C1 can be easier IMO.

C1 is the same. Its the same scripts at both cases, i checked multiple times and it appears to work wrong only when welding to players.

Does it look normal on the server? Are the C1 and C0 the same on the client that you’re viewing it from and the server compared to the NPC example?

The issue is probably from the replication getting messed up. I would recommend a rigid constraint because the offset is based on the attachments which seem to always replicate properly.