Roblox rig tripping

Basically, I’m trying to make a timestopping ability in a boss fighting game. The timestop itself works (i anchor the boss’s body parts and stop it from attacking). however, the boss always trips after the timestop ends. how do i prevent rigs from tripping?

Video: https://youtu.be/YK_q_rCRNSY

Code:

elseif data.Event == "Timestop" then
		remote:FireAllClients({
			Event = "Timestop",
			Character = data.Character,
			AttackerName = player.Name,
			TimeValues = timeValues
		})
		
		walkSpeedManager.Set(player, -1.5)
		task.delay(timeValues.AttackingTime, function()
			walkSpeedManager.Set(player, 1.5)
		end)
		
		task.wait(timeValues.ChargeTime)
		
		local currentBoss = serverState.Get("ActiveBoss")
		currentBoss:Interrupt()
		
		local saved = {}
		
		for _, part in pairs(currentBoss.Model:GetDescendants()) do
			if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
				saved[part] = part.Anchored
				part.Anchored = true
			end
		end
		
		currentBoss.TimestopPause = true
		
		task.wait(timeValues.StopTime)
		
		currentBoss.TimestopPause = false
		
		for _, part in pairs(currentBoss.Model:GetDescendants()) do
			if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
				part.Anchored = saved[part]
			end
		end
		
		currentBoss:Follow(currentBoss:GetRandomTarget())
		
		task.wait(2)
		currentBoss:Attack(currentBoss:GetRandomTarget())
		
		
		
	end

Try disabling certain humanoid states on the boss: https://create.roblox.com/docs/en-us/reference/engine/classes/Humanoid#SetStateEnabled

ex. FallingDown and PlatformStanding

Doesnt work, tried disabling before and after anchoring

		
		local currentBoss = serverState.Get("ActiveBoss")
		currentBoss:Interrupt()
		
		local saved = {}
		
		for _, part in pairs(currentBoss.Model:GetDescendants()) do
			if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
				saved[part] = part.Anchored
				part.Anchored = true
			end
		end
		
		currentBoss.TimestopPause = true
		local stateType = Enum.HumanoidStateType
		
		local humanoid = currentBoss.Model:FindFirstChild("Humanoid")
		if not humanoid then return end
		
		local function disableStates()
			humanoid:SetStateEnabled(stateType.FallingDown, false)
			humanoid:SetStateEnabled(stateType.PlatformStanding, false)
			humanoid:SetStateEnabled(stateType.Freefall, false)
			humanoid:SetStateEnabled(stateType.Ragdoll, false)
		end
		
		disableStates()
		task.wait(timeValues.StopTime)
		
		currentBoss.TimestopPause = false
		
		for _, part in pairs(currentBoss.Model:GetDescendants()) do
			if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
				part.Anchored = saved[part]
			end
		end
		
		disableStates()

Disable these only once when boss gets created, also if your boss jumps don’t disable freefall.
And for the reason it’s not working, not sure, but probably because you need part:SetNetworkOwner() (only when part.Anchored = false), try putting that once boss gets created too.

Setting the network owner fixed it, thank you so much!