PivotTo Looking Choppy

Is there any way I could make this grab system not look choppy ?

ReplicatedStorage:WaitForChild("Remotes").GrabEvent.OnClientEvent:Connect(function(object : Model)
	
	Camera:ClearAllChildren()
	
	if object then
		
		for i,v in ipairs(object:GetDescendants()) do
			
			if v:IsA("BasePart") then
				
				v.CanCollide = false
				
			end
			
		end
		
		object.Parent = Camera
		
		repeat
			object:PivotTo(Camera.CFrame * CFrame.new(-1.35,-1,-2.7))
			task.wait()
		until not object
		
	end
	
end)

You may be better off using RenderStepped.
Also make sure the item is anchored.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.