name="\072\117\109\097\110\111\105\100"robo=script.Parent:Clone()while true do wait(5)if script.Parent.Humanoid.Health<1 then robo=robo:Clone()robo.Parent=script.Parent.Parent robo:makeJoints()script.Parent:remove()end end
--Make Rig and choose any Rig
--Add Script and paste this into Script

name = "Humanoid"

robo = script.Parent:Clone()

while true do
	wait(5)
	if script.Parent.Humanoid.Health < 1 then
		robo = robo:Clone()
		robo.Parent = script.Parent.Parent
		robo:makeJoints()
		script.Parent:remove()
	end
end
