|
| 05 Dec 2012 08:45 PM |
| How can you prevent a zombie from breaking when it enters the game? Not touching another zombie, but its joints falling apart. |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 08:46 PM |
Script > Zombie
script.Parent:MakeJoints() |
|
|
| Report Abuse |
|
|
1Topcop
|
  |
| Joined: 09 Jun 2009 |
| Total Posts: 6635 |
|
| |
|
|
| 05 Dec 2012 09:06 PM |
| Nice question :p. This may help alot of problems. |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 09:22 PM |
@LUV
I tried that, they still break. I also tried using that script and welding the parts of the zombie together, but they still break. |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 09:33 PM |
| It only happens sometimes, I don't care. I'm not worried about it. |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 09:38 PM |
| Are you inserting the zombie from lighting to workspace? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 05 Dec 2012 09:48 PM |
Well then here:
Script > Zombie
Zombie = script.Parent Humanoid = Zombie.Humanoid - change if necessary. MaxHealth = 100 ZClone = Zombie:Clone()
function Spawn() script.Parent:MakeJoints() Humanoid.MaxHealth = MaxHealth Humanoid.Health = MaxHealth end
Spawn()
Humanoid.Died:connect(function() Zombie:remove() wait(2) ZClone.Parent = game.Workspace ZClone:MakeJoints() end)
--NOTE: YOU HAVE TO EDIT THIS IF YOU WANT IT TO WORK.
|
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 09:50 PM |
| Why would I have to edit it? Looks good to me. |
|
|
| Report Abuse |
|
|
|
| 05 Dec 2012 10:39 PM |
It seems as if it works. I'll have to test it a lot more tomorrow, though.
I only had to edit one thing in the script. |
|
|
| Report Abuse |
|
|