Weld is "clipping" me

I try to create a weld on my character more the weld is clipping him in ground, I don’t know why.

This is what are happening:

This is my script:

		local TS = game:GetService('TweenService')
		local Stand = script.Parent.Stand:Clone()
		local Weld = Instance.new('Weld', Stand)
		Weld.Name = 'Weld'
		Weld.Part0 = Stand.HumanoidRootPart
		Weld.Part1 = plr.Character.Torso
		Stand.Parent = plr.Character
		game.ReplicatedStorage.LoadAnimation:InvokeClient(plr, Stand.Humanoid, script.SummonAnim.AnimationId)
		for _, v in pairs(Stand:GetDescendants()) do
			if v:IsA('Part') or v:IsA('MeshPart') then
				v.Transparency = 1
			end
		end
		for _, v in pairs(Stand:GetDescendants()) do
			if v:IsA('Part') or v:IsA('MeshPart') then
				if v.Name ~= 'HumanoidRootPart' then
					TS:Create(v, TweenInfo.new(0.3), { Transparency = 0 }):Play()
				end
			end
		end
		TS:Create(Weld, TweenInfo.new(0.3), { C1 = CFrame.new(0, 1, 2) }):Play()
		wait(0.3)
		game.ReplicatedStorage.LoadAnimation:InvokeClient(plr, Stand.Humanoid, script.Parent.Idle.AnimationId)
		plr.InAction.Value = false```

Anyone can help me, I don’t know how to resolve this problem bruh. I think the problem is on Humanoid Root Part.

The problem might be from the HumanoidRootPart and Torso not lining up.

I would try using the player’s HumanoidRootPart instead of their torso.

I would also make sure the Stand is set to be massless. If the Stand has a Humanoid, you might want to set the Humanoid to Humanoid.PlatformStand = true so the two humanoid physics controllers don’t mess with each other.

Is the other character massless? That could cause some issues

Yes is Massless, I turn the PlatformStand on true more they automatically got nil.

Ok I change PlatformStand in the script and this function, thank you!

1 Like

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