I want to know how I can achieve a player carrying system. I am very familiar with the scripting in roblox it is just the fact that I do not know the best, most efficient way to do it. I heard from other posts that using welds will kill both players if one resets.
here is my current attempt:
local otherRP = v:FindFirstChild("HumanoidRootPart")
local char = workspace:FindFirstChild(plr.Name)
local humRP = char:FindFirstChild("HumanoidRootPart")
local head = char:FindFirstChild("Head")
if otherRP and humRP and head then
carrying = true
while carrying do
task.wait()
otherRP.CFrame = (head.CFrame+(humRP.CFrame.RightVector *2))
otherRP.CFrame *= CFrame.Angles(math.rad(-90),0,0)
end
end
any help will be greatly appreciated.