Help with possessing ability

I want to make an ability thats making player controls other player character, I tried to just weld all the target parts to the player’s character and make the player invisible but its just looks glitchy and not smooth and in delay.
I even tried code online that is from devforum but it did not work for me smoothly,

Hey, I am trying to attach one player character to other player's character, however it does not work, i tried this:
for index,part in target:GetChildren() do
if part:isA("MeshPart") or part:isA("BasePart") then
            local Weld = Instance.new("WeldConstraint")
            Weld.Parent = player.Character
            Weld.Part0 = part
            Weld.Part1 = player.Character:FindFirstChild(part.Name)
        end
    end
2 Likes

I’m not a scripter but I do know that welding parts together from different humanoids definitely does not allow you to “control” them. You will just be fused together and glitch out. So welding would most likely not be a relevant factor in what you’re trying to accomplish.

2 Likes