Player knockback works on NPCs but NPC's don't work on players?

Hey guys, I have a new problem. The knockback works fine with player attacking NPC’s but NPC attacking player don’t work, they are the same numbers
KickForce is 300
KickUpforce is 600

Npc’s script

                       player.RagdollTrigger.Value = true
						coroutine.wrap(function()
							task.wait(ragdollTime)
							player.RagdollTrigger.Value = false
						end)()
						
						
						local forceToApply = KickForce
						local upforce =  KickUpforce
						player.HumanoidRootPart:ApplyImpulse(NPC.HumanoidRootPart.CFrame.LookVector*forceToApply +Vector3.new(0,upforce,0))

player’s script

local forceToApply = KickForce
		local upforce =  KickUpforce
		humanoid.Parent.HumanoidRootPart:SetNetworkOwner(nil)
		humanoid.Parent.HumanoidRootPart:ApplyImpulse(player.Character.HumanoidRootPart.CFrame.LookVector*forceToApply +Vector3.new(0,upforce,0))
		coroutine.wrap(function()
			repeat task.wait() until humanoid.Parent:GetAttribute("Stunned") == false
			humanoid.Parent.HumanoidRootPart:SetNetworkOwnershipAuto()
		end)()
		
		
		humanoid.Parent.RagdollTrigger.Value = true
		coroutine.wrap(function()
			task.wait(ragdollTime)
			humanoid.Parent.RagdollTrigger.Value = false
		end)()

https://gyazo.com/68bde38e7644ae995cea6d9ec837f5cf

I have done some research for a while and I found out that the humanoidRootPart of player is owned by the player client, so I set the network owner to server while the attack!