Old head turning script doesn't work with new roblox animations with r6 but it works with old r6 animations

The title gives a brief idea of what I am seeing, I am fixing the 2013 version of Kool Killer and I wanted to fix the head-turning script but I came across a funny thing where it doesn’t work with the new Roblox animations but it works with the old ones. Here are some videos that show this. How can I make this work with new Roblox animations with r6?

Old Animations:
robloxapp-20210318-1435262.wmv (1.7 MB)

New Animations:
robloxapp-20210318-1436085.wmv (1.2 MB)

Here is the script to see what we are working with.

repeat wait() until game.Players.LocalPlayer.Character 
game.Players.LocalPlayer.Character.Torso.Neck.MaxVelocity = 0.3
function turnheads()
	while true do
		wait(0.15)
		if game.Players.LocalPlayer.Character then
			if game.Workspace.CurrentCamera.CameraSubject == game.Players.LocalPlayer.Character:findFirstChild("Humanoid") then
				local camf = Vector3.new(game.Workspace.CurrentCamera.CFrame.X,game.Workspace.CurrentCamera.CFrame.Y,game.Workspace.CurrentCamera.CFrame.Z)	
				local lv = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector
				local torsop = game.Players.LocalPlayer.Character.Head.Position
				game.Players.LocalPlayer.Character.Torso.Neck.DesiredAngle = -(((torsop - camf).Unit):Cross(lv)).Y
			end
		end
	end
end

turnheads()

This is a local script inside the StarterCharacterScripts.

You could try to make an animation that just turns the head instead of doing it inside a script

How would I do that while retaining the retro look of it?

Make the animation use a lot of key frames or you could attempt to calculate how the script did it and make the a keyframe in the animation do that. I am not good at animation

I just want to fix this script and not write a whole new one

For one you could store the character in a variable instead of putting game.Players.LocalPlayer.Character this mess everywhere
Also wdym does not work with the new animations.

It only works with animations from the early 2013-2010 animations from roblox, so if I use an old animations script the head turn thing works but it doesn’t work with the modern r6 animations

This may be because the new r6 animations do something with the head so when you try to rotate it it snaps back

How can I fix this? What would I need to change?

You could either change the new animation so that it does not affect the head or any part that script uses or you could just make an animation for the turning of the head.
I would just make a head turning animation tbh
You could also try pausing all current animations on the player