Part randomly spinning when tweening

Hello, when I tween a part to a position and then make it turn when it hits the position instead it does that, and when it’s tweening to the position the part randomly starts spinning? how would I fix this

local CFrameData =,Note.Position)
			local RotationTween = TweenService:Create(enemy,,Enum.EasingStyle.Linear), {CFrame = CFrameData})
			local Distance = (ParentNode.Position - Note.Position).Magnitude
			local goal = {
				CFrame = Note.CFrame
			local Movement = TweenService:Create(enemy,*speed, Enum.EasingStyle.Linear), goal)

Maybe make a value where if its true then it will cause the spin to happen i think its a script order thing or something.