Part not moving even though output claims it is


When I try putting a pizza down, I reset it back to the right position, however, it stays where it was welded to. I’m destroying the weld before setting the position, but it still stays there. The task.delay claims 2 seconds later that it’s in the right position, however, the Position property clearly says otherwise

	-- Clear
	Pizza.Anchored = true
	Pizza.WeldConstraint:Destroy()
	print(Pizza:GetPivot().Position)
	Pizza:PivotTo(workStation.BaseBoard:GetPivot() + Vector3.new(0, Pizza.Size.Y, 0))
	print(Pizza:GetPivot().Position)

	task.delay(2, function()
		print(Pizza:GetPivot().Position)
	end)
1 Like

Hello

Are you sure that there aren’t any other restrains on Pizza? i.e, welds, other functions etc

Pizza has nothing else inside it. Its just a meshpart

Is there anything else restricting it/changing it’s properties as the pizza is being put down like another weld or a different script/function changing it’s position

It could very much be that the second you destroy the weld the pizza could somehow be re-equipped meaning it’d teleport to your hand and since it’s anchored it doesn’t move