local player = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
local mouse = player:GetMouse()

local ToClone = {"LeftUpperArm", "LeftLowerArm", "LeftHand", "RightUpperArm", "RightLowerArm", "RightHand"}

local function WeldArms(char, Arms)
	for i,v in pairs(ToClone) do
		if char:FindFirstChild(v) then
			local part = char[v]
			local clone = part:Clone()
			clone:ClearAllChildren()
			clone.CFrame = part.CFrame
			clone.Parent = Arms
		end
	end
end

player.CharacterAdded:connect(function(char)
	local Arms = Instance.new("Model", workspace)
	Arms.Name = "Arms"
	WeldArms(char, Arms)
	char:WaitForChild("Humanoid").Died:connect(function()
		Arms:Destroy()
	end)
end)

while game:GetService("RunService").RenderStepped:wait() do
	pcall(function()
		if workspace:FindFirstChild("Arms") then
			for i,v in pairs(workspace:WaitForChild("Arms"):GetChildren()) do
				if player.Character[v.Name] then
					v.CFrame = player.Character[v.Name]
				end
			end
		end
	end)
end

whenever this runs, the cloned arms are always removed after falling into oblivion and not staying with my player????? help??

1 comment

0

You're not actually welding the arms to the players character arms.