ok so I have tried literally everything!! To fix this script but it wont work whatsoever.
My goal is to make this zombie model respawn after 1 second of its death.
so far this is what I have
local zombie = game.Workspace.Zombie
local clone = zombie:Clone()
if zombie.Humanoid.Died then zombie.Humanoid.Died:connect(function()
wait(2)
zombie:Destroy()
clone.Parent = game.Workspace
end)
end
Now it works, but only 1 time. After its first death it doesnt respawn after it dies anymore. :(
Please someone help me. I just came back to coding after what seems like forever.

1 comment
:connect() is deprecated sadly, instead, use :Connect()