of     1   

jknite
#136118842Friday, June 06, 2014 12:58 AM GMT

Hello, I have been working around with my scripts for the past two hours trying to troubleshoot errors I am experiencing. This is one of the final errors I have, and is one that I have yet to find a remedy for. The problem is when the Zombie is respawned onto the server, the Zombie instantly dies and the character that first killed it receives the kill for its death. I used the :MakeJoints() on the Zombie but it still dies upon it respawning. I based it off of the Robot script typically found within a Free Modeled Zombie. If there is a remedy, or if more of the script is required (I posted the bare guts to simplify the issue), post the response please, Thanks! -Jknite function onDeath() backup = script.Parent:Clone() wait(3) script.Parent:remove() bckp = backup:Clone() wait(3) bckp.Parent = game.Workspace bckp:MakeJoints() end script.Parent.Zombie.Died:connect(onDeath)
ninja900500
#136119571Friday, June 06, 2014 1:06 AM GMT

I had this problem before I forgot how I fixed it... But the zombie in the lighting then clone it to the workspace. Change the zombie's current health to the maxhealth.
jknite
#136120896Friday, June 06, 2014 1:19 AM GMT

Ok, that fixed the issue! Thanks, -Jknite

    of     1