How to Aim Down Sight (move model's part to camera)

  1. What is the issue? i really dont how to make a part inside the model move the entire model at the camera

  2. What solutions have you tried so far? looked multiple forums, tried old scripts and ried Youtube tutorials

this is how my viewmodel is made, the "AimPart" is the part i want to move
image

Script

runService.RenderStepped:Connect(function()
	
	--Shooting
	if inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) and tool.Parent == char then
		shoot()
	end
	
	
	if inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
		--AIM
		
	else
		viewmodel:PivotTo(camera.CFrame)
		
	end
end)

thank you!

if your model is rigged using any rigging constraint you cam move the main part that all the other parts rigged to and they will move and rotate with it , if no you can use the Model:PivotTo() but you need to assign the Model.PrimaryPart first