So i am working on a carry system for my game and i am using weld to make this happen.
It works perfectly fine with NPC but when it comes to players there is bugs.
I tested this with two dummies in studio.
Here is what happens when player2 carries player1
and here is what happens when player1 carries player2
Here is the part of my script that is welding the characters
Phy:CreateCollisionGroup(SSName) Phy:CollisionGroupSetCollidable(SSName,SSName,false) for i = 1,#Player:GetDescendants() do local v = Player:GetDescendants()[i] if v ~= nil and v:IsA("BasePart") then Phy:SetPartCollisionGroup(v,SSName) end end for i = 1,#Victim:GetDescendants() do local v = Victim:GetDescendants()[i] if v ~= nil and v:IsA("BasePart") then Phy:SetPartCollisionGroup(v,SSName) end end local Weld Weld = Instance.new("Weld") Weld.Part0 = Root1 Weld.Part1 = Root2 Weld.Name = "CarryWeld" Weld.C0 = CFrame.new(0,0,-1.5) Weld.Parent = Root1
I wanted to know if i am doing something wrong in my code.