How do i set the cframe of handle to r6 character

im trying to set the cframe of the handle to the player’s character but the tool keeps going someone far. How would i fix this? And i get teleported randomly

local drawRemote = script.Parent:WaitForChild("Draw")


drawRemote.OnServerEvent:Connect(function(player, drawAnim)
	local character = player.Character
	local humanoid = character:WaitForChild("Humanoid")
	local drawOut = humanoid:LoadAnimation(script:WaitForChild("DrawOut"))
	print(drawOut)
	local weldCO = Instance.new("WeldConstraint")
	weldCO.Parent = player.Character
	weldCO.Part0 = character["Left Arm"]
	weldCO.Part1 = script.Parent.Handle1
	
	
	script.Parent.Handle1.CFrame = character["Left Arm"].CFrame
	
	drawOut:Play()
end)

Where is the tool located? What’s its parent?

tool is located in starterpack, or when it’s equipped it’s in the player. Idk what you mean by the second question

Nvm i fixed the bug

Is the original tool where you clone it from unanchored? make sure it is…

just saw that you said you fixed it.

Use a Weld instance instead of a WeldConstraint and as the above post suggested unanchor every BasePart instance which makes up the tool.

Adding on to what Forummer said about anchoring, to adjust the WeldConstraint you’ll need to use the .Position and .Rotation properties instead of the CFrame property:

should probably be:

script.Parent.Handle1.Position = character["Left Arm"].Position
script.Parent.Handle1.Rotation = character["Left Arm"].Rotation

I’d also recommend changing the order of code statements. You should probably set the parent last when creating a new instance:

local weldCO = Instance.new("WeldConstraint")
weldCO.Part0 = character["Left Arm"]
weldCO.Part1 = script.Parent.Handle1
weldCO.Parent = player.Character