I have changed allot of things in the script, but it is still not working, there is no error Output so I don't know what the problem is, but, the problem is that it is not respawning an NPC, and when it does, the player just dies, or falls through the baseplate, so it repeatedly loops over and over again, here is the script;
repeat wait() until script and script.Parent and script.Parent:FindFirstChild("Zombie")
print("Respawned")
wait(1)
repeat wait(.2)
if script.Parent.Zombie.Health <= 0 then
print("Respawning")
local Respawn = script.Parent:Clone()
Respawn.Parent = game.Workspace
Respawn:MakeJoints()
script.Parent:Destroy()
end
until nil

2 comments
Lol, can't believe I didn't see that, Thanks man! :)
Haha, no prob. Glad I could help :)