Animations are interfering with Joint manipulation via script

I am trying to make the arms of a character face the direction the camera is but I believe the animations are interfering. I do however need the animations but I want the shoulders to rotate exactly like they would if I enabled platform stand. I do not know how to fix this:

Without Platformstand:

With Platformstand:

Here is my code:

local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")
local Players = game:GetService("Players")

local LocalPlayer = Players.LocalPlayer
local Mouse = LocalPlayer:GetMouse()
local camera = workspace.CurrentCamera

local CharacterLookController = {}
CharacterLookController.LookMode = "Camera"
CharacterLookController.HeadLook = false
CharacterLookController.ArmsLook = false

function CharacterLookController:Commence(lookMode: "Camera" | "Mouse", headLook: boolean, armsLook: boolean, lerpTime: number, updateTime: number)
	CharacterLookController.LookMode = lookMode or "Camera"
	CharacterLookController.HeadLook = headLook or false
	CharacterLookController.ArmsLook = armsLook or false

	RunService:BindToRenderStep("Update", Enum.RenderPriority.Character.Value + 10, function(deltaTime)
		if headLook then

		end

		if true then

			local character = LocalPlayer.Character
			if character then
				local HRP = character:FindFirstChild("HumanoidRootPart")
				if HRP then
					local RightArm = character:FindFirstChild("RightUpperArm")
					local LeftArm = character:FindFirstChild("LeftUpperArm")

					if RightArm then
						local RS = RightArm.RightShoulder

						local lookVectorY = camera.CFrame.LookVector.Y


						local SC0V = RS.C0.Position
						RS.C0 = CFrame.new(SC0V) * CFrame.Angles(lookVectorY,0,0)
					end

					if LeftArm then
						local RS = LeftArm.LeftShoulder

						local lookVectorY = camera.CFrame.LookVector.Y


						local SC0V = RS.C0.Position
						RS.C0 = CFrame.new(SC0V) * CFrame.Angles(lookVectorY,0,0)
					end
				end
			end


		end
	end)

	return CharacterLookController
end

return CharacterLookController

I’m not super familiar with combining scripted elements with animations, but have you tried changing the animation priority to something lower?

yes i have and that did not work