Part moving position when anchored

You can write your topic however you want, but you need to answer these questions:
I have a weld to the Characters right Hand. Im making the character drop the “weld” by disabling it. Then anchoring it when its on the ground.

This works fine the first time, but beyond the first attempt, when it anchors, the part teleports to the last position it was, even with no welds enabled whatsoever.

I’ve looked around, seen nothing about this. I really dont think theres anysort of extra welds. Ive actually deleted every other weld possible and it still just floats there, sometimes it even shakes while anchored.

Gotta post your code chars chars chars chars

Just anchor the part or use body velocity to hold it’s place and tween the part to move!

This is the only code that has to do with the sword positioning/moving.

function DropSword(sword,hand)
hand[“Dual Darkhearts”].Enabled = false – Motor6d weld
wait(3)
character[“Dual Darkhearts”][“Main”…sword].CanCollide = true – part
character[“Dual Darkhearts”][“Handle”…sword].Anchored = true – part
end
function GrabSword(sword,hand)
character[“Dual Darkhearts”][“Main”…sword].CanCollide = false
local currenttween = nil

local function dotween(what,where)
	if currenttween then
		currenttween:Cancel()
	end
	local tweenInfo = TweenInfo.new((what.Position - where.Position).magnitude/25,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,-1,false,0)
	currenttween = TweenService:Create(what, tweenInfo, {CFrame = hand.CFrame*CFrame.Angles(math.rad(-90),0,math.rad(0))})
	currenttween:Play() 
end

repeat wait() dotween(character["Dual Darkhearts"]["Handle"..sword],hand) until (character["Dual Darkhearts"]["Handle"..sword].Position - hand.Position).magnitude <= 1

character["Dual Darkhearts"]["Handle"..sword].Anchored = false

hand[“Dual Darkhearts”].Enabled = true
end

So its drop sword, pickup sword, drop sword (issue starts here where sword is teleporting when anchored).

solved it nvm lolol, was the tween service function