I Need Help With Humanoid Glitching

Hi all,

I’m working on a game & I encountered a pretty big issue. The character’s movement is fine until the road roller move is thrown. After the cutscene, the player & the dummy are both stuck in weird circular glitchy movement.

What is this caused by? I have tried:
-Setting the AutoRotate false during the cutscene and setting it back to true after (Didn’t work)
-Setting the network owner ship of my character to my player (Didn’t work)

Here’s all you need to know about the code:

----WHEN CUTSCENE STARTS
Root.Anchored = true
char.Humanoid.AutoRotate = false
enemyChar.Humanoid.AutoRotate = false
enemyChar.HumanoidRootPart.Anchored = true
local bdAnim = char.Humanoid.Animator:LoadAnimation(AnimFolder.RoadRollerAttack)
local enemybd = enemyChar.Humanoid.Animator:LoadAnimation(AnimFolder.RoadRollerTarget)
enemyChar.HumanoidRootPart.CFrame = Root.CFrame * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) * CFrame.new(0,0,5)
bdAnim:Play()
enemybd:Play()

----AFTER THE CUTSCENE ENDS
if char~=nil then
	Root.Anchored = false
	char.Humanoid.AutoRotate = true
end
if enemyChar~=nil and enemyChar:FindFirstChild("HumanoidRootPart") then
	enemyChar.Humanoid.AutoRotate = true
	enemyChar.Humanoid:TakeDamage(Combat.Damage[4].RoadRoller)
	enemyChar.HumanoidRootPart.Anchored = false
	local BV = Instance.new("BodyVelocity")
	BV.MaxForce = Vector3.new(100000, 100000, 100000)
	BV.P = math.huge
	BV.Velocity = enemyChar.HumanoidRootPart.CFrame.lookVector * -80
	BV.Parent = enemyChar.HumanoidRootPart
	game.Debris:AddItem(BV, .3)
end

Is it caused by this line?

enemyChar.HumanoidRootPart.CFrame = Root.CFrame * CFrame.Angles(math.rad(0), math.rad(180), math.rad(0)) * CFrame.new(0,0,5)

Please let me know how I can fix this issue!

Thanks in advance.

UPDATE: I have removed this line & I didn’t encounter the issue. But that’s not what I’m looking for.

How can I keep this line and still not have the issue? What exactly happened? Is it related to NetworkOwnership?

Everything is set to Massless = true and yet the issue still persists. What am I missing?