Zombie humanoid destroying

Hi,
How can I destroy a humanoid of a zombie who does not belong to any player.
Zombies contain regular Humanoid and HumanoidRootPart but are not a player.

	local character = Zombie:Clone()
	local humanoid = character.Humanoid
	local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
    ...

       -- THIS CODE DOES NOTHING - ZOMBIE IS DEAD BUT STILL LIES ON A FLOOR
       humanoidRootPart:Destroy()				
       humanoid:Destroy()
       character:Destroy()

Thanks

Because the joints aren’t removed, and this may be caused by the script being on the client.

if you destroy character it destroys both the humanoid and humanoid root part. just do character:Destroy()

i tried this but still he is on the floor not removed but he have health 0.

can you tell me how to remove them please???

Loop(GetDescendents) through the character model and check if the object a Motor6D/Motor. If it’s a Motor6D/Motor then destroy it.