Advertisement
End_Wolf

Untitled

Jul 9th, 2018
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 227.23 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. Model0 = Instance.new("Model")
  20. Model1 = Instance.new("Model")
  21. Model2 = Instance.new("Model")
  22. Part3 = Instance.new("Part")
  23. SpecialMesh4 = Instance.new("SpecialMesh")
  24. Decal5 = Instance.new("Decal")
  25. Part6 = Instance.new("Part")
  26. Part7 = Instance.new("Part")
  27. Part8 = Instance.new("Part")
  28. Humanoid9 = Instance.new("Humanoid")
  29. Part10 = Instance.new("Part")
  30. Script11 = Instance.new("Script")
  31. Part12 = Instance.new("Part")
  32. Script13 = Instance.new("Script")
  33. ObjectValue14 = Instance.new("ObjectValue")
  34. IntValue15 = Instance.new("IntValue")
  35. Script16 = Instance.new("Script")
  36. Script17 = Instance.new("Script")
  37. Script18 = Instance.new("Script")
  38. Part19 = Instance.new("Part")
  39. Decal20 = Instance.new("Decal")
  40. Model21 = Instance.new("Model")
  41. Model22 = Instance.new("Model")
  42. Part23 = Instance.new("Part")
  43. SpecialMesh24 = Instance.new("SpecialMesh")
  44. Decal25 = Instance.new("Decal")
  45. Part26 = Instance.new("Part")
  46. Part27 = Instance.new("Part")
  47. Part28 = Instance.new("Part")
  48. Humanoid29 = Instance.new("Humanoid")
  49. Part30 = Instance.new("Part")
  50. Script31 = Instance.new("Script")
  51. Part32 = Instance.new("Part")
  52. Script33 = Instance.new("Script")
  53. ObjectValue34 = Instance.new("ObjectValue")
  54. IntValue35 = Instance.new("IntValue")
  55. Script36 = Instance.new("Script")
  56. Script37 = Instance.new("Script")
  57. Script38 = Instance.new("Script")
  58. Part39 = Instance.new("Part")
  59. Decal40 = Instance.new("Decal")
  60. Model41 = Instance.new("Model")
  61. Model42 = Instance.new("Model")
  62. Part43 = Instance.new("Part")
  63. SpecialMesh44 = Instance.new("SpecialMesh")
  64. Decal45 = Instance.new("Decal")
  65. Part46 = Instance.new("Part")
  66. Part47 = Instance.new("Part")
  67. Part48 = Instance.new("Part")
  68. Humanoid49 = Instance.new("Humanoid")
  69. Part50 = Instance.new("Part")
  70. Script51 = Instance.new("Script")
  71. Part52 = Instance.new("Part")
  72. Script53 = Instance.new("Script")
  73. ObjectValue54 = Instance.new("ObjectValue")
  74. IntValue55 = Instance.new("IntValue")
  75. Script56 = Instance.new("Script")
  76. Script57 = Instance.new("Script")
  77. Script58 = Instance.new("Script")
  78. Part59 = Instance.new("Part")
  79. Decal60 = Instance.new("Decal")
  80. Model61 = Instance.new("Model")
  81. Model62 = Instance.new("Model")
  82. Part63 = Instance.new("Part")
  83. SpecialMesh64 = Instance.new("SpecialMesh")
  84. Decal65 = Instance.new("Decal")
  85. Part66 = Instance.new("Part")
  86. Part67 = Instance.new("Part")
  87. Part68 = Instance.new("Part")
  88. Humanoid69 = Instance.new("Humanoid")
  89. Part70 = Instance.new("Part")
  90. Script71 = Instance.new("Script")
  91. Part72 = Instance.new("Part")
  92. Script73 = Instance.new("Script")
  93. ObjectValue74 = Instance.new("ObjectValue")
  94. IntValue75 = Instance.new("IntValue")
  95. Script76 = Instance.new("Script")
  96. Script77 = Instance.new("Script")
  97. Script78 = Instance.new("Script")
  98. Part79 = Instance.new("Part")
  99. Decal80 = Instance.new("Decal")
  100. Model81 = Instance.new("Model")
  101. Model82 = Instance.new("Model")
  102. Part83 = Instance.new("Part")
  103. SpecialMesh84 = Instance.new("SpecialMesh")
  104. Decal85 = Instance.new("Decal")
  105. Part86 = Instance.new("Part")
  106. Part87 = Instance.new("Part")
  107. Part88 = Instance.new("Part")
  108. Humanoid89 = Instance.new("Humanoid")
  109. Part90 = Instance.new("Part")
  110. Script91 = Instance.new("Script")
  111. Part92 = Instance.new("Part")
  112. Script93 = Instance.new("Script")
  113. ObjectValue94 = Instance.new("ObjectValue")
  114. IntValue95 = Instance.new("IntValue")
  115. Script96 = Instance.new("Script")
  116. Script97 = Instance.new("Script")
  117. Script98 = Instance.new("Script")
  118. Part99 = Instance.new("Part")
  119. Decal100 = Instance.new("Decal")
  120. Model101 = Instance.new("Model")
  121. Model102 = Instance.new("Model")
  122. Part103 = Instance.new("Part")
  123. SpecialMesh104 = Instance.new("SpecialMesh")
  124. Decal105 = Instance.new("Decal")
  125. Part106 = Instance.new("Part")
  126. Part107 = Instance.new("Part")
  127. Part108 = Instance.new("Part")
  128. Humanoid109 = Instance.new("Humanoid")
  129. Part110 = Instance.new("Part")
  130. Script111 = Instance.new("Script")
  131. Part112 = Instance.new("Part")
  132. Script113 = Instance.new("Script")
  133. ObjectValue114 = Instance.new("ObjectValue")
  134. IntValue115 = Instance.new("IntValue")
  135. Script116 = Instance.new("Script")
  136. Script117 = Instance.new("Script")
  137. Script118 = Instance.new("Script")
  138. Part119 = Instance.new("Part")
  139. Decal120 = Instance.new("Decal")
  140. Model121 = Instance.new("Model")
  141. Model122 = Instance.new("Model")
  142. Part123 = Instance.new("Part")
  143. SpecialMesh124 = Instance.new("SpecialMesh")
  144. Decal125 = Instance.new("Decal")
  145. Part126 = Instance.new("Part")
  146. Part127 = Instance.new("Part")
  147. Part128 = Instance.new("Part")
  148. Humanoid129 = Instance.new("Humanoid")
  149. Part130 = Instance.new("Part")
  150. Script131 = Instance.new("Script")
  151. Part132 = Instance.new("Part")
  152. Script133 = Instance.new("Script")
  153. ObjectValue134 = Instance.new("ObjectValue")
  154. IntValue135 = Instance.new("IntValue")
  155. Script136 = Instance.new("Script")
  156. Script137 = Instance.new("Script")
  157. Script138 = Instance.new("Script")
  158. Part139 = Instance.new("Part")
  159. Decal140 = Instance.new("Decal")
  160. Model141 = Instance.new("Model")
  161. Model142 = Instance.new("Model")
  162. Part143 = Instance.new("Part")
  163. SpecialMesh144 = Instance.new("SpecialMesh")
  164. Decal145 = Instance.new("Decal")
  165. Part146 = Instance.new("Part")
  166. Part147 = Instance.new("Part")
  167. Part148 = Instance.new("Part")
  168. Humanoid149 = Instance.new("Humanoid")
  169. Part150 = Instance.new("Part")
  170. Script151 = Instance.new("Script")
  171. Part152 = Instance.new("Part")
  172. Script153 = Instance.new("Script")
  173. ObjectValue154 = Instance.new("ObjectValue")
  174. IntValue155 = Instance.new("IntValue")
  175. Script156 = Instance.new("Script")
  176. Script157 = Instance.new("Script")
  177. Script158 = Instance.new("Script")
  178. Part159 = Instance.new("Part")
  179. Decal160 = Instance.new("Decal")
  180. Model161 = Instance.new("Model")
  181. Model162 = Instance.new("Model")
  182. Part163 = Instance.new("Part")
  183. SpecialMesh164 = Instance.new("SpecialMesh")
  184. Decal165 = Instance.new("Decal")
  185. Part166 = Instance.new("Part")
  186. Part167 = Instance.new("Part")
  187. Part168 = Instance.new("Part")
  188. Humanoid169 = Instance.new("Humanoid")
  189. Part170 = Instance.new("Part")
  190. Script171 = Instance.new("Script")
  191. Part172 = Instance.new("Part")
  192. Script173 = Instance.new("Script")
  193. ObjectValue174 = Instance.new("ObjectValue")
  194. IntValue175 = Instance.new("IntValue")
  195. Script176 = Instance.new("Script")
  196. Script177 = Instance.new("Script")
  197. Script178 = Instance.new("Script")
  198. Part179 = Instance.new("Part")
  199. Decal180 = Instance.new("Decal")
  200. Model181 = Instance.new("Model")
  201. Model182 = Instance.new("Model")
  202. Part183 = Instance.new("Part")
  203. SpecialMesh184 = Instance.new("SpecialMesh")
  204. Decal185 = Instance.new("Decal")
  205. Part186 = Instance.new("Part")
  206. Part187 = Instance.new("Part")
  207. Part188 = Instance.new("Part")
  208. Humanoid189 = Instance.new("Humanoid")
  209. Part190 = Instance.new("Part")
  210. Script191 = Instance.new("Script")
  211. Part192 = Instance.new("Part")
  212. Script193 = Instance.new("Script")
  213. ObjectValue194 = Instance.new("ObjectValue")
  214. IntValue195 = Instance.new("IntValue")
  215. Script196 = Instance.new("Script")
  216. Script197 = Instance.new("Script")
  217. Script198 = Instance.new("Script")
  218. Part199 = Instance.new("Part")
  219. Decal200 = Instance.new("Decal")
  220. Model201 = Instance.new("Model")
  221. Model202 = Instance.new("Model")
  222. Model203 = Instance.new("Model")
  223. Part204 = Instance.new("Part")
  224. SpecialMesh205 = Instance.new("SpecialMesh")
  225. Decal206 = Instance.new("Decal")
  226. Part207 = Instance.new("Part")
  227. Part208 = Instance.new("Part")
  228. Part209 = Instance.new("Part")
  229. Humanoid210 = Instance.new("Humanoid")
  230. Part211 = Instance.new("Part")
  231. Script212 = Instance.new("Script")
  232. Part213 = Instance.new("Part")
  233. Script214 = Instance.new("Script")
  234. ObjectValue215 = Instance.new("ObjectValue")
  235. IntValue216 = Instance.new("IntValue")
  236. Script217 = Instance.new("Script")
  237. Script218 = Instance.new("Script")
  238. Script219 = Instance.new("Script")
  239. Part220 = Instance.new("Part")
  240. Decal221 = Instance.new("Decal")
  241. Model222 = Instance.new("Model")
  242. Model223 = Instance.new("Model")
  243. Part224 = Instance.new("Part")
  244. SpecialMesh225 = Instance.new("SpecialMesh")
  245. Decal226 = Instance.new("Decal")
  246. Part227 = Instance.new("Part")
  247. Part228 = Instance.new("Part")
  248. Part229 = Instance.new("Part")
  249. Humanoid230 = Instance.new("Humanoid")
  250. Part231 = Instance.new("Part")
  251. Script232 = Instance.new("Script")
  252. Part233 = Instance.new("Part")
  253. Script234 = Instance.new("Script")
  254. ObjectValue235 = Instance.new("ObjectValue")
  255. IntValue236 = Instance.new("IntValue")
  256. Script237 = Instance.new("Script")
  257. Script238 = Instance.new("Script")
  258. Script239 = Instance.new("Script")
  259. Part240 = Instance.new("Part")
  260. Decal241 = Instance.new("Decal")
  261. Model242 = Instance.new("Model")
  262. Model243 = Instance.new("Model")
  263. Part244 = Instance.new("Part")
  264. SpecialMesh245 = Instance.new("SpecialMesh")
  265. Decal246 = Instance.new("Decal")
  266. Part247 = Instance.new("Part")
  267. Part248 = Instance.new("Part")
  268. Part249 = Instance.new("Part")
  269. Humanoid250 = Instance.new("Humanoid")
  270. Part251 = Instance.new("Part")
  271. Script252 = Instance.new("Script")
  272. Part253 = Instance.new("Part")
  273. Script254 = Instance.new("Script")
  274. ObjectValue255 = Instance.new("ObjectValue")
  275. IntValue256 = Instance.new("IntValue")
  276. Script257 = Instance.new("Script")
  277. Script258 = Instance.new("Script")
  278. Script259 = Instance.new("Script")
  279. Part260 = Instance.new("Part")
  280. Decal261 = Instance.new("Decal")
  281. Model262 = Instance.new("Model")
  282. Model263 = Instance.new("Model")
  283. Part264 = Instance.new("Part")
  284. SpecialMesh265 = Instance.new("SpecialMesh")
  285. Decal266 = Instance.new("Decal")
  286. Part267 = Instance.new("Part")
  287. Part268 = Instance.new("Part")
  288. Part269 = Instance.new("Part")
  289. Humanoid270 = Instance.new("Humanoid")
  290. Part271 = Instance.new("Part")
  291. Script272 = Instance.new("Script")
  292. Part273 = Instance.new("Part")
  293. Script274 = Instance.new("Script")
  294. ObjectValue275 = Instance.new("ObjectValue")
  295. IntValue276 = Instance.new("IntValue")
  296. Script277 = Instance.new("Script")
  297. Script278 = Instance.new("Script")
  298. Script279 = Instance.new("Script")
  299. Part280 = Instance.new("Part")
  300. Decal281 = Instance.new("Decal")
  301. Model282 = Instance.new("Model")
  302. Model283 = Instance.new("Model")
  303. Part284 = Instance.new("Part")
  304. SpecialMesh285 = Instance.new("SpecialMesh")
  305. Decal286 = Instance.new("Decal")
  306. Part287 = Instance.new("Part")
  307. Part288 = Instance.new("Part")
  308. Part289 = Instance.new("Part")
  309. Humanoid290 = Instance.new("Humanoid")
  310. Part291 = Instance.new("Part")
  311. Script292 = Instance.new("Script")
  312. Part293 = Instance.new("Part")
  313. Script294 = Instance.new("Script")
  314. ObjectValue295 = Instance.new("ObjectValue")
  315. IntValue296 = Instance.new("IntValue")
  316. Script297 = Instance.new("Script")
  317. Script298 = Instance.new("Script")
  318. Script299 = Instance.new("Script")
  319. Part300 = Instance.new("Part")
  320. Decal301 = Instance.new("Decal")
  321. Model302 = Instance.new("Model")
  322. Model303 = Instance.new("Model")
  323. Part304 = Instance.new("Part")
  324. SpecialMesh305 = Instance.new("SpecialMesh")
  325. Decal306 = Instance.new("Decal")
  326. Part307 = Instance.new("Part")
  327. Part308 = Instance.new("Part")
  328. Part309 = Instance.new("Part")
  329. Humanoid310 = Instance.new("Humanoid")
  330. Part311 = Instance.new("Part")
  331. Script312 = Instance.new("Script")
  332. Part313 = Instance.new("Part")
  333. Script314 = Instance.new("Script")
  334. ObjectValue315 = Instance.new("ObjectValue")
  335. IntValue316 = Instance.new("IntValue")
  336. Script317 = Instance.new("Script")
  337. Script318 = Instance.new("Script")
  338. Script319 = Instance.new("Script")
  339. Part320 = Instance.new("Part")
  340. Decal321 = Instance.new("Decal")
  341. Model322 = Instance.new("Model")
  342. Model323 = Instance.new("Model")
  343. Part324 = Instance.new("Part")
  344. SpecialMesh325 = Instance.new("SpecialMesh")
  345. Decal326 = Instance.new("Decal")
  346. Part327 = Instance.new("Part")
  347. Part328 = Instance.new("Part")
  348. Part329 = Instance.new("Part")
  349. Humanoid330 = Instance.new("Humanoid")
  350. Part331 = Instance.new("Part")
  351. Script332 = Instance.new("Script")
  352. Part333 = Instance.new("Part")
  353. Script334 = Instance.new("Script")
  354. ObjectValue335 = Instance.new("ObjectValue")
  355. IntValue336 = Instance.new("IntValue")
  356. Script337 = Instance.new("Script")
  357. Script338 = Instance.new("Script")
  358. Script339 = Instance.new("Script")
  359. Part340 = Instance.new("Part")
  360. Decal341 = Instance.new("Decal")
  361. Model342 = Instance.new("Model")
  362. Model343 = Instance.new("Model")
  363. Part344 = Instance.new("Part")
  364. SpecialMesh345 = Instance.new("SpecialMesh")
  365. Decal346 = Instance.new("Decal")
  366. Part347 = Instance.new("Part")
  367. Part348 = Instance.new("Part")
  368. Part349 = Instance.new("Part")
  369. Humanoid350 = Instance.new("Humanoid")
  370. Part351 = Instance.new("Part")
  371. Script352 = Instance.new("Script")
  372. Part353 = Instance.new("Part")
  373. Script354 = Instance.new("Script")
  374. ObjectValue355 = Instance.new("ObjectValue")
  375. IntValue356 = Instance.new("IntValue")
  376. Script357 = Instance.new("Script")
  377. Script358 = Instance.new("Script")
  378. Script359 = Instance.new("Script")
  379. Part360 = Instance.new("Part")
  380. Decal361 = Instance.new("Decal")
  381. Model362 = Instance.new("Model")
  382. Model363 = Instance.new("Model")
  383. Part364 = Instance.new("Part")
  384. SpecialMesh365 = Instance.new("SpecialMesh")
  385. Decal366 = Instance.new("Decal")
  386. Part367 = Instance.new("Part")
  387. Part368 = Instance.new("Part")
  388. Part369 = Instance.new("Part")
  389. Humanoid370 = Instance.new("Humanoid")
  390. Part371 = Instance.new("Part")
  391. Script372 = Instance.new("Script")
  392. Part373 = Instance.new("Part")
  393. Script374 = Instance.new("Script")
  394. ObjectValue375 = Instance.new("ObjectValue")
  395. IntValue376 = Instance.new("IntValue")
  396. Script377 = Instance.new("Script")
  397. Script378 = Instance.new("Script")
  398. Script379 = Instance.new("Script")
  399. Part380 = Instance.new("Part")
  400. Decal381 = Instance.new("Decal")
  401. Model382 = Instance.new("Model")
  402. Model383 = Instance.new("Model")
  403. Part384 = Instance.new("Part")
  404. SpecialMesh385 = Instance.new("SpecialMesh")
  405. Decal386 = Instance.new("Decal")
  406. Part387 = Instance.new("Part")
  407. Part388 = Instance.new("Part")
  408. Part389 = Instance.new("Part")
  409. Humanoid390 = Instance.new("Humanoid")
  410. Part391 = Instance.new("Part")
  411. Script392 = Instance.new("Script")
  412. Part393 = Instance.new("Part")
  413. Script394 = Instance.new("Script")
  414. ObjectValue395 = Instance.new("ObjectValue")
  415. IntValue396 = Instance.new("IntValue")
  416. Script397 = Instance.new("Script")
  417. Script398 = Instance.new("Script")
  418. Script399 = Instance.new("Script")
  419. Part400 = Instance.new("Part")
  420. Decal401 = Instance.new("Decal")
  421. Model0.Parent = mas
  422. Model1.Parent = Model0
  423. Model2.Name = "Zombie"
  424. Model2.Parent = Model1
  425. Model2.PrimaryPart = Part3
  426. Part3.Name = "Head"
  427. Part3.Parent = Model2
  428. Part3.CFrame = CFrame.new(139.591461, 6.10000706, 101.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  429. Part3.Orientation = Vector3.new(0, 90, 0)
  430. Part3.Position = Vector3.new(139.591461, 6.10000706, 101.48645)
  431. Part3.Rotation = Vector3.new(0, 90, 0)
  432. Part3.Color = Color3.new(0.631373, 0.768628, 0.54902)
  433. Part3.Size = Vector3.new(2, 1, 1)
  434. Part3.BrickColor = BrickColor.new("Medium green")
  435. Part3.TopSurface = Enum.SurfaceType.Smooth
  436. Part3.brickColor = BrickColor.new("Medium green")
  437. Part3.FormFactor = Enum.FormFactor.Symmetric
  438. Part3.formFactor = Enum.FormFactor.Symmetric
  439. SpecialMesh4.Parent = Part3
  440. SpecialMesh4.Scale = Vector3.new(1.25, 1.25, 1.25)
  441. Decal5.Name = "face"
  442. Decal5.Parent = Part3
  443. Part6.Name = "Torso"
  444. Part6.Parent = Model2
  445. Part6.CFrame = CFrame.new(139.591461, 4.60000706, 101.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  446. Part6.Orientation = Vector3.new(0, 90, 0)
  447. Part6.Position = Vector3.new(139.591461, 4.60000706, 101.48645)
  448. Part6.Rotation = Vector3.new(0, 90, 0)
  449. Part6.Color = Color3.new(0.411765, 0.25098, 0.156863)
  450. Part6.Size = Vector3.new(2, 2, 1)
  451. Part6.BrickColor = BrickColor.new("Reddish brown")
  452. Part6.LeftParamA = 0
  453. Part6.LeftParamB = 0
  454. Part6.LeftSurface = Enum.SurfaceType.Weld
  455. Part6.RightParamA = 0
  456. Part6.RightParamB = 0
  457. Part6.RightSurface = Enum.SurfaceType.Weld
  458. Part6.brickColor = BrickColor.new("Reddish brown")
  459. Part6.FormFactor = Enum.FormFactor.Symmetric
  460. Part6.formFactor = Enum.FormFactor.Symmetric
  461. Part7.Name = "Left Leg"
  462. Part7.Parent = Model2
  463. Part7.CFrame = CFrame.new(139.591461, 2.6000061, 101.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  464. Part7.Orientation = Vector3.new(0, 90, 0)
  465. Part7.Position = Vector3.new(139.591461, 2.6000061, 101.98645)
  466. Part7.Rotation = Vector3.new(0, 90, 0)
  467. Part7.Color = Color3.new(0.411765, 0.25098, 0.156863)
  468. Part7.Size = Vector3.new(1, 2, 1)
  469. Part7.BottomSurface = Enum.SurfaceType.Smooth
  470. Part7.BrickColor = BrickColor.new("Reddish brown")
  471. Part7.CanCollide = false
  472. Part7.brickColor = BrickColor.new("Reddish brown")
  473. Part7.FormFactor = Enum.FormFactor.Symmetric
  474. Part7.formFactor = Enum.FormFactor.Symmetric
  475. Part8.Name = "Right Leg"
  476. Part8.Parent = Model2
  477. Part8.CFrame = CFrame.new(139.591461, 2.6000061, 100.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  478. Part8.Orientation = Vector3.new(0, 90, 0)
  479. Part8.Position = Vector3.new(139.591461, 2.6000061, 100.98645)
  480. Part8.Rotation = Vector3.new(0, 90, 0)
  481. Part8.Color = Color3.new(0.411765, 0.25098, 0.156863)
  482. Part8.Size = Vector3.new(1, 2, 1)
  483. Part8.BottomSurface = Enum.SurfaceType.Smooth
  484. Part8.BrickColor = BrickColor.new("Reddish brown")
  485. Part8.CanCollide = false
  486. Part8.brickColor = BrickColor.new("Reddish brown")
  487. Part8.FormFactor = Enum.FormFactor.Symmetric
  488. Part8.formFactor = Enum.FormFactor.Symmetric
  489. Humanoid9.Parent = Model2
  490. Humanoid9.LeftLeg = Part7
  491. Humanoid9.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  492. Humanoid9.RightLeg = Part8
  493. Humanoid9.Torso = Part6
  494. Part10.Name = "zarm"
  495. Part10.Parent = Model2
  496. Part10.CFrame = CFrame.new(139.091461, 5.10000706, 102.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  497. Part10.Orientation = Vector3.new(0, 180, 0)
  498. Part10.Position = Vector3.new(139.091461, 5.10000706, 102.98645)
  499. Part10.Rotation = Vector3.new(-180, 0, -180)
  500. Part10.Color = Color3.new(0.631373, 0.768628, 0.54902)
  501. Part10.Size = Vector3.new(2, 1, 1)
  502. Part10.BottomSurface = Enum.SurfaceType.Smooth
  503. Part10.BrickColor = BrickColor.new("Medium green")
  504. Part10.TopSurface = Enum.SurfaceType.Smooth
  505. Part10.brickColor = BrickColor.new("Medium green")
  506. Part10.FormFactor = Enum.FormFactor.Symmetric
  507. Part10.formFactor = Enum.FormFactor.Symmetric
  508. Script11.Parent = Part10
  509. table.insert(cors,sandbox(Script11,function()
  510. wait(1)
  511. owner=script.Parent.Parent.Name
  512.  
  513. function onTouched(part)
  514. if part.Parent ~= nil then
  515. local h = part.Parent:findFirstChild("Humanoid")
  516. if h~=nil then
  517. if cantouch~=0 then
  518. if h.Parent.Name~=owner then
  519.  
  520. if h.Parent:findFirstChild("zarm")~=nil then return end
  521.  
  522. cantouch=0
  523.  
  524. local larm=h.Parent:findFirstChild("Left Arm")
  525. local rarm=h.Parent:findFirstChild("Right Arm")
  526.  
  527. if larm~=nil then
  528. larm:remove()
  529. end
  530. if rarm~=nil then
  531. rarm:remove()
  532. end
  533. local zee=script.Parent.Parent:findFirstChild("zarm")
  534. if zee~=nil then
  535. local zlarm=zee:clone()
  536. local zrarm=zee:clone()
  537. if zlarm~=nil then
  538.  
  539. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  540. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  541. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  542. zlarm.Parent=h.Parent
  543. zrarm.Parent=h.Parent
  544. zlarm:makeJoints()
  545. zrarm:makeJoints()
  546. zlarm.Anchored=false
  547. zrarm.Anchored=false
  548. wait(0.1)
  549. h.Parent.Head.Color=zee.Color
  550. else print("no zee"); return end
  551. end
  552. wait(1)
  553. cantouch=1
  554. end
  555. end
  556. end
  557. end
  558. end
  559.  
  560. script.Parent.Touched:connect(onTouched)
  561. end))
  562. Part12.Name = "zarm"
  563. Part12.Parent = Model2
  564. Part12.CFrame = CFrame.new(139.091461, 5.10000706, 99.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  565. Part12.Orientation = Vector3.new(0, 180, 0)
  566. Part12.Position = Vector3.new(139.091461, 5.10000706, 99.9864502)
  567. Part12.Rotation = Vector3.new(-180, 0, -180)
  568. Part12.Color = Color3.new(0.631373, 0.768628, 0.54902)
  569. Part12.Size = Vector3.new(2, 1, 1)
  570. Part12.BottomSurface = Enum.SurfaceType.Smooth
  571. Part12.BrickColor = BrickColor.new("Medium green")
  572. Part12.TopSurface = Enum.SurfaceType.Smooth
  573. Part12.brickColor = BrickColor.new("Medium green")
  574. Part12.FormFactor = Enum.FormFactor.Symmetric
  575. Part12.formFactor = Enum.FormFactor.Symmetric
  576. Script13.Parent = Part12
  577. table.insert(cors,sandbox(Script13,function()
  578. wait(1)
  579. owner=script.Parent.Parent.Name
  580.  
  581. function onTouched(part)
  582. if part.Parent ~= nil then
  583. local h = part.Parent:findFirstChild("Humanoid")
  584. if h~=nil then
  585. if cantouch~=0 then
  586. if h.Parent.Name~=owner then
  587.  
  588. if h.Parent:findFirstChild("zarm")~=nil then return end
  589.  
  590. cantouch=0
  591.  
  592. local larm=h.Parent:findFirstChild("Left Arm")
  593. local rarm=h.Parent:findFirstChild("Right Arm")
  594.  
  595. if larm~=nil then
  596. larm:remove()
  597. end
  598. if rarm~=nil then
  599. rarm:remove()
  600. end
  601. local zee=script.Parent.Parent:findFirstChild("zarm")
  602. if zee~=nil then
  603. local zlarm=zee:clone()
  604. local zrarm=zee:clone()
  605. if zlarm~=nil then
  606.  
  607. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  608. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  609. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  610. zlarm.Parent=h.Parent
  611. zrarm.Parent=h.Parent
  612. zlarm:makeJoints()
  613. zrarm:makeJoints()
  614. zlarm.Anchored=false
  615. zrarm.Anchored=false
  616. wait(0.1)
  617. h.Parent.Head.Color=zee.Color
  618. else print("no zee"); return end
  619. end
  620. wait(1)
  621. cantouch=1
  622. end
  623. end
  624. end
  625. end
  626. end
  627.  
  628. script.Parent.Touched:connect(onTouched)
  629. end))
  630. ObjectValue14.Name = "IsNZ"
  631. ObjectValue14.Parent = Model2
  632. IntValue15.Name = "Mode"
  633. IntValue15.Parent = Model2
  634. Script16.Parent = Model2
  635. table.insert(cors,sandbox(Script16,function()
  636. local larm = script.Parent:FindFirstChild("Left Arm")
  637. local rarm = script.Parent:FindFirstChild("Right Arm")
  638.  
  639. function findNearestTorso(pos)
  640. local list = game.Workspace:children()
  641. local torso = nil
  642. local dist = 1000
  643. local temp = nil
  644. local human = nil
  645. local temp2 = nil
  646. for x = 1, #list do
  647. temp2 = list[x]
  648. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  649. temp = temp2:findFirstChild("Right Arm")
  650. human = temp2:findFirstChild("Humanoid")
  651. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  652. if (temp.Position - pos).magnitude < dist then
  653. torso = temp
  654. dist = (temp.Position - pos).magnitude
  655. end
  656. end
  657. end
  658. end
  659. return torso
  660. end
  661.  
  662.  
  663.  
  664.  
  665. while true do
  666. wait(math.random(1,5))
  667. local target = findNearestTorso(script.Parent.Torso.Position)
  668. if target ~= nil then
  669. script.Parent.Humanoid:MoveTo(target.Position, target)
  670. end
  671.  
  672. end
  673.  
  674. end))
  675. Script17.Name = "Health"
  676. Script17.Parent = Model2
  677. table.insert(cors,sandbox(Script17,function()
  678. function waitForChild(parent, childName)
  679. while true do
  680. local child = parent:findFirstChild(childName)
  681. if child then
  682. return child
  683. end
  684. parent.ChildAdded:wait()
  685. end
  686. end
  687.  
  688. -- declarations
  689.  
  690. local Figure = script.Parent
  691. local Head = waitForChild(Figure, "Head")
  692. local Humanoid = waitForChild(Figure, "Humanoid")
  693. Humanoid.Health=500
  694. -- regeneration
  695. while true do
  696. local s = wait(4)
  697. local health = Humanoid.Health
  698. if health > 0 and health < Humanoid.MaxHealth then
  699. health = health + 0.08 * s * Humanoid.MaxHealth
  700. if health * 1.05 < Humanoid.MaxHealth then
  701. Humanoid.Health = health
  702. else
  703. Humanoid.Health = Humanoid.MaxHealth
  704. end
  705. end
  706. end
  707.  
  708. end))
  709. Script18.Name = "Respawn"
  710. Script18.Parent = Model2
  711. table.insert(cors,sandbox(Script18,function()
  712. name="Humanoid"
  713.  
  714. robo=script.Parent:clone()
  715.  
  716. while true do
  717. wait(1)
  718. if script.Parent.Humanoid.Health<1 then
  719. robot=robo:clone()
  720. robot.Parent=script.Parent.Parent
  721. robot:makeJoints()
  722. script.Parent:remove()
  723. end
  724. end
  725.  
  726.  
  727.  
  728.  
  729. end))
  730. Part19.Name = "Spawn Location"
  731. Part19.Parent = Model1
  732. Part19.CFrame = CFrame.new(139.113556, 0.603018999, 101.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  733. Part19.Orientation = Vector3.new(0, 180, 0)
  734. Part19.Position = Vector3.new(139.113556, 0.603018999, 101.491455)
  735. Part19.Rotation = Vector3.new(-180, 0, -180)
  736. Part19.Color = Color3.new(0.631373, 0.768628, 0.54902)
  737. Part19.Size = Vector3.new(6, 1.20000005, 6)
  738. Part19.BottomSurface = Enum.SurfaceType.Weld
  739. Part19.BrickColor = BrickColor.new("Medium green")
  740. Part19.TopSurface = Enum.SurfaceType.Smooth
  741. Part19.brickColor = BrickColor.new("Medium green")
  742. Decal20.Parent = Part19
  743. Decal20.Texture = "http://www.roblox.com/asset/?id=34541722"
  744. Decal20.Face = Enum.NormalId.Top
  745. Model21.Parent = Model0
  746. Model22.Name = "Zombie"
  747. Model22.Parent = Model21
  748. Model22.PrimaryPart = Part23
  749. Part23.Name = "Head"
  750. Part23.Parent = Model22
  751. Part23.CFrame = CFrame.new(139.591461, 6.10000706, 95.4864502, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  752. Part23.Orientation = Vector3.new(0, 90, 0)
  753. Part23.Position = Vector3.new(139.591461, 6.10000706, 95.4864502)
  754. Part23.Rotation = Vector3.new(0, 90, 0)
  755. Part23.Color = Color3.new(0.631373, 0.768628, 0.54902)
  756. Part23.Size = Vector3.new(2, 1, 1)
  757. Part23.BrickColor = BrickColor.new("Medium green")
  758. Part23.TopSurface = Enum.SurfaceType.Smooth
  759. Part23.brickColor = BrickColor.new("Medium green")
  760. Part23.FormFactor = Enum.FormFactor.Symmetric
  761. Part23.formFactor = Enum.FormFactor.Symmetric
  762. SpecialMesh24.Parent = Part23
  763. SpecialMesh24.Scale = Vector3.new(1.25, 1.25, 1.25)
  764. Decal25.Name = "face"
  765. Decal25.Parent = Part23
  766. Part26.Name = "Torso"
  767. Part26.Parent = Model22
  768. Part26.CFrame = CFrame.new(139.591461, 4.60000706, 95.4864502, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  769. Part26.Orientation = Vector3.new(0, 90, 0)
  770. Part26.Position = Vector3.new(139.591461, 4.60000706, 95.4864502)
  771. Part26.Rotation = Vector3.new(0, 90, 0)
  772. Part26.Color = Color3.new(0.411765, 0.25098, 0.156863)
  773. Part26.Size = Vector3.new(2, 2, 1)
  774. Part26.BrickColor = BrickColor.new("Reddish brown")
  775. Part26.LeftParamA = 0
  776. Part26.LeftParamB = 0
  777. Part26.LeftSurface = Enum.SurfaceType.Weld
  778. Part26.RightParamA = 0
  779. Part26.RightParamB = 0
  780. Part26.RightSurface = Enum.SurfaceType.Weld
  781. Part26.brickColor = BrickColor.new("Reddish brown")
  782. Part26.FormFactor = Enum.FormFactor.Symmetric
  783. Part26.formFactor = Enum.FormFactor.Symmetric
  784. Part27.Name = "Left Leg"
  785. Part27.Parent = Model22
  786. Part27.CFrame = CFrame.new(139.591461, 2.6000061, 95.9864502, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  787. Part27.Orientation = Vector3.new(0, 90, 0)
  788. Part27.Position = Vector3.new(139.591461, 2.6000061, 95.9864502)
  789. Part27.Rotation = Vector3.new(0, 90, 0)
  790. Part27.Color = Color3.new(0.411765, 0.25098, 0.156863)
  791. Part27.Size = Vector3.new(1, 2, 1)
  792. Part27.BottomSurface = Enum.SurfaceType.Smooth
  793. Part27.BrickColor = BrickColor.new("Reddish brown")
  794. Part27.CanCollide = false
  795. Part27.brickColor = BrickColor.new("Reddish brown")
  796. Part27.FormFactor = Enum.FormFactor.Symmetric
  797. Part27.formFactor = Enum.FormFactor.Symmetric
  798. Part28.Name = "Right Leg"
  799. Part28.Parent = Model22
  800. Part28.CFrame = CFrame.new(139.591461, 2.6000061, 94.9864502, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  801. Part28.Orientation = Vector3.new(0, 90, 0)
  802. Part28.Position = Vector3.new(139.591461, 2.6000061, 94.9864502)
  803. Part28.Rotation = Vector3.new(0, 90, 0)
  804. Part28.Color = Color3.new(0.411765, 0.25098, 0.156863)
  805. Part28.Size = Vector3.new(1, 2, 1)
  806. Part28.BottomSurface = Enum.SurfaceType.Smooth
  807. Part28.BrickColor = BrickColor.new("Reddish brown")
  808. Part28.CanCollide = false
  809. Part28.brickColor = BrickColor.new("Reddish brown")
  810. Part28.FormFactor = Enum.FormFactor.Symmetric
  811. Part28.formFactor = Enum.FormFactor.Symmetric
  812. Humanoid29.Parent = Model22
  813. Humanoid29.LeftLeg = Part27
  814. Humanoid29.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  815. Humanoid29.RightLeg = Part28
  816. Humanoid29.Torso = Part26
  817. Part30.Name = "zarm"
  818. Part30.Parent = Model22
  819. Part30.CFrame = CFrame.new(139.091461, 5.10000706, 96.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  820. Part30.Orientation = Vector3.new(0, 180, 0)
  821. Part30.Position = Vector3.new(139.091461, 5.10000706, 96.9864502)
  822. Part30.Rotation = Vector3.new(-180, 0, -180)
  823. Part30.Color = Color3.new(0.631373, 0.768628, 0.54902)
  824. Part30.Size = Vector3.new(2, 1, 1)
  825. Part30.BottomSurface = Enum.SurfaceType.Smooth
  826. Part30.BrickColor = BrickColor.new("Medium green")
  827. Part30.TopSurface = Enum.SurfaceType.Smooth
  828. Part30.brickColor = BrickColor.new("Medium green")
  829. Part30.FormFactor = Enum.FormFactor.Symmetric
  830. Part30.formFactor = Enum.FormFactor.Symmetric
  831. Script31.Parent = Part30
  832. table.insert(cors,sandbox(Script31,function()
  833. wait(1)
  834. owner=script.Parent.Parent.Name
  835.  
  836. function onTouched(part)
  837. if part.Parent ~= nil then
  838. local h = part.Parent:findFirstChild("Humanoid")
  839. if h~=nil then
  840. if cantouch~=0 then
  841. if h.Parent.Name~=owner then
  842.  
  843. if h.Parent:findFirstChild("zarm")~=nil then return end
  844.  
  845. cantouch=0
  846.  
  847. local larm=h.Parent:findFirstChild("Left Arm")
  848. local rarm=h.Parent:findFirstChild("Right Arm")
  849.  
  850. if larm~=nil then
  851. larm:remove()
  852. end
  853. if rarm~=nil then
  854. rarm:remove()
  855. end
  856. local zee=script.Parent.Parent:findFirstChild("zarm")
  857. if zee~=nil then
  858. local zlarm=zee:clone()
  859. local zrarm=zee:clone()
  860. if zlarm~=nil then
  861.  
  862. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  863. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  864. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  865. zlarm.Parent=h.Parent
  866. zrarm.Parent=h.Parent
  867. zlarm:makeJoints()
  868. zrarm:makeJoints()
  869. zlarm.Anchored=false
  870. zrarm.Anchored=false
  871. wait(0.1)
  872. h.Parent.Head.Color=zee.Color
  873. else print("no zee"); return end
  874. end
  875. wait(1)
  876. cantouch=1
  877. end
  878. end
  879. end
  880. end
  881. end
  882.  
  883. script.Parent.Touched:connect(onTouched)
  884. end))
  885. Part32.Name = "zarm"
  886. Part32.Parent = Model22
  887. Part32.CFrame = CFrame.new(139.091461, 5.10000706, 93.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  888. Part32.Orientation = Vector3.new(0, 180, 0)
  889. Part32.Position = Vector3.new(139.091461, 5.10000706, 93.9864502)
  890. Part32.Rotation = Vector3.new(-180, 0, -180)
  891. Part32.Color = Color3.new(0.631373, 0.768628, 0.54902)
  892. Part32.Size = Vector3.new(2, 1, 1)
  893. Part32.BottomSurface = Enum.SurfaceType.Smooth
  894. Part32.BrickColor = BrickColor.new("Medium green")
  895. Part32.TopSurface = Enum.SurfaceType.Smooth
  896. Part32.brickColor = BrickColor.new("Medium green")
  897. Part32.FormFactor = Enum.FormFactor.Symmetric
  898. Part32.formFactor = Enum.FormFactor.Symmetric
  899. Script33.Parent = Part32
  900. table.insert(cors,sandbox(Script33,function()
  901. wait(1)
  902. owner=script.Parent.Parent.Name
  903.  
  904. function onTouched(part)
  905. if part.Parent ~= nil then
  906. local h = part.Parent:findFirstChild("Humanoid")
  907. if h~=nil then
  908. if cantouch~=0 then
  909. if h.Parent.Name~=owner then
  910.  
  911. if h.Parent:findFirstChild("zarm")~=nil then return end
  912.  
  913. cantouch=0
  914.  
  915. local larm=h.Parent:findFirstChild("Left Arm")
  916. local rarm=h.Parent:findFirstChild("Right Arm")
  917.  
  918. if larm~=nil then
  919. larm:remove()
  920. end
  921. if rarm~=nil then
  922. rarm:remove()
  923. end
  924. local zee=script.Parent.Parent:findFirstChild("zarm")
  925. if zee~=nil then
  926. local zlarm=zee:clone()
  927. local zrarm=zee:clone()
  928. if zlarm~=nil then
  929.  
  930. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  931. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  932. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  933. zlarm.Parent=h.Parent
  934. zrarm.Parent=h.Parent
  935. zlarm:makeJoints()
  936. zrarm:makeJoints()
  937. zlarm.Anchored=false
  938. zrarm.Anchored=false
  939. wait(0.1)
  940. h.Parent.Head.Color=zee.Color
  941. else print("no zee"); return end
  942. end
  943. wait(1)
  944. cantouch=1
  945. end
  946. end
  947. end
  948. end
  949. end
  950.  
  951. script.Parent.Touched:connect(onTouched)
  952. end))
  953. ObjectValue34.Name = "IsNZ"
  954. ObjectValue34.Parent = Model22
  955. IntValue35.Name = "Mode"
  956. IntValue35.Parent = Model22
  957. Script36.Parent = Model22
  958. table.insert(cors,sandbox(Script36,function()
  959. local larm = script.Parent:FindFirstChild("Left Arm")
  960. local rarm = script.Parent:FindFirstChild("Right Arm")
  961.  
  962. function findNearestTorso(pos)
  963. local list = game.Workspace:children()
  964. local torso = nil
  965. local dist = 1000
  966. local temp = nil
  967. local human = nil
  968. local temp2 = nil
  969. for x = 1, #list do
  970. temp2 = list[x]
  971. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  972. temp = temp2:findFirstChild("Right Arm")
  973. human = temp2:findFirstChild("Humanoid")
  974. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  975. if (temp.Position - pos).magnitude < dist then
  976. torso = temp
  977. dist = (temp.Position - pos).magnitude
  978. end
  979. end
  980. end
  981. end
  982. return torso
  983. end
  984.  
  985.  
  986.  
  987.  
  988. while true do
  989. wait(math.random(1,5))
  990. local target = findNearestTorso(script.Parent.Torso.Position)
  991. if target ~= nil then
  992. script.Parent.Humanoid:MoveTo(target.Position, target)
  993. end
  994.  
  995. end
  996.  
  997. end))
  998. Script37.Name = "Health"
  999. Script37.Parent = Model22
  1000. table.insert(cors,sandbox(Script37,function()
  1001. function waitForChild(parent, childName)
  1002. while true do
  1003. local child = parent:findFirstChild(childName)
  1004. if child then
  1005. return child
  1006. end
  1007. parent.ChildAdded:wait()
  1008. end
  1009. end
  1010.  
  1011. -- declarations
  1012.  
  1013. local Figure = script.Parent
  1014. local Head = waitForChild(Figure, "Head")
  1015. local Humanoid = waitForChild(Figure, "Humanoid")
  1016. Humanoid.Health=500
  1017. -- regeneration
  1018. while true do
  1019. local s = wait(4)
  1020. local health = Humanoid.Health
  1021. if health > 0 and health < Humanoid.MaxHealth then
  1022. health = health + 0.08 * s * Humanoid.MaxHealth
  1023. if health * 1.05 < Humanoid.MaxHealth then
  1024. Humanoid.Health = health
  1025. else
  1026. Humanoid.Health = Humanoid.MaxHealth
  1027. end
  1028. end
  1029. end
  1030.  
  1031. end))
  1032. Script38.Name = "Respawn"
  1033. Script38.Parent = Model22
  1034. table.insert(cors,sandbox(Script38,function()
  1035. name="Humanoid"
  1036.  
  1037. robo=script.Parent:clone()
  1038.  
  1039. while true do
  1040. wait(1)
  1041. if script.Parent.Humanoid.Health<1 then
  1042. robot=robo:clone()
  1043. robot.Parent=script.Parent.Parent
  1044. robot:makeJoints()
  1045. script.Parent:remove()
  1046. end
  1047. end
  1048.  
  1049.  
  1050.  
  1051.  
  1052. end))
  1053. Part39.Name = "Spawn Location"
  1054. Part39.Parent = Model21
  1055. Part39.CFrame = CFrame.new(139.091461, 0.600013018, 95.4864502, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  1056. Part39.Orientation = Vector3.new(0, 180, 0)
  1057. Part39.Position = Vector3.new(139.091461, 0.600013018, 95.4864502)
  1058. Part39.Rotation = Vector3.new(-180, 0, -180)
  1059. Part39.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1060. Part39.Size = Vector3.new(6, 1.20000005, 6)
  1061. Part39.BottomSurface = Enum.SurfaceType.Weld
  1062. Part39.BrickColor = BrickColor.new("Medium green")
  1063. Part39.TopSurface = Enum.SurfaceType.Smooth
  1064. Part39.brickColor = BrickColor.new("Medium green")
  1065. Decal40.Parent = Part39
  1066. Decal40.Texture = "http://www.roblox.com/asset/?id=34541722"
  1067. Decal40.Face = Enum.NormalId.Top
  1068. Model41.Parent = Model0
  1069. Model42.Name = "Zombie"
  1070. Model42.Parent = Model41
  1071. Model42.PrimaryPart = Part43
  1072. Part43.Name = "Head"
  1073. Part43.Parent = Model42
  1074. Part43.CFrame = CFrame.new(139.591461, 6.10000706, 119.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1075. Part43.Orientation = Vector3.new(0, 90, 0)
  1076. Part43.Position = Vector3.new(139.591461, 6.10000706, 119.48645)
  1077. Part43.Rotation = Vector3.new(0, 90, 0)
  1078. Part43.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1079. Part43.Size = Vector3.new(2, 1, 1)
  1080. Part43.BrickColor = BrickColor.new("Medium green")
  1081. Part43.TopSurface = Enum.SurfaceType.Smooth
  1082. Part43.brickColor = BrickColor.new("Medium green")
  1083. Part43.FormFactor = Enum.FormFactor.Symmetric
  1084. Part43.formFactor = Enum.FormFactor.Symmetric
  1085. SpecialMesh44.Parent = Part43
  1086. SpecialMesh44.Scale = Vector3.new(1.25, 1.25, 1.25)
  1087. Decal45.Name = "face"
  1088. Decal45.Parent = Part43
  1089. Part46.Name = "Torso"
  1090. Part46.Parent = Model42
  1091. Part46.CFrame = CFrame.new(139.591461, 4.60000706, 119.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  1092. Part46.Orientation = Vector3.new(0, 90, 0)
  1093. Part46.Position = Vector3.new(139.591461, 4.60000706, 119.48645)
  1094. Part46.Rotation = Vector3.new(0, 90, 0)
  1095. Part46.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1096. Part46.Size = Vector3.new(2, 2, 1)
  1097. Part46.BrickColor = BrickColor.new("Reddish brown")
  1098. Part46.LeftParamA = 0
  1099. Part46.LeftParamB = 0
  1100. Part46.LeftSurface = Enum.SurfaceType.Weld
  1101. Part46.RightParamA = 0
  1102. Part46.RightParamB = 0
  1103. Part46.RightSurface = Enum.SurfaceType.Weld
  1104. Part46.brickColor = BrickColor.new("Reddish brown")
  1105. Part46.FormFactor = Enum.FormFactor.Symmetric
  1106. Part46.formFactor = Enum.FormFactor.Symmetric
  1107. Part47.Name = "Left Leg"
  1108. Part47.Parent = Model42
  1109. Part47.CFrame = CFrame.new(139.591461, 2.6000061, 119.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1110. Part47.Orientation = Vector3.new(0, 90, 0)
  1111. Part47.Position = Vector3.new(139.591461, 2.6000061, 119.98645)
  1112. Part47.Rotation = Vector3.new(0, 90, 0)
  1113. Part47.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1114. Part47.Size = Vector3.new(1, 2, 1)
  1115. Part47.BottomSurface = Enum.SurfaceType.Smooth
  1116. Part47.BrickColor = BrickColor.new("Reddish brown")
  1117. Part47.CanCollide = false
  1118. Part47.brickColor = BrickColor.new("Reddish brown")
  1119. Part47.FormFactor = Enum.FormFactor.Symmetric
  1120. Part47.formFactor = Enum.FormFactor.Symmetric
  1121. Part48.Name = "Right Leg"
  1122. Part48.Parent = Model42
  1123. Part48.CFrame = CFrame.new(139.591461, 2.6000061, 118.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1124. Part48.Orientation = Vector3.new(0, 90, 0)
  1125. Part48.Position = Vector3.new(139.591461, 2.6000061, 118.98645)
  1126. Part48.Rotation = Vector3.new(0, 90, 0)
  1127. Part48.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1128. Part48.Size = Vector3.new(1, 2, 1)
  1129. Part48.BottomSurface = Enum.SurfaceType.Smooth
  1130. Part48.BrickColor = BrickColor.new("Reddish brown")
  1131. Part48.CanCollide = false
  1132. Part48.brickColor = BrickColor.new("Reddish brown")
  1133. Part48.FormFactor = Enum.FormFactor.Symmetric
  1134. Part48.formFactor = Enum.FormFactor.Symmetric
  1135. Humanoid49.Parent = Model42
  1136. Humanoid49.LeftLeg = Part47
  1137. Humanoid49.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  1138. Humanoid49.RightLeg = Part48
  1139. Humanoid49.Torso = Part46
  1140. Part50.Name = "zarm"
  1141. Part50.Parent = Model42
  1142. Part50.CFrame = CFrame.new(139.091461, 5.10000706, 120.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  1143. Part50.Orientation = Vector3.new(0, 180, 0)
  1144. Part50.Position = Vector3.new(139.091461, 5.10000706, 120.98645)
  1145. Part50.Rotation = Vector3.new(-180, 0, -180)
  1146. Part50.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1147. Part50.Size = Vector3.new(2, 1, 1)
  1148. Part50.BottomSurface = Enum.SurfaceType.Smooth
  1149. Part50.BrickColor = BrickColor.new("Medium green")
  1150. Part50.TopSurface = Enum.SurfaceType.Smooth
  1151. Part50.brickColor = BrickColor.new("Medium green")
  1152. Part50.FormFactor = Enum.FormFactor.Symmetric
  1153. Part50.formFactor = Enum.FormFactor.Symmetric
  1154. Script51.Parent = Part50
  1155. table.insert(cors,sandbox(Script51,function()
  1156. wait(1)
  1157. owner=script.Parent.Parent.Name
  1158.  
  1159. function onTouched(part)
  1160. if part.Parent ~= nil then
  1161. local h = part.Parent:findFirstChild("Humanoid")
  1162. if h~=nil then
  1163. if cantouch~=0 then
  1164. if h.Parent.Name~=owner then
  1165.  
  1166. if h.Parent:findFirstChild("zarm")~=nil then return end
  1167.  
  1168. cantouch=0
  1169.  
  1170. local larm=h.Parent:findFirstChild("Left Arm")
  1171. local rarm=h.Parent:findFirstChild("Right Arm")
  1172.  
  1173. if larm~=nil then
  1174. larm:remove()
  1175. end
  1176. if rarm~=nil then
  1177. rarm:remove()
  1178. end
  1179. local zee=script.Parent.Parent:findFirstChild("zarm")
  1180. if zee~=nil then
  1181. local zlarm=zee:clone()
  1182. local zrarm=zee:clone()
  1183. if zlarm~=nil then
  1184.  
  1185. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1186. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1187. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1188. zlarm.Parent=h.Parent
  1189. zrarm.Parent=h.Parent
  1190. zlarm:makeJoints()
  1191. zrarm:makeJoints()
  1192. zlarm.Anchored=false
  1193. zrarm.Anchored=false
  1194. wait(0.1)
  1195. h.Parent.Head.Color=zee.Color
  1196. else print("no zee"); return end
  1197. end
  1198. wait(1)
  1199. cantouch=1
  1200. end
  1201. end
  1202. end
  1203. end
  1204. end
  1205.  
  1206. script.Parent.Touched:connect(onTouched)
  1207. end))
  1208. Part52.Name = "zarm"
  1209. Part52.Parent = Model42
  1210. Part52.CFrame = CFrame.new(139.091461, 5.10000706, 117.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  1211. Part52.Orientation = Vector3.new(0, 180, 0)
  1212. Part52.Position = Vector3.new(139.091461, 5.10000706, 117.98645)
  1213. Part52.Rotation = Vector3.new(-180, 0, -180)
  1214. Part52.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1215. Part52.Size = Vector3.new(2, 1, 1)
  1216. Part52.BottomSurface = Enum.SurfaceType.Smooth
  1217. Part52.BrickColor = BrickColor.new("Medium green")
  1218. Part52.TopSurface = Enum.SurfaceType.Smooth
  1219. Part52.brickColor = BrickColor.new("Medium green")
  1220. Part52.FormFactor = Enum.FormFactor.Symmetric
  1221. Part52.formFactor = Enum.FormFactor.Symmetric
  1222. Script53.Parent = Part52
  1223. table.insert(cors,sandbox(Script53,function()
  1224. wait(1)
  1225. owner=script.Parent.Parent.Name
  1226.  
  1227. function onTouched(part)
  1228. if part.Parent ~= nil then
  1229. local h = part.Parent:findFirstChild("Humanoid")
  1230. if h~=nil then
  1231. if cantouch~=0 then
  1232. if h.Parent.Name~=owner then
  1233.  
  1234. if h.Parent:findFirstChild("zarm")~=nil then return end
  1235.  
  1236. cantouch=0
  1237.  
  1238. local larm=h.Parent:findFirstChild("Left Arm")
  1239. local rarm=h.Parent:findFirstChild("Right Arm")
  1240.  
  1241. if larm~=nil then
  1242. larm:remove()
  1243. end
  1244. if rarm~=nil then
  1245. rarm:remove()
  1246. end
  1247. local zee=script.Parent.Parent:findFirstChild("zarm")
  1248. if zee~=nil then
  1249. local zlarm=zee:clone()
  1250. local zrarm=zee:clone()
  1251. if zlarm~=nil then
  1252.  
  1253. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1254. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1255. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1256. zlarm.Parent=h.Parent
  1257. zrarm.Parent=h.Parent
  1258. zlarm:makeJoints()
  1259. zrarm:makeJoints()
  1260. zlarm.Anchored=false
  1261. zrarm.Anchored=false
  1262. wait(0.1)
  1263. h.Parent.Head.Color=zee.Color
  1264. else print("no zee"); return end
  1265. end
  1266. wait(1)
  1267. cantouch=1
  1268. end
  1269. end
  1270. end
  1271. end
  1272. end
  1273.  
  1274. script.Parent.Touched:connect(onTouched)
  1275. end))
  1276. ObjectValue54.Name = "IsNZ"
  1277. ObjectValue54.Parent = Model42
  1278. IntValue55.Name = "Mode"
  1279. IntValue55.Parent = Model42
  1280. Script56.Parent = Model42
  1281. table.insert(cors,sandbox(Script56,function()
  1282. local larm = script.Parent:FindFirstChild("Left Arm")
  1283. local rarm = script.Parent:FindFirstChild("Right Arm")
  1284.  
  1285. function findNearestTorso(pos)
  1286. local list = game.Workspace:children()
  1287. local torso = nil
  1288. local dist = 1000
  1289. local temp = nil
  1290. local human = nil
  1291. local temp2 = nil
  1292. for x = 1, #list do
  1293. temp2 = list[x]
  1294. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  1295. temp = temp2:findFirstChild("Right Arm")
  1296. human = temp2:findFirstChild("Humanoid")
  1297. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1298. if (temp.Position - pos).magnitude < dist then
  1299. torso = temp
  1300. dist = (temp.Position - pos).magnitude
  1301. end
  1302. end
  1303. end
  1304. end
  1305. return torso
  1306. end
  1307.  
  1308.  
  1309.  
  1310.  
  1311. while true do
  1312. wait(math.random(1,5))
  1313. local target = findNearestTorso(script.Parent.Torso.Position)
  1314. if target ~= nil then
  1315. script.Parent.Humanoid:MoveTo(target.Position, target)
  1316. end
  1317.  
  1318. end
  1319.  
  1320. end))
  1321. Script57.Name = "Health"
  1322. Script57.Parent = Model42
  1323. table.insert(cors,sandbox(Script57,function()
  1324. function waitForChild(parent, childName)
  1325. while true do
  1326. local child = parent:findFirstChild(childName)
  1327. if child then
  1328. return child
  1329. end
  1330. parent.ChildAdded:wait()
  1331. end
  1332. end
  1333.  
  1334. -- declarations
  1335.  
  1336. local Figure = script.Parent
  1337. local Head = waitForChild(Figure, "Head")
  1338. local Humanoid = waitForChild(Figure, "Humanoid")
  1339. Humanoid.Health=500
  1340. -- regeneration
  1341. while true do
  1342. local s = wait(4)
  1343. local health = Humanoid.Health
  1344. if health > 0 and health < Humanoid.MaxHealth then
  1345. health = health + 0.08 * s * Humanoid.MaxHealth
  1346. if health * 1.05 < Humanoid.MaxHealth then
  1347. Humanoid.Health = health
  1348. else
  1349. Humanoid.Health = Humanoid.MaxHealth
  1350. end
  1351. end
  1352. end
  1353.  
  1354. end))
  1355. Script58.Name = "Respawn"
  1356. Script58.Parent = Model42
  1357. table.insert(cors,sandbox(Script58,function()
  1358. name="Humanoid"
  1359.  
  1360. robo=script.Parent:clone()
  1361.  
  1362. while true do
  1363. wait(1)
  1364. if script.Parent.Humanoid.Health<1 then
  1365. robot=robo:clone()
  1366. robot.Parent=script.Parent.Parent
  1367. robot:makeJoints()
  1368. script.Parent:remove()
  1369. end
  1370. end
  1371.  
  1372.  
  1373.  
  1374.  
  1375. end))
  1376. Part59.Name = "Spawn Location"
  1377. Part59.Parent = Model41
  1378. Part59.CFrame = CFrame.new(139.113556, 0.603018999, 119.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  1379. Part59.Orientation = Vector3.new(0, 180, 0)
  1380. Part59.Position = Vector3.new(139.113556, 0.603018999, 119.491455)
  1381. Part59.Rotation = Vector3.new(-180, 0, -180)
  1382. Part59.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1383. Part59.Size = Vector3.new(6, 1.20000005, 6)
  1384. Part59.BottomSurface = Enum.SurfaceType.Weld
  1385. Part59.BrickColor = BrickColor.new("Medium green")
  1386. Part59.TopSurface = Enum.SurfaceType.Smooth
  1387. Part59.brickColor = BrickColor.new("Medium green")
  1388. Decal60.Parent = Part59
  1389. Decal60.Texture = "http://www.roblox.com/asset/?id=34541722"
  1390. Decal60.Face = Enum.NormalId.Top
  1391. Model61.Parent = Model0
  1392. Model62.Name = "Zombie"
  1393. Model62.Parent = Model61
  1394. Model62.PrimaryPart = Part63
  1395. Part63.Name = "Head"
  1396. Part63.Parent = Model62
  1397. Part63.CFrame = CFrame.new(139.608551, 6.10000706, 107.513443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1398. Part63.Orientation = Vector3.new(0, 90, 0)
  1399. Part63.Position = Vector3.new(139.608551, 6.10000706, 107.513443)
  1400. Part63.Rotation = Vector3.new(0, 90, 0)
  1401. Part63.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1402. Part63.Size = Vector3.new(2, 1, 1)
  1403. Part63.BrickColor = BrickColor.new("Medium green")
  1404. Part63.TopSurface = Enum.SurfaceType.Smooth
  1405. Part63.brickColor = BrickColor.new("Medium green")
  1406. Part63.FormFactor = Enum.FormFactor.Symmetric
  1407. Part63.formFactor = Enum.FormFactor.Symmetric
  1408. SpecialMesh64.Parent = Part63
  1409. SpecialMesh64.Scale = Vector3.new(1.25, 1.25, 1.25)
  1410. Decal65.Name = "face"
  1411. Decal65.Parent = Part63
  1412. Part66.Name = "Torso"
  1413. Part66.Parent = Model62
  1414. Part66.CFrame = CFrame.new(139.608551, 4.60000706, 107.513443, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  1415. Part66.Orientation = Vector3.new(0, 90, 0)
  1416. Part66.Position = Vector3.new(139.608551, 4.60000706, 107.513443)
  1417. Part66.Rotation = Vector3.new(0, 90, 0)
  1418. Part66.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1419. Part66.Size = Vector3.new(2, 2, 1)
  1420. Part66.BrickColor = BrickColor.new("Reddish brown")
  1421. Part66.LeftParamA = 0
  1422. Part66.LeftParamB = 0
  1423. Part66.LeftSurface = Enum.SurfaceType.Weld
  1424. Part66.RightParamA = 0
  1425. Part66.RightParamB = 0
  1426. Part66.RightSurface = Enum.SurfaceType.Weld
  1427. Part66.brickColor = BrickColor.new("Reddish brown")
  1428. Part66.FormFactor = Enum.FormFactor.Symmetric
  1429. Part66.formFactor = Enum.FormFactor.Symmetric
  1430. Part67.Name = "Left Leg"
  1431. Part67.Parent = Model62
  1432. Part67.CFrame = CFrame.new(139.608551, 2.6000061, 108.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1433. Part67.Orientation = Vector3.new(0, 90, 0)
  1434. Part67.Position = Vector3.new(139.608551, 2.6000061, 108.013443)
  1435. Part67.Rotation = Vector3.new(0, 90, 0)
  1436. Part67.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1437. Part67.Size = Vector3.new(1, 2, 1)
  1438. Part67.BottomSurface = Enum.SurfaceType.Smooth
  1439. Part67.BrickColor = BrickColor.new("Reddish brown")
  1440. Part67.CanCollide = false
  1441. Part67.brickColor = BrickColor.new("Reddish brown")
  1442. Part67.FormFactor = Enum.FormFactor.Symmetric
  1443. Part67.formFactor = Enum.FormFactor.Symmetric
  1444. Part68.Name = "Right Leg"
  1445. Part68.Parent = Model62
  1446. Part68.CFrame = CFrame.new(139.608551, 2.6000061, 107.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1447. Part68.Orientation = Vector3.new(0, 90, 0)
  1448. Part68.Position = Vector3.new(139.608551, 2.6000061, 107.013443)
  1449. Part68.Rotation = Vector3.new(0, 90, 0)
  1450. Part68.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1451. Part68.Size = Vector3.new(1, 2, 1)
  1452. Part68.BottomSurface = Enum.SurfaceType.Smooth
  1453. Part68.BrickColor = BrickColor.new("Reddish brown")
  1454. Part68.CanCollide = false
  1455. Part68.brickColor = BrickColor.new("Reddish brown")
  1456. Part68.FormFactor = Enum.FormFactor.Symmetric
  1457. Part68.formFactor = Enum.FormFactor.Symmetric
  1458. Humanoid69.Parent = Model62
  1459. Humanoid69.LeftLeg = Part67
  1460. Humanoid69.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  1461. Humanoid69.RightLeg = Part68
  1462. Humanoid69.Torso = Part66
  1463. Part70.Name = "zarm"
  1464. Part70.Parent = Model62
  1465. Part70.CFrame = CFrame.new(139.108551, 5.10000706, 109.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  1466. Part70.Orientation = Vector3.new(0, 180, 0)
  1467. Part70.Position = Vector3.new(139.108551, 5.10000706, 109.013443)
  1468. Part70.Rotation = Vector3.new(-180, 0, -180)
  1469. Part70.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1470. Part70.Size = Vector3.new(2, 1, 1)
  1471. Part70.BottomSurface = Enum.SurfaceType.Smooth
  1472. Part70.BrickColor = BrickColor.new("Medium green")
  1473. Part70.TopSurface = Enum.SurfaceType.Smooth
  1474. Part70.brickColor = BrickColor.new("Medium green")
  1475. Part70.FormFactor = Enum.FormFactor.Symmetric
  1476. Part70.formFactor = Enum.FormFactor.Symmetric
  1477. Script71.Parent = Part70
  1478. table.insert(cors,sandbox(Script71,function()
  1479. wait(1)
  1480. owner=script.Parent.Parent.Name
  1481.  
  1482. function onTouched(part)
  1483. if part.Parent ~= nil then
  1484. local h = part.Parent:findFirstChild("Humanoid")
  1485. if h~=nil then
  1486. if cantouch~=0 then
  1487. if h.Parent.Name~=owner then
  1488.  
  1489. if h.Parent:findFirstChild("zarm")~=nil then return end
  1490.  
  1491. cantouch=0
  1492.  
  1493. local larm=h.Parent:findFirstChild("Left Arm")
  1494. local rarm=h.Parent:findFirstChild("Right Arm")
  1495.  
  1496. if larm~=nil then
  1497. larm:remove()
  1498. end
  1499. if rarm~=nil then
  1500. rarm:remove()
  1501. end
  1502. local zee=script.Parent.Parent:findFirstChild("zarm")
  1503. if zee~=nil then
  1504. local zlarm=zee:clone()
  1505. local zrarm=zee:clone()
  1506. if zlarm~=nil then
  1507.  
  1508. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1509. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1510. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1511. zlarm.Parent=h.Parent
  1512. zrarm.Parent=h.Parent
  1513. zlarm:makeJoints()
  1514. zrarm:makeJoints()
  1515. zlarm.Anchored=false
  1516. zrarm.Anchored=false
  1517. wait(0.1)
  1518. h.Parent.Head.Color=zee.Color
  1519. else print("no zee"); return end
  1520. end
  1521. wait(1)
  1522. cantouch=1
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528.  
  1529. script.Parent.Touched:connect(onTouched)
  1530. end))
  1531. Part72.Name = "zarm"
  1532. Part72.Parent = Model62
  1533. Part72.CFrame = CFrame.new(139.108551, 5.10000706, 106.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  1534. Part72.Orientation = Vector3.new(0, 180, 0)
  1535. Part72.Position = Vector3.new(139.108551, 5.10000706, 106.013443)
  1536. Part72.Rotation = Vector3.new(-180, 0, -180)
  1537. Part72.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1538. Part72.Size = Vector3.new(2, 1, 1)
  1539. Part72.BottomSurface = Enum.SurfaceType.Smooth
  1540. Part72.BrickColor = BrickColor.new("Medium green")
  1541. Part72.TopSurface = Enum.SurfaceType.Smooth
  1542. Part72.brickColor = BrickColor.new("Medium green")
  1543. Part72.FormFactor = Enum.FormFactor.Symmetric
  1544. Part72.formFactor = Enum.FormFactor.Symmetric
  1545. Script73.Parent = Part72
  1546. table.insert(cors,sandbox(Script73,function()
  1547. wait(1)
  1548. owner=script.Parent.Parent.Name
  1549.  
  1550. function onTouched(part)
  1551. if part.Parent ~= nil then
  1552. local h = part.Parent:findFirstChild("Humanoid")
  1553. if h~=nil then
  1554. if cantouch~=0 then
  1555. if h.Parent.Name~=owner then
  1556.  
  1557. if h.Parent:findFirstChild("zarm")~=nil then return end
  1558.  
  1559. cantouch=0
  1560.  
  1561. local larm=h.Parent:findFirstChild("Left Arm")
  1562. local rarm=h.Parent:findFirstChild("Right Arm")
  1563.  
  1564. if larm~=nil then
  1565. larm:remove()
  1566. end
  1567. if rarm~=nil then
  1568. rarm:remove()
  1569. end
  1570. local zee=script.Parent.Parent:findFirstChild("zarm")
  1571. if zee~=nil then
  1572. local zlarm=zee:clone()
  1573. local zrarm=zee:clone()
  1574. if zlarm~=nil then
  1575.  
  1576. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1577. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1578. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1579. zlarm.Parent=h.Parent
  1580. zrarm.Parent=h.Parent
  1581. zlarm:makeJoints()
  1582. zrarm:makeJoints()
  1583. zlarm.Anchored=false
  1584. zrarm.Anchored=false
  1585. wait(0.1)
  1586. h.Parent.Head.Color=zee.Color
  1587. else print("no zee"); return end
  1588. end
  1589. wait(1)
  1590. cantouch=1
  1591. end
  1592. end
  1593. end
  1594. end
  1595. end
  1596.  
  1597. script.Parent.Touched:connect(onTouched)
  1598. end))
  1599. ObjectValue74.Name = "IsNZ"
  1600. ObjectValue74.Parent = Model62
  1601. IntValue75.Name = "Mode"
  1602. IntValue75.Parent = Model62
  1603. Script76.Parent = Model62
  1604. table.insert(cors,sandbox(Script76,function()
  1605. local larm = script.Parent:FindFirstChild("Left Arm")
  1606. local rarm = script.Parent:FindFirstChild("Right Arm")
  1607.  
  1608. function findNearestTorso(pos)
  1609. local list = game.Workspace:children()
  1610. local torso = nil
  1611. local dist = 1000
  1612. local temp = nil
  1613. local human = nil
  1614. local temp2 = nil
  1615. for x = 1, #list do
  1616. temp2 = list[x]
  1617. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  1618. temp = temp2:findFirstChild("Right Arm")
  1619. human = temp2:findFirstChild("Humanoid")
  1620. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1621. if (temp.Position - pos).magnitude < dist then
  1622. torso = temp
  1623. dist = (temp.Position - pos).magnitude
  1624. end
  1625. end
  1626. end
  1627. end
  1628. return torso
  1629. end
  1630.  
  1631.  
  1632.  
  1633.  
  1634. while true do
  1635. wait(math.random(1,5))
  1636. local target = findNearestTorso(script.Parent.Torso.Position)
  1637. if target ~= nil then
  1638. script.Parent.Humanoid:MoveTo(target.Position, target)
  1639. end
  1640.  
  1641. end
  1642.  
  1643. end))
  1644. Script77.Name = "Health"
  1645. Script77.Parent = Model62
  1646. table.insert(cors,sandbox(Script77,function()
  1647. function waitForChild(parent, childName)
  1648. while true do
  1649. local child = parent:findFirstChild(childName)
  1650. if child then
  1651. return child
  1652. end
  1653. parent.ChildAdded:wait()
  1654. end
  1655. end
  1656.  
  1657. -- declarations
  1658.  
  1659. local Figure = script.Parent
  1660. local Head = waitForChild(Figure, "Head")
  1661. local Humanoid = waitForChild(Figure, "Humanoid")
  1662. Humanoid.Health=500
  1663. -- regeneration
  1664. while true do
  1665. local s = wait(4)
  1666. local health = Humanoid.Health
  1667. if health > 0 and health < Humanoid.MaxHealth then
  1668. health = health + 0.08 * s * Humanoid.MaxHealth
  1669. if health * 1.05 < Humanoid.MaxHealth then
  1670. Humanoid.Health = health
  1671. else
  1672. Humanoid.Health = Humanoid.MaxHealth
  1673. end
  1674. end
  1675. end
  1676.  
  1677. end))
  1678. Script78.Name = "Respawn"
  1679. Script78.Parent = Model62
  1680. table.insert(cors,sandbox(Script78,function()
  1681. name="Humanoid"
  1682.  
  1683. robo=script.Parent:clone()
  1684.  
  1685. while true do
  1686. wait(1)
  1687. if script.Parent.Humanoid.Health<1 then
  1688. robot=robo:clone()
  1689. robot.Parent=script.Parent.Parent
  1690. robot:makeJoints()
  1691. script.Parent:remove()
  1692. end
  1693. end
  1694.  
  1695.  
  1696.  
  1697.  
  1698. end))
  1699. Part79.Name = "Spawn Location"
  1700. Part79.Parent = Model61
  1701. Part79.CFrame = CFrame.new(139.113556, 0.603018999, 107.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  1702. Part79.Orientation = Vector3.new(0, 180, 0)
  1703. Part79.Position = Vector3.new(139.113556, 0.603018999, 107.491455)
  1704. Part79.Rotation = Vector3.new(-180, 0, -180)
  1705. Part79.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1706. Part79.Size = Vector3.new(6, 1.20000005, 6)
  1707. Part79.BottomSurface = Enum.SurfaceType.Weld
  1708. Part79.BrickColor = BrickColor.new("Medium green")
  1709. Part79.TopSurface = Enum.SurfaceType.Smooth
  1710. Part79.brickColor = BrickColor.new("Medium green")
  1711. Decal80.Parent = Part79
  1712. Decal80.Texture = "http://www.roblox.com/asset/?id=34541722"
  1713. Decal80.Face = Enum.NormalId.Top
  1714. Model81.Parent = Model0
  1715. Model82.Name = "Zombie"
  1716. Model82.Parent = Model81
  1717. Model82.PrimaryPart = Part83
  1718. Part83.Name = "Head"
  1719. Part83.Parent = Model82
  1720. Part83.CFrame = CFrame.new(139.608551, 6.10000706, 113.513443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1721. Part83.Orientation = Vector3.new(0, 90, 0)
  1722. Part83.Position = Vector3.new(139.608551, 6.10000706, 113.513443)
  1723. Part83.Rotation = Vector3.new(0, 90, 0)
  1724. Part83.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1725. Part83.Size = Vector3.new(2, 1, 1)
  1726. Part83.BrickColor = BrickColor.new("Medium green")
  1727. Part83.TopSurface = Enum.SurfaceType.Smooth
  1728. Part83.brickColor = BrickColor.new("Medium green")
  1729. Part83.FormFactor = Enum.FormFactor.Symmetric
  1730. Part83.formFactor = Enum.FormFactor.Symmetric
  1731. SpecialMesh84.Parent = Part83
  1732. SpecialMesh84.Scale = Vector3.new(1.25, 1.25, 1.25)
  1733. Decal85.Name = "face"
  1734. Decal85.Parent = Part83
  1735. Part86.Name = "Torso"
  1736. Part86.Parent = Model82
  1737. Part86.CFrame = CFrame.new(139.608551, 4.60000706, 113.513443, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  1738. Part86.Orientation = Vector3.new(0, 90, 0)
  1739. Part86.Position = Vector3.new(139.608551, 4.60000706, 113.513443)
  1740. Part86.Rotation = Vector3.new(0, 90, 0)
  1741. Part86.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1742. Part86.Size = Vector3.new(2, 2, 1)
  1743. Part86.BrickColor = BrickColor.new("Reddish brown")
  1744. Part86.LeftParamA = 0
  1745. Part86.LeftParamB = 0
  1746. Part86.LeftSurface = Enum.SurfaceType.Weld
  1747. Part86.RightParamA = 0
  1748. Part86.RightParamB = 0
  1749. Part86.RightSurface = Enum.SurfaceType.Weld
  1750. Part86.brickColor = BrickColor.new("Reddish brown")
  1751. Part86.FormFactor = Enum.FormFactor.Symmetric
  1752. Part86.formFactor = Enum.FormFactor.Symmetric
  1753. Part87.Name = "Left Leg"
  1754. Part87.Parent = Model82
  1755. Part87.CFrame = CFrame.new(139.608551, 2.6000061, 114.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1756. Part87.Orientation = Vector3.new(0, 90, 0)
  1757. Part87.Position = Vector3.new(139.608551, 2.6000061, 114.013443)
  1758. Part87.Rotation = Vector3.new(0, 90, 0)
  1759. Part87.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1760. Part87.Size = Vector3.new(1, 2, 1)
  1761. Part87.BottomSurface = Enum.SurfaceType.Smooth
  1762. Part87.BrickColor = BrickColor.new("Reddish brown")
  1763. Part87.CanCollide = false
  1764. Part87.brickColor = BrickColor.new("Reddish brown")
  1765. Part87.FormFactor = Enum.FormFactor.Symmetric
  1766. Part87.formFactor = Enum.FormFactor.Symmetric
  1767. Part88.Name = "Right Leg"
  1768. Part88.Parent = Model82
  1769. Part88.CFrame = CFrame.new(139.608551, 2.6000061, 113.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  1770. Part88.Orientation = Vector3.new(0, 90, 0)
  1771. Part88.Position = Vector3.new(139.608551, 2.6000061, 113.013443)
  1772. Part88.Rotation = Vector3.new(0, 90, 0)
  1773. Part88.Color = Color3.new(0.411765, 0.25098, 0.156863)
  1774. Part88.Size = Vector3.new(1, 2, 1)
  1775. Part88.BottomSurface = Enum.SurfaceType.Smooth
  1776. Part88.BrickColor = BrickColor.new("Reddish brown")
  1777. Part88.CanCollide = false
  1778. Part88.brickColor = BrickColor.new("Reddish brown")
  1779. Part88.FormFactor = Enum.FormFactor.Symmetric
  1780. Part88.formFactor = Enum.FormFactor.Symmetric
  1781. Humanoid89.Parent = Model82
  1782. Humanoid89.LeftLeg = Part87
  1783. Humanoid89.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  1784. Humanoid89.RightLeg = Part88
  1785. Humanoid89.Torso = Part86
  1786. Part90.Name = "zarm"
  1787. Part90.Parent = Model82
  1788. Part90.CFrame = CFrame.new(139.108551, 5.10000706, 115.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  1789. Part90.Orientation = Vector3.new(0, 180, 0)
  1790. Part90.Position = Vector3.new(139.108551, 5.10000706, 115.013443)
  1791. Part90.Rotation = Vector3.new(-180, 0, -180)
  1792. Part90.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1793. Part90.Size = Vector3.new(2, 1, 1)
  1794. Part90.BottomSurface = Enum.SurfaceType.Smooth
  1795. Part90.BrickColor = BrickColor.new("Medium green")
  1796. Part90.TopSurface = Enum.SurfaceType.Smooth
  1797. Part90.brickColor = BrickColor.new("Medium green")
  1798. Part90.FormFactor = Enum.FormFactor.Symmetric
  1799. Part90.formFactor = Enum.FormFactor.Symmetric
  1800. Script91.Parent = Part90
  1801. table.insert(cors,sandbox(Script91,function()
  1802. wait(1)
  1803. owner=script.Parent.Parent.Name
  1804.  
  1805. function onTouched(part)
  1806. if part.Parent ~= nil then
  1807. local h = part.Parent:findFirstChild("Humanoid")
  1808. if h~=nil then
  1809. if cantouch~=0 then
  1810. if h.Parent.Name~=owner then
  1811.  
  1812. if h.Parent:findFirstChild("zarm")~=nil then return end
  1813.  
  1814. cantouch=0
  1815.  
  1816. local larm=h.Parent:findFirstChild("Left Arm")
  1817. local rarm=h.Parent:findFirstChild("Right Arm")
  1818.  
  1819. if larm~=nil then
  1820. larm:remove()
  1821. end
  1822. if rarm~=nil then
  1823. rarm:remove()
  1824. end
  1825. local zee=script.Parent.Parent:findFirstChild("zarm")
  1826. if zee~=nil then
  1827. local zlarm=zee:clone()
  1828. local zrarm=zee:clone()
  1829. if zlarm~=nil then
  1830.  
  1831. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1832. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1833. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1834. zlarm.Parent=h.Parent
  1835. zrarm.Parent=h.Parent
  1836. zlarm:makeJoints()
  1837. zrarm:makeJoints()
  1838. zlarm.Anchored=false
  1839. zrarm.Anchored=false
  1840. wait(0.1)
  1841. h.Parent.Head.Color=zee.Color
  1842. else print("no zee"); return end
  1843. end
  1844. wait(1)
  1845. cantouch=1
  1846. end
  1847. end
  1848. end
  1849. end
  1850. end
  1851.  
  1852. script.Parent.Touched:connect(onTouched)
  1853. end))
  1854. Part92.Name = "zarm"
  1855. Part92.Parent = Model82
  1856. Part92.CFrame = CFrame.new(139.108551, 5.10000706, 112.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  1857. Part92.Orientation = Vector3.new(0, 180, 0)
  1858. Part92.Position = Vector3.new(139.108551, 5.10000706, 112.013443)
  1859. Part92.Rotation = Vector3.new(-180, 0, -180)
  1860. Part92.Color = Color3.new(0.631373, 0.768628, 0.54902)
  1861. Part92.Size = Vector3.new(2, 1, 1)
  1862. Part92.BottomSurface = Enum.SurfaceType.Smooth
  1863. Part92.BrickColor = BrickColor.new("Medium green")
  1864. Part92.TopSurface = Enum.SurfaceType.Smooth
  1865. Part92.brickColor = BrickColor.new("Medium green")
  1866. Part92.FormFactor = Enum.FormFactor.Symmetric
  1867. Part92.formFactor = Enum.FormFactor.Symmetric
  1868. Script93.Parent = Part92
  1869. table.insert(cors,sandbox(Script93,function()
  1870. wait(1)
  1871. owner=script.Parent.Parent.Name
  1872.  
  1873. function onTouched(part)
  1874. if part.Parent ~= nil then
  1875. local h = part.Parent:findFirstChild("Humanoid")
  1876. if h~=nil then
  1877. if cantouch~=0 then
  1878. if h.Parent.Name~=owner then
  1879.  
  1880. if h.Parent:findFirstChild("zarm")~=nil then return end
  1881.  
  1882. cantouch=0
  1883.  
  1884. local larm=h.Parent:findFirstChild("Left Arm")
  1885. local rarm=h.Parent:findFirstChild("Right Arm")
  1886.  
  1887. if larm~=nil then
  1888. larm:remove()
  1889. end
  1890. if rarm~=nil then
  1891. rarm:remove()
  1892. end
  1893. local zee=script.Parent.Parent:findFirstChild("zarm")
  1894. if zee~=nil then
  1895. local zlarm=zee:clone()
  1896. local zrarm=zee:clone()
  1897. if zlarm~=nil then
  1898.  
  1899. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1900. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  1901. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  1902. zlarm.Parent=h.Parent
  1903. zrarm.Parent=h.Parent
  1904. zlarm:makeJoints()
  1905. zrarm:makeJoints()
  1906. zlarm.Anchored=false
  1907. zrarm.Anchored=false
  1908. wait(0.1)
  1909. h.Parent.Head.Color=zee.Color
  1910. else print("no zee"); return end
  1911. end
  1912. wait(1)
  1913. cantouch=1
  1914. end
  1915. end
  1916. end
  1917. end
  1918. end
  1919.  
  1920. script.Parent.Touched:connect(onTouched)
  1921. end))
  1922. ObjectValue94.Name = "IsNZ"
  1923. ObjectValue94.Parent = Model82
  1924. IntValue95.Name = "Mode"
  1925. IntValue95.Parent = Model82
  1926. Script96.Parent = Model82
  1927. table.insert(cors,sandbox(Script96,function()
  1928. local larm = script.Parent:FindFirstChild("Left Arm")
  1929. local rarm = script.Parent:FindFirstChild("Right Arm")
  1930.  
  1931. function findNearestTorso(pos)
  1932. local list = game.Workspace:children()
  1933. local torso = nil
  1934. local dist = 1000
  1935. local temp = nil
  1936. local human = nil
  1937. local temp2 = nil
  1938. for x = 1, #list do
  1939. temp2 = list[x]
  1940. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  1941. temp = temp2:findFirstChild("Right Arm")
  1942. human = temp2:findFirstChild("Humanoid")
  1943. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1944. if (temp.Position - pos).magnitude < dist then
  1945. torso = temp
  1946. dist = (temp.Position - pos).magnitude
  1947. end
  1948. end
  1949. end
  1950. end
  1951. return torso
  1952. end
  1953.  
  1954.  
  1955.  
  1956.  
  1957. while true do
  1958. wait(math.random(1,5))
  1959. local target = findNearestTorso(script.Parent.Torso.Position)
  1960. if target ~= nil then
  1961. script.Parent.Humanoid:MoveTo(target.Position, target)
  1962. end
  1963.  
  1964. end
  1965.  
  1966. end))
  1967. Script97.Name = "Health"
  1968. Script97.Parent = Model82
  1969. table.insert(cors,sandbox(Script97,function()
  1970. function waitForChild(parent, childName)
  1971. while true do
  1972. local child = parent:findFirstChild(childName)
  1973. if child then
  1974. return child
  1975. end
  1976. parent.ChildAdded:wait()
  1977. end
  1978. end
  1979.  
  1980. -- declarations
  1981.  
  1982. local Figure = script.Parent
  1983. local Head = waitForChild(Figure, "Head")
  1984. local Humanoid = waitForChild(Figure, "Humanoid")
  1985. Humanoid.Health=500
  1986. -- regeneration
  1987. while true do
  1988. local s = wait(4)
  1989. local health = Humanoid.Health
  1990. if health > 0 and health < Humanoid.MaxHealth then
  1991. health = health + 0.08 * s * Humanoid.MaxHealth
  1992. if health * 1.05 < Humanoid.MaxHealth then
  1993. Humanoid.Health = health
  1994. else
  1995. Humanoid.Health = Humanoid.MaxHealth
  1996. end
  1997. end
  1998. end
  1999.  
  2000. end))
  2001. Script98.Name = "Respawn"
  2002. Script98.Parent = Model82
  2003. table.insert(cors,sandbox(Script98,function()
  2004. name="Humanoid"
  2005.  
  2006. robo=script.Parent:clone()
  2007.  
  2008. while true do
  2009. wait(1)
  2010. if script.Parent.Humanoid.Health<1 then
  2011. robot=robo:clone()
  2012. robot.Parent=script.Parent.Parent
  2013. robot:makeJoints()
  2014. script.Parent:remove()
  2015. end
  2016. end
  2017.  
  2018.  
  2019.  
  2020.  
  2021. end))
  2022. Part99.Name = "Spawn Location"
  2023. Part99.Parent = Model81
  2024. Part99.CFrame = CFrame.new(139.113571, 0.603018999, 113.49147, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  2025. Part99.Orientation = Vector3.new(0, 180, 0)
  2026. Part99.Position = Vector3.new(139.113571, 0.603018999, 113.49147)
  2027. Part99.Rotation = Vector3.new(-180, 0, -180)
  2028. Part99.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2029. Part99.Size = Vector3.new(6, 1.20000005, 6)
  2030. Part99.BottomSurface = Enum.SurfaceType.Weld
  2031. Part99.BrickColor = BrickColor.new("Medium green")
  2032. Part99.TopSurface = Enum.SurfaceType.Smooth
  2033. Part99.brickColor = BrickColor.new("Medium green")
  2034. Decal100.Parent = Part99
  2035. Decal100.Texture = "http://www.roblox.com/asset/?id=34541722"
  2036. Decal100.Face = Enum.NormalId.Top
  2037. Model101.Parent = Model0
  2038. Model102.Name = "Zombie"
  2039. Model102.Parent = Model101
  2040. Model102.PrimaryPart = Part103
  2041. Part103.Name = "Head"
  2042. Part103.Parent = Model102
  2043. Part103.CFrame = CFrame.new(133.586472, 6.09701204, 95.5084534, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2044. Part103.Orientation = Vector3.new(0, 90, 0)
  2045. Part103.Position = Vector3.new(133.586472, 6.09701204, 95.5084534)
  2046. Part103.Rotation = Vector3.new(0, 90, 0)
  2047. Part103.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2048. Part103.Size = Vector3.new(2, 1, 1)
  2049. Part103.BrickColor = BrickColor.new("Medium green")
  2050. Part103.TopSurface = Enum.SurfaceType.Smooth
  2051. Part103.brickColor = BrickColor.new("Medium green")
  2052. Part103.FormFactor = Enum.FormFactor.Symmetric
  2053. Part103.formFactor = Enum.FormFactor.Symmetric
  2054. SpecialMesh104.Parent = Part103
  2055. SpecialMesh104.Scale = Vector3.new(1.25, 1.25, 1.25)
  2056. Decal105.Name = "face"
  2057. Decal105.Parent = Part103
  2058. Part106.Name = "Torso"
  2059. Part106.Parent = Model102
  2060. Part106.CFrame = CFrame.new(133.586472, 4.59701204, 95.5084534, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  2061. Part106.Orientation = Vector3.new(0, 90, 0)
  2062. Part106.Position = Vector3.new(133.586472, 4.59701204, 95.5084534)
  2063. Part106.Rotation = Vector3.new(0, 90, 0)
  2064. Part106.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2065. Part106.Size = Vector3.new(2, 2, 1)
  2066. Part106.BrickColor = BrickColor.new("Reddish brown")
  2067. Part106.LeftParamA = 0
  2068. Part106.LeftParamB = 0
  2069. Part106.LeftSurface = Enum.SurfaceType.Weld
  2070. Part106.RightParamA = 0
  2071. Part106.RightParamB = 0
  2072. Part106.RightSurface = Enum.SurfaceType.Weld
  2073. Part106.brickColor = BrickColor.new("Reddish brown")
  2074. Part106.FormFactor = Enum.FormFactor.Symmetric
  2075. Part106.formFactor = Enum.FormFactor.Symmetric
  2076. Part107.Name = "Left Leg"
  2077. Part107.Parent = Model102
  2078. Part107.CFrame = CFrame.new(133.586472, 2.59700823, 96.0084534, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2079. Part107.Orientation = Vector3.new(0, 90, 0)
  2080. Part107.Position = Vector3.new(133.586472, 2.59700823, 96.0084534)
  2081. Part107.Rotation = Vector3.new(0, 90, 0)
  2082. Part107.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2083. Part107.Size = Vector3.new(1, 2, 1)
  2084. Part107.BottomSurface = Enum.SurfaceType.Smooth
  2085. Part107.BrickColor = BrickColor.new("Reddish brown")
  2086. Part107.CanCollide = false
  2087. Part107.brickColor = BrickColor.new("Reddish brown")
  2088. Part107.FormFactor = Enum.FormFactor.Symmetric
  2089. Part107.formFactor = Enum.FormFactor.Symmetric
  2090. Part108.Name = "Right Leg"
  2091. Part108.Parent = Model102
  2092. Part108.CFrame = CFrame.new(133.586472, 2.59700823, 95.0084534, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2093. Part108.Orientation = Vector3.new(0, 90, 0)
  2094. Part108.Position = Vector3.new(133.586472, 2.59700823, 95.0084534)
  2095. Part108.Rotation = Vector3.new(0, 90, 0)
  2096. Part108.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2097. Part108.Size = Vector3.new(1, 2, 1)
  2098. Part108.BottomSurface = Enum.SurfaceType.Smooth
  2099. Part108.BrickColor = BrickColor.new("Reddish brown")
  2100. Part108.CanCollide = false
  2101. Part108.brickColor = BrickColor.new("Reddish brown")
  2102. Part108.FormFactor = Enum.FormFactor.Symmetric
  2103. Part108.formFactor = Enum.FormFactor.Symmetric
  2104. Humanoid109.Parent = Model102
  2105. Humanoid109.LeftLeg = Part107
  2106. Humanoid109.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  2107. Humanoid109.RightLeg = Part108
  2108. Humanoid109.Torso = Part106
  2109. Part110.Name = "zarm"
  2110. Part110.Parent = Model102
  2111. Part110.CFrame = CFrame.new(133.086472, 5.09701204, 97.0084534, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  2112. Part110.Orientation = Vector3.new(0, 180, 0)
  2113. Part110.Position = Vector3.new(133.086472, 5.09701204, 97.0084534)
  2114. Part110.Rotation = Vector3.new(-180, 0, -180)
  2115. Part110.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2116. Part110.Size = Vector3.new(2, 1, 1)
  2117. Part110.BottomSurface = Enum.SurfaceType.Smooth
  2118. Part110.BrickColor = BrickColor.new("Medium green")
  2119. Part110.TopSurface = Enum.SurfaceType.Smooth
  2120. Part110.brickColor = BrickColor.new("Medium green")
  2121. Part110.FormFactor = Enum.FormFactor.Symmetric
  2122. Part110.formFactor = Enum.FormFactor.Symmetric
  2123. Script111.Parent = Part110
  2124. table.insert(cors,sandbox(Script111,function()
  2125. wait(1)
  2126. owner=script.Parent.Parent.Name
  2127.  
  2128. function onTouched(part)
  2129. if part.Parent ~= nil then
  2130. local h = part.Parent:findFirstChild("Humanoid")
  2131. if h~=nil then
  2132. if cantouch~=0 then
  2133. if h.Parent.Name~=owner then
  2134.  
  2135. if h.Parent:findFirstChild("zarm")~=nil then return end
  2136.  
  2137. cantouch=0
  2138.  
  2139. local larm=h.Parent:findFirstChild("Left Arm")
  2140. local rarm=h.Parent:findFirstChild("Right Arm")
  2141.  
  2142. if larm~=nil then
  2143. larm:remove()
  2144. end
  2145. if rarm~=nil then
  2146. rarm:remove()
  2147. end
  2148. local zee=script.Parent.Parent:findFirstChild("zarm")
  2149. if zee~=nil then
  2150. local zlarm=zee:clone()
  2151. local zrarm=zee:clone()
  2152. if zlarm~=nil then
  2153.  
  2154. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2155. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  2156. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  2157. zlarm.Parent=h.Parent
  2158. zrarm.Parent=h.Parent
  2159. zlarm:makeJoints()
  2160. zrarm:makeJoints()
  2161. zlarm.Anchored=false
  2162. zrarm.Anchored=false
  2163. wait(0.1)
  2164. h.Parent.Head.Color=zee.Color
  2165. else print("no zee"); return end
  2166. end
  2167. wait(1)
  2168. cantouch=1
  2169. end
  2170. end
  2171. end
  2172. end
  2173. end
  2174.  
  2175. script.Parent.Touched:connect(onTouched)
  2176. end))
  2177. Part112.Name = "zarm"
  2178. Part112.Parent = Model102
  2179. Part112.CFrame = CFrame.new(133.086472, 5.09701204, 94.0084534, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  2180. Part112.Orientation = Vector3.new(0, 180, 0)
  2181. Part112.Position = Vector3.new(133.086472, 5.09701204, 94.0084534)
  2182. Part112.Rotation = Vector3.new(-180, 0, -180)
  2183. Part112.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2184. Part112.Size = Vector3.new(2, 1, 1)
  2185. Part112.BottomSurface = Enum.SurfaceType.Smooth
  2186. Part112.BrickColor = BrickColor.new("Medium green")
  2187. Part112.TopSurface = Enum.SurfaceType.Smooth
  2188. Part112.brickColor = BrickColor.new("Medium green")
  2189. Part112.FormFactor = Enum.FormFactor.Symmetric
  2190. Part112.formFactor = Enum.FormFactor.Symmetric
  2191. Script113.Parent = Part112
  2192. table.insert(cors,sandbox(Script113,function()
  2193. wait(1)
  2194. owner=script.Parent.Parent.Name
  2195.  
  2196. function onTouched(part)
  2197. if part.Parent ~= nil then
  2198. local h = part.Parent:findFirstChild("Humanoid")
  2199. if h~=nil then
  2200. if cantouch~=0 then
  2201. if h.Parent.Name~=owner then
  2202.  
  2203. if h.Parent:findFirstChild("zarm")~=nil then return end
  2204.  
  2205. cantouch=0
  2206.  
  2207. local larm=h.Parent:findFirstChild("Left Arm")
  2208. local rarm=h.Parent:findFirstChild("Right Arm")
  2209.  
  2210. if larm~=nil then
  2211. larm:remove()
  2212. end
  2213. if rarm~=nil then
  2214. rarm:remove()
  2215. end
  2216. local zee=script.Parent.Parent:findFirstChild("zarm")
  2217. if zee~=nil then
  2218. local zlarm=zee:clone()
  2219. local zrarm=zee:clone()
  2220. if zlarm~=nil then
  2221.  
  2222. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2223. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  2224. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  2225. zlarm.Parent=h.Parent
  2226. zrarm.Parent=h.Parent
  2227. zlarm:makeJoints()
  2228. zrarm:makeJoints()
  2229. zlarm.Anchored=false
  2230. zrarm.Anchored=false
  2231. wait(0.1)
  2232. h.Parent.Head.Color=zee.Color
  2233. else print("no zee"); return end
  2234. end
  2235. wait(1)
  2236. cantouch=1
  2237. end
  2238. end
  2239. end
  2240. end
  2241. end
  2242.  
  2243. script.Parent.Touched:connect(onTouched)
  2244. end))
  2245. ObjectValue114.Name = "IsNZ"
  2246. ObjectValue114.Parent = Model102
  2247. IntValue115.Name = "Mode"
  2248. IntValue115.Parent = Model102
  2249. Script116.Parent = Model102
  2250. table.insert(cors,sandbox(Script116,function()
  2251. local larm = script.Parent:FindFirstChild("Left Arm")
  2252. local rarm = script.Parent:FindFirstChild("Right Arm")
  2253.  
  2254. function findNearestTorso(pos)
  2255. local list = game.Workspace:children()
  2256. local torso = nil
  2257. local dist = 1000
  2258. local temp = nil
  2259. local human = nil
  2260. local temp2 = nil
  2261. for x = 1, #list do
  2262. temp2 = list[x]
  2263. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  2264. temp = temp2:findFirstChild("Right Arm")
  2265. human = temp2:findFirstChild("Humanoid")
  2266. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2267. if (temp.Position - pos).magnitude < dist then
  2268. torso = temp
  2269. dist = (temp.Position - pos).magnitude
  2270. end
  2271. end
  2272. end
  2273. end
  2274. return torso
  2275. end
  2276.  
  2277.  
  2278.  
  2279.  
  2280. while true do
  2281. wait(math.random(1,5))
  2282. local target = findNearestTorso(script.Parent.Torso.Position)
  2283. if target ~= nil then
  2284. script.Parent.Humanoid:MoveTo(target.Position, target)
  2285. end
  2286.  
  2287. end
  2288.  
  2289. end))
  2290. Script117.Name = "Health"
  2291. Script117.Parent = Model102
  2292. table.insert(cors,sandbox(Script117,function()
  2293. function waitForChild(parent, childName)
  2294. while true do
  2295. local child = parent:findFirstChild(childName)
  2296. if child then
  2297. return child
  2298. end
  2299. parent.ChildAdded:wait()
  2300. end
  2301. end
  2302.  
  2303. -- declarations
  2304.  
  2305. local Figure = script.Parent
  2306. local Head = waitForChild(Figure, "Head")
  2307. local Humanoid = waitForChild(Figure, "Humanoid")
  2308. Humanoid.Health=500
  2309. -- regeneration
  2310. while true do
  2311. local s = wait(4)
  2312. local health = Humanoid.Health
  2313. if health > 0 and health < Humanoid.MaxHealth then
  2314. health = health + 0.08 * s * Humanoid.MaxHealth
  2315. if health * 1.05 < Humanoid.MaxHealth then
  2316. Humanoid.Health = health
  2317. else
  2318. Humanoid.Health = Humanoid.MaxHealth
  2319. end
  2320. end
  2321. end
  2322.  
  2323. end))
  2324. Script118.Name = "Respawn"
  2325. Script118.Parent = Model102
  2326. table.insert(cors,sandbox(Script118,function()
  2327. name="Humanoid"
  2328.  
  2329. robo=script.Parent:clone()
  2330.  
  2331. while true do
  2332. wait(1)
  2333. if script.Parent.Humanoid.Health<1 then
  2334. robot=robo:clone()
  2335. robot.Parent=script.Parent.Parent
  2336. robot:makeJoints()
  2337. script.Parent:remove()
  2338. end
  2339. end
  2340.  
  2341.  
  2342.  
  2343.  
  2344. end))
  2345. Part119.Name = "Spawn Location"
  2346. Part119.Parent = Model101
  2347. Part119.CFrame = CFrame.new(133.091461, 0.600013018, 95.4864502, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  2348. Part119.Orientation = Vector3.new(0, 180, 0)
  2349. Part119.Position = Vector3.new(133.091461, 0.600013018, 95.4864502)
  2350. Part119.Rotation = Vector3.new(-180, 0, -180)
  2351. Part119.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2352. Part119.Size = Vector3.new(6, 1.20000005, 6)
  2353. Part119.BottomSurface = Enum.SurfaceType.Weld
  2354. Part119.BrickColor = BrickColor.new("Medium green")
  2355. Part119.TopSurface = Enum.SurfaceType.Smooth
  2356. Part119.brickColor = BrickColor.new("Medium green")
  2357. Decal120.Parent = Part119
  2358. Decal120.Texture = "http://www.roblox.com/asset/?id=34541722"
  2359. Decal120.Face = Enum.NormalId.Top
  2360. Model121.Parent = Model0
  2361. Model122.Name = "Zombie"
  2362. Model122.Parent = Model121
  2363. Model122.PrimaryPart = Part123
  2364. Part123.Name = "Head"
  2365. Part123.Parent = Model122
  2366. Part123.CFrame = CFrame.new(133.586472, 6.09701204, 113.508453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2367. Part123.Orientation = Vector3.new(0, 90, 0)
  2368. Part123.Position = Vector3.new(133.586472, 6.09701204, 113.508453)
  2369. Part123.Rotation = Vector3.new(0, 90, 0)
  2370. Part123.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2371. Part123.Size = Vector3.new(2, 1, 1)
  2372. Part123.BrickColor = BrickColor.new("Medium green")
  2373. Part123.TopSurface = Enum.SurfaceType.Smooth
  2374. Part123.brickColor = BrickColor.new("Medium green")
  2375. Part123.FormFactor = Enum.FormFactor.Symmetric
  2376. Part123.formFactor = Enum.FormFactor.Symmetric
  2377. SpecialMesh124.Parent = Part123
  2378. SpecialMesh124.Scale = Vector3.new(1.25, 1.25, 1.25)
  2379. Decal125.Name = "face"
  2380. Decal125.Parent = Part123
  2381. Part126.Name = "Torso"
  2382. Part126.Parent = Model122
  2383. Part126.CFrame = CFrame.new(133.586472, 4.59701204, 113.508453, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  2384. Part126.Orientation = Vector3.new(0, 90, 0)
  2385. Part126.Position = Vector3.new(133.586472, 4.59701204, 113.508453)
  2386. Part126.Rotation = Vector3.new(0, 90, 0)
  2387. Part126.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2388. Part126.Size = Vector3.new(2, 2, 1)
  2389. Part126.BrickColor = BrickColor.new("Reddish brown")
  2390. Part126.LeftParamA = 0
  2391. Part126.LeftParamB = 0
  2392. Part126.LeftSurface = Enum.SurfaceType.Weld
  2393. Part126.RightParamA = 0
  2394. Part126.RightParamB = 0
  2395. Part126.RightSurface = Enum.SurfaceType.Weld
  2396. Part126.brickColor = BrickColor.new("Reddish brown")
  2397. Part126.FormFactor = Enum.FormFactor.Symmetric
  2398. Part126.formFactor = Enum.FormFactor.Symmetric
  2399. Part127.Name = "Left Leg"
  2400. Part127.Parent = Model122
  2401. Part127.CFrame = CFrame.new(133.586472, 2.59700823, 114.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2402. Part127.Orientation = Vector3.new(0, 90, 0)
  2403. Part127.Position = Vector3.new(133.586472, 2.59700823, 114.008453)
  2404. Part127.Rotation = Vector3.new(0, 90, 0)
  2405. Part127.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2406. Part127.Size = Vector3.new(1, 2, 1)
  2407. Part127.BottomSurface = Enum.SurfaceType.Smooth
  2408. Part127.BrickColor = BrickColor.new("Reddish brown")
  2409. Part127.CanCollide = false
  2410. Part127.brickColor = BrickColor.new("Reddish brown")
  2411. Part127.FormFactor = Enum.FormFactor.Symmetric
  2412. Part127.formFactor = Enum.FormFactor.Symmetric
  2413. Part128.Name = "Right Leg"
  2414. Part128.Parent = Model122
  2415. Part128.CFrame = CFrame.new(133.586472, 2.59700823, 113.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2416. Part128.Orientation = Vector3.new(0, 90, 0)
  2417. Part128.Position = Vector3.new(133.586472, 2.59700823, 113.008453)
  2418. Part128.Rotation = Vector3.new(0, 90, 0)
  2419. Part128.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2420. Part128.Size = Vector3.new(1, 2, 1)
  2421. Part128.BottomSurface = Enum.SurfaceType.Smooth
  2422. Part128.BrickColor = BrickColor.new("Reddish brown")
  2423. Part128.CanCollide = false
  2424. Part128.brickColor = BrickColor.new("Reddish brown")
  2425. Part128.FormFactor = Enum.FormFactor.Symmetric
  2426. Part128.formFactor = Enum.FormFactor.Symmetric
  2427. Humanoid129.Parent = Model122
  2428. Humanoid129.LeftLeg = Part127
  2429. Humanoid129.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  2430. Humanoid129.RightLeg = Part128
  2431. Humanoid129.Torso = Part126
  2432. Part130.Name = "zarm"
  2433. Part130.Parent = Model122
  2434. Part130.CFrame = CFrame.new(133.086472, 5.09701204, 115.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  2435. Part130.Orientation = Vector3.new(0, 180, 0)
  2436. Part130.Position = Vector3.new(133.086472, 5.09701204, 115.008453)
  2437. Part130.Rotation = Vector3.new(-180, 0, -180)
  2438. Part130.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2439. Part130.Size = Vector3.new(2, 1, 1)
  2440. Part130.BottomSurface = Enum.SurfaceType.Smooth
  2441. Part130.BrickColor = BrickColor.new("Medium green")
  2442. Part130.TopSurface = Enum.SurfaceType.Smooth
  2443. Part130.brickColor = BrickColor.new("Medium green")
  2444. Part130.FormFactor = Enum.FormFactor.Symmetric
  2445. Part130.formFactor = Enum.FormFactor.Symmetric
  2446. Script131.Parent = Part130
  2447. table.insert(cors,sandbox(Script131,function()
  2448. wait(1)
  2449. owner=script.Parent.Parent.Name
  2450.  
  2451. function onTouched(part)
  2452. if part.Parent ~= nil then
  2453. local h = part.Parent:findFirstChild("Humanoid")
  2454. if h~=nil then
  2455. if cantouch~=0 then
  2456. if h.Parent.Name~=owner then
  2457.  
  2458. if h.Parent:findFirstChild("zarm")~=nil then return end
  2459.  
  2460. cantouch=0
  2461.  
  2462. local larm=h.Parent:findFirstChild("Left Arm")
  2463. local rarm=h.Parent:findFirstChild("Right Arm")
  2464.  
  2465. if larm~=nil then
  2466. larm:remove()
  2467. end
  2468. if rarm~=nil then
  2469. rarm:remove()
  2470. end
  2471. local zee=script.Parent.Parent:findFirstChild("zarm")
  2472. if zee~=nil then
  2473. local zlarm=zee:clone()
  2474. local zrarm=zee:clone()
  2475. if zlarm~=nil then
  2476.  
  2477. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2478. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  2479. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  2480. zlarm.Parent=h.Parent
  2481. zrarm.Parent=h.Parent
  2482. zlarm:makeJoints()
  2483. zrarm:makeJoints()
  2484. zlarm.Anchored=false
  2485. zrarm.Anchored=false
  2486. wait(0.1)
  2487. h.Parent.Head.Color=zee.Color
  2488. else print("no zee"); return end
  2489. end
  2490. wait(1)
  2491. cantouch=1
  2492. end
  2493. end
  2494. end
  2495. end
  2496. end
  2497.  
  2498. script.Parent.Touched:connect(onTouched)
  2499. end))
  2500. Part132.Name = "zarm"
  2501. Part132.Parent = Model122
  2502. Part132.CFrame = CFrame.new(133.086472, 5.09701204, 112.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  2503. Part132.Orientation = Vector3.new(0, 180, 0)
  2504. Part132.Position = Vector3.new(133.086472, 5.09701204, 112.008453)
  2505. Part132.Rotation = Vector3.new(-180, 0, -180)
  2506. Part132.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2507. Part132.Size = Vector3.new(2, 1, 1)
  2508. Part132.BottomSurface = Enum.SurfaceType.Smooth
  2509. Part132.BrickColor = BrickColor.new("Medium green")
  2510. Part132.TopSurface = Enum.SurfaceType.Smooth
  2511. Part132.brickColor = BrickColor.new("Medium green")
  2512. Part132.FormFactor = Enum.FormFactor.Symmetric
  2513. Part132.formFactor = Enum.FormFactor.Symmetric
  2514. Script133.Parent = Part132
  2515. table.insert(cors,sandbox(Script133,function()
  2516. wait(1)
  2517. owner=script.Parent.Parent.Name
  2518.  
  2519. function onTouched(part)
  2520. if part.Parent ~= nil then
  2521. local h = part.Parent:findFirstChild("Humanoid")
  2522. if h~=nil then
  2523. if cantouch~=0 then
  2524. if h.Parent.Name~=owner then
  2525.  
  2526. if h.Parent:findFirstChild("zarm")~=nil then return end
  2527.  
  2528. cantouch=0
  2529.  
  2530. local larm=h.Parent:findFirstChild("Left Arm")
  2531. local rarm=h.Parent:findFirstChild("Right Arm")
  2532.  
  2533. if larm~=nil then
  2534. larm:remove()
  2535. end
  2536. if rarm~=nil then
  2537. rarm:remove()
  2538. end
  2539. local zee=script.Parent.Parent:findFirstChild("zarm")
  2540. if zee~=nil then
  2541. local zlarm=zee:clone()
  2542. local zrarm=zee:clone()
  2543. if zlarm~=nil then
  2544.  
  2545. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2546. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  2547. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  2548. zlarm.Parent=h.Parent
  2549. zrarm.Parent=h.Parent
  2550. zlarm:makeJoints()
  2551. zrarm:makeJoints()
  2552. zlarm.Anchored=false
  2553. zrarm.Anchored=false
  2554. wait(0.1)
  2555. h.Parent.Head.Color=zee.Color
  2556. else print("no zee"); return end
  2557. end
  2558. wait(1)
  2559. cantouch=1
  2560. end
  2561. end
  2562. end
  2563. end
  2564. end
  2565.  
  2566. script.Parent.Touched:connect(onTouched)
  2567. end))
  2568. ObjectValue134.Name = "IsNZ"
  2569. ObjectValue134.Parent = Model122
  2570. IntValue135.Name = "Mode"
  2571. IntValue135.Parent = Model122
  2572. Script136.Parent = Model122
  2573. table.insert(cors,sandbox(Script136,function()
  2574. local larm = script.Parent:FindFirstChild("Left Arm")
  2575. local rarm = script.Parent:FindFirstChild("Right Arm")
  2576.  
  2577. function findNearestTorso(pos)
  2578. local list = game.Workspace:children()
  2579. local torso = nil
  2580. local dist = 1000
  2581. local temp = nil
  2582. local human = nil
  2583. local temp2 = nil
  2584. for x = 1, #list do
  2585. temp2 = list[x]
  2586. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  2587. temp = temp2:findFirstChild("Right Arm")
  2588. human = temp2:findFirstChild("Humanoid")
  2589. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2590. if (temp.Position - pos).magnitude < dist then
  2591. torso = temp
  2592. dist = (temp.Position - pos).magnitude
  2593. end
  2594. end
  2595. end
  2596. end
  2597. return torso
  2598. end
  2599.  
  2600.  
  2601.  
  2602.  
  2603. while true do
  2604. wait(math.random(1,5))
  2605. local target = findNearestTorso(script.Parent.Torso.Position)
  2606. if target ~= nil then
  2607. script.Parent.Humanoid:MoveTo(target.Position, target)
  2608. end
  2609.  
  2610. end
  2611.  
  2612. end))
  2613. Script137.Name = "Health"
  2614. Script137.Parent = Model122
  2615. table.insert(cors,sandbox(Script137,function()
  2616. function waitForChild(parent, childName)
  2617. while true do
  2618. local child = parent:findFirstChild(childName)
  2619. if child then
  2620. return child
  2621. end
  2622. parent.ChildAdded:wait()
  2623. end
  2624. end
  2625.  
  2626. -- declarations
  2627.  
  2628. local Figure = script.Parent
  2629. local Head = waitForChild(Figure, "Head")
  2630. local Humanoid = waitForChild(Figure, "Humanoid")
  2631. Humanoid.Health=500
  2632. -- regeneration
  2633. while true do
  2634. local s = wait(4)
  2635. local health = Humanoid.Health
  2636. if health > 0 and health < Humanoid.MaxHealth then
  2637. health = health + 0.08 * s * Humanoid.MaxHealth
  2638. if health * 1.05 < Humanoid.MaxHealth then
  2639. Humanoid.Health = health
  2640. else
  2641. Humanoid.Health = Humanoid.MaxHealth
  2642. end
  2643. end
  2644. end
  2645.  
  2646. end))
  2647. Script138.Name = "Respawn"
  2648. Script138.Parent = Model122
  2649. table.insert(cors,sandbox(Script138,function()
  2650. name="Humanoid"
  2651.  
  2652. robo=script.Parent:clone()
  2653.  
  2654. while true do
  2655. wait(1)
  2656. if script.Parent.Humanoid.Health<1 then
  2657. robot=robo:clone()
  2658. robot.Parent=script.Parent.Parent
  2659. robot:makeJoints()
  2660. script.Parent:remove()
  2661. end
  2662. end
  2663.  
  2664.  
  2665.  
  2666.  
  2667. end))
  2668. Part139.Name = "Spawn Location"
  2669. Part139.Parent = Model121
  2670. Part139.CFrame = CFrame.new(133.091461, 0.600013018, 113.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  2671. Part139.Orientation = Vector3.new(0, 180, 0)
  2672. Part139.Position = Vector3.new(133.091461, 0.600013018, 113.48645)
  2673. Part139.Rotation = Vector3.new(-180, 0, -180)
  2674. Part139.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2675. Part139.Size = Vector3.new(6, 1.20000005, 6)
  2676. Part139.BottomSurface = Enum.SurfaceType.Weld
  2677. Part139.BrickColor = BrickColor.new("Medium green")
  2678. Part139.TopSurface = Enum.SurfaceType.Smooth
  2679. Part139.brickColor = BrickColor.new("Medium green")
  2680. Decal140.Parent = Part139
  2681. Decal140.Texture = "http://www.roblox.com/asset/?id=34541722"
  2682. Decal140.Face = Enum.NormalId.Top
  2683. Model141.Parent = Model0
  2684. Model142.Name = "Zombie"
  2685. Model142.Parent = Model141
  2686. Model142.PrimaryPart = Part143
  2687. Part143.Name = "Head"
  2688. Part143.Parent = Model142
  2689. Part143.CFrame = CFrame.new(133.591461, 6.10000706, 101.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2690. Part143.Orientation = Vector3.new(0, 90, 0)
  2691. Part143.Position = Vector3.new(133.591461, 6.10000706, 101.48645)
  2692. Part143.Rotation = Vector3.new(0, 90, 0)
  2693. Part143.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2694. Part143.Size = Vector3.new(2, 1, 1)
  2695. Part143.BrickColor = BrickColor.new("Medium green")
  2696. Part143.TopSurface = Enum.SurfaceType.Smooth
  2697. Part143.brickColor = BrickColor.new("Medium green")
  2698. Part143.FormFactor = Enum.FormFactor.Symmetric
  2699. Part143.formFactor = Enum.FormFactor.Symmetric
  2700. SpecialMesh144.Parent = Part143
  2701. SpecialMesh144.Scale = Vector3.new(1.25, 1.25, 1.25)
  2702. Decal145.Name = "face"
  2703. Decal145.Parent = Part143
  2704. Part146.Name = "Torso"
  2705. Part146.Parent = Model142
  2706. Part146.CFrame = CFrame.new(133.591461, 4.60000706, 101.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  2707. Part146.Orientation = Vector3.new(0, 90, 0)
  2708. Part146.Position = Vector3.new(133.591461, 4.60000706, 101.48645)
  2709. Part146.Rotation = Vector3.new(0, 90, 0)
  2710. Part146.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2711. Part146.Size = Vector3.new(2, 2, 1)
  2712. Part146.BrickColor = BrickColor.new("Reddish brown")
  2713. Part146.LeftParamA = 0
  2714. Part146.LeftParamB = 0
  2715. Part146.LeftSurface = Enum.SurfaceType.Weld
  2716. Part146.RightParamA = 0
  2717. Part146.RightParamB = 0
  2718. Part146.RightSurface = Enum.SurfaceType.Weld
  2719. Part146.brickColor = BrickColor.new("Reddish brown")
  2720. Part146.FormFactor = Enum.FormFactor.Symmetric
  2721. Part146.formFactor = Enum.FormFactor.Symmetric
  2722. Part147.Name = "Left Leg"
  2723. Part147.Parent = Model142
  2724. Part147.CFrame = CFrame.new(133.591461, 2.6000061, 101.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2725. Part147.Orientation = Vector3.new(0, 90, 0)
  2726. Part147.Position = Vector3.new(133.591461, 2.6000061, 101.98645)
  2727. Part147.Rotation = Vector3.new(0, 90, 0)
  2728. Part147.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2729. Part147.Size = Vector3.new(1, 2, 1)
  2730. Part147.BottomSurface = Enum.SurfaceType.Smooth
  2731. Part147.BrickColor = BrickColor.new("Reddish brown")
  2732. Part147.CanCollide = false
  2733. Part147.brickColor = BrickColor.new("Reddish brown")
  2734. Part147.FormFactor = Enum.FormFactor.Symmetric
  2735. Part147.formFactor = Enum.FormFactor.Symmetric
  2736. Part148.Name = "Right Leg"
  2737. Part148.Parent = Model142
  2738. Part148.CFrame = CFrame.new(133.591461, 2.6000061, 100.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  2739. Part148.Orientation = Vector3.new(0, 90, 0)
  2740. Part148.Position = Vector3.new(133.591461, 2.6000061, 100.98645)
  2741. Part148.Rotation = Vector3.new(0, 90, 0)
  2742. Part148.Color = Color3.new(0.411765, 0.25098, 0.156863)
  2743. Part148.Size = Vector3.new(1, 2, 1)
  2744. Part148.BottomSurface = Enum.SurfaceType.Smooth
  2745. Part148.BrickColor = BrickColor.new("Reddish brown")
  2746. Part148.CanCollide = false
  2747. Part148.brickColor = BrickColor.new("Reddish brown")
  2748. Part148.FormFactor = Enum.FormFactor.Symmetric
  2749. Part148.formFactor = Enum.FormFactor.Symmetric
  2750. Humanoid149.Parent = Model142
  2751. Humanoid149.LeftLeg = Part147
  2752. Humanoid149.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  2753. Humanoid149.RightLeg = Part148
  2754. Humanoid149.Torso = Part146
  2755. Part150.Name = "zarm"
  2756. Part150.Parent = Model142
  2757. Part150.CFrame = CFrame.new(133.091461, 5.10000706, 102.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  2758. Part150.Orientation = Vector3.new(0, 180, 0)
  2759. Part150.Position = Vector3.new(133.091461, 5.10000706, 102.98645)
  2760. Part150.Rotation = Vector3.new(-180, 0, -180)
  2761. Part150.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2762. Part150.Size = Vector3.new(2, 1, 1)
  2763. Part150.BottomSurface = Enum.SurfaceType.Smooth
  2764. Part150.BrickColor = BrickColor.new("Medium green")
  2765. Part150.TopSurface = Enum.SurfaceType.Smooth
  2766. Part150.brickColor = BrickColor.new("Medium green")
  2767. Part150.FormFactor = Enum.FormFactor.Symmetric
  2768. Part150.formFactor = Enum.FormFactor.Symmetric
  2769. Script151.Parent = Part150
  2770. table.insert(cors,sandbox(Script151,function()
  2771. wait(1)
  2772. owner=script.Parent.Parent.Name
  2773.  
  2774. function onTouched(part)
  2775. if part.Parent ~= nil then
  2776. local h = part.Parent:findFirstChild("Humanoid")
  2777. if h~=nil then
  2778. if cantouch~=0 then
  2779. if h.Parent.Name~=owner then
  2780.  
  2781. if h.Parent:findFirstChild("zarm")~=nil then return end
  2782.  
  2783. cantouch=0
  2784.  
  2785. local larm=h.Parent:findFirstChild("Left Arm")
  2786. local rarm=h.Parent:findFirstChild("Right Arm")
  2787.  
  2788. if larm~=nil then
  2789. larm:remove()
  2790. end
  2791. if rarm~=nil then
  2792. rarm:remove()
  2793. end
  2794. local zee=script.Parent.Parent:findFirstChild("zarm")
  2795. if zee~=nil then
  2796. local zlarm=zee:clone()
  2797. local zrarm=zee:clone()
  2798. if zlarm~=nil then
  2799.  
  2800. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2801. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  2802. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  2803. zlarm.Parent=h.Parent
  2804. zrarm.Parent=h.Parent
  2805. zlarm:makeJoints()
  2806. zrarm:makeJoints()
  2807. zlarm.Anchored=false
  2808. zrarm.Anchored=false
  2809. wait(0.1)
  2810. h.Parent.Head.Color=zee.Color
  2811. else print("no zee"); return end
  2812. end
  2813. wait(1)
  2814. cantouch=1
  2815. end
  2816. end
  2817. end
  2818. end
  2819. end
  2820.  
  2821. script.Parent.Touched:connect(onTouched)
  2822. end))
  2823. Part152.Name = "zarm"
  2824. Part152.Parent = Model142
  2825. Part152.CFrame = CFrame.new(133.091461, 5.10000706, 99.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  2826. Part152.Orientation = Vector3.new(0, 180, 0)
  2827. Part152.Position = Vector3.new(133.091461, 5.10000706, 99.9864502)
  2828. Part152.Rotation = Vector3.new(-180, 0, -180)
  2829. Part152.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2830. Part152.Size = Vector3.new(2, 1, 1)
  2831. Part152.BottomSurface = Enum.SurfaceType.Smooth
  2832. Part152.BrickColor = BrickColor.new("Medium green")
  2833. Part152.TopSurface = Enum.SurfaceType.Smooth
  2834. Part152.brickColor = BrickColor.new("Medium green")
  2835. Part152.FormFactor = Enum.FormFactor.Symmetric
  2836. Part152.formFactor = Enum.FormFactor.Symmetric
  2837. Script153.Parent = Part152
  2838. table.insert(cors,sandbox(Script153,function()
  2839. wait(1)
  2840. owner=script.Parent.Parent.Name
  2841.  
  2842. function onTouched(part)
  2843. if part.Parent ~= nil then
  2844. local h = part.Parent:findFirstChild("Humanoid")
  2845. if h~=nil then
  2846. if cantouch~=0 then
  2847. if h.Parent.Name~=owner then
  2848.  
  2849. if h.Parent:findFirstChild("zarm")~=nil then return end
  2850.  
  2851. cantouch=0
  2852.  
  2853. local larm=h.Parent:findFirstChild("Left Arm")
  2854. local rarm=h.Parent:findFirstChild("Right Arm")
  2855.  
  2856. if larm~=nil then
  2857. larm:remove()
  2858. end
  2859. if rarm~=nil then
  2860. rarm:remove()
  2861. end
  2862. local zee=script.Parent.Parent:findFirstChild("zarm")
  2863. if zee~=nil then
  2864. local zlarm=zee:clone()
  2865. local zrarm=zee:clone()
  2866. if zlarm~=nil then
  2867.  
  2868. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2869. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  2870. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  2871. zlarm.Parent=h.Parent
  2872. zrarm.Parent=h.Parent
  2873. zlarm:makeJoints()
  2874. zrarm:makeJoints()
  2875. zlarm.Anchored=false
  2876. zrarm.Anchored=false
  2877. wait(0.1)
  2878. h.Parent.Head.Color=zee.Color
  2879. else print("no zee"); return end
  2880. end
  2881. wait(1)
  2882. cantouch=1
  2883. end
  2884. end
  2885. end
  2886. end
  2887. end
  2888.  
  2889. script.Parent.Touched:connect(onTouched)
  2890. end))
  2891. ObjectValue154.Name = "IsNZ"
  2892. ObjectValue154.Parent = Model142
  2893. IntValue155.Name = "Mode"
  2894. IntValue155.Parent = Model142
  2895. Script156.Parent = Model142
  2896. table.insert(cors,sandbox(Script156,function()
  2897. local larm = script.Parent:FindFirstChild("Left Arm")
  2898. local rarm = script.Parent:FindFirstChild("Right Arm")
  2899.  
  2900. function findNearestTorso(pos)
  2901. local list = game.Workspace:children()
  2902. local torso = nil
  2903. local dist = 1000
  2904. local temp = nil
  2905. local human = nil
  2906. local temp2 = nil
  2907. for x = 1, #list do
  2908. temp2 = list[x]
  2909. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  2910. temp = temp2:findFirstChild("Right Arm")
  2911. human = temp2:findFirstChild("Humanoid")
  2912. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2913. if (temp.Position - pos).magnitude < dist then
  2914. torso = temp
  2915. dist = (temp.Position - pos).magnitude
  2916. end
  2917. end
  2918. end
  2919. end
  2920. return torso
  2921. end
  2922.  
  2923.  
  2924.  
  2925.  
  2926. while true do
  2927. wait(math.random(1,5))
  2928. local target = findNearestTorso(script.Parent.Torso.Position)
  2929. if target ~= nil then
  2930. script.Parent.Humanoid:MoveTo(target.Position, target)
  2931. end
  2932.  
  2933. end
  2934.  
  2935. end))
  2936. Script157.Name = "Health"
  2937. Script157.Parent = Model142
  2938. table.insert(cors,sandbox(Script157,function()
  2939. function waitForChild(parent, childName)
  2940. while true do
  2941. local child = parent:findFirstChild(childName)
  2942. if child then
  2943. return child
  2944. end
  2945. parent.ChildAdded:wait()
  2946. end
  2947. end
  2948.  
  2949. -- declarations
  2950.  
  2951. local Figure = script.Parent
  2952. local Head = waitForChild(Figure, "Head")
  2953. local Humanoid = waitForChild(Figure, "Humanoid")
  2954. Humanoid.Health=500
  2955. -- regeneration
  2956. while true do
  2957. local s = wait(4)
  2958. local health = Humanoid.Health
  2959. if health > 0 and health < Humanoid.MaxHealth then
  2960. health = health + 0.08 * s * Humanoid.MaxHealth
  2961. if health * 1.05 < Humanoid.MaxHealth then
  2962. Humanoid.Health = health
  2963. else
  2964. Humanoid.Health = Humanoid.MaxHealth
  2965. end
  2966. end
  2967. end
  2968.  
  2969. end))
  2970. Script158.Name = "Respawn"
  2971. Script158.Parent = Model142
  2972. table.insert(cors,sandbox(Script158,function()
  2973. name="Humanoid"
  2974.  
  2975. robo=script.Parent:clone()
  2976.  
  2977. while true do
  2978. wait(1)
  2979. if script.Parent.Humanoid.Health<1 then
  2980. robot=robo:clone()
  2981. robot.Parent=script.Parent.Parent
  2982. robot:makeJoints()
  2983. script.Parent:remove()
  2984. end
  2985. end
  2986.  
  2987.  
  2988.  
  2989.  
  2990. end))
  2991. Part159.Name = "Spawn Location"
  2992. Part159.Parent = Model141
  2993. Part159.CFrame = CFrame.new(133.091461, 0.600013018, 101.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  2994. Part159.Orientation = Vector3.new(0, 180, 0)
  2995. Part159.Position = Vector3.new(133.091461, 0.600013018, 101.48645)
  2996. Part159.Rotation = Vector3.new(-180, 0, -180)
  2997. Part159.Color = Color3.new(0.631373, 0.768628, 0.54902)
  2998. Part159.Size = Vector3.new(6, 1.20000005, 6)
  2999. Part159.BottomSurface = Enum.SurfaceType.Weld
  3000. Part159.BrickColor = BrickColor.new("Medium green")
  3001. Part159.TopSurface = Enum.SurfaceType.Smooth
  3002. Part159.brickColor = BrickColor.new("Medium green")
  3003. Decal160.Parent = Part159
  3004. Decal160.Texture = "http://www.roblox.com/asset/?id=34541722"
  3005. Decal160.Face = Enum.NormalId.Top
  3006. Model161.Parent = Model0
  3007. Model162.Name = "Zombie"
  3008. Model162.Parent = Model161
  3009. Model162.PrimaryPart = Part163
  3010. Part163.Name = "Head"
  3011. Part163.Parent = Model162
  3012. Part163.CFrame = CFrame.new(133.608551, 6.10000706, 107.513443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3013. Part163.Orientation = Vector3.new(0, 90, 0)
  3014. Part163.Position = Vector3.new(133.608551, 6.10000706, 107.513443)
  3015. Part163.Rotation = Vector3.new(0, 90, 0)
  3016. Part163.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3017. Part163.Size = Vector3.new(2, 1, 1)
  3018. Part163.BrickColor = BrickColor.new("Medium green")
  3019. Part163.TopSurface = Enum.SurfaceType.Smooth
  3020. Part163.brickColor = BrickColor.new("Medium green")
  3021. Part163.FormFactor = Enum.FormFactor.Symmetric
  3022. Part163.formFactor = Enum.FormFactor.Symmetric
  3023. SpecialMesh164.Parent = Part163
  3024. SpecialMesh164.Scale = Vector3.new(1.25, 1.25, 1.25)
  3025. Decal165.Name = "face"
  3026. Decal165.Parent = Part163
  3027. Part166.Name = "Torso"
  3028. Part166.Parent = Model162
  3029. Part166.CFrame = CFrame.new(133.608551, 4.60000706, 107.513443, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  3030. Part166.Orientation = Vector3.new(0, 90, 0)
  3031. Part166.Position = Vector3.new(133.608551, 4.60000706, 107.513443)
  3032. Part166.Rotation = Vector3.new(0, 90, 0)
  3033. Part166.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3034. Part166.Size = Vector3.new(2, 2, 1)
  3035. Part166.BrickColor = BrickColor.new("Reddish brown")
  3036. Part166.LeftParamA = 0
  3037. Part166.LeftParamB = 0
  3038. Part166.LeftSurface = Enum.SurfaceType.Weld
  3039. Part166.RightParamA = 0
  3040. Part166.RightParamB = 0
  3041. Part166.RightSurface = Enum.SurfaceType.Weld
  3042. Part166.brickColor = BrickColor.new("Reddish brown")
  3043. Part166.FormFactor = Enum.FormFactor.Symmetric
  3044. Part166.formFactor = Enum.FormFactor.Symmetric
  3045. Part167.Name = "Left Leg"
  3046. Part167.Parent = Model162
  3047. Part167.CFrame = CFrame.new(133.608551, 2.6000061, 108.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3048. Part167.Orientation = Vector3.new(0, 90, 0)
  3049. Part167.Position = Vector3.new(133.608551, 2.6000061, 108.013443)
  3050. Part167.Rotation = Vector3.new(0, 90, 0)
  3051. Part167.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3052. Part167.Size = Vector3.new(1, 2, 1)
  3053. Part167.BottomSurface = Enum.SurfaceType.Smooth
  3054. Part167.BrickColor = BrickColor.new("Reddish brown")
  3055. Part167.CanCollide = false
  3056. Part167.brickColor = BrickColor.new("Reddish brown")
  3057. Part167.FormFactor = Enum.FormFactor.Symmetric
  3058. Part167.formFactor = Enum.FormFactor.Symmetric
  3059. Part168.Name = "Right Leg"
  3060. Part168.Parent = Model162
  3061. Part168.CFrame = CFrame.new(133.608551, 2.6000061, 107.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3062. Part168.Orientation = Vector3.new(0, 90, 0)
  3063. Part168.Position = Vector3.new(133.608551, 2.6000061, 107.013443)
  3064. Part168.Rotation = Vector3.new(0, 90, 0)
  3065. Part168.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3066. Part168.Size = Vector3.new(1, 2, 1)
  3067. Part168.BottomSurface = Enum.SurfaceType.Smooth
  3068. Part168.BrickColor = BrickColor.new("Reddish brown")
  3069. Part168.CanCollide = false
  3070. Part168.brickColor = BrickColor.new("Reddish brown")
  3071. Part168.FormFactor = Enum.FormFactor.Symmetric
  3072. Part168.formFactor = Enum.FormFactor.Symmetric
  3073. Humanoid169.Parent = Model162
  3074. Humanoid169.LeftLeg = Part167
  3075. Humanoid169.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  3076. Humanoid169.RightLeg = Part168
  3077. Humanoid169.Torso = Part166
  3078. Part170.Name = "zarm"
  3079. Part170.Parent = Model162
  3080. Part170.CFrame = CFrame.new(133.108551, 5.10000706, 109.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  3081. Part170.Orientation = Vector3.new(0, 180, 0)
  3082. Part170.Position = Vector3.new(133.108551, 5.10000706, 109.013443)
  3083. Part170.Rotation = Vector3.new(-180, 0, -180)
  3084. Part170.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3085. Part170.Size = Vector3.new(2, 1, 1)
  3086. Part170.BottomSurface = Enum.SurfaceType.Smooth
  3087. Part170.BrickColor = BrickColor.new("Medium green")
  3088. Part170.TopSurface = Enum.SurfaceType.Smooth
  3089. Part170.brickColor = BrickColor.new("Medium green")
  3090. Part170.FormFactor = Enum.FormFactor.Symmetric
  3091. Part170.formFactor = Enum.FormFactor.Symmetric
  3092. Script171.Parent = Part170
  3093. table.insert(cors,sandbox(Script171,function()
  3094. wait(1)
  3095. owner=script.Parent.Parent.Name
  3096.  
  3097. function onTouched(part)
  3098. if part.Parent ~= nil then
  3099. local h = part.Parent:findFirstChild("Humanoid")
  3100. if h~=nil then
  3101. if cantouch~=0 then
  3102. if h.Parent.Name~=owner then
  3103.  
  3104. if h.Parent:findFirstChild("zarm")~=nil then return end
  3105.  
  3106. cantouch=0
  3107.  
  3108. local larm=h.Parent:findFirstChild("Left Arm")
  3109. local rarm=h.Parent:findFirstChild("Right Arm")
  3110.  
  3111. if larm~=nil then
  3112. larm:remove()
  3113. end
  3114. if rarm~=nil then
  3115. rarm:remove()
  3116. end
  3117. local zee=script.Parent.Parent:findFirstChild("zarm")
  3118. if zee~=nil then
  3119. local zlarm=zee:clone()
  3120. local zrarm=zee:clone()
  3121. if zlarm~=nil then
  3122.  
  3123. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3124. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  3125. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  3126. zlarm.Parent=h.Parent
  3127. zrarm.Parent=h.Parent
  3128. zlarm:makeJoints()
  3129. zrarm:makeJoints()
  3130. zlarm.Anchored=false
  3131. zrarm.Anchored=false
  3132. wait(0.1)
  3133. h.Parent.Head.Color=zee.Color
  3134. else print("no zee"); return end
  3135. end
  3136. wait(1)
  3137. cantouch=1
  3138. end
  3139. end
  3140. end
  3141. end
  3142. end
  3143.  
  3144. script.Parent.Touched:connect(onTouched)
  3145. end))
  3146. Part172.Name = "zarm"
  3147. Part172.Parent = Model162
  3148. Part172.CFrame = CFrame.new(133.108551, 5.10000706, 106.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  3149. Part172.Orientation = Vector3.new(0, 180, 0)
  3150. Part172.Position = Vector3.new(133.108551, 5.10000706, 106.013443)
  3151. Part172.Rotation = Vector3.new(-180, 0, -180)
  3152. Part172.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3153. Part172.Size = Vector3.new(2, 1, 1)
  3154. Part172.BottomSurface = Enum.SurfaceType.Smooth
  3155. Part172.BrickColor = BrickColor.new("Medium green")
  3156. Part172.TopSurface = Enum.SurfaceType.Smooth
  3157. Part172.brickColor = BrickColor.new("Medium green")
  3158. Part172.FormFactor = Enum.FormFactor.Symmetric
  3159. Part172.formFactor = Enum.FormFactor.Symmetric
  3160. Script173.Parent = Part172
  3161. table.insert(cors,sandbox(Script173,function()
  3162. wait(1)
  3163. owner=script.Parent.Parent.Name
  3164.  
  3165. function onTouched(part)
  3166. if part.Parent ~= nil then
  3167. local h = part.Parent:findFirstChild("Humanoid")
  3168. if h~=nil then
  3169. if cantouch~=0 then
  3170. if h.Parent.Name~=owner then
  3171.  
  3172. if h.Parent:findFirstChild("zarm")~=nil then return end
  3173.  
  3174. cantouch=0
  3175.  
  3176. local larm=h.Parent:findFirstChild("Left Arm")
  3177. local rarm=h.Parent:findFirstChild("Right Arm")
  3178.  
  3179. if larm~=nil then
  3180. larm:remove()
  3181. end
  3182. if rarm~=nil then
  3183. rarm:remove()
  3184. end
  3185. local zee=script.Parent.Parent:findFirstChild("zarm")
  3186. if zee~=nil then
  3187. local zlarm=zee:clone()
  3188. local zrarm=zee:clone()
  3189. if zlarm~=nil then
  3190.  
  3191. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3192. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  3193. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  3194. zlarm.Parent=h.Parent
  3195. zrarm.Parent=h.Parent
  3196. zlarm:makeJoints()
  3197. zrarm:makeJoints()
  3198. zlarm.Anchored=false
  3199. zrarm.Anchored=false
  3200. wait(0.1)
  3201. h.Parent.Head.Color=zee.Color
  3202. else print("no zee"); return end
  3203. end
  3204. wait(1)
  3205. cantouch=1
  3206. end
  3207. end
  3208. end
  3209. end
  3210. end
  3211.  
  3212. script.Parent.Touched:connect(onTouched)
  3213. end))
  3214. ObjectValue174.Name = "IsNZ"
  3215. ObjectValue174.Parent = Model162
  3216. IntValue175.Name = "Mode"
  3217. IntValue175.Parent = Model162
  3218. Script176.Parent = Model162
  3219. table.insert(cors,sandbox(Script176,function()
  3220. local larm = script.Parent:FindFirstChild("Left Arm")
  3221. local rarm = script.Parent:FindFirstChild("Right Arm")
  3222.  
  3223. function findNearestTorso(pos)
  3224. local list = game.Workspace:children()
  3225. local torso = nil
  3226. local dist = 1000
  3227. local temp = nil
  3228. local human = nil
  3229. local temp2 = nil
  3230. for x = 1, #list do
  3231. temp2 = list[x]
  3232. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  3233. temp = temp2:findFirstChild("Right Arm")
  3234. human = temp2:findFirstChild("Humanoid")
  3235. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3236. if (temp.Position - pos).magnitude < dist then
  3237. torso = temp
  3238. dist = (temp.Position - pos).magnitude
  3239. end
  3240. end
  3241. end
  3242. end
  3243. return torso
  3244. end
  3245.  
  3246.  
  3247.  
  3248.  
  3249. while true do
  3250. wait(math.random(1,5))
  3251. local target = findNearestTorso(script.Parent.Torso.Position)
  3252. if target ~= nil then
  3253. script.Parent.Humanoid:MoveTo(target.Position, target)
  3254. end
  3255.  
  3256. end
  3257.  
  3258. end))
  3259. Script177.Name = "Health"
  3260. Script177.Parent = Model162
  3261. table.insert(cors,sandbox(Script177,function()
  3262. function waitForChild(parent, childName)
  3263. while true do
  3264. local child = parent:findFirstChild(childName)
  3265. if child then
  3266. return child
  3267. end
  3268. parent.ChildAdded:wait()
  3269. end
  3270. end
  3271.  
  3272. -- declarations
  3273.  
  3274. local Figure = script.Parent
  3275. local Head = waitForChild(Figure, "Head")
  3276. local Humanoid = waitForChild(Figure, "Humanoid")
  3277. Humanoid.Health=500
  3278. -- regeneration
  3279. while true do
  3280. local s = wait(4)
  3281. local health = Humanoid.Health
  3282. if health > 0 and health < Humanoid.MaxHealth then
  3283. health = health + 0.08 * s * Humanoid.MaxHealth
  3284. if health * 1.05 < Humanoid.MaxHealth then
  3285. Humanoid.Health = health
  3286. else
  3287. Humanoid.Health = Humanoid.MaxHealth
  3288. end
  3289. end
  3290. end
  3291.  
  3292. end))
  3293. Script178.Name = "Respawn"
  3294. Script178.Parent = Model162
  3295. table.insert(cors,sandbox(Script178,function()
  3296. name="Humanoid"
  3297.  
  3298. robo=script.Parent:clone()
  3299.  
  3300. while true do
  3301. wait(1)
  3302. if script.Parent.Humanoid.Health<1 then
  3303. robot=robo:clone()
  3304. robot.Parent=script.Parent.Parent
  3305. robot:makeJoints()
  3306. script.Parent:remove()
  3307. end
  3308. end
  3309.  
  3310.  
  3311.  
  3312.  
  3313. end))
  3314. Part179.Name = "Spawn Location"
  3315. Part179.Parent = Model161
  3316. Part179.CFrame = CFrame.new(133.113556, 0.603018999, 107.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  3317. Part179.Orientation = Vector3.new(0, 180, 0)
  3318. Part179.Position = Vector3.new(133.113556, 0.603018999, 107.491455)
  3319. Part179.Rotation = Vector3.new(-180, 0, -180)
  3320. Part179.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3321. Part179.Size = Vector3.new(6, 1.20000005, 6)
  3322. Part179.BottomSurface = Enum.SurfaceType.Weld
  3323. Part179.BrickColor = BrickColor.new("Medium green")
  3324. Part179.TopSurface = Enum.SurfaceType.Smooth
  3325. Part179.brickColor = BrickColor.new("Medium green")
  3326. Decal180.Parent = Part179
  3327. Decal180.Texture = "http://www.roblox.com/asset/?id=34541722"
  3328. Decal180.Face = Enum.NormalId.Top
  3329. Model181.Parent = Model0
  3330. Model182.Name = "Zombie"
  3331. Model182.Parent = Model181
  3332. Model182.PrimaryPart = Part183
  3333. Part183.Name = "Head"
  3334. Part183.Parent = Model182
  3335. Part183.CFrame = CFrame.new(133.591461, 6.10000706, 119.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3336. Part183.Orientation = Vector3.new(0, 90, 0)
  3337. Part183.Position = Vector3.new(133.591461, 6.10000706, 119.48645)
  3338. Part183.Rotation = Vector3.new(0, 90, 0)
  3339. Part183.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3340. Part183.Size = Vector3.new(2, 1, 1)
  3341. Part183.BrickColor = BrickColor.new("Medium green")
  3342. Part183.TopSurface = Enum.SurfaceType.Smooth
  3343. Part183.brickColor = BrickColor.new("Medium green")
  3344. Part183.FormFactor = Enum.FormFactor.Symmetric
  3345. Part183.formFactor = Enum.FormFactor.Symmetric
  3346. SpecialMesh184.Parent = Part183
  3347. SpecialMesh184.Scale = Vector3.new(1.25, 1.25, 1.25)
  3348. Decal185.Name = "face"
  3349. Decal185.Parent = Part183
  3350. Part186.Name = "Torso"
  3351. Part186.Parent = Model182
  3352. Part186.CFrame = CFrame.new(133.591461, 4.60000706, 119.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  3353. Part186.Orientation = Vector3.new(0, 90, 0)
  3354. Part186.Position = Vector3.new(133.591461, 4.60000706, 119.48645)
  3355. Part186.Rotation = Vector3.new(0, 90, 0)
  3356. Part186.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3357. Part186.Size = Vector3.new(2, 2, 1)
  3358. Part186.BrickColor = BrickColor.new("Reddish brown")
  3359. Part186.LeftParamA = 0
  3360. Part186.LeftParamB = 0
  3361. Part186.LeftSurface = Enum.SurfaceType.Weld
  3362. Part186.RightParamA = 0
  3363. Part186.RightParamB = 0
  3364. Part186.RightSurface = Enum.SurfaceType.Weld
  3365. Part186.brickColor = BrickColor.new("Reddish brown")
  3366. Part186.FormFactor = Enum.FormFactor.Symmetric
  3367. Part186.formFactor = Enum.FormFactor.Symmetric
  3368. Part187.Name = "Left Leg"
  3369. Part187.Parent = Model182
  3370. Part187.CFrame = CFrame.new(133.591461, 2.6000061, 119.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3371. Part187.Orientation = Vector3.new(0, 90, 0)
  3372. Part187.Position = Vector3.new(133.591461, 2.6000061, 119.98645)
  3373. Part187.Rotation = Vector3.new(0, 90, 0)
  3374. Part187.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3375. Part187.Size = Vector3.new(1, 2, 1)
  3376. Part187.BottomSurface = Enum.SurfaceType.Smooth
  3377. Part187.BrickColor = BrickColor.new("Reddish brown")
  3378. Part187.CanCollide = false
  3379. Part187.brickColor = BrickColor.new("Reddish brown")
  3380. Part187.FormFactor = Enum.FormFactor.Symmetric
  3381. Part187.formFactor = Enum.FormFactor.Symmetric
  3382. Part188.Name = "Right Leg"
  3383. Part188.Parent = Model182
  3384. Part188.CFrame = CFrame.new(133.591461, 2.6000061, 118.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3385. Part188.Orientation = Vector3.new(0, 90, 0)
  3386. Part188.Position = Vector3.new(133.591461, 2.6000061, 118.98645)
  3387. Part188.Rotation = Vector3.new(0, 90, 0)
  3388. Part188.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3389. Part188.Size = Vector3.new(1, 2, 1)
  3390. Part188.BottomSurface = Enum.SurfaceType.Smooth
  3391. Part188.BrickColor = BrickColor.new("Reddish brown")
  3392. Part188.CanCollide = false
  3393. Part188.brickColor = BrickColor.new("Reddish brown")
  3394. Part188.FormFactor = Enum.FormFactor.Symmetric
  3395. Part188.formFactor = Enum.FormFactor.Symmetric
  3396. Humanoid189.Parent = Model182
  3397. Humanoid189.LeftLeg = Part187
  3398. Humanoid189.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  3399. Humanoid189.RightLeg = Part188
  3400. Humanoid189.Torso = Part186
  3401. Part190.Name = "zarm"
  3402. Part190.Parent = Model182
  3403. Part190.CFrame = CFrame.new(133.091461, 5.10000706, 120.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  3404. Part190.Orientation = Vector3.new(0, 180, 0)
  3405. Part190.Position = Vector3.new(133.091461, 5.10000706, 120.98645)
  3406. Part190.Rotation = Vector3.new(-180, 0, -180)
  3407. Part190.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3408. Part190.Size = Vector3.new(2, 1, 1)
  3409. Part190.BottomSurface = Enum.SurfaceType.Smooth
  3410. Part190.BrickColor = BrickColor.new("Medium green")
  3411. Part190.TopSurface = Enum.SurfaceType.Smooth
  3412. Part190.brickColor = BrickColor.new("Medium green")
  3413. Part190.FormFactor = Enum.FormFactor.Symmetric
  3414. Part190.formFactor = Enum.FormFactor.Symmetric
  3415. Script191.Parent = Part190
  3416. table.insert(cors,sandbox(Script191,function()
  3417. wait(1)
  3418. owner=script.Parent.Parent.Name
  3419.  
  3420. function onTouched(part)
  3421. if part.Parent ~= nil then
  3422. local h = part.Parent:findFirstChild("Humanoid")
  3423. if h~=nil then
  3424. if cantouch~=0 then
  3425. if h.Parent.Name~=owner then
  3426.  
  3427. if h.Parent:findFirstChild("zarm")~=nil then return end
  3428.  
  3429. cantouch=0
  3430.  
  3431. local larm=h.Parent:findFirstChild("Left Arm")
  3432. local rarm=h.Parent:findFirstChild("Right Arm")
  3433.  
  3434. if larm~=nil then
  3435. larm:remove()
  3436. end
  3437. if rarm~=nil then
  3438. rarm:remove()
  3439. end
  3440. local zee=script.Parent.Parent:findFirstChild("zarm")
  3441. if zee~=nil then
  3442. local zlarm=zee:clone()
  3443. local zrarm=zee:clone()
  3444. if zlarm~=nil then
  3445.  
  3446. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3447. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  3448. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  3449. zlarm.Parent=h.Parent
  3450. zrarm.Parent=h.Parent
  3451. zlarm:makeJoints()
  3452. zrarm:makeJoints()
  3453. zlarm.Anchored=false
  3454. zrarm.Anchored=false
  3455. wait(0.1)
  3456. h.Parent.Head.Color=zee.Color
  3457. else print("no zee"); return end
  3458. end
  3459. wait(1)
  3460. cantouch=1
  3461. end
  3462. end
  3463. end
  3464. end
  3465. end
  3466.  
  3467. script.Parent.Touched:connect(onTouched)
  3468. end))
  3469. Part192.Name = "zarm"
  3470. Part192.Parent = Model182
  3471. Part192.CFrame = CFrame.new(133.091461, 5.10000706, 117.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  3472. Part192.Orientation = Vector3.new(0, 180, 0)
  3473. Part192.Position = Vector3.new(133.091461, 5.10000706, 117.98645)
  3474. Part192.Rotation = Vector3.new(-180, 0, -180)
  3475. Part192.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3476. Part192.Size = Vector3.new(2, 1, 1)
  3477. Part192.BottomSurface = Enum.SurfaceType.Smooth
  3478. Part192.BrickColor = BrickColor.new("Medium green")
  3479. Part192.TopSurface = Enum.SurfaceType.Smooth
  3480. Part192.brickColor = BrickColor.new("Medium green")
  3481. Part192.FormFactor = Enum.FormFactor.Symmetric
  3482. Part192.formFactor = Enum.FormFactor.Symmetric
  3483. Script193.Parent = Part192
  3484. table.insert(cors,sandbox(Script193,function()
  3485. wait(1)
  3486. owner=script.Parent.Parent.Name
  3487.  
  3488. function onTouched(part)
  3489. if part.Parent ~= nil then
  3490. local h = part.Parent:findFirstChild("Humanoid")
  3491. if h~=nil then
  3492. if cantouch~=0 then
  3493. if h.Parent.Name~=owner then
  3494.  
  3495. if h.Parent:findFirstChild("zarm")~=nil then return end
  3496.  
  3497. cantouch=0
  3498.  
  3499. local larm=h.Parent:findFirstChild("Left Arm")
  3500. local rarm=h.Parent:findFirstChild("Right Arm")
  3501.  
  3502. if larm~=nil then
  3503. larm:remove()
  3504. end
  3505. if rarm~=nil then
  3506. rarm:remove()
  3507. end
  3508. local zee=script.Parent.Parent:findFirstChild("zarm")
  3509. if zee~=nil then
  3510. local zlarm=zee:clone()
  3511. local zrarm=zee:clone()
  3512. if zlarm~=nil then
  3513.  
  3514. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3515. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  3516. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  3517. zlarm.Parent=h.Parent
  3518. zrarm.Parent=h.Parent
  3519. zlarm:makeJoints()
  3520. zrarm:makeJoints()
  3521. zlarm.Anchored=false
  3522. zrarm.Anchored=false
  3523. wait(0.1)
  3524. h.Parent.Head.Color=zee.Color
  3525. else print("no zee"); return end
  3526. end
  3527. wait(1)
  3528. cantouch=1
  3529. end
  3530. end
  3531. end
  3532. end
  3533. end
  3534.  
  3535. script.Parent.Touched:connect(onTouched)
  3536. end))
  3537. ObjectValue194.Name = "IsNZ"
  3538. ObjectValue194.Parent = Model182
  3539. IntValue195.Name = "Mode"
  3540. IntValue195.Parent = Model182
  3541. Script196.Parent = Model182
  3542. table.insert(cors,sandbox(Script196,function()
  3543. local larm = script.Parent:FindFirstChild("Left Arm")
  3544. local rarm = script.Parent:FindFirstChild("Right Arm")
  3545.  
  3546. function findNearestTorso(pos)
  3547. local list = game.Workspace:children()
  3548. local torso = nil
  3549. local dist = 1000
  3550. local temp = nil
  3551. local human = nil
  3552. local temp2 = nil
  3553. for x = 1, #list do
  3554. temp2 = list[x]
  3555. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  3556. temp = temp2:findFirstChild("Right Arm")
  3557. human = temp2:findFirstChild("Humanoid")
  3558. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3559. if (temp.Position - pos).magnitude < dist then
  3560. torso = temp
  3561. dist = (temp.Position - pos).magnitude
  3562. end
  3563. end
  3564. end
  3565. end
  3566. return torso
  3567. end
  3568.  
  3569.  
  3570.  
  3571.  
  3572. while true do
  3573. wait(math.random(1,5))
  3574. local target = findNearestTorso(script.Parent.Torso.Position)
  3575. if target ~= nil then
  3576. script.Parent.Humanoid:MoveTo(target.Position, target)
  3577. end
  3578.  
  3579. end
  3580.  
  3581. end))
  3582. Script197.Name = "Health"
  3583. Script197.Parent = Model182
  3584. table.insert(cors,sandbox(Script197,function()
  3585. function waitForChild(parent, childName)
  3586. while true do
  3587. local child = parent:findFirstChild(childName)
  3588. if child then
  3589. return child
  3590. end
  3591. parent.ChildAdded:wait()
  3592. end
  3593. end
  3594.  
  3595. -- declarations
  3596.  
  3597. local Figure = script.Parent
  3598. local Head = waitForChild(Figure, "Head")
  3599. local Humanoid = waitForChild(Figure, "Humanoid")
  3600. Humanoid.Health=500
  3601. -- regeneration
  3602. while true do
  3603. local s = wait(4)
  3604. local health = Humanoid.Health
  3605. if health > 0 and health < Humanoid.MaxHealth then
  3606. health = health + 0.08 * s * Humanoid.MaxHealth
  3607. if health * 1.05 < Humanoid.MaxHealth then
  3608. Humanoid.Health = health
  3609. else
  3610. Humanoid.Health = Humanoid.MaxHealth
  3611. end
  3612. end
  3613. end
  3614.  
  3615. end))
  3616. Script198.Name = "Respawn"
  3617. Script198.Parent = Model182
  3618. table.insert(cors,sandbox(Script198,function()
  3619. name="Humanoid"
  3620.  
  3621. robo=script.Parent:clone()
  3622.  
  3623. while true do
  3624. wait(1)
  3625. if script.Parent.Humanoid.Health<1 then
  3626. robot=robo:clone()
  3627. robot.Parent=script.Parent.Parent
  3628. robot:makeJoints()
  3629. script.Parent:remove()
  3630. end
  3631. end
  3632.  
  3633.  
  3634.  
  3635.  
  3636. end))
  3637. Part199.Name = "Spawn Location"
  3638. Part199.Parent = Model181
  3639. Part199.CFrame = CFrame.new(133.091461, 0.600013018, 119.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  3640. Part199.Orientation = Vector3.new(0, 180, 0)
  3641. Part199.Position = Vector3.new(133.091461, 0.600013018, 119.48645)
  3642. Part199.Rotation = Vector3.new(-180, 0, -180)
  3643. Part199.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3644. Part199.Size = Vector3.new(6, 1.20000005, 6)
  3645. Part199.BottomSurface = Enum.SurfaceType.Weld
  3646. Part199.BrickColor = BrickColor.new("Medium green")
  3647. Part199.TopSurface = Enum.SurfaceType.Smooth
  3648. Part199.brickColor = BrickColor.new("Medium green")
  3649. Decal200.Parent = Part199
  3650. Decal200.Texture = "http://www.roblox.com/asset/?id=34541722"
  3651. Decal200.Face = Enum.NormalId.Top
  3652. Model201.Parent = Model0
  3653. Model202.Parent = Model201
  3654. Model203.Name = "Zombie"
  3655. Model203.Parent = Model202
  3656. Model203.PrimaryPart = Part204
  3657. Part204.Name = "Head"
  3658. Part204.Parent = Model203
  3659. Part204.CFrame = CFrame.new(126.591461, 6.10000277, 101.486458, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3660. Part204.Orientation = Vector3.new(0, 90, 0)
  3661. Part204.Position = Vector3.new(126.591461, 6.10000277, 101.486458)
  3662. Part204.Rotation = Vector3.new(0, 90, 0)
  3663. Part204.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3664. Part204.Size = Vector3.new(2, 1, 1)
  3665. Part204.BrickColor = BrickColor.new("Medium green")
  3666. Part204.TopSurface = Enum.SurfaceType.Smooth
  3667. Part204.brickColor = BrickColor.new("Medium green")
  3668. Part204.FormFactor = Enum.FormFactor.Symmetric
  3669. Part204.formFactor = Enum.FormFactor.Symmetric
  3670. SpecialMesh205.Parent = Part204
  3671. SpecialMesh205.Scale = Vector3.new(1.25, 1.25, 1.25)
  3672. Decal206.Name = "face"
  3673. Decal206.Parent = Part204
  3674. Part207.Name = "Torso"
  3675. Part207.Parent = Model203
  3676. Part207.CFrame = CFrame.new(126.591461, 4.60000277, 101.486458, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  3677. Part207.Orientation = Vector3.new(0, 90, 0)
  3678. Part207.Position = Vector3.new(126.591461, 4.60000277, 101.486458)
  3679. Part207.Rotation = Vector3.new(0, 90, 0)
  3680. Part207.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3681. Part207.Size = Vector3.new(2, 2, 1)
  3682. Part207.BrickColor = BrickColor.new("Reddish brown")
  3683. Part207.LeftParamA = 0
  3684. Part207.LeftParamB = 0
  3685. Part207.LeftSurface = Enum.SurfaceType.Weld
  3686. Part207.RightParamA = 0
  3687. Part207.RightParamB = 0
  3688. Part207.RightSurface = Enum.SurfaceType.Weld
  3689. Part207.brickColor = BrickColor.new("Reddish brown")
  3690. Part207.FormFactor = Enum.FormFactor.Symmetric
  3691. Part207.formFactor = Enum.FormFactor.Symmetric
  3692. Part208.Name = "Left Leg"
  3693. Part208.Parent = Model203
  3694. Part208.CFrame = CFrame.new(126.591461, 2.60000181, 101.986458, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3695. Part208.Orientation = Vector3.new(0, 90, 0)
  3696. Part208.Position = Vector3.new(126.591461, 2.60000181, 101.986458)
  3697. Part208.Rotation = Vector3.new(0, 90, 0)
  3698. Part208.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3699. Part208.Size = Vector3.new(1, 2, 1)
  3700. Part208.BottomSurface = Enum.SurfaceType.Smooth
  3701. Part208.BrickColor = BrickColor.new("Reddish brown")
  3702. Part208.CanCollide = false
  3703. Part208.brickColor = BrickColor.new("Reddish brown")
  3704. Part208.FormFactor = Enum.FormFactor.Symmetric
  3705. Part208.formFactor = Enum.FormFactor.Symmetric
  3706. Part209.Name = "Right Leg"
  3707. Part209.Parent = Model203
  3708. Part209.CFrame = CFrame.new(126.591461, 2.60000181, 100.986458, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3709. Part209.Orientation = Vector3.new(0, 90, 0)
  3710. Part209.Position = Vector3.new(126.591461, 2.60000181, 100.986458)
  3711. Part209.Rotation = Vector3.new(0, 90, 0)
  3712. Part209.Color = Color3.new(0.411765, 0.25098, 0.156863)
  3713. Part209.Size = Vector3.new(1, 2, 1)
  3714. Part209.BottomSurface = Enum.SurfaceType.Smooth
  3715. Part209.BrickColor = BrickColor.new("Reddish brown")
  3716. Part209.CanCollide = false
  3717. Part209.brickColor = BrickColor.new("Reddish brown")
  3718. Part209.FormFactor = Enum.FormFactor.Symmetric
  3719. Part209.formFactor = Enum.FormFactor.Symmetric
  3720. Humanoid210.Parent = Model203
  3721. Humanoid210.LeftLeg = Part208
  3722. Humanoid210.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  3723. Humanoid210.RightLeg = Part209
  3724. Humanoid210.Torso = Part207
  3725. Part211.Name = "zarm"
  3726. Part211.Parent = Model203
  3727. Part211.CFrame = CFrame.new(126.091461, 5.10000277, 102.986458, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  3728. Part211.Orientation = Vector3.new(0, 180, 0)
  3729. Part211.Position = Vector3.new(126.091461, 5.10000277, 102.986458)
  3730. Part211.Rotation = Vector3.new(-180, 0, -180)
  3731. Part211.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3732. Part211.Size = Vector3.new(2, 1, 1)
  3733. Part211.BottomSurface = Enum.SurfaceType.Smooth
  3734. Part211.BrickColor = BrickColor.new("Medium green")
  3735. Part211.TopSurface = Enum.SurfaceType.Smooth
  3736. Part211.brickColor = BrickColor.new("Medium green")
  3737. Part211.FormFactor = Enum.FormFactor.Symmetric
  3738. Part211.formFactor = Enum.FormFactor.Symmetric
  3739. Script212.Parent = Part211
  3740. table.insert(cors,sandbox(Script212,function()
  3741. wait(1)
  3742. owner=script.Parent.Parent.Name
  3743.  
  3744. function onTouched(part)
  3745. if part.Parent ~= nil then
  3746. local h = part.Parent:findFirstChild("Humanoid")
  3747. if h~=nil then
  3748. if cantouch~=0 then
  3749. if h.Parent.Name~=owner then
  3750.  
  3751. if h.Parent:findFirstChild("zarm")~=nil then return end
  3752.  
  3753. cantouch=0
  3754.  
  3755. local larm=h.Parent:findFirstChild("Left Arm")
  3756. local rarm=h.Parent:findFirstChild("Right Arm")
  3757.  
  3758. if larm~=nil then
  3759. larm:remove()
  3760. end
  3761. if rarm~=nil then
  3762. rarm:remove()
  3763. end
  3764. local zee=script.Parent.Parent:findFirstChild("zarm")
  3765. if zee~=nil then
  3766. local zlarm=zee:clone()
  3767. local zrarm=zee:clone()
  3768. if zlarm~=nil then
  3769.  
  3770. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3771. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  3772. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  3773. zlarm.Parent=h.Parent
  3774. zrarm.Parent=h.Parent
  3775. zlarm:makeJoints()
  3776. zrarm:makeJoints()
  3777. zlarm.Anchored=false
  3778. zrarm.Anchored=false
  3779. wait(0.1)
  3780. h.Parent.Head.Color=zee.Color
  3781. else print("no zee"); return end
  3782. end
  3783. wait(1)
  3784. cantouch=1
  3785. end
  3786. end
  3787. end
  3788. end
  3789. end
  3790.  
  3791. script.Parent.Touched:connect(onTouched)
  3792. end))
  3793. Part213.Name = "zarm"
  3794. Part213.Parent = Model203
  3795. Part213.CFrame = CFrame.new(126.091461, 5.10000277, 99.9864578, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  3796. Part213.Orientation = Vector3.new(0, 180, 0)
  3797. Part213.Position = Vector3.new(126.091461, 5.10000277, 99.9864578)
  3798. Part213.Rotation = Vector3.new(-180, 0, -180)
  3799. Part213.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3800. Part213.Size = Vector3.new(2, 1, 1)
  3801. Part213.BottomSurface = Enum.SurfaceType.Smooth
  3802. Part213.BrickColor = BrickColor.new("Medium green")
  3803. Part213.TopSurface = Enum.SurfaceType.Smooth
  3804. Part213.brickColor = BrickColor.new("Medium green")
  3805. Part213.FormFactor = Enum.FormFactor.Symmetric
  3806. Part213.formFactor = Enum.FormFactor.Symmetric
  3807. Script214.Parent = Part213
  3808. table.insert(cors,sandbox(Script214,function()
  3809. wait(1)
  3810. owner=script.Parent.Parent.Name
  3811.  
  3812. function onTouched(part)
  3813. if part.Parent ~= nil then
  3814. local h = part.Parent:findFirstChild("Humanoid")
  3815. if h~=nil then
  3816. if cantouch~=0 then
  3817. if h.Parent.Name~=owner then
  3818.  
  3819. if h.Parent:findFirstChild("zarm")~=nil then return end
  3820.  
  3821. cantouch=0
  3822.  
  3823. local larm=h.Parent:findFirstChild("Left Arm")
  3824. local rarm=h.Parent:findFirstChild("Right Arm")
  3825.  
  3826. if larm~=nil then
  3827. larm:remove()
  3828. end
  3829. if rarm~=nil then
  3830. rarm:remove()
  3831. end
  3832. local zee=script.Parent.Parent:findFirstChild("zarm")
  3833. if zee~=nil then
  3834. local zlarm=zee:clone()
  3835. local zrarm=zee:clone()
  3836. if zlarm~=nil then
  3837.  
  3838. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  3839. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  3840. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  3841. zlarm.Parent=h.Parent
  3842. zrarm.Parent=h.Parent
  3843. zlarm:makeJoints()
  3844. zrarm:makeJoints()
  3845. zlarm.Anchored=false
  3846. zrarm.Anchored=false
  3847. wait(0.1)
  3848. h.Parent.Head.Color=zee.Color
  3849. else print("no zee"); return end
  3850. end
  3851. wait(1)
  3852. cantouch=1
  3853. end
  3854. end
  3855. end
  3856. end
  3857. end
  3858.  
  3859. script.Parent.Touched:connect(onTouched)
  3860. end))
  3861. ObjectValue215.Name = "IsNZ"
  3862. ObjectValue215.Parent = Model203
  3863. IntValue216.Name = "Mode"
  3864. IntValue216.Parent = Model203
  3865. Script217.Parent = Model203
  3866. table.insert(cors,sandbox(Script217,function()
  3867. local larm = script.Parent:FindFirstChild("Left Arm")
  3868. local rarm = script.Parent:FindFirstChild("Right Arm")
  3869.  
  3870. function findNearestTorso(pos)
  3871. local list = game.Workspace:children()
  3872. local torso = nil
  3873. local dist = 1000
  3874. local temp = nil
  3875. local human = nil
  3876. local temp2 = nil
  3877. for x = 1, #list do
  3878. temp2 = list[x]
  3879. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  3880. temp = temp2:findFirstChild("Right Arm")
  3881. human = temp2:findFirstChild("Humanoid")
  3882. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  3883. if (temp.Position - pos).magnitude < dist then
  3884. torso = temp
  3885. dist = (temp.Position - pos).magnitude
  3886. end
  3887. end
  3888. end
  3889. end
  3890. return torso
  3891. end
  3892.  
  3893.  
  3894.  
  3895.  
  3896. while true do
  3897. wait(math.random(1,5))
  3898. local target = findNearestTorso(script.Parent.Torso.Position)
  3899. if target ~= nil then
  3900. script.Parent.Humanoid:MoveTo(target.Position, target)
  3901. end
  3902.  
  3903. end
  3904.  
  3905. end))
  3906. Script218.Name = "Health"
  3907. Script218.Parent = Model203
  3908. table.insert(cors,sandbox(Script218,function()
  3909. function waitForChild(parent, childName)
  3910. while true do
  3911. local child = parent:findFirstChild(childName)
  3912. if child then
  3913. return child
  3914. end
  3915. parent.ChildAdded:wait()
  3916. end
  3917. end
  3918.  
  3919. -- declarations
  3920.  
  3921. local Figure = script.Parent
  3922. local Head = waitForChild(Figure, "Head")
  3923. local Humanoid = waitForChild(Figure, "Humanoid")
  3924. Humanoid.Health=500
  3925. -- regeneration
  3926. while true do
  3927. local s = wait(4)
  3928. local health = Humanoid.Health
  3929. if health > 0 and health < Humanoid.MaxHealth then
  3930. health = health + 0.08 * s * Humanoid.MaxHealth
  3931. if health * 1.05 < Humanoid.MaxHealth then
  3932. Humanoid.Health = health
  3933. else
  3934. Humanoid.Health = Humanoid.MaxHealth
  3935. end
  3936. end
  3937. end
  3938.  
  3939. end))
  3940. Script219.Name = "Respawn"
  3941. Script219.Parent = Model203
  3942. table.insert(cors,sandbox(Script219,function()
  3943. name="Humanoid"
  3944.  
  3945. robo=script.Parent:clone()
  3946.  
  3947. while true do
  3948. wait(1)
  3949. if script.Parent.Humanoid.Health<1 then
  3950. robot=robo:clone()
  3951. robot.Parent=script.Parent.Parent
  3952. robot:makeJoints()
  3953. script.Parent:remove()
  3954. end
  3955. end
  3956.  
  3957.  
  3958.  
  3959.  
  3960. end))
  3961. Part220.Name = "Spawn Location"
  3962. Part220.Parent = Model202
  3963. Part220.CFrame = CFrame.new(126.113548, 0.603018999, 101.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  3964. Part220.Orientation = Vector3.new(0, 180, 0)
  3965. Part220.Position = Vector3.new(126.113548, 0.603018999, 101.491455)
  3966. Part220.Rotation = Vector3.new(-180, 0, -180)
  3967. Part220.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3968. Part220.Size = Vector3.new(6, 1.20000005, 6)
  3969. Part220.BottomSurface = Enum.SurfaceType.Weld
  3970. Part220.BrickColor = BrickColor.new("Medium green")
  3971. Part220.TopSurface = Enum.SurfaceType.Smooth
  3972. Part220.brickColor = BrickColor.new("Medium green")
  3973. Decal221.Parent = Part220
  3974. Decal221.Texture = "http://www.roblox.com/asset/?id=34541722"
  3975. Decal221.Face = Enum.NormalId.Top
  3976. Model222.Parent = Model201
  3977. Model223.Name = "Zombie"
  3978. Model223.Parent = Model222
  3979. Model223.PrimaryPart = Part224
  3980. Part224.Name = "Head"
  3981. Part224.Parent = Model223
  3982. Part224.CFrame = CFrame.new(126.591461, 6.10000277, 95.4864502, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  3983. Part224.Orientation = Vector3.new(0, 90, 0)
  3984. Part224.Position = Vector3.new(126.591461, 6.10000277, 95.4864502)
  3985. Part224.Rotation = Vector3.new(0, 90, 0)
  3986. Part224.Color = Color3.new(0.631373, 0.768628, 0.54902)
  3987. Part224.Size = Vector3.new(2, 1, 1)
  3988. Part224.BrickColor = BrickColor.new("Medium green")
  3989. Part224.TopSurface = Enum.SurfaceType.Smooth
  3990. Part224.brickColor = BrickColor.new("Medium green")
  3991. Part224.FormFactor = Enum.FormFactor.Symmetric
  3992. Part224.formFactor = Enum.FormFactor.Symmetric
  3993. SpecialMesh225.Parent = Part224
  3994. SpecialMesh225.Scale = Vector3.new(1.25, 1.25, 1.25)
  3995. Decal226.Name = "face"
  3996. Decal226.Parent = Part224
  3997. Part227.Name = "Torso"
  3998. Part227.Parent = Model223
  3999. Part227.CFrame = CFrame.new(126.591461, 4.60000277, 95.4864502, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  4000. Part227.Orientation = Vector3.new(0, 90, 0)
  4001. Part227.Position = Vector3.new(126.591461, 4.60000277, 95.4864502)
  4002. Part227.Rotation = Vector3.new(0, 90, 0)
  4003. Part227.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4004. Part227.Size = Vector3.new(2, 2, 1)
  4005. Part227.BrickColor = BrickColor.new("Reddish brown")
  4006. Part227.LeftParamA = 0
  4007. Part227.LeftParamB = 0
  4008. Part227.LeftSurface = Enum.SurfaceType.Weld
  4009. Part227.RightParamA = 0
  4010. Part227.RightParamB = 0
  4011. Part227.RightSurface = Enum.SurfaceType.Weld
  4012. Part227.brickColor = BrickColor.new("Reddish brown")
  4013. Part227.FormFactor = Enum.FormFactor.Symmetric
  4014. Part227.formFactor = Enum.FormFactor.Symmetric
  4015. Part228.Name = "Left Leg"
  4016. Part228.Parent = Model223
  4017. Part228.CFrame = CFrame.new(126.591461, 2.60000181, 95.9864502, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4018. Part228.Orientation = Vector3.new(0, 90, 0)
  4019. Part228.Position = Vector3.new(126.591461, 2.60000181, 95.9864502)
  4020. Part228.Rotation = Vector3.new(0, 90, 0)
  4021. Part228.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4022. Part228.Size = Vector3.new(1, 2, 1)
  4023. Part228.BottomSurface = Enum.SurfaceType.Smooth
  4024. Part228.BrickColor = BrickColor.new("Reddish brown")
  4025. Part228.CanCollide = false
  4026. Part228.brickColor = BrickColor.new("Reddish brown")
  4027. Part228.FormFactor = Enum.FormFactor.Symmetric
  4028. Part228.formFactor = Enum.FormFactor.Symmetric
  4029. Part229.Name = "Right Leg"
  4030. Part229.Parent = Model223
  4031. Part229.CFrame = CFrame.new(126.591461, 2.60000181, 94.9864502, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4032. Part229.Orientation = Vector3.new(0, 90, 0)
  4033. Part229.Position = Vector3.new(126.591461, 2.60000181, 94.9864502)
  4034. Part229.Rotation = Vector3.new(0, 90, 0)
  4035. Part229.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4036. Part229.Size = Vector3.new(1, 2, 1)
  4037. Part229.BottomSurface = Enum.SurfaceType.Smooth
  4038. Part229.BrickColor = BrickColor.new("Reddish brown")
  4039. Part229.CanCollide = false
  4040. Part229.brickColor = BrickColor.new("Reddish brown")
  4041. Part229.FormFactor = Enum.FormFactor.Symmetric
  4042. Part229.formFactor = Enum.FormFactor.Symmetric
  4043. Humanoid230.Parent = Model223
  4044. Humanoid230.LeftLeg = Part228
  4045. Humanoid230.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  4046. Humanoid230.RightLeg = Part229
  4047. Humanoid230.Torso = Part227
  4048. Part231.Name = "zarm"
  4049. Part231.Parent = Model223
  4050. Part231.CFrame = CFrame.new(126.091461, 5.10000277, 96.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  4051. Part231.Orientation = Vector3.new(0, 180, 0)
  4052. Part231.Position = Vector3.new(126.091461, 5.10000277, 96.9864502)
  4053. Part231.Rotation = Vector3.new(-180, 0, -180)
  4054. Part231.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4055. Part231.Size = Vector3.new(2, 1, 1)
  4056. Part231.BottomSurface = Enum.SurfaceType.Smooth
  4057. Part231.BrickColor = BrickColor.new("Medium green")
  4058. Part231.TopSurface = Enum.SurfaceType.Smooth
  4059. Part231.brickColor = BrickColor.new("Medium green")
  4060. Part231.FormFactor = Enum.FormFactor.Symmetric
  4061. Part231.formFactor = Enum.FormFactor.Symmetric
  4062. Script232.Parent = Part231
  4063. table.insert(cors,sandbox(Script232,function()
  4064. wait(1)
  4065. owner=script.Parent.Parent.Name
  4066.  
  4067. function onTouched(part)
  4068. if part.Parent ~= nil then
  4069. local h = part.Parent:findFirstChild("Humanoid")
  4070. if h~=nil then
  4071. if cantouch~=0 then
  4072. if h.Parent.Name~=owner then
  4073.  
  4074. if h.Parent:findFirstChild("zarm")~=nil then return end
  4075.  
  4076. cantouch=0
  4077.  
  4078. local larm=h.Parent:findFirstChild("Left Arm")
  4079. local rarm=h.Parent:findFirstChild("Right Arm")
  4080.  
  4081. if larm~=nil then
  4082. larm:remove()
  4083. end
  4084. if rarm~=nil then
  4085. rarm:remove()
  4086. end
  4087. local zee=script.Parent.Parent:findFirstChild("zarm")
  4088. if zee~=nil then
  4089. local zlarm=zee:clone()
  4090. local zrarm=zee:clone()
  4091. if zlarm~=nil then
  4092.  
  4093. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4094. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  4095. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  4096. zlarm.Parent=h.Parent
  4097. zrarm.Parent=h.Parent
  4098. zlarm:makeJoints()
  4099. zrarm:makeJoints()
  4100. zlarm.Anchored=false
  4101. zrarm.Anchored=false
  4102. wait(0.1)
  4103. h.Parent.Head.Color=zee.Color
  4104. else print("no zee"); return end
  4105. end
  4106. wait(1)
  4107. cantouch=1
  4108. end
  4109. end
  4110. end
  4111. end
  4112. end
  4113.  
  4114. script.Parent.Touched:connect(onTouched)
  4115. end))
  4116. Part233.Name = "zarm"
  4117. Part233.Parent = Model223
  4118. Part233.CFrame = CFrame.new(126.091461, 5.10000277, 93.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  4119. Part233.Orientation = Vector3.new(0, 180, 0)
  4120. Part233.Position = Vector3.new(126.091461, 5.10000277, 93.9864502)
  4121. Part233.Rotation = Vector3.new(-180, 0, -180)
  4122. Part233.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4123. Part233.Size = Vector3.new(2, 1, 1)
  4124. Part233.BottomSurface = Enum.SurfaceType.Smooth
  4125. Part233.BrickColor = BrickColor.new("Medium green")
  4126. Part233.TopSurface = Enum.SurfaceType.Smooth
  4127. Part233.brickColor = BrickColor.new("Medium green")
  4128. Part233.FormFactor = Enum.FormFactor.Symmetric
  4129. Part233.formFactor = Enum.FormFactor.Symmetric
  4130. Script234.Parent = Part233
  4131. table.insert(cors,sandbox(Script234,function()
  4132. wait(1)
  4133. owner=script.Parent.Parent.Name
  4134.  
  4135. function onTouched(part)
  4136. if part.Parent ~= nil then
  4137. local h = part.Parent:findFirstChild("Humanoid")
  4138. if h~=nil then
  4139. if cantouch~=0 then
  4140. if h.Parent.Name~=owner then
  4141.  
  4142. if h.Parent:findFirstChild("zarm")~=nil then return end
  4143.  
  4144. cantouch=0
  4145.  
  4146. local larm=h.Parent:findFirstChild("Left Arm")
  4147. local rarm=h.Parent:findFirstChild("Right Arm")
  4148.  
  4149. if larm~=nil then
  4150. larm:remove()
  4151. end
  4152. if rarm~=nil then
  4153. rarm:remove()
  4154. end
  4155. local zee=script.Parent.Parent:findFirstChild("zarm")
  4156. if zee~=nil then
  4157. local zlarm=zee:clone()
  4158. local zrarm=zee:clone()
  4159. if zlarm~=nil then
  4160.  
  4161. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4162. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  4163. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  4164. zlarm.Parent=h.Parent
  4165. zrarm.Parent=h.Parent
  4166. zlarm:makeJoints()
  4167. zrarm:makeJoints()
  4168. zlarm.Anchored=false
  4169. zrarm.Anchored=false
  4170. wait(0.1)
  4171. h.Parent.Head.Color=zee.Color
  4172. else print("no zee"); return end
  4173. end
  4174. wait(1)
  4175. cantouch=1
  4176. end
  4177. end
  4178. end
  4179. end
  4180. end
  4181.  
  4182. script.Parent.Touched:connect(onTouched)
  4183. end))
  4184. ObjectValue235.Name = "IsNZ"
  4185. ObjectValue235.Parent = Model223
  4186. IntValue236.Name = "Mode"
  4187. IntValue236.Parent = Model223
  4188. Script237.Parent = Model223
  4189. table.insert(cors,sandbox(Script237,function()
  4190. local larm = script.Parent:FindFirstChild("Left Arm")
  4191. local rarm = script.Parent:FindFirstChild("Right Arm")
  4192.  
  4193. function findNearestTorso(pos)
  4194. local list = game.Workspace:children()
  4195. local torso = nil
  4196. local dist = 1000
  4197. local temp = nil
  4198. local human = nil
  4199. local temp2 = nil
  4200. for x = 1, #list do
  4201. temp2 = list[x]
  4202. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  4203. temp = temp2:findFirstChild("Right Arm")
  4204. human = temp2:findFirstChild("Humanoid")
  4205. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  4206. if (temp.Position - pos).magnitude < dist then
  4207. torso = temp
  4208. dist = (temp.Position - pos).magnitude
  4209. end
  4210. end
  4211. end
  4212. end
  4213. return torso
  4214. end
  4215.  
  4216.  
  4217.  
  4218.  
  4219. while true do
  4220. wait(math.random(1,5))
  4221. local target = findNearestTorso(script.Parent.Torso.Position)
  4222. if target ~= nil then
  4223. script.Parent.Humanoid:MoveTo(target.Position, target)
  4224. end
  4225.  
  4226. end
  4227.  
  4228. end))
  4229. Script238.Name = "Health"
  4230. Script238.Parent = Model223
  4231. table.insert(cors,sandbox(Script238,function()
  4232. function waitForChild(parent, childName)
  4233. while true do
  4234. local child = parent:findFirstChild(childName)
  4235. if child then
  4236. return child
  4237. end
  4238. parent.ChildAdded:wait()
  4239. end
  4240. end
  4241.  
  4242. -- declarations
  4243.  
  4244. local Figure = script.Parent
  4245. local Head = waitForChild(Figure, "Head")
  4246. local Humanoid = waitForChild(Figure, "Humanoid")
  4247. Humanoid.Health=500
  4248. -- regeneration
  4249. while true do
  4250. local s = wait(4)
  4251. local health = Humanoid.Health
  4252. if health > 0 and health < Humanoid.MaxHealth then
  4253. health = health + 0.08 * s * Humanoid.MaxHealth
  4254. if health * 1.05 < Humanoid.MaxHealth then
  4255. Humanoid.Health = health
  4256. else
  4257. Humanoid.Health = Humanoid.MaxHealth
  4258. end
  4259. end
  4260. end
  4261.  
  4262. end))
  4263. Script239.Name = "Respawn"
  4264. Script239.Parent = Model223
  4265. table.insert(cors,sandbox(Script239,function()
  4266. name="Humanoid"
  4267.  
  4268. robo=script.Parent:clone()
  4269.  
  4270. while true do
  4271. wait(1)
  4272. if script.Parent.Humanoid.Health<1 then
  4273. robot=robo:clone()
  4274. robot.Parent=script.Parent.Parent
  4275. robot:makeJoints()
  4276. script.Parent:remove()
  4277. end
  4278. end
  4279.  
  4280.  
  4281.  
  4282.  
  4283. end))
  4284. Part240.Name = "Spawn Location"
  4285. Part240.Parent = Model222
  4286. Part240.CFrame = CFrame.new(126.091461, 0.600021005, 95.4864502, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  4287. Part240.Orientation = Vector3.new(0, 180, 0)
  4288. Part240.Position = Vector3.new(126.091461, 0.600021005, 95.4864502)
  4289. Part240.Rotation = Vector3.new(-180, 0, -180)
  4290. Part240.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4291. Part240.Size = Vector3.new(6, 1.20000005, 6)
  4292. Part240.BottomSurface = Enum.SurfaceType.Weld
  4293. Part240.BrickColor = BrickColor.new("Medium green")
  4294. Part240.TopSurface = Enum.SurfaceType.Smooth
  4295. Part240.brickColor = BrickColor.new("Medium green")
  4296. Decal241.Parent = Part240
  4297. Decal241.Texture = "http://www.roblox.com/asset/?id=34541722"
  4298. Decal241.Face = Enum.NormalId.Top
  4299. Model242.Parent = Model201
  4300. Model243.Name = "Zombie"
  4301. Model243.Parent = Model242
  4302. Model243.PrimaryPart = Part244
  4303. Part244.Name = "Head"
  4304. Part244.Parent = Model243
  4305. Part244.CFrame = CFrame.new(126.591461, 6.10000277, 119.486465, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4306. Part244.Orientation = Vector3.new(0, 90, 0)
  4307. Part244.Position = Vector3.new(126.591461, 6.10000277, 119.486465)
  4308. Part244.Rotation = Vector3.new(0, 90, 0)
  4309. Part244.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4310. Part244.Size = Vector3.new(2, 1, 1)
  4311. Part244.BrickColor = BrickColor.new("Medium green")
  4312. Part244.TopSurface = Enum.SurfaceType.Smooth
  4313. Part244.brickColor = BrickColor.new("Medium green")
  4314. Part244.FormFactor = Enum.FormFactor.Symmetric
  4315. Part244.formFactor = Enum.FormFactor.Symmetric
  4316. SpecialMesh245.Parent = Part244
  4317. SpecialMesh245.Scale = Vector3.new(1.25, 1.25, 1.25)
  4318. Decal246.Name = "face"
  4319. Decal246.Parent = Part244
  4320. Part247.Name = "Torso"
  4321. Part247.Parent = Model243
  4322. Part247.CFrame = CFrame.new(126.591461, 4.60000277, 119.486465, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  4323. Part247.Orientation = Vector3.new(0, 90, 0)
  4324. Part247.Position = Vector3.new(126.591461, 4.60000277, 119.486465)
  4325. Part247.Rotation = Vector3.new(0, 90, 0)
  4326. Part247.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4327. Part247.Size = Vector3.new(2, 2, 1)
  4328. Part247.BrickColor = BrickColor.new("Reddish brown")
  4329. Part247.LeftParamA = 0
  4330. Part247.LeftParamB = 0
  4331. Part247.LeftSurface = Enum.SurfaceType.Weld
  4332. Part247.RightParamA = 0
  4333. Part247.RightParamB = 0
  4334. Part247.RightSurface = Enum.SurfaceType.Weld
  4335. Part247.brickColor = BrickColor.new("Reddish brown")
  4336. Part247.FormFactor = Enum.FormFactor.Symmetric
  4337. Part247.formFactor = Enum.FormFactor.Symmetric
  4338. Part248.Name = "Left Leg"
  4339. Part248.Parent = Model243
  4340. Part248.CFrame = CFrame.new(126.591461, 2.60000181, 119.986465, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4341. Part248.Orientation = Vector3.new(0, 90, 0)
  4342. Part248.Position = Vector3.new(126.591461, 2.60000181, 119.986465)
  4343. Part248.Rotation = Vector3.new(0, 90, 0)
  4344. Part248.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4345. Part248.Size = Vector3.new(1, 2, 1)
  4346. Part248.BottomSurface = Enum.SurfaceType.Smooth
  4347. Part248.BrickColor = BrickColor.new("Reddish brown")
  4348. Part248.CanCollide = false
  4349. Part248.brickColor = BrickColor.new("Reddish brown")
  4350. Part248.FormFactor = Enum.FormFactor.Symmetric
  4351. Part248.formFactor = Enum.FormFactor.Symmetric
  4352. Part249.Name = "Right Leg"
  4353. Part249.Parent = Model243
  4354. Part249.CFrame = CFrame.new(126.591461, 2.60000181, 118.986465, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4355. Part249.Orientation = Vector3.new(0, 90, 0)
  4356. Part249.Position = Vector3.new(126.591461, 2.60000181, 118.986465)
  4357. Part249.Rotation = Vector3.new(0, 90, 0)
  4358. Part249.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4359. Part249.Size = Vector3.new(1, 2, 1)
  4360. Part249.BottomSurface = Enum.SurfaceType.Smooth
  4361. Part249.BrickColor = BrickColor.new("Reddish brown")
  4362. Part249.CanCollide = false
  4363. Part249.brickColor = BrickColor.new("Reddish brown")
  4364. Part249.FormFactor = Enum.FormFactor.Symmetric
  4365. Part249.formFactor = Enum.FormFactor.Symmetric
  4366. Humanoid250.Parent = Model243
  4367. Humanoid250.LeftLeg = Part248
  4368. Humanoid250.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  4369. Humanoid250.RightLeg = Part249
  4370. Humanoid250.Torso = Part247
  4371. Part251.Name = "zarm"
  4372. Part251.Parent = Model243
  4373. Part251.CFrame = CFrame.new(126.091461, 5.10000277, 120.986465, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  4374. Part251.Orientation = Vector3.new(0, 180, 0)
  4375. Part251.Position = Vector3.new(126.091461, 5.10000277, 120.986465)
  4376. Part251.Rotation = Vector3.new(-180, 0, -180)
  4377. Part251.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4378. Part251.Size = Vector3.new(2, 1, 1)
  4379. Part251.BottomSurface = Enum.SurfaceType.Smooth
  4380. Part251.BrickColor = BrickColor.new("Medium green")
  4381. Part251.TopSurface = Enum.SurfaceType.Smooth
  4382. Part251.brickColor = BrickColor.new("Medium green")
  4383. Part251.FormFactor = Enum.FormFactor.Symmetric
  4384. Part251.formFactor = Enum.FormFactor.Symmetric
  4385. Script252.Parent = Part251
  4386. table.insert(cors,sandbox(Script252,function()
  4387. wait(1)
  4388. owner=script.Parent.Parent.Name
  4389.  
  4390. function onTouched(part)
  4391. if part.Parent ~= nil then
  4392. local h = part.Parent:findFirstChild("Humanoid")
  4393. if h~=nil then
  4394. if cantouch~=0 then
  4395. if h.Parent.Name~=owner then
  4396.  
  4397. if h.Parent:findFirstChild("zarm")~=nil then return end
  4398.  
  4399. cantouch=0
  4400.  
  4401. local larm=h.Parent:findFirstChild("Left Arm")
  4402. local rarm=h.Parent:findFirstChild("Right Arm")
  4403.  
  4404. if larm~=nil then
  4405. larm:remove()
  4406. end
  4407. if rarm~=nil then
  4408. rarm:remove()
  4409. end
  4410. local zee=script.Parent.Parent:findFirstChild("zarm")
  4411. if zee~=nil then
  4412. local zlarm=zee:clone()
  4413. local zrarm=zee:clone()
  4414. if zlarm~=nil then
  4415.  
  4416. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4417. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  4418. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  4419. zlarm.Parent=h.Parent
  4420. zrarm.Parent=h.Parent
  4421. zlarm:makeJoints()
  4422. zrarm:makeJoints()
  4423. zlarm.Anchored=false
  4424. zrarm.Anchored=false
  4425. wait(0.1)
  4426. h.Parent.Head.Color=zee.Color
  4427. else print("no zee"); return end
  4428. end
  4429. wait(1)
  4430. cantouch=1
  4431. end
  4432. end
  4433. end
  4434. end
  4435. end
  4436.  
  4437. script.Parent.Touched:connect(onTouched)
  4438. end))
  4439. Part253.Name = "zarm"
  4440. Part253.Parent = Model243
  4441. Part253.CFrame = CFrame.new(126.091461, 5.10000277, 117.986465, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  4442. Part253.Orientation = Vector3.new(0, 180, 0)
  4443. Part253.Position = Vector3.new(126.091461, 5.10000277, 117.986465)
  4444. Part253.Rotation = Vector3.new(-180, 0, -180)
  4445. Part253.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4446. Part253.Size = Vector3.new(2, 1, 1)
  4447. Part253.BottomSurface = Enum.SurfaceType.Smooth
  4448. Part253.BrickColor = BrickColor.new("Medium green")
  4449. Part253.TopSurface = Enum.SurfaceType.Smooth
  4450. Part253.brickColor = BrickColor.new("Medium green")
  4451. Part253.FormFactor = Enum.FormFactor.Symmetric
  4452. Part253.formFactor = Enum.FormFactor.Symmetric
  4453. Script254.Parent = Part253
  4454. table.insert(cors,sandbox(Script254,function()
  4455. wait(1)
  4456. owner=script.Parent.Parent.Name
  4457.  
  4458. function onTouched(part)
  4459. if part.Parent ~= nil then
  4460. local h = part.Parent:findFirstChild("Humanoid")
  4461. if h~=nil then
  4462. if cantouch~=0 then
  4463. if h.Parent.Name~=owner then
  4464.  
  4465. if h.Parent:findFirstChild("zarm")~=nil then return end
  4466.  
  4467. cantouch=0
  4468.  
  4469. local larm=h.Parent:findFirstChild("Left Arm")
  4470. local rarm=h.Parent:findFirstChild("Right Arm")
  4471.  
  4472. if larm~=nil then
  4473. larm:remove()
  4474. end
  4475. if rarm~=nil then
  4476. rarm:remove()
  4477. end
  4478. local zee=script.Parent.Parent:findFirstChild("zarm")
  4479. if zee~=nil then
  4480. local zlarm=zee:clone()
  4481. local zrarm=zee:clone()
  4482. if zlarm~=nil then
  4483.  
  4484. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4485. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  4486. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  4487. zlarm.Parent=h.Parent
  4488. zrarm.Parent=h.Parent
  4489. zlarm:makeJoints()
  4490. zrarm:makeJoints()
  4491. zlarm.Anchored=false
  4492. zrarm.Anchored=false
  4493. wait(0.1)
  4494. h.Parent.Head.Color=zee.Color
  4495. else print("no zee"); return end
  4496. end
  4497. wait(1)
  4498. cantouch=1
  4499. end
  4500. end
  4501. end
  4502. end
  4503. end
  4504.  
  4505. script.Parent.Touched:connect(onTouched)
  4506. end))
  4507. ObjectValue255.Name = "IsNZ"
  4508. ObjectValue255.Parent = Model243
  4509. IntValue256.Name = "Mode"
  4510. IntValue256.Parent = Model243
  4511. Script257.Parent = Model243
  4512. table.insert(cors,sandbox(Script257,function()
  4513. local larm = script.Parent:FindFirstChild("Left Arm")
  4514. local rarm = script.Parent:FindFirstChild("Right Arm")
  4515.  
  4516. function findNearestTorso(pos)
  4517. local list = game.Workspace:children()
  4518. local torso = nil
  4519. local dist = 1000
  4520. local temp = nil
  4521. local human = nil
  4522. local temp2 = nil
  4523. for x = 1, #list do
  4524. temp2 = list[x]
  4525. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  4526. temp = temp2:findFirstChild("Right Arm")
  4527. human = temp2:findFirstChild("Humanoid")
  4528. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  4529. if (temp.Position - pos).magnitude < dist then
  4530. torso = temp
  4531. dist = (temp.Position - pos).magnitude
  4532. end
  4533. end
  4534. end
  4535. end
  4536. return torso
  4537. end
  4538.  
  4539.  
  4540.  
  4541.  
  4542. while true do
  4543. wait(math.random(1,5))
  4544. local target = findNearestTorso(script.Parent.Torso.Position)
  4545. if target ~= nil then
  4546. script.Parent.Humanoid:MoveTo(target.Position, target)
  4547. end
  4548.  
  4549. end
  4550.  
  4551. end))
  4552. Script258.Name = "Health"
  4553. Script258.Parent = Model243
  4554. table.insert(cors,sandbox(Script258,function()
  4555. function waitForChild(parent, childName)
  4556. while true do
  4557. local child = parent:findFirstChild(childName)
  4558. if child then
  4559. return child
  4560. end
  4561. parent.ChildAdded:wait()
  4562. end
  4563. end
  4564.  
  4565. -- declarations
  4566.  
  4567. local Figure = script.Parent
  4568. local Head = waitForChild(Figure, "Head")
  4569. local Humanoid = waitForChild(Figure, "Humanoid")
  4570. Humanoid.Health=500
  4571. -- regeneration
  4572. while true do
  4573. local s = wait(4)
  4574. local health = Humanoid.Health
  4575. if health > 0 and health < Humanoid.MaxHealth then
  4576. health = health + 0.08 * s * Humanoid.MaxHealth
  4577. if health * 1.05 < Humanoid.MaxHealth then
  4578. Humanoid.Health = health
  4579. else
  4580. Humanoid.Health = Humanoid.MaxHealth
  4581. end
  4582. end
  4583. end
  4584.  
  4585. end))
  4586. Script259.Name = "Respawn"
  4587. Script259.Parent = Model243
  4588. table.insert(cors,sandbox(Script259,function()
  4589. name="Humanoid"
  4590.  
  4591. robo=script.Parent:clone()
  4592.  
  4593. while true do
  4594. wait(1)
  4595. if script.Parent.Humanoid.Health<1 then
  4596. robot=robo:clone()
  4597. robot.Parent=script.Parent.Parent
  4598. robot:makeJoints()
  4599. script.Parent:remove()
  4600. end
  4601. end
  4602.  
  4603.  
  4604.  
  4605.  
  4606. end))
  4607. Part260.Name = "Spawn Location"
  4608. Part260.Parent = Model242
  4609. Part260.CFrame = CFrame.new(126.113548, 0.603018999, 119.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  4610. Part260.Orientation = Vector3.new(0, 180, 0)
  4611. Part260.Position = Vector3.new(126.113548, 0.603018999, 119.491455)
  4612. Part260.Rotation = Vector3.new(-180, 0, -180)
  4613. Part260.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4614. Part260.Size = Vector3.new(6, 1.20000005, 6)
  4615. Part260.BottomSurface = Enum.SurfaceType.Weld
  4616. Part260.BrickColor = BrickColor.new("Medium green")
  4617. Part260.TopSurface = Enum.SurfaceType.Smooth
  4618. Part260.brickColor = BrickColor.new("Medium green")
  4619. Decal261.Parent = Part260
  4620. Decal261.Texture = "http://www.roblox.com/asset/?id=34541722"
  4621. Decal261.Face = Enum.NormalId.Top
  4622. Model262.Parent = Model201
  4623. Model263.Name = "Zombie"
  4624. Model263.Parent = Model262
  4625. Model263.PrimaryPart = Part264
  4626. Part264.Name = "Head"
  4627. Part264.Parent = Model263
  4628. Part264.CFrame = CFrame.new(126.608551, 6.10000277, 107.513443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4629. Part264.Orientation = Vector3.new(0, 90, 0)
  4630. Part264.Position = Vector3.new(126.608551, 6.10000277, 107.513443)
  4631. Part264.Rotation = Vector3.new(0, 90, 0)
  4632. Part264.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4633. Part264.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20)
  4634. Part264.Size = Vector3.new(2, 1, 1)
  4635. Part264.BrickColor = BrickColor.new("Medium green")
  4636. Part264.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4637. Part264.TopSurface = Enum.SurfaceType.Smooth
  4638. Part264.brickColor = BrickColor.new("Medium green")
  4639. Part264.FormFactor = Enum.FormFactor.Symmetric
  4640. Part264.formFactor = Enum.FormFactor.Symmetric
  4641. SpecialMesh265.Parent = Part264
  4642. SpecialMesh265.Scale = Vector3.new(1.25, 1.25, 1.25)
  4643. Decal266.Name = "face"
  4644. Decal266.Parent = Part264
  4645. Part267.Name = "Torso"
  4646. Part267.Parent = Model263
  4647. Part267.CFrame = CFrame.new(126.608551, 4.60000277, 107.513443, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  4648. Part267.Orientation = Vector3.new(0, 90, 0)
  4649. Part267.Position = Vector3.new(126.608551, 4.60000277, 107.513443)
  4650. Part267.Rotation = Vector3.new(0, 90, 0)
  4651. Part267.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4652. Part267.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20)
  4653. Part267.Size = Vector3.new(2, 2, 1)
  4654. Part267.BrickColor = BrickColor.new("Reddish brown")
  4655. Part267.LeftParamA = 0
  4656. Part267.LeftParamB = 0
  4657. Part267.LeftSurface = Enum.SurfaceType.Weld
  4658. Part267.RightParamA = 0
  4659. Part267.RightParamB = 0
  4660. Part267.RightSurface = Enum.SurfaceType.Weld
  4661. Part267.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4662. Part267.brickColor = BrickColor.new("Reddish brown")
  4663. Part267.FormFactor = Enum.FormFactor.Symmetric
  4664. Part267.formFactor = Enum.FormFactor.Symmetric
  4665. Part268.Name = "Left Leg"
  4666. Part268.Parent = Model263
  4667. Part268.CFrame = CFrame.new(126.608551, 2.60000181, 108.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4668. Part268.Orientation = Vector3.new(0, 90, 0)
  4669. Part268.Position = Vector3.new(126.608551, 2.60000181, 108.013443)
  4670. Part268.Rotation = Vector3.new(0, 90, 0)
  4671. Part268.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4672. Part268.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20)
  4673. Part268.Size = Vector3.new(1, 2, 1)
  4674. Part268.BottomSurface = Enum.SurfaceType.Smooth
  4675. Part268.BrickColor = BrickColor.new("Reddish brown")
  4676. Part268.CanCollide = false
  4677. Part268.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4678. Part268.brickColor = BrickColor.new("Reddish brown")
  4679. Part268.FormFactor = Enum.FormFactor.Symmetric
  4680. Part268.formFactor = Enum.FormFactor.Symmetric
  4681. Part269.Name = "Right Leg"
  4682. Part269.Parent = Model263
  4683. Part269.CFrame = CFrame.new(126.608551, 2.60000181, 107.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4684. Part269.Orientation = Vector3.new(0, 90, 0)
  4685. Part269.Position = Vector3.new(126.608551, 2.60000181, 107.013443)
  4686. Part269.Rotation = Vector3.new(0, 90, 0)
  4687. Part269.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4688. Part269.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20)
  4689. Part269.Size = Vector3.new(1, 2, 1)
  4690. Part269.BottomSurface = Enum.SurfaceType.Smooth
  4691. Part269.BrickColor = BrickColor.new("Reddish brown")
  4692. Part269.CanCollide = false
  4693. Part269.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4694. Part269.brickColor = BrickColor.new("Reddish brown")
  4695. Part269.FormFactor = Enum.FormFactor.Symmetric
  4696. Part269.formFactor = Enum.FormFactor.Symmetric
  4697. Humanoid270.Parent = Model263
  4698. Humanoid270.LeftLeg = Part268
  4699. Humanoid270.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  4700. Humanoid270.RightLeg = Part269
  4701. Humanoid270.Torso = Part267
  4702. Part271.Name = "zarm"
  4703. Part271.Parent = Model263
  4704. Part271.CFrame = CFrame.new(126.108551, 5.10000277, 109.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  4705. Part271.Orientation = Vector3.new(0, 180, 0)
  4706. Part271.Position = Vector3.new(126.108551, 5.10000277, 109.013443)
  4707. Part271.Rotation = Vector3.new(-180, 0, -180)
  4708. Part271.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4709. Part271.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20)
  4710. Part271.Size = Vector3.new(2, 1, 1)
  4711. Part271.BottomSurface = Enum.SurfaceType.Smooth
  4712. Part271.BrickColor = BrickColor.new("Medium green")
  4713. Part271.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4714. Part271.TopSurface = Enum.SurfaceType.Smooth
  4715. Part271.brickColor = BrickColor.new("Medium green")
  4716. Part271.FormFactor = Enum.FormFactor.Symmetric
  4717. Part271.formFactor = Enum.FormFactor.Symmetric
  4718. Script272.Parent = Part271
  4719. table.insert(cors,sandbox(Script272,function()
  4720. wait(1)
  4721. owner=script.Parent.Parent.Name
  4722.  
  4723. function onTouched(part)
  4724. if part.Parent ~= nil then
  4725. local h = part.Parent:findFirstChild("Humanoid")
  4726. if h~=nil then
  4727. if cantouch~=0 then
  4728. if h.Parent.Name~=owner then
  4729.  
  4730. if h.Parent:findFirstChild("zarm")~=nil then return end
  4731.  
  4732. cantouch=0
  4733.  
  4734. local larm=h.Parent:findFirstChild("Left Arm")
  4735. local rarm=h.Parent:findFirstChild("Right Arm")
  4736.  
  4737. if larm~=nil then
  4738. larm:remove()
  4739. end
  4740. if rarm~=nil then
  4741. rarm:remove()
  4742. end
  4743. local zee=script.Parent.Parent:findFirstChild("zarm")
  4744. if zee~=nil then
  4745. local zlarm=zee:clone()
  4746. local zrarm=zee:clone()
  4747. if zlarm~=nil then
  4748.  
  4749. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4750. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  4751. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  4752. zlarm.Parent=h.Parent
  4753. zrarm.Parent=h.Parent
  4754. zlarm:makeJoints()
  4755. zrarm:makeJoints()
  4756. zlarm.Anchored=false
  4757. zrarm.Anchored=false
  4758. wait(0.1)
  4759. h.Parent.Head.Color=zee.Color
  4760. else print("no zee"); return end
  4761. end
  4762. wait(1)
  4763. cantouch=1
  4764. end
  4765. end
  4766. end
  4767. end
  4768. end
  4769.  
  4770. script.Parent.Touched:connect(onTouched)
  4771. end))
  4772. Part273.Name = "zarm"
  4773. Part273.Parent = Model263
  4774. Part273.CFrame = CFrame.new(126.108551, 5.10000277, 106.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  4775. Part273.Orientation = Vector3.new(0, 180, 0)
  4776. Part273.Position = Vector3.new(126.108551, 5.10000277, 106.013443)
  4777. Part273.Rotation = Vector3.new(-180, 0, -180)
  4778. Part273.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4779. Part273.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20)
  4780. Part273.Size = Vector3.new(2, 1, 1)
  4781. Part273.BottomSurface = Enum.SurfaceType.Smooth
  4782. Part273.BrickColor = BrickColor.new("Medium green")
  4783. Part273.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4784. Part273.TopSurface = Enum.SurfaceType.Smooth
  4785. Part273.brickColor = BrickColor.new("Medium green")
  4786. Part273.FormFactor = Enum.FormFactor.Symmetric
  4787. Part273.formFactor = Enum.FormFactor.Symmetric
  4788. Script274.Parent = Part273
  4789. table.insert(cors,sandbox(Script274,function()
  4790. wait(1)
  4791. owner=script.Parent.Parent.Name
  4792.  
  4793. function onTouched(part)
  4794. if part.Parent ~= nil then
  4795. local h = part.Parent:findFirstChild("Humanoid")
  4796. if h~=nil then
  4797. if cantouch~=0 then
  4798. if h.Parent.Name~=owner then
  4799.  
  4800. if h.Parent:findFirstChild("zarm")~=nil then return end
  4801.  
  4802. cantouch=0
  4803.  
  4804. local larm=h.Parent:findFirstChild("Left Arm")
  4805. local rarm=h.Parent:findFirstChild("Right Arm")
  4806.  
  4807. if larm~=nil then
  4808. larm:remove()
  4809. end
  4810. if rarm~=nil then
  4811. rarm:remove()
  4812. end
  4813. local zee=script.Parent.Parent:findFirstChild("zarm")
  4814. if zee~=nil then
  4815. local zlarm=zee:clone()
  4816. local zrarm=zee:clone()
  4817. if zlarm~=nil then
  4818.  
  4819. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  4820. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  4821. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  4822. zlarm.Parent=h.Parent
  4823. zrarm.Parent=h.Parent
  4824. zlarm:makeJoints()
  4825. zrarm:makeJoints()
  4826. zlarm.Anchored=false
  4827. zrarm.Anchored=false
  4828. wait(0.1)
  4829. h.Parent.Head.Color=zee.Color
  4830. else print("no zee"); return end
  4831. end
  4832. wait(1)
  4833. cantouch=1
  4834. end
  4835. end
  4836. end
  4837. end
  4838. end
  4839.  
  4840. script.Parent.Touched:connect(onTouched)
  4841. end))
  4842. ObjectValue275.Name = "IsNZ"
  4843. ObjectValue275.Parent = Model263
  4844. IntValue276.Name = "Mode"
  4845. IntValue276.Parent = Model263
  4846. Script277.Parent = Model263
  4847. table.insert(cors,sandbox(Script277,function()
  4848. local larm = script.Parent:FindFirstChild("Left Arm")
  4849. local rarm = script.Parent:FindFirstChild("Right Arm")
  4850.  
  4851. function findNearestTorso(pos)
  4852. local list = game.Workspace:children()
  4853. local torso = nil
  4854. local dist = 1000
  4855. local temp = nil
  4856. local human = nil
  4857. local temp2 = nil
  4858. for x = 1, #list do
  4859. temp2 = list[x]
  4860. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  4861. temp = temp2:findFirstChild("Right Arm")
  4862. human = temp2:findFirstChild("Humanoid")
  4863. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  4864. if (temp.Position - pos).magnitude < dist then
  4865. torso = temp
  4866. dist = (temp.Position - pos).magnitude
  4867. end
  4868. end
  4869. end
  4870. end
  4871. return torso
  4872. end
  4873.  
  4874.  
  4875.  
  4876.  
  4877. while true do
  4878. wait(math.random(1,5))
  4879. local target = findNearestTorso(script.Parent.Torso.Position)
  4880. if target ~= nil then
  4881. script.Parent.Humanoid:MoveTo(target.Position, target)
  4882. end
  4883.  
  4884. end
  4885.  
  4886. end))
  4887. Script278.Name = "Health"
  4888. Script278.Parent = Model263
  4889. table.insert(cors,sandbox(Script278,function()
  4890. function waitForChild(parent, childName)
  4891. while true do
  4892. local child = parent:findFirstChild(childName)
  4893. if child then
  4894. return child
  4895. end
  4896. parent.ChildAdded:wait()
  4897. end
  4898. end
  4899.  
  4900. -- declarations
  4901.  
  4902. local Figure = script.Parent
  4903. local Head = waitForChild(Figure, "Head")
  4904. local Humanoid = waitForChild(Figure, "Humanoid")
  4905. Humanoid.Health=500
  4906. -- regeneration
  4907. while true do
  4908. local s = wait(4)
  4909. local health = Humanoid.Health
  4910. if health > 0 and health < Humanoid.MaxHealth then
  4911. health = health + 0.08 * s * Humanoid.MaxHealth
  4912. if health * 1.05 < Humanoid.MaxHealth then
  4913. Humanoid.Health = health
  4914. else
  4915. Humanoid.Health = Humanoid.MaxHealth
  4916. end
  4917. end
  4918. end
  4919.  
  4920. end))
  4921. Script279.Name = "Respawn"
  4922. Script279.Parent = Model263
  4923. table.insert(cors,sandbox(Script279,function()
  4924. name="Humanoid"
  4925.  
  4926. robo=script.Parent:clone()
  4927.  
  4928. while true do
  4929. wait(1)
  4930. if script.Parent.Humanoid.Health<1 then
  4931. robot=robo:clone()
  4932. robot.Parent=script.Parent.Parent
  4933. robot:makeJoints()
  4934. script.Parent:remove()
  4935. end
  4936. end
  4937.  
  4938.  
  4939.  
  4940.  
  4941. end))
  4942. Part280.Name = "Spawn Location"
  4943. Part280.Parent = Model262
  4944. Part280.CFrame = CFrame.new(126.113548, 0.603018999, 107.491463, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  4945. Part280.Orientation = Vector3.new(0, 180, 0)
  4946. Part280.Position = Vector3.new(126.113548, 0.603018999, 107.491463)
  4947. Part280.Rotation = Vector3.new(-180, 0, -180)
  4948. Part280.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4949. Part280.Size = Vector3.new(6, 1.20000005, 6)
  4950. Part280.BottomSurface = Enum.SurfaceType.Weld
  4951. Part280.BrickColor = BrickColor.new("Medium green")
  4952. Part280.TopSurface = Enum.SurfaceType.Smooth
  4953. Part280.brickColor = BrickColor.new("Medium green")
  4954. Decal281.Parent = Part280
  4955. Decal281.Texture = "http://www.roblox.com/asset/?id=34541722"
  4956. Decal281.Face = Enum.NormalId.Top
  4957. Model282.Parent = Model201
  4958. Model283.Name = "Zombie"
  4959. Model283.Parent = Model282
  4960. Model283.PrimaryPart = Part284
  4961. Part284.Name = "Head"
  4962. Part284.Parent = Model283
  4963. Part284.CFrame = CFrame.new(126.608551, 6.10000277, 113.513443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  4964. Part284.Orientation = Vector3.new(0, 90, 0)
  4965. Part284.Position = Vector3.new(126.608551, 6.10000277, 113.513443)
  4966. Part284.Rotation = Vector3.new(0, 90, 0)
  4967. Part284.Color = Color3.new(0.631373, 0.768628, 0.54902)
  4968. Part284.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20)
  4969. Part284.Size = Vector3.new(2, 1, 1)
  4970. Part284.BrickColor = BrickColor.new("Medium green")
  4971. Part284.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4972. Part284.TopSurface = Enum.SurfaceType.Smooth
  4973. Part284.brickColor = BrickColor.new("Medium green")
  4974. Part284.FormFactor = Enum.FormFactor.Symmetric
  4975. Part284.formFactor = Enum.FormFactor.Symmetric
  4976. SpecialMesh285.Parent = Part284
  4977. SpecialMesh285.Scale = Vector3.new(1.25, 1.25, 1.25)
  4978. Decal286.Name = "face"
  4979. Decal286.Parent = Part284
  4980. Part287.Name = "Torso"
  4981. Part287.Parent = Model283
  4982. Part287.CFrame = CFrame.new(126.608551, 4.60000277, 113.513443, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  4983. Part287.Orientation = Vector3.new(0, 90, 0)
  4984. Part287.Position = Vector3.new(126.608551, 4.60000277, 113.513443)
  4985. Part287.Rotation = Vector3.new(0, 90, 0)
  4986. Part287.Color = Color3.new(0.411765, 0.25098, 0.156863)
  4987. Part287.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20)
  4988. Part287.Size = Vector3.new(2, 2, 1)
  4989. Part287.BrickColor = BrickColor.new("Reddish brown")
  4990. Part287.LeftParamA = 0
  4991. Part287.LeftParamB = 0
  4992. Part287.LeftSurface = Enum.SurfaceType.Weld
  4993. Part287.RightParamA = 0
  4994. Part287.RightParamB = 0
  4995. Part287.RightSurface = Enum.SurfaceType.Weld
  4996. Part287.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  4997. Part287.brickColor = BrickColor.new("Reddish brown")
  4998. Part287.FormFactor = Enum.FormFactor.Symmetric
  4999. Part287.formFactor = Enum.FormFactor.Symmetric
  5000. Part288.Name = "Left Leg"
  5001. Part288.Parent = Model283
  5002. Part288.CFrame = CFrame.new(126.608551, 2.60000181, 114.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5003. Part288.Orientation = Vector3.new(0, 90, 0)
  5004. Part288.Position = Vector3.new(126.608551, 2.60000181, 114.013443)
  5005. Part288.Rotation = Vector3.new(0, 90, 0)
  5006. Part288.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5007. Part288.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20)
  5008. Part288.Size = Vector3.new(1, 2, 1)
  5009. Part288.BottomSurface = Enum.SurfaceType.Smooth
  5010. Part288.BrickColor = BrickColor.new("Reddish brown")
  5011. Part288.CanCollide = false
  5012. Part288.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5013. Part288.brickColor = BrickColor.new("Reddish brown")
  5014. Part288.FormFactor = Enum.FormFactor.Symmetric
  5015. Part288.formFactor = Enum.FormFactor.Symmetric
  5016. Part289.Name = "Right Leg"
  5017. Part289.Parent = Model283
  5018. Part289.CFrame = CFrame.new(126.608551, 2.60000181, 113.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5019. Part289.Orientation = Vector3.new(0, 90, 0)
  5020. Part289.Position = Vector3.new(126.608551, 2.60000181, 113.013443)
  5021. Part289.Rotation = Vector3.new(0, 90, 0)
  5022. Part289.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5023. Part289.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20)
  5024. Part289.Size = Vector3.new(1, 2, 1)
  5025. Part289.BottomSurface = Enum.SurfaceType.Smooth
  5026. Part289.BrickColor = BrickColor.new("Reddish brown")
  5027. Part289.CanCollide = false
  5028. Part289.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5029. Part289.brickColor = BrickColor.new("Reddish brown")
  5030. Part289.FormFactor = Enum.FormFactor.Symmetric
  5031. Part289.formFactor = Enum.FormFactor.Symmetric
  5032. Humanoid290.Parent = Model283
  5033. Humanoid290.LeftLeg = Part288
  5034. Humanoid290.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  5035. Humanoid290.RightLeg = Part289
  5036. Humanoid290.Torso = Part287
  5037. Part291.Name = "zarm"
  5038. Part291.Parent = Model283
  5039. Part291.CFrame = CFrame.new(126.108551, 5.10000277, 115.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  5040. Part291.Orientation = Vector3.new(0, 180, 0)
  5041. Part291.Position = Vector3.new(126.108551, 5.10000277, 115.013443)
  5042. Part291.Rotation = Vector3.new(-180, 0, -180)
  5043. Part291.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5044. Part291.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20)
  5045. Part291.Size = Vector3.new(2, 1, 1)
  5046. Part291.BottomSurface = Enum.SurfaceType.Smooth
  5047. Part291.BrickColor = BrickColor.new("Medium green")
  5048. Part291.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5049. Part291.TopSurface = Enum.SurfaceType.Smooth
  5050. Part291.brickColor = BrickColor.new("Medium green")
  5051. Part291.FormFactor = Enum.FormFactor.Symmetric
  5052. Part291.formFactor = Enum.FormFactor.Symmetric
  5053. Script292.Parent = Part291
  5054. table.insert(cors,sandbox(Script292,function()
  5055. wait(1)
  5056. owner=script.Parent.Parent.Name
  5057.  
  5058. function onTouched(part)
  5059. if part.Parent ~= nil then
  5060. local h = part.Parent:findFirstChild("Humanoid")
  5061. if h~=nil then
  5062. if cantouch~=0 then
  5063. if h.Parent.Name~=owner then
  5064.  
  5065. if h.Parent:findFirstChild("zarm")~=nil then return end
  5066.  
  5067. cantouch=0
  5068.  
  5069. local larm=h.Parent:findFirstChild("Left Arm")
  5070. local rarm=h.Parent:findFirstChild("Right Arm")
  5071.  
  5072. if larm~=nil then
  5073. larm:remove()
  5074. end
  5075. if rarm~=nil then
  5076. rarm:remove()
  5077. end
  5078. local zee=script.Parent.Parent:findFirstChild("zarm")
  5079. if zee~=nil then
  5080. local zlarm=zee:clone()
  5081. local zrarm=zee:clone()
  5082. if zlarm~=nil then
  5083.  
  5084. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5085. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  5086. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  5087. zlarm.Parent=h.Parent
  5088. zrarm.Parent=h.Parent
  5089. zlarm:makeJoints()
  5090. zrarm:makeJoints()
  5091. zlarm.Anchored=false
  5092. zrarm.Anchored=false
  5093. wait(0.1)
  5094. h.Parent.Head.Color=zee.Color
  5095. else print("no zee"); return end
  5096. end
  5097. wait(1)
  5098. cantouch=1
  5099. end
  5100. end
  5101. end
  5102. end
  5103. end
  5104.  
  5105. script.Parent.Touched:connect(onTouched)
  5106. end))
  5107. Part293.Name = "zarm"
  5108. Part293.Parent = Model283
  5109. Part293.CFrame = CFrame.new(126.108551, 5.10000277, 112.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  5110. Part293.Orientation = Vector3.new(0, 180, 0)
  5111. Part293.Position = Vector3.new(126.108551, 5.10000277, 112.013443)
  5112. Part293.Rotation = Vector3.new(-180, 0, -180)
  5113. Part293.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5114. Part293.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20)
  5115. Part293.Size = Vector3.new(2, 1, 1)
  5116. Part293.BottomSurface = Enum.SurfaceType.Smooth
  5117. Part293.BrickColor = BrickColor.new("Medium green")
  5118. Part293.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5119. Part293.TopSurface = Enum.SurfaceType.Smooth
  5120. Part293.brickColor = BrickColor.new("Medium green")
  5121. Part293.FormFactor = Enum.FormFactor.Symmetric
  5122. Part293.formFactor = Enum.FormFactor.Symmetric
  5123. Script294.Parent = Part293
  5124. table.insert(cors,sandbox(Script294,function()
  5125. wait(1)
  5126. owner=script.Parent.Parent.Name
  5127.  
  5128. function onTouched(part)
  5129. if part.Parent ~= nil then
  5130. local h = part.Parent:findFirstChild("Humanoid")
  5131. if h~=nil then
  5132. if cantouch~=0 then
  5133. if h.Parent.Name~=owner then
  5134.  
  5135. if h.Parent:findFirstChild("zarm")~=nil then return end
  5136.  
  5137. cantouch=0
  5138.  
  5139. local larm=h.Parent:findFirstChild("Left Arm")
  5140. local rarm=h.Parent:findFirstChild("Right Arm")
  5141.  
  5142. if larm~=nil then
  5143. larm:remove()
  5144. end
  5145. if rarm~=nil then
  5146. rarm:remove()
  5147. end
  5148. local zee=script.Parent.Parent:findFirstChild("zarm")
  5149. if zee~=nil then
  5150. local zlarm=zee:clone()
  5151. local zrarm=zee:clone()
  5152. if zlarm~=nil then
  5153.  
  5154. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5155. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  5156. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  5157. zlarm.Parent=h.Parent
  5158. zrarm.Parent=h.Parent
  5159. zlarm:makeJoints()
  5160. zrarm:makeJoints()
  5161. zlarm.Anchored=false
  5162. zrarm.Anchored=false
  5163. wait(0.1)
  5164. h.Parent.Head.Color=zee.Color
  5165. else print("no zee"); return end
  5166. end
  5167. wait(1)
  5168. cantouch=1
  5169. end
  5170. end
  5171. end
  5172. end
  5173. end
  5174.  
  5175. script.Parent.Touched:connect(onTouched)
  5176. end))
  5177. ObjectValue295.Name = "IsNZ"
  5178. ObjectValue295.Parent = Model283
  5179. IntValue296.Name = "Mode"
  5180. IntValue296.Parent = Model283
  5181. Script297.Parent = Model283
  5182. table.insert(cors,sandbox(Script297,function()
  5183. local larm = script.Parent:FindFirstChild("Left Arm")
  5184. local rarm = script.Parent:FindFirstChild("Right Arm")
  5185.  
  5186. function findNearestTorso(pos)
  5187. local list = game.Workspace:children()
  5188. local torso = nil
  5189. local dist = 1000
  5190. local temp = nil
  5191. local human = nil
  5192. local temp2 = nil
  5193. for x = 1, #list do
  5194. temp2 = list[x]
  5195. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  5196. temp = temp2:findFirstChild("Right Arm")
  5197. human = temp2:findFirstChild("Humanoid")
  5198. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  5199. if (temp.Position - pos).magnitude < dist then
  5200. torso = temp
  5201. dist = (temp.Position - pos).magnitude
  5202. end
  5203. end
  5204. end
  5205. end
  5206. return torso
  5207. end
  5208.  
  5209.  
  5210.  
  5211.  
  5212. while true do
  5213. wait(math.random(1,5))
  5214. local target = findNearestTorso(script.Parent.Torso.Position)
  5215. if target ~= nil then
  5216. script.Parent.Humanoid:MoveTo(target.Position, target)
  5217. end
  5218.  
  5219. end
  5220.  
  5221. end))
  5222. Script298.Name = "Health"
  5223. Script298.Parent = Model283
  5224. table.insert(cors,sandbox(Script298,function()
  5225. function waitForChild(parent, childName)
  5226. while true do
  5227. local child = parent:findFirstChild(childName)
  5228. if child then
  5229. return child
  5230. end
  5231. parent.ChildAdded:wait()
  5232. end
  5233. end
  5234.  
  5235. -- declarations
  5236.  
  5237. local Figure = script.Parent
  5238. local Head = waitForChild(Figure, "Head")
  5239. local Humanoid = waitForChild(Figure, "Humanoid")
  5240. Humanoid.Health=500
  5241. -- regeneration
  5242. while true do
  5243. local s = wait(4)
  5244. local health = Humanoid.Health
  5245. if health > 0 and health < Humanoid.MaxHealth then
  5246. health = health + 0.08 * s * Humanoid.MaxHealth
  5247. if health * 1.05 < Humanoid.MaxHealth then
  5248. Humanoid.Health = health
  5249. else
  5250. Humanoid.Health = Humanoid.MaxHealth
  5251. end
  5252. end
  5253. end
  5254.  
  5255. end))
  5256. Script299.Name = "Respawn"
  5257. Script299.Parent = Model283
  5258. table.insert(cors,sandbox(Script299,function()
  5259. name="Humanoid"
  5260.  
  5261. robo=script.Parent:clone()
  5262.  
  5263. while true do
  5264. wait(1)
  5265. if script.Parent.Humanoid.Health<1 then
  5266. robot=robo:clone()
  5267. robot.Parent=script.Parent.Parent
  5268. robot:makeJoints()
  5269. script.Parent:remove()
  5270. end
  5271. end
  5272.  
  5273.  
  5274.  
  5275.  
  5276. end))
  5277. Part300.Name = "Spawn Location"
  5278. Part300.Parent = Model282
  5279. Part300.CFrame = CFrame.new(126.113548, 0.603018999, 113.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  5280. Part300.Orientation = Vector3.new(0, 180, 0)
  5281. Part300.Position = Vector3.new(126.113548, 0.603018999, 113.491455)
  5282. Part300.Rotation = Vector3.new(-180, 0, -180)
  5283. Part300.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5284. Part300.Size = Vector3.new(6, 1.20000005, 6)
  5285. Part300.BottomSurface = Enum.SurfaceType.Weld
  5286. Part300.BrickColor = BrickColor.new("Medium green")
  5287. Part300.TopSurface = Enum.SurfaceType.Smooth
  5288. Part300.brickColor = BrickColor.new("Medium green")
  5289. Decal301.Parent = Part300
  5290. Decal301.Texture = "http://www.roblox.com/asset/?id=34541722"
  5291. Decal301.Face = Enum.NormalId.Top
  5292. Model302.Parent = Model201
  5293. Model303.Name = "Zombie"
  5294. Model303.Parent = Model302
  5295. Model303.PrimaryPart = Part304
  5296. Part304.Name = "Head"
  5297. Part304.Parent = Model303
  5298. Part304.CFrame = CFrame.new(120.586472, 6.09701204, 95.5084381, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5299. Part304.Orientation = Vector3.new(0, 90, 0)
  5300. Part304.Position = Vector3.new(120.586472, 6.09701204, 95.5084381)
  5301. Part304.Rotation = Vector3.new(0, 90, 0)
  5302. Part304.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5303. Part304.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20)
  5304. Part304.Size = Vector3.new(2, 1, 1)
  5305. Part304.BrickColor = BrickColor.new("Medium green")
  5306. Part304.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5307. Part304.TopSurface = Enum.SurfaceType.Smooth
  5308. Part304.brickColor = BrickColor.new("Medium green")
  5309. Part304.FormFactor = Enum.FormFactor.Symmetric
  5310. Part304.formFactor = Enum.FormFactor.Symmetric
  5311. SpecialMesh305.Parent = Part304
  5312. SpecialMesh305.Scale = Vector3.new(1.25, 1.25, 1.25)
  5313. Decal306.Name = "face"
  5314. Decal306.Parent = Part304
  5315. Part307.Name = "Torso"
  5316. Part307.Parent = Model303
  5317. Part307.CFrame = CFrame.new(120.586472, 4.59701204, 95.5084381, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  5318. Part307.Orientation = Vector3.new(0, 90, 0)
  5319. Part307.Position = Vector3.new(120.586472, 4.59701204, 95.5084381)
  5320. Part307.Rotation = Vector3.new(0, 90, 0)
  5321. Part307.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5322. Part307.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20)
  5323. Part307.Size = Vector3.new(2, 2, 1)
  5324. Part307.BrickColor = BrickColor.new("Reddish brown")
  5325. Part307.LeftParamA = 0
  5326. Part307.LeftParamB = 0
  5327. Part307.LeftSurface = Enum.SurfaceType.Weld
  5328. Part307.RightParamA = 0
  5329. Part307.RightParamB = 0
  5330. Part307.RightSurface = Enum.SurfaceType.Weld
  5331. Part307.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5332. Part307.brickColor = BrickColor.new("Reddish brown")
  5333. Part307.FormFactor = Enum.FormFactor.Symmetric
  5334. Part307.formFactor = Enum.FormFactor.Symmetric
  5335. Part308.Name = "Left Leg"
  5336. Part308.Parent = Model303
  5337. Part308.CFrame = CFrame.new(120.586472, 2.59701204, 96.0084381, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5338. Part308.Orientation = Vector3.new(0, 90, 0)
  5339. Part308.Position = Vector3.new(120.586472, 2.59701204, 96.0084381)
  5340. Part308.Rotation = Vector3.new(0, 90, 0)
  5341. Part308.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5342. Part308.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20)
  5343. Part308.Size = Vector3.new(1, 2, 1)
  5344. Part308.BottomSurface = Enum.SurfaceType.Smooth
  5345. Part308.BrickColor = BrickColor.new("Reddish brown")
  5346. Part308.CanCollide = false
  5347. Part308.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5348. Part308.brickColor = BrickColor.new("Reddish brown")
  5349. Part308.FormFactor = Enum.FormFactor.Symmetric
  5350. Part308.formFactor = Enum.FormFactor.Symmetric
  5351. Part309.Name = "Right Leg"
  5352. Part309.Parent = Model303
  5353. Part309.CFrame = CFrame.new(120.586472, 2.59701204, 95.0084381, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5354. Part309.Orientation = Vector3.new(0, 90, 0)
  5355. Part309.Position = Vector3.new(120.586472, 2.59701204, 95.0084381)
  5356. Part309.Rotation = Vector3.new(0, 90, 0)
  5357. Part309.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5358. Part309.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20)
  5359. Part309.Size = Vector3.new(1, 2, 1)
  5360. Part309.BottomSurface = Enum.SurfaceType.Smooth
  5361. Part309.BrickColor = BrickColor.new("Reddish brown")
  5362. Part309.CanCollide = false
  5363. Part309.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5364. Part309.brickColor = BrickColor.new("Reddish brown")
  5365. Part309.FormFactor = Enum.FormFactor.Symmetric
  5366. Part309.formFactor = Enum.FormFactor.Symmetric
  5367. Humanoid310.Parent = Model303
  5368. Humanoid310.LeftLeg = Part308
  5369. Humanoid310.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  5370. Humanoid310.RightLeg = Part309
  5371. Humanoid310.Torso = Part307
  5372. Part311.Name = "zarm"
  5373. Part311.Parent = Model303
  5374. Part311.CFrame = CFrame.new(120.086472, 5.09701204, 97.0084381, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  5375. Part311.Orientation = Vector3.new(0, 180, 0)
  5376. Part311.Position = Vector3.new(120.086472, 5.09701204, 97.0084381)
  5377. Part311.Rotation = Vector3.new(-180, 0, -180)
  5378. Part311.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5379. Part311.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20)
  5380. Part311.Size = Vector3.new(2, 1, 1)
  5381. Part311.BottomSurface = Enum.SurfaceType.Smooth
  5382. Part311.BrickColor = BrickColor.new("Medium green")
  5383. Part311.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5384. Part311.TopSurface = Enum.SurfaceType.Smooth
  5385. Part311.brickColor = BrickColor.new("Medium green")
  5386. Part311.FormFactor = Enum.FormFactor.Symmetric
  5387. Part311.formFactor = Enum.FormFactor.Symmetric
  5388. Script312.Parent = Part311
  5389. table.insert(cors,sandbox(Script312,function()
  5390. wait(1)
  5391. owner=script.Parent.Parent.Name
  5392.  
  5393. function onTouched(part)
  5394. if part.Parent ~= nil then
  5395. local h = part.Parent:findFirstChild("Humanoid")
  5396. if h~=nil then
  5397. if cantouch~=0 then
  5398. if h.Parent.Name~=owner then
  5399.  
  5400. if h.Parent:findFirstChild("zarm")~=nil then return end
  5401.  
  5402. cantouch=0
  5403.  
  5404. local larm=h.Parent:findFirstChild("Left Arm")
  5405. local rarm=h.Parent:findFirstChild("Right Arm")
  5406.  
  5407. if larm~=nil then
  5408. larm:remove()
  5409. end
  5410. if rarm~=nil then
  5411. rarm:remove()
  5412. end
  5413. local zee=script.Parent.Parent:findFirstChild("zarm")
  5414. if zee~=nil then
  5415. local zlarm=zee:clone()
  5416. local zrarm=zee:clone()
  5417. if zlarm~=nil then
  5418.  
  5419. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5420. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  5421. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  5422. zlarm.Parent=h.Parent
  5423. zrarm.Parent=h.Parent
  5424. zlarm:makeJoints()
  5425. zrarm:makeJoints()
  5426. zlarm.Anchored=false
  5427. zrarm.Anchored=false
  5428. wait(0.1)
  5429. h.Parent.Head.Color=zee.Color
  5430. else print("no zee"); return end
  5431. end
  5432. wait(1)
  5433. cantouch=1
  5434. end
  5435. end
  5436. end
  5437. end
  5438. end
  5439.  
  5440. script.Parent.Touched:connect(onTouched)
  5441. end))
  5442. Part313.Name = "zarm"
  5443. Part313.Parent = Model303
  5444. Part313.CFrame = CFrame.new(120.086472, 5.09701204, 94.0084381, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  5445. Part313.Orientation = Vector3.new(0, 180, 0)
  5446. Part313.Position = Vector3.new(120.086472, 5.09701204, 94.0084381)
  5447. Part313.Rotation = Vector3.new(-180, 0, -180)
  5448. Part313.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5449. Part313.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20)
  5450. Part313.Size = Vector3.new(2, 1, 1)
  5451. Part313.BottomSurface = Enum.SurfaceType.Smooth
  5452. Part313.BrickColor = BrickColor.new("Medium green")
  5453. Part313.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5454. Part313.TopSurface = Enum.SurfaceType.Smooth
  5455. Part313.brickColor = BrickColor.new("Medium green")
  5456. Part313.FormFactor = Enum.FormFactor.Symmetric
  5457. Part313.formFactor = Enum.FormFactor.Symmetric
  5458. Script314.Parent = Part313
  5459. table.insert(cors,sandbox(Script314,function()
  5460. wait(1)
  5461. owner=script.Parent.Parent.Name
  5462.  
  5463. function onTouched(part)
  5464. if part.Parent ~= nil then
  5465. local h = part.Parent:findFirstChild("Humanoid")
  5466. if h~=nil then
  5467. if cantouch~=0 then
  5468. if h.Parent.Name~=owner then
  5469.  
  5470. if h.Parent:findFirstChild("zarm")~=nil then return end
  5471.  
  5472. cantouch=0
  5473.  
  5474. local larm=h.Parent:findFirstChild("Left Arm")
  5475. local rarm=h.Parent:findFirstChild("Right Arm")
  5476.  
  5477. if larm~=nil then
  5478. larm:remove()
  5479. end
  5480. if rarm~=nil then
  5481. rarm:remove()
  5482. end
  5483. local zee=script.Parent.Parent:findFirstChild("zarm")
  5484. if zee~=nil then
  5485. local zlarm=zee:clone()
  5486. local zrarm=zee:clone()
  5487. if zlarm~=nil then
  5488.  
  5489. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5490. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  5491. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  5492. zlarm.Parent=h.Parent
  5493. zrarm.Parent=h.Parent
  5494. zlarm:makeJoints()
  5495. zrarm:makeJoints()
  5496. zlarm.Anchored=false
  5497. zrarm.Anchored=false
  5498. wait(0.1)
  5499. h.Parent.Head.Color=zee.Color
  5500. else print("no zee"); return end
  5501. end
  5502. wait(1)
  5503. cantouch=1
  5504. end
  5505. end
  5506. end
  5507. end
  5508. end
  5509.  
  5510. script.Parent.Touched:connect(onTouched)
  5511. end))
  5512. ObjectValue315.Name = "IsNZ"
  5513. ObjectValue315.Parent = Model303
  5514. IntValue316.Name = "Mode"
  5515. IntValue316.Parent = Model303
  5516. Script317.Parent = Model303
  5517. table.insert(cors,sandbox(Script317,function()
  5518. local larm = script.Parent:FindFirstChild("Left Arm")
  5519. local rarm = script.Parent:FindFirstChild("Right Arm")
  5520.  
  5521. function findNearestTorso(pos)
  5522. local list = game.Workspace:children()
  5523. local torso = nil
  5524. local dist = 1000
  5525. local temp = nil
  5526. local human = nil
  5527. local temp2 = nil
  5528. for x = 1, #list do
  5529. temp2 = list[x]
  5530. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  5531. temp = temp2:findFirstChild("Right Arm")
  5532. human = temp2:findFirstChild("Humanoid")
  5533. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  5534. if (temp.Position - pos).magnitude < dist then
  5535. torso = temp
  5536. dist = (temp.Position - pos).magnitude
  5537. end
  5538. end
  5539. end
  5540. end
  5541. return torso
  5542. end
  5543.  
  5544.  
  5545.  
  5546.  
  5547. while true do
  5548. wait(math.random(1,5))
  5549. local target = findNearestTorso(script.Parent.Torso.Position)
  5550. if target ~= nil then
  5551. script.Parent.Humanoid:MoveTo(target.Position, target)
  5552. end
  5553.  
  5554. end
  5555.  
  5556. end))
  5557. Script318.Name = "Health"
  5558. Script318.Parent = Model303
  5559. table.insert(cors,sandbox(Script318,function()
  5560. function waitForChild(parent, childName)
  5561. while true do
  5562. local child = parent:findFirstChild(childName)
  5563. if child then
  5564. return child
  5565. end
  5566. parent.ChildAdded:wait()
  5567. end
  5568. end
  5569.  
  5570. -- declarations
  5571.  
  5572. local Figure = script.Parent
  5573. local Head = waitForChild(Figure, "Head")
  5574. local Humanoid = waitForChild(Figure, "Humanoid")
  5575. Humanoid.Health=500
  5576. -- regeneration
  5577. while true do
  5578. local s = wait(4)
  5579. local health = Humanoid.Health
  5580. if health > 0 and health < Humanoid.MaxHealth then
  5581. health = health + 0.08 * s * Humanoid.MaxHealth
  5582. if health * 1.05 < Humanoid.MaxHealth then
  5583. Humanoid.Health = health
  5584. else
  5585. Humanoid.Health = Humanoid.MaxHealth
  5586. end
  5587. end
  5588. end
  5589.  
  5590. end))
  5591. Script319.Name = "Respawn"
  5592. Script319.Parent = Model303
  5593. table.insert(cors,sandbox(Script319,function()
  5594. name="Humanoid"
  5595.  
  5596. robo=script.Parent:clone()
  5597.  
  5598. while true do
  5599. wait(1)
  5600. if script.Parent.Humanoid.Health<1 then
  5601. robot=robo:clone()
  5602. robot.Parent=script.Parent.Parent
  5603. robot:makeJoints()
  5604. script.Parent:remove()
  5605. end
  5606. end
  5607.  
  5608.  
  5609.  
  5610.  
  5611. end))
  5612. Part320.Name = "Spawn Location"
  5613. Part320.Parent = Model302
  5614. Part320.CFrame = CFrame.new(120.091461, 0.600021005, 95.4864502, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  5615. Part320.Orientation = Vector3.new(0, 180, 0)
  5616. Part320.Position = Vector3.new(120.091461, 0.600021005, 95.4864502)
  5617. Part320.Rotation = Vector3.new(-180, 0, -180)
  5618. Part320.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5619. Part320.Size = Vector3.new(6, 1.20000005, 6)
  5620. Part320.BottomSurface = Enum.SurfaceType.Weld
  5621. Part320.BrickColor = BrickColor.new("Medium green")
  5622. Part320.TopSurface = Enum.SurfaceType.Smooth
  5623. Part320.brickColor = BrickColor.new("Medium green")
  5624. Decal321.Parent = Part320
  5625. Decal321.Texture = "http://www.roblox.com/asset/?id=34541722"
  5626. Decal321.Face = Enum.NormalId.Top
  5627. Model322.Parent = Model201
  5628. Model323.Name = "Zombie"
  5629. Model323.Parent = Model322
  5630. Model323.PrimaryPart = Part324
  5631. Part324.Name = "Head"
  5632. Part324.Parent = Model323
  5633. Part324.CFrame = CFrame.new(120.586472, 6.09701204, 113.508453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5634. Part324.Orientation = Vector3.new(0, 90, 0)
  5635. Part324.Position = Vector3.new(120.586472, 6.09701204, 113.508453)
  5636. Part324.Rotation = Vector3.new(0, 90, 0)
  5637. Part324.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5638. Part324.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20)
  5639. Part324.Size = Vector3.new(2, 1, 1)
  5640. Part324.BrickColor = BrickColor.new("Medium green")
  5641. Part324.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5642. Part324.TopSurface = Enum.SurfaceType.Smooth
  5643. Part324.brickColor = BrickColor.new("Medium green")
  5644. Part324.FormFactor = Enum.FormFactor.Symmetric
  5645. Part324.formFactor = Enum.FormFactor.Symmetric
  5646. SpecialMesh325.Parent = Part324
  5647. SpecialMesh325.Scale = Vector3.new(1.25, 1.25, 1.25)
  5648. Decal326.Name = "face"
  5649. Decal326.Parent = Part324
  5650. Part327.Name = "Torso"
  5651. Part327.Parent = Model323
  5652. Part327.CFrame = CFrame.new(120.586472, 4.59701204, 113.508453, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  5653. Part327.Orientation = Vector3.new(0, 90, 0)
  5654. Part327.Position = Vector3.new(120.586472, 4.59701204, 113.508453)
  5655. Part327.Rotation = Vector3.new(0, 90, 0)
  5656. Part327.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5657. Part327.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20)
  5658. Part327.Size = Vector3.new(2, 2, 1)
  5659. Part327.BrickColor = BrickColor.new("Reddish brown")
  5660. Part327.LeftParamA = 0
  5661. Part327.LeftParamB = 0
  5662. Part327.LeftSurface = Enum.SurfaceType.Weld
  5663. Part327.RightParamA = 0
  5664. Part327.RightParamB = 0
  5665. Part327.RightSurface = Enum.SurfaceType.Weld
  5666. Part327.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5667. Part327.brickColor = BrickColor.new("Reddish brown")
  5668. Part327.FormFactor = Enum.FormFactor.Symmetric
  5669. Part327.formFactor = Enum.FormFactor.Symmetric
  5670. Part328.Name = "Left Leg"
  5671. Part328.Parent = Model323
  5672. Part328.CFrame = CFrame.new(120.586472, 2.59701204, 114.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5673. Part328.Orientation = Vector3.new(0, 90, 0)
  5674. Part328.Position = Vector3.new(120.586472, 2.59701204, 114.008453)
  5675. Part328.Rotation = Vector3.new(0, 90, 0)
  5676. Part328.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5677. Part328.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20)
  5678. Part328.Size = Vector3.new(1, 2, 1)
  5679. Part328.BottomSurface = Enum.SurfaceType.Smooth
  5680. Part328.BrickColor = BrickColor.new("Reddish brown")
  5681. Part328.CanCollide = false
  5682. Part328.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5683. Part328.brickColor = BrickColor.new("Reddish brown")
  5684. Part328.FormFactor = Enum.FormFactor.Symmetric
  5685. Part328.formFactor = Enum.FormFactor.Symmetric
  5686. Part329.Name = "Right Leg"
  5687. Part329.Parent = Model323
  5688. Part329.CFrame = CFrame.new(120.586472, 2.59701204, 113.008453, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5689. Part329.Orientation = Vector3.new(0, 90, 0)
  5690. Part329.Position = Vector3.new(120.586472, 2.59701204, 113.008453)
  5691. Part329.Rotation = Vector3.new(0, 90, 0)
  5692. Part329.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5693. Part329.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20)
  5694. Part329.Size = Vector3.new(1, 2, 1)
  5695. Part329.BottomSurface = Enum.SurfaceType.Smooth
  5696. Part329.BrickColor = BrickColor.new("Reddish brown")
  5697. Part329.CanCollide = false
  5698. Part329.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5699. Part329.brickColor = BrickColor.new("Reddish brown")
  5700. Part329.FormFactor = Enum.FormFactor.Symmetric
  5701. Part329.formFactor = Enum.FormFactor.Symmetric
  5702. Humanoid330.Parent = Model323
  5703. Humanoid330.LeftLeg = Part328
  5704. Humanoid330.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  5705. Humanoid330.RightLeg = Part329
  5706. Humanoid330.Torso = Part327
  5707. Part331.Name = "zarm"
  5708. Part331.Parent = Model323
  5709. Part331.CFrame = CFrame.new(120.086472, 5.09701204, 115.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  5710. Part331.Orientation = Vector3.new(0, 180, 0)
  5711. Part331.Position = Vector3.new(120.086472, 5.09701204, 115.008453)
  5712. Part331.Rotation = Vector3.new(-180, 0, -180)
  5713. Part331.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5714. Part331.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20)
  5715. Part331.Size = Vector3.new(2, 1, 1)
  5716. Part331.BottomSurface = Enum.SurfaceType.Smooth
  5717. Part331.BrickColor = BrickColor.new("Medium green")
  5718. Part331.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5719. Part331.TopSurface = Enum.SurfaceType.Smooth
  5720. Part331.brickColor = BrickColor.new("Medium green")
  5721. Part331.FormFactor = Enum.FormFactor.Symmetric
  5722. Part331.formFactor = Enum.FormFactor.Symmetric
  5723. Script332.Parent = Part331
  5724. table.insert(cors,sandbox(Script332,function()
  5725. wait(1)
  5726. owner=script.Parent.Parent.Name
  5727.  
  5728. function onTouched(part)
  5729. if part.Parent ~= nil then
  5730. local h = part.Parent:findFirstChild("Humanoid")
  5731. if h~=nil then
  5732. if cantouch~=0 then
  5733. if h.Parent.Name~=owner then
  5734.  
  5735. if h.Parent:findFirstChild("zarm")~=nil then return end
  5736.  
  5737. cantouch=0
  5738.  
  5739. local larm=h.Parent:findFirstChild("Left Arm")
  5740. local rarm=h.Parent:findFirstChild("Right Arm")
  5741.  
  5742. if larm~=nil then
  5743. larm:remove()
  5744. end
  5745. if rarm~=nil then
  5746. rarm:remove()
  5747. end
  5748. local zee=script.Parent.Parent:findFirstChild("zarm")
  5749. if zee~=nil then
  5750. local zlarm=zee:clone()
  5751. local zrarm=zee:clone()
  5752. if zlarm~=nil then
  5753.  
  5754. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5755. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  5756. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  5757. zlarm.Parent=h.Parent
  5758. zrarm.Parent=h.Parent
  5759. zlarm:makeJoints()
  5760. zrarm:makeJoints()
  5761. zlarm.Anchored=false
  5762. zrarm.Anchored=false
  5763. wait(0.1)
  5764. h.Parent.Head.Color=zee.Color
  5765. else print("no zee"); return end
  5766. end
  5767. wait(1)
  5768. cantouch=1
  5769. end
  5770. end
  5771. end
  5772. end
  5773. end
  5774.  
  5775. script.Parent.Touched:connect(onTouched)
  5776. end))
  5777. Part333.Name = "zarm"
  5778. Part333.Parent = Model323
  5779. Part333.CFrame = CFrame.new(120.086472, 5.09701204, 112.008453, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  5780. Part333.Orientation = Vector3.new(0, 180, 0)
  5781. Part333.Position = Vector3.new(120.086472, 5.09701204, 112.008453)
  5782. Part333.Rotation = Vector3.new(-180, 0, -180)
  5783. Part333.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5784. Part333.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20)
  5785. Part333.Size = Vector3.new(2, 1, 1)
  5786. Part333.BottomSurface = Enum.SurfaceType.Smooth
  5787. Part333.BrickColor = BrickColor.new("Medium green")
  5788. Part333.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  5789. Part333.TopSurface = Enum.SurfaceType.Smooth
  5790. Part333.brickColor = BrickColor.new("Medium green")
  5791. Part333.FormFactor = Enum.FormFactor.Symmetric
  5792. Part333.formFactor = Enum.FormFactor.Symmetric
  5793. Script334.Parent = Part333
  5794. table.insert(cors,sandbox(Script334,function()
  5795. wait(1)
  5796. owner=script.Parent.Parent.Name
  5797.  
  5798. function onTouched(part)
  5799. if part.Parent ~= nil then
  5800. local h = part.Parent:findFirstChild("Humanoid")
  5801. if h~=nil then
  5802. if cantouch~=0 then
  5803. if h.Parent.Name~=owner then
  5804.  
  5805. if h.Parent:findFirstChild("zarm")~=nil then return end
  5806.  
  5807. cantouch=0
  5808.  
  5809. local larm=h.Parent:findFirstChild("Left Arm")
  5810. local rarm=h.Parent:findFirstChild("Right Arm")
  5811.  
  5812. if larm~=nil then
  5813. larm:remove()
  5814. end
  5815. if rarm~=nil then
  5816. rarm:remove()
  5817. end
  5818. local zee=script.Parent.Parent:findFirstChild("zarm")
  5819. if zee~=nil then
  5820. local zlarm=zee:clone()
  5821. local zrarm=zee:clone()
  5822. if zlarm~=nil then
  5823.  
  5824. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  5825. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  5826. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  5827. zlarm.Parent=h.Parent
  5828. zrarm.Parent=h.Parent
  5829. zlarm:makeJoints()
  5830. zrarm:makeJoints()
  5831. zlarm.Anchored=false
  5832. zrarm.Anchored=false
  5833. wait(0.1)
  5834. h.Parent.Head.Color=zee.Color
  5835. else print("no zee"); return end
  5836. end
  5837. wait(1)
  5838. cantouch=1
  5839. end
  5840. end
  5841. end
  5842. end
  5843. end
  5844.  
  5845. script.Parent.Touched:connect(onTouched)
  5846. end))
  5847. ObjectValue335.Name = "IsNZ"
  5848. ObjectValue335.Parent = Model323
  5849. IntValue336.Name = "Mode"
  5850. IntValue336.Parent = Model323
  5851. Script337.Parent = Model323
  5852. table.insert(cors,sandbox(Script337,function()
  5853. local larm = script.Parent:FindFirstChild("Left Arm")
  5854. local rarm = script.Parent:FindFirstChild("Right Arm")
  5855.  
  5856. function findNearestTorso(pos)
  5857. local list = game.Workspace:children()
  5858. local torso = nil
  5859. local dist = 1000
  5860. local temp = nil
  5861. local human = nil
  5862. local temp2 = nil
  5863. for x = 1, #list do
  5864. temp2 = list[x]
  5865. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  5866. temp = temp2:findFirstChild("Right Arm")
  5867. human = temp2:findFirstChild("Humanoid")
  5868. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  5869. if (temp.Position - pos).magnitude < dist then
  5870. torso = temp
  5871. dist = (temp.Position - pos).magnitude
  5872. end
  5873. end
  5874. end
  5875. end
  5876. return torso
  5877. end
  5878.  
  5879.  
  5880.  
  5881.  
  5882. while true do
  5883. wait(math.random(1,5))
  5884. local target = findNearestTorso(script.Parent.Torso.Position)
  5885. if target ~= nil then
  5886. script.Parent.Humanoid:MoveTo(target.Position, target)
  5887. end
  5888.  
  5889. end
  5890.  
  5891. end))
  5892. Script338.Name = "Health"
  5893. Script338.Parent = Model323
  5894. table.insert(cors,sandbox(Script338,function()
  5895. function waitForChild(parent, childName)
  5896. while true do
  5897. local child = parent:findFirstChild(childName)
  5898. if child then
  5899. return child
  5900. end
  5901. parent.ChildAdded:wait()
  5902. end
  5903. end
  5904.  
  5905. -- declarations
  5906.  
  5907. local Figure = script.Parent
  5908. local Head = waitForChild(Figure, "Head")
  5909. local Humanoid = waitForChild(Figure, "Humanoid")
  5910. Humanoid.Health=500
  5911. -- regeneration
  5912. while true do
  5913. local s = wait(4)
  5914. local health = Humanoid.Health
  5915. if health > 0 and health < Humanoid.MaxHealth then
  5916. health = health + 0.08 * s * Humanoid.MaxHealth
  5917. if health * 1.05 < Humanoid.MaxHealth then
  5918. Humanoid.Health = health
  5919. else
  5920. Humanoid.Health = Humanoid.MaxHealth
  5921. end
  5922. end
  5923. end
  5924.  
  5925. end))
  5926. Script339.Name = "Respawn"
  5927. Script339.Parent = Model323
  5928. table.insert(cors,sandbox(Script339,function()
  5929. name="Humanoid"
  5930.  
  5931. robo=script.Parent:clone()
  5932.  
  5933. while true do
  5934. wait(1)
  5935. if script.Parent.Humanoid.Health<1 then
  5936. robot=robo:clone()
  5937. robot.Parent=script.Parent.Parent
  5938. robot:makeJoints()
  5939. script.Parent:remove()
  5940. end
  5941. end
  5942.  
  5943.  
  5944.  
  5945.  
  5946. end))
  5947. Part340.Name = "Spawn Location"
  5948. Part340.Parent = Model322
  5949. Part340.CFrame = CFrame.new(120.091461, 0.600021005, 113.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  5950. Part340.Orientation = Vector3.new(0, 180, 0)
  5951. Part340.Position = Vector3.new(120.091461, 0.600021005, 113.48645)
  5952. Part340.Rotation = Vector3.new(-180, 0, -180)
  5953. Part340.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5954. Part340.Size = Vector3.new(6, 1.20000005, 6)
  5955. Part340.BottomSurface = Enum.SurfaceType.Weld
  5956. Part340.BrickColor = BrickColor.new("Medium green")
  5957. Part340.TopSurface = Enum.SurfaceType.Smooth
  5958. Part340.brickColor = BrickColor.new("Medium green")
  5959. Decal341.Parent = Part340
  5960. Decal341.Texture = "http://www.roblox.com/asset/?id=34541722"
  5961. Decal341.Face = Enum.NormalId.Top
  5962. Model342.Parent = Model201
  5963. Model343.Name = "Zombie"
  5964. Model343.Parent = Model342
  5965. Model343.PrimaryPart = Part344
  5966. Part344.Name = "Head"
  5967. Part344.Parent = Model343
  5968. Part344.CFrame = CFrame.new(120.591461, 6.10000277, 101.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  5969. Part344.Orientation = Vector3.new(0, 90, 0)
  5970. Part344.Position = Vector3.new(120.591461, 6.10000277, 101.48645)
  5971. Part344.Rotation = Vector3.new(0, 90, 0)
  5972. Part344.Color = Color3.new(0.631373, 0.768628, 0.54902)
  5973. Part344.Size = Vector3.new(2, 1, 1)
  5974. Part344.BrickColor = BrickColor.new("Medium green")
  5975. Part344.TopSurface = Enum.SurfaceType.Smooth
  5976. Part344.brickColor = BrickColor.new("Medium green")
  5977. Part344.FormFactor = Enum.FormFactor.Symmetric
  5978. Part344.formFactor = Enum.FormFactor.Symmetric
  5979. SpecialMesh345.Parent = Part344
  5980. SpecialMesh345.Scale = Vector3.new(1.25, 1.25, 1.25)
  5981. Decal346.Name = "face"
  5982. Decal346.Parent = Part344
  5983. Part347.Name = "Torso"
  5984. Part347.Parent = Model343
  5985. Part347.CFrame = CFrame.new(120.591461, 4.60000277, 101.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  5986. Part347.Orientation = Vector3.new(0, 90, 0)
  5987. Part347.Position = Vector3.new(120.591461, 4.60000277, 101.48645)
  5988. Part347.Rotation = Vector3.new(0, 90, 0)
  5989. Part347.Color = Color3.new(0.411765, 0.25098, 0.156863)
  5990. Part347.Size = Vector3.new(2, 2, 1)
  5991. Part347.BrickColor = BrickColor.new("Reddish brown")
  5992. Part347.LeftParamA = 0
  5993. Part347.LeftParamB = 0
  5994. Part347.LeftSurface = Enum.SurfaceType.Weld
  5995. Part347.RightParamA = 0
  5996. Part347.RightParamB = 0
  5997. Part347.RightSurface = Enum.SurfaceType.Weld
  5998. Part347.brickColor = BrickColor.new("Reddish brown")
  5999. Part347.FormFactor = Enum.FormFactor.Symmetric
  6000. Part347.formFactor = Enum.FormFactor.Symmetric
  6001. Part348.Name = "Left Leg"
  6002. Part348.Parent = Model343
  6003. Part348.CFrame = CFrame.new(120.591461, 2.60000181, 101.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6004. Part348.Orientation = Vector3.new(0, 90, 0)
  6005. Part348.Position = Vector3.new(120.591461, 2.60000181, 101.98645)
  6006. Part348.Rotation = Vector3.new(0, 90, 0)
  6007. Part348.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6008. Part348.Size = Vector3.new(1, 2, 1)
  6009. Part348.BottomSurface = Enum.SurfaceType.Smooth
  6010. Part348.BrickColor = BrickColor.new("Reddish brown")
  6011. Part348.CanCollide = false
  6012. Part348.brickColor = BrickColor.new("Reddish brown")
  6013. Part348.FormFactor = Enum.FormFactor.Symmetric
  6014. Part348.formFactor = Enum.FormFactor.Symmetric
  6015. Part349.Name = "Right Leg"
  6016. Part349.Parent = Model343
  6017. Part349.CFrame = CFrame.new(120.591461, 2.60000181, 100.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6018. Part349.Orientation = Vector3.new(0, 90, 0)
  6019. Part349.Position = Vector3.new(120.591461, 2.60000181, 100.98645)
  6020. Part349.Rotation = Vector3.new(0, 90, 0)
  6021. Part349.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6022. Part349.Size = Vector3.new(1, 2, 1)
  6023. Part349.BottomSurface = Enum.SurfaceType.Smooth
  6024. Part349.BrickColor = BrickColor.new("Reddish brown")
  6025. Part349.CanCollide = false
  6026. Part349.brickColor = BrickColor.new("Reddish brown")
  6027. Part349.FormFactor = Enum.FormFactor.Symmetric
  6028. Part349.formFactor = Enum.FormFactor.Symmetric
  6029. Humanoid350.Parent = Model343
  6030. Humanoid350.LeftLeg = Part348
  6031. Humanoid350.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  6032. Humanoid350.RightLeg = Part349
  6033. Humanoid350.Torso = Part347
  6034. Part351.Name = "zarm"
  6035. Part351.Parent = Model343
  6036. Part351.CFrame = CFrame.new(120.091461, 5.10000277, 102.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  6037. Part351.Orientation = Vector3.new(0, 180, 0)
  6038. Part351.Position = Vector3.new(120.091461, 5.10000277, 102.98645)
  6039. Part351.Rotation = Vector3.new(-180, 0, -180)
  6040. Part351.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6041. Part351.Size = Vector3.new(2, 1, 1)
  6042. Part351.BottomSurface = Enum.SurfaceType.Smooth
  6043. Part351.BrickColor = BrickColor.new("Medium green")
  6044. Part351.TopSurface = Enum.SurfaceType.Smooth
  6045. Part351.brickColor = BrickColor.new("Medium green")
  6046. Part351.FormFactor = Enum.FormFactor.Symmetric
  6047. Part351.formFactor = Enum.FormFactor.Symmetric
  6048. Script352.Parent = Part351
  6049. table.insert(cors,sandbox(Script352,function()
  6050. wait(1)
  6051. owner=script.Parent.Parent.Name
  6052.  
  6053. function onTouched(part)
  6054. if part.Parent ~= nil then
  6055. local h = part.Parent:findFirstChild("Humanoid")
  6056. if h~=nil then
  6057. if cantouch~=0 then
  6058. if h.Parent.Name~=owner then
  6059.  
  6060. if h.Parent:findFirstChild("zarm")~=nil then return end
  6061.  
  6062. cantouch=0
  6063.  
  6064. local larm=h.Parent:findFirstChild("Left Arm")
  6065. local rarm=h.Parent:findFirstChild("Right Arm")
  6066.  
  6067. if larm~=nil then
  6068. larm:remove()
  6069. end
  6070. if rarm~=nil then
  6071. rarm:remove()
  6072. end
  6073. local zee=script.Parent.Parent:findFirstChild("zarm")
  6074. if zee~=nil then
  6075. local zlarm=zee:clone()
  6076. local zrarm=zee:clone()
  6077. if zlarm~=nil then
  6078.  
  6079. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6080. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  6081. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  6082. zlarm.Parent=h.Parent
  6083. zrarm.Parent=h.Parent
  6084. zlarm:makeJoints()
  6085. zrarm:makeJoints()
  6086. zlarm.Anchored=false
  6087. zrarm.Anchored=false
  6088. wait(0.1)
  6089. h.Parent.Head.Color=zee.Color
  6090. else print("no zee"); return end
  6091. end
  6092. wait(1)
  6093. cantouch=1
  6094. end
  6095. end
  6096. end
  6097. end
  6098. end
  6099.  
  6100. script.Parent.Touched:connect(onTouched)
  6101. end))
  6102. Part353.Name = "zarm"
  6103. Part353.Parent = Model343
  6104. Part353.CFrame = CFrame.new(120.091461, 5.10000277, 99.9864502, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  6105. Part353.Orientation = Vector3.new(0, 180, 0)
  6106. Part353.Position = Vector3.new(120.091461, 5.10000277, 99.9864502)
  6107. Part353.Rotation = Vector3.new(-180, 0, -180)
  6108. Part353.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6109. Part353.Size = Vector3.new(2, 1, 1)
  6110. Part353.BottomSurface = Enum.SurfaceType.Smooth
  6111. Part353.BrickColor = BrickColor.new("Medium green")
  6112. Part353.TopSurface = Enum.SurfaceType.Smooth
  6113. Part353.brickColor = BrickColor.new("Medium green")
  6114. Part353.FormFactor = Enum.FormFactor.Symmetric
  6115. Part353.formFactor = Enum.FormFactor.Symmetric
  6116. Script354.Parent = Part353
  6117. table.insert(cors,sandbox(Script354,function()
  6118. wait(1)
  6119. owner=script.Parent.Parent.Name
  6120.  
  6121. function onTouched(part)
  6122. if part.Parent ~= nil then
  6123. local h = part.Parent:findFirstChild("Humanoid")
  6124. if h~=nil then
  6125. if cantouch~=0 then
  6126. if h.Parent.Name~=owner then
  6127.  
  6128. if h.Parent:findFirstChild("zarm")~=nil then return end
  6129.  
  6130. cantouch=0
  6131.  
  6132. local larm=h.Parent:findFirstChild("Left Arm")
  6133. local rarm=h.Parent:findFirstChild("Right Arm")
  6134.  
  6135. if larm~=nil then
  6136. larm:remove()
  6137. end
  6138. if rarm~=nil then
  6139. rarm:remove()
  6140. end
  6141. local zee=script.Parent.Parent:findFirstChild("zarm")
  6142. if zee~=nil then
  6143. local zlarm=zee:clone()
  6144. local zrarm=zee:clone()
  6145. if zlarm~=nil then
  6146.  
  6147. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6148. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  6149. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  6150. zlarm.Parent=h.Parent
  6151. zrarm.Parent=h.Parent
  6152. zlarm:makeJoints()
  6153. zrarm:makeJoints()
  6154. zlarm.Anchored=false
  6155. zrarm.Anchored=false
  6156. wait(0.1)
  6157. h.Parent.Head.Color=zee.Color
  6158. else print("no zee"); return end
  6159. end
  6160. wait(1)
  6161. cantouch=1
  6162. end
  6163. end
  6164. end
  6165. end
  6166. end
  6167.  
  6168. script.Parent.Touched:connect(onTouched)
  6169. end))
  6170. ObjectValue355.Name = "IsNZ"
  6171. ObjectValue355.Parent = Model343
  6172. IntValue356.Name = "Mode"
  6173. IntValue356.Parent = Model343
  6174. Script357.Parent = Model343
  6175. table.insert(cors,sandbox(Script357,function()
  6176. local larm = script.Parent:FindFirstChild("Left Arm")
  6177. local rarm = script.Parent:FindFirstChild("Right Arm")
  6178.  
  6179. function findNearestTorso(pos)
  6180. local list = game.Workspace:children()
  6181. local torso = nil
  6182. local dist = 1000
  6183. local temp = nil
  6184. local human = nil
  6185. local temp2 = nil
  6186. for x = 1, #list do
  6187. temp2 = list[x]
  6188. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  6189. temp = temp2:findFirstChild("Right Arm")
  6190. human = temp2:findFirstChild("Humanoid")
  6191. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  6192. if (temp.Position - pos).magnitude < dist then
  6193. torso = temp
  6194. dist = (temp.Position - pos).magnitude
  6195. end
  6196. end
  6197. end
  6198. end
  6199. return torso
  6200. end
  6201.  
  6202.  
  6203.  
  6204.  
  6205. while true do
  6206. wait(math.random(1,5))
  6207. local target = findNearestTorso(script.Parent.Torso.Position)
  6208. if target ~= nil then
  6209. script.Parent.Humanoid:MoveTo(target.Position, target)
  6210. end
  6211.  
  6212. end
  6213.  
  6214. end))
  6215. Script358.Name = "Health"
  6216. Script358.Parent = Model343
  6217. table.insert(cors,sandbox(Script358,function()
  6218. function waitForChild(parent, childName)
  6219. while true do
  6220. local child = parent:findFirstChild(childName)
  6221. if child then
  6222. return child
  6223. end
  6224. parent.ChildAdded:wait()
  6225. end
  6226. end
  6227.  
  6228. -- declarations
  6229.  
  6230. local Figure = script.Parent
  6231. local Head = waitForChild(Figure, "Head")
  6232. local Humanoid = waitForChild(Figure, "Humanoid")
  6233. Humanoid.Health=500
  6234. -- regeneration
  6235. while true do
  6236. local s = wait(4)
  6237. local health = Humanoid.Health
  6238. if health > 0 and health < Humanoid.MaxHealth then
  6239. health = health + 0.08 * s * Humanoid.MaxHealth
  6240. if health * 1.05 < Humanoid.MaxHealth then
  6241. Humanoid.Health = health
  6242. else
  6243. Humanoid.Health = Humanoid.MaxHealth
  6244. end
  6245. end
  6246. end
  6247.  
  6248. end))
  6249. Script359.Name = "Respawn"
  6250. Script359.Parent = Model343
  6251. table.insert(cors,sandbox(Script359,function()
  6252. name="Humanoid"
  6253.  
  6254. robo=script.Parent:clone()
  6255.  
  6256. while true do
  6257. wait(1)
  6258. if script.Parent.Humanoid.Health<1 then
  6259. robot=robo:clone()
  6260. robot.Parent=script.Parent.Parent
  6261. robot:makeJoints()
  6262. script.Parent:remove()
  6263. end
  6264. end
  6265.  
  6266.  
  6267.  
  6268.  
  6269. end))
  6270. Part360.Name = "Spawn Location"
  6271. Part360.Parent = Model342
  6272. Part360.CFrame = CFrame.new(120.091461, 0.600021005, 101.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  6273. Part360.Orientation = Vector3.new(0, 180, 0)
  6274. Part360.Position = Vector3.new(120.091461, 0.600021005, 101.48645)
  6275. Part360.Rotation = Vector3.new(-180, 0, -180)
  6276. Part360.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6277. Part360.Size = Vector3.new(6, 1.20000005, 6)
  6278. Part360.BottomSurface = Enum.SurfaceType.Weld
  6279. Part360.BrickColor = BrickColor.new("Medium green")
  6280. Part360.TopSurface = Enum.SurfaceType.Smooth
  6281. Part360.brickColor = BrickColor.new("Medium green")
  6282. Decal361.Parent = Part360
  6283. Decal361.Texture = "http://www.roblox.com/asset/?id=34541722"
  6284. Decal361.Face = Enum.NormalId.Top
  6285. Model362.Parent = Model201
  6286. Model363.Name = "Zombie"
  6287. Model363.Parent = Model362
  6288. Model363.PrimaryPart = Part364
  6289. Part364.Name = "Head"
  6290. Part364.Parent = Model363
  6291. Part364.CFrame = CFrame.new(120.608551, 6.10000277, 107.513443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6292. Part364.Orientation = Vector3.new(0, 90, 0)
  6293. Part364.Position = Vector3.new(120.608551, 6.10000277, 107.513443)
  6294. Part364.Rotation = Vector3.new(0, 90, 0)
  6295. Part364.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6296. Part364.Velocity = Vector3.new(3.64787943e-20, 0.00686328812, 3.64330182e-20)
  6297. Part364.Size = Vector3.new(2, 1, 1)
  6298. Part364.BrickColor = BrickColor.new("Medium green")
  6299. Part364.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  6300. Part364.TopSurface = Enum.SurfaceType.Smooth
  6301. Part364.brickColor = BrickColor.new("Medium green")
  6302. Part364.FormFactor = Enum.FormFactor.Symmetric
  6303. Part364.formFactor = Enum.FormFactor.Symmetric
  6304. SpecialMesh365.Parent = Part364
  6305. SpecialMesh365.Scale = Vector3.new(1.25, 1.25, 1.25)
  6306. Decal366.Name = "face"
  6307. Decal366.Parent = Part364
  6308. Part367.Name = "Torso"
  6309. Part367.Parent = Model363
  6310. Part367.CFrame = CFrame.new(120.608551, 4.60000277, 107.513443, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  6311. Part367.Orientation = Vector3.new(0, 90, 0)
  6312. Part367.Position = Vector3.new(120.608551, 4.60000277, 107.513443)
  6313. Part367.Rotation = Vector3.new(0, 90, 0)
  6314. Part367.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6315. Part367.Velocity = Vector3.new(3.64798347e-20, 0.00686328812, 3.64324075e-20)
  6316. Part367.Size = Vector3.new(2, 2, 1)
  6317. Part367.BrickColor = BrickColor.new("Reddish brown")
  6318. Part367.LeftParamA = 0
  6319. Part367.LeftParamB = 0
  6320. Part367.LeftSurface = Enum.SurfaceType.Weld
  6321. Part367.RightParamA = 0
  6322. Part367.RightParamB = 0
  6323. Part367.RightSurface = Enum.SurfaceType.Weld
  6324. Part367.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  6325. Part367.brickColor = BrickColor.new("Reddish brown")
  6326. Part367.FormFactor = Enum.FormFactor.Symmetric
  6327. Part367.formFactor = Enum.FormFactor.Symmetric
  6328. Part368.Name = "Left Leg"
  6329. Part368.Parent = Model363
  6330. Part368.CFrame = CFrame.new(120.608551, 2.60000181, 108.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6331. Part368.Orientation = Vector3.new(0, 90, 0)
  6332. Part368.Position = Vector3.new(120.608551, 2.60000181, 108.013443)
  6333. Part368.Rotation = Vector3.new(0, 90, 0)
  6334. Part368.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6335. Part368.Velocity = Vector3.new(3.66480722e-20, 0.00686328812, 3.64315933e-20)
  6336. Part368.Size = Vector3.new(1, 2, 1)
  6337. Part368.BottomSurface = Enum.SurfaceType.Smooth
  6338. Part368.BrickColor = BrickColor.new("Reddish brown")
  6339. Part368.CanCollide = false
  6340. Part368.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  6341. Part368.brickColor = BrickColor.new("Reddish brown")
  6342. Part368.FormFactor = Enum.FormFactor.Symmetric
  6343. Part368.formFactor = Enum.FormFactor.Symmetric
  6344. Part369.Name = "Right Leg"
  6345. Part369.Parent = Model363
  6346. Part369.CFrame = CFrame.new(120.608551, 2.60000181, 107.013443, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6347. Part369.Orientation = Vector3.new(0, 90, 0)
  6348. Part369.Position = Vector3.new(120.608551, 2.60000181, 107.013443)
  6349. Part369.Rotation = Vector3.new(0, 90, 0)
  6350. Part369.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6351. Part369.Velocity = Vector3.new(3.6314376e-20, 0.00686328812, 3.64315933e-20)
  6352. Part369.Size = Vector3.new(1, 2, 1)
  6353. Part369.BottomSurface = Enum.SurfaceType.Smooth
  6354. Part369.BrickColor = BrickColor.new("Reddish brown")
  6355. Part369.CanCollide = false
  6356. Part369.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  6357. Part369.brickColor = BrickColor.new("Reddish brown")
  6358. Part369.FormFactor = Enum.FormFactor.Symmetric
  6359. Part369.formFactor = Enum.FormFactor.Symmetric
  6360. Humanoid370.Parent = Model363
  6361. Humanoid370.LeftLeg = Part368
  6362. Humanoid370.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  6363. Humanoid370.RightLeg = Part369
  6364. Humanoid370.Torso = Part367
  6365. Part371.Name = "zarm"
  6366. Part371.Parent = Model363
  6367. Part371.CFrame = CFrame.new(120.108551, 5.10000277, 109.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  6368. Part371.Orientation = Vector3.new(0, 180, 0)
  6369. Part371.Position = Vector3.new(120.108551, 5.10000277, 109.013443)
  6370. Part371.Rotation = Vector3.new(-180, 0, -180)
  6371. Part371.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6372. Part371.Velocity = Vector3.new(3.69800334e-20, 0.00686328812, 3.65994592e-20)
  6373. Part371.Size = Vector3.new(2, 1, 1)
  6374. Part371.BottomSurface = Enum.SurfaceType.Smooth
  6375. Part371.BrickColor = BrickColor.new("Medium green")
  6376. Part371.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  6377. Part371.TopSurface = Enum.SurfaceType.Smooth
  6378. Part371.brickColor = BrickColor.new("Medium green")
  6379. Part371.FormFactor = Enum.FormFactor.Symmetric
  6380. Part371.formFactor = Enum.FormFactor.Symmetric
  6381. Script372.Parent = Part371
  6382. table.insert(cors,sandbox(Script372,function()
  6383. wait(1)
  6384. owner=script.Parent.Parent.Name
  6385.  
  6386. function onTouched(part)
  6387. if part.Parent ~= nil then
  6388. local h = part.Parent:findFirstChild("Humanoid")
  6389. if h~=nil then
  6390. if cantouch~=0 then
  6391. if h.Parent.Name~=owner then
  6392.  
  6393. if h.Parent:findFirstChild("zarm")~=nil then return end
  6394.  
  6395. cantouch=0
  6396.  
  6397. local larm=h.Parent:findFirstChild("Left Arm")
  6398. local rarm=h.Parent:findFirstChild("Right Arm")
  6399.  
  6400. if larm~=nil then
  6401. larm:remove()
  6402. end
  6403. if rarm~=nil then
  6404. rarm:remove()
  6405. end
  6406. local zee=script.Parent.Parent:findFirstChild("zarm")
  6407. if zee~=nil then
  6408. local zlarm=zee:clone()
  6409. local zrarm=zee:clone()
  6410. if zlarm~=nil then
  6411.  
  6412. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6413. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  6414. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  6415. zlarm.Parent=h.Parent
  6416. zrarm.Parent=h.Parent
  6417. zlarm:makeJoints()
  6418. zrarm:makeJoints()
  6419. zlarm.Anchored=false
  6420. zrarm.Anchored=false
  6421. wait(0.1)
  6422. h.Parent.Head.Color=zee.Color
  6423. else print("no zee"); return end
  6424. end
  6425. wait(1)
  6426. cantouch=1
  6427. end
  6428. end
  6429. end
  6430. end
  6431. end
  6432.  
  6433. script.Parent.Touched:connect(onTouched)
  6434. end))
  6435. Part373.Name = "zarm"
  6436. Part373.Parent = Model363
  6437. Part373.CFrame = CFrame.new(120.108551, 5.10000277, 106.013443, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  6438. Part373.Orientation = Vector3.new(0, 180, 0)
  6439. Part373.Position = Vector3.new(120.108551, 5.10000277, 106.013443)
  6440. Part373.Rotation = Vector3.new(-180, 0, -180)
  6441. Part373.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6442. Part373.Velocity = Vector3.new(3.59789445e-20, 0.00686328812, 3.65994592e-20)
  6443. Part373.Size = Vector3.new(2, 1, 1)
  6444. Part373.BottomSurface = Enum.SurfaceType.Smooth
  6445. Part373.BrickColor = BrickColor.new("Medium green")
  6446. Part373.RotVelocity = Vector3.new(4.07127958e-25, 3.33696291e-22, 6.94702468e-25)
  6447. Part373.TopSurface = Enum.SurfaceType.Smooth
  6448. Part373.brickColor = BrickColor.new("Medium green")
  6449. Part373.FormFactor = Enum.FormFactor.Symmetric
  6450. Part373.formFactor = Enum.FormFactor.Symmetric
  6451. Script374.Parent = Part373
  6452. table.insert(cors,sandbox(Script374,function()
  6453. wait(1)
  6454. owner=script.Parent.Parent.Name
  6455.  
  6456. function onTouched(part)
  6457. if part.Parent ~= nil then
  6458. local h = part.Parent:findFirstChild("Humanoid")
  6459. if h~=nil then
  6460. if cantouch~=0 then
  6461. if h.Parent.Name~=owner then
  6462.  
  6463. if h.Parent:findFirstChild("zarm")~=nil then return end
  6464.  
  6465. cantouch=0
  6466.  
  6467. local larm=h.Parent:findFirstChild("Left Arm")
  6468. local rarm=h.Parent:findFirstChild("Right Arm")
  6469.  
  6470. if larm~=nil then
  6471. larm:remove()
  6472. end
  6473. if rarm~=nil then
  6474. rarm:remove()
  6475. end
  6476. local zee=script.Parent.Parent:findFirstChild("zarm")
  6477. if zee~=nil then
  6478. local zlarm=zee:clone()
  6479. local zrarm=zee:clone()
  6480. if zlarm~=nil then
  6481.  
  6482. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6483. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  6484. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  6485. zlarm.Parent=h.Parent
  6486. zrarm.Parent=h.Parent
  6487. zlarm:makeJoints()
  6488. zrarm:makeJoints()
  6489. zlarm.Anchored=false
  6490. zrarm.Anchored=false
  6491. wait(0.1)
  6492. h.Parent.Head.Color=zee.Color
  6493. else print("no zee"); return end
  6494. end
  6495. wait(1)
  6496. cantouch=1
  6497. end
  6498. end
  6499. end
  6500. end
  6501. end
  6502.  
  6503. script.Parent.Touched:connect(onTouched)
  6504. end))
  6505. ObjectValue375.Name = "IsNZ"
  6506. ObjectValue375.Parent = Model363
  6507. IntValue376.Name = "Mode"
  6508. IntValue376.Parent = Model363
  6509. Script377.Parent = Model363
  6510. table.insert(cors,sandbox(Script377,function()
  6511. local larm = script.Parent:FindFirstChild("Left Arm")
  6512. local rarm = script.Parent:FindFirstChild("Right Arm")
  6513.  
  6514. function findNearestTorso(pos)
  6515. local list = game.Workspace:children()
  6516. local torso = nil
  6517. local dist = 1000
  6518. local temp = nil
  6519. local human = nil
  6520. local temp2 = nil
  6521. for x = 1, #list do
  6522. temp2 = list[x]
  6523. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  6524. temp = temp2:findFirstChild("Right Arm")
  6525. human = temp2:findFirstChild("Humanoid")
  6526. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  6527. if (temp.Position - pos).magnitude < dist then
  6528. torso = temp
  6529. dist = (temp.Position - pos).magnitude
  6530. end
  6531. end
  6532. end
  6533. end
  6534. return torso
  6535. end
  6536.  
  6537.  
  6538.  
  6539.  
  6540. while true do
  6541. wait(math.random(1,5))
  6542. local target = findNearestTorso(script.Parent.Torso.Position)
  6543. if target ~= nil then
  6544. script.Parent.Humanoid:MoveTo(target.Position, target)
  6545. end
  6546.  
  6547. end
  6548.  
  6549. end))
  6550. Script378.Name = "Health"
  6551. Script378.Parent = Model363
  6552. table.insert(cors,sandbox(Script378,function()
  6553. function waitForChild(parent, childName)
  6554. while true do
  6555. local child = parent:findFirstChild(childName)
  6556. if child then
  6557. return child
  6558. end
  6559. parent.ChildAdded:wait()
  6560. end
  6561. end
  6562.  
  6563. -- declarations
  6564.  
  6565. local Figure = script.Parent
  6566. local Head = waitForChild(Figure, "Head")
  6567. local Humanoid = waitForChild(Figure, "Humanoid")
  6568. Humanoid.Health=500
  6569. -- regeneration
  6570. while true do
  6571. local s = wait(4)
  6572. local health = Humanoid.Health
  6573. if health > 0 and health < Humanoid.MaxHealth then
  6574. health = health + 0.08 * s * Humanoid.MaxHealth
  6575. if health * 1.05 < Humanoid.MaxHealth then
  6576. Humanoid.Health = health
  6577. else
  6578. Humanoid.Health = Humanoid.MaxHealth
  6579. end
  6580. end
  6581. end
  6582.  
  6583. end))
  6584. Script379.Name = "Respawn"
  6585. Script379.Parent = Model363
  6586. table.insert(cors,sandbox(Script379,function()
  6587. name="Humanoid"
  6588.  
  6589. robo=script.Parent:clone()
  6590.  
  6591. while true do
  6592. wait(1)
  6593. if script.Parent.Humanoid.Health<1 then
  6594. robot=robo:clone()
  6595. robot.Parent=script.Parent.Parent
  6596. robot:makeJoints()
  6597. script.Parent:remove()
  6598. end
  6599. end
  6600.  
  6601.  
  6602.  
  6603.  
  6604. end))
  6605. Part380.Name = "Spawn Location"
  6606. Part380.Parent = Model362
  6607. Part380.CFrame = CFrame.new(120.113548, 0.603018999, 107.491455, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  6608. Part380.Orientation = Vector3.new(0, 180, 0)
  6609. Part380.Position = Vector3.new(120.113548, 0.603018999, 107.491455)
  6610. Part380.Rotation = Vector3.new(-180, 0, -180)
  6611. Part380.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6612. Part380.Size = Vector3.new(6, 1.20000005, 6)
  6613. Part380.BottomSurface = Enum.SurfaceType.Weld
  6614. Part380.BrickColor = BrickColor.new("Medium green")
  6615. Part380.TopSurface = Enum.SurfaceType.Smooth
  6616. Part380.brickColor = BrickColor.new("Medium green")
  6617. Decal381.Parent = Part380
  6618. Decal381.Texture = "http://www.roblox.com/asset/?id=34541722"
  6619. Decal381.Face = Enum.NormalId.Top
  6620. Model382.Parent = Model201
  6621. Model383.Name = "Zombie"
  6622. Model383.Parent = Model382
  6623. Model383.PrimaryPart = Part384
  6624. Part384.Name = "Head"
  6625. Part384.Parent = Model383
  6626. Part384.CFrame = CFrame.new(120.591461, 6.10000277, 119.48645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6627. Part384.Orientation = Vector3.new(0, 90, 0)
  6628. Part384.Position = Vector3.new(120.591461, 6.10000277, 119.48645)
  6629. Part384.Rotation = Vector3.new(0, 90, 0)
  6630. Part384.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6631. Part384.Size = Vector3.new(2, 1, 1)
  6632. Part384.BrickColor = BrickColor.new("Medium green")
  6633. Part384.TopSurface = Enum.SurfaceType.Smooth
  6634. Part384.brickColor = BrickColor.new("Medium green")
  6635. Part384.FormFactor = Enum.FormFactor.Symmetric
  6636. Part384.formFactor = Enum.FormFactor.Symmetric
  6637. SpecialMesh385.Parent = Part384
  6638. SpecialMesh385.Scale = Vector3.new(1.25, 1.25, 1.25)
  6639. Decal386.Name = "face"
  6640. Decal386.Parent = Part384
  6641. Part387.Name = "Torso"
  6642. Part387.Parent = Model383
  6643. Part387.CFrame = CFrame.new(120.591461, 4.60000277, 119.48645, 0, 0, 1.00000024, 0, 1, 0, -1.00000024, 0, 0)
  6644. Part387.Orientation = Vector3.new(0, 90, 0)
  6645. Part387.Position = Vector3.new(120.591461, 4.60000277, 119.48645)
  6646. Part387.Rotation = Vector3.new(0, 90, 0)
  6647. Part387.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6648. Part387.Size = Vector3.new(2, 2, 1)
  6649. Part387.BrickColor = BrickColor.new("Reddish brown")
  6650. Part387.LeftParamA = 0
  6651. Part387.LeftParamB = 0
  6652. Part387.LeftSurface = Enum.SurfaceType.Weld
  6653. Part387.RightParamA = 0
  6654. Part387.RightParamB = 0
  6655. Part387.RightSurface = Enum.SurfaceType.Weld
  6656. Part387.brickColor = BrickColor.new("Reddish brown")
  6657. Part387.FormFactor = Enum.FormFactor.Symmetric
  6658. Part387.formFactor = Enum.FormFactor.Symmetric
  6659. Part388.Name = "Left Leg"
  6660. Part388.Parent = Model383
  6661. Part388.CFrame = CFrame.new(120.591461, 2.60000181, 119.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6662. Part388.Orientation = Vector3.new(0, 90, 0)
  6663. Part388.Position = Vector3.new(120.591461, 2.60000181, 119.98645)
  6664. Part388.Rotation = Vector3.new(0, 90, 0)
  6665. Part388.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6666. Part388.Size = Vector3.new(1, 2, 1)
  6667. Part388.BottomSurface = Enum.SurfaceType.Smooth
  6668. Part388.BrickColor = BrickColor.new("Reddish brown")
  6669. Part388.CanCollide = false
  6670. Part388.brickColor = BrickColor.new("Reddish brown")
  6671. Part388.FormFactor = Enum.FormFactor.Symmetric
  6672. Part388.formFactor = Enum.FormFactor.Symmetric
  6673. Part389.Name = "Right Leg"
  6674. Part389.Parent = Model383
  6675. Part389.CFrame = CFrame.new(120.591461, 2.60000181, 118.98645, 0, 0, 1.00000072, 0, 1, 0, -1.00000072, 0, 0)
  6676. Part389.Orientation = Vector3.new(0, 90, 0)
  6677. Part389.Position = Vector3.new(120.591461, 2.60000181, 118.98645)
  6678. Part389.Rotation = Vector3.new(0, 90, 0)
  6679. Part389.Color = Color3.new(0.411765, 0.25098, 0.156863)
  6680. Part389.Size = Vector3.new(1, 2, 1)
  6681. Part389.BottomSurface = Enum.SurfaceType.Smooth
  6682. Part389.BrickColor = BrickColor.new("Reddish brown")
  6683. Part389.CanCollide = false
  6684. Part389.brickColor = BrickColor.new("Reddish brown")
  6685. Part389.FormFactor = Enum.FormFactor.Symmetric
  6686. Part389.formFactor = Enum.FormFactor.Symmetric
  6687. Humanoid390.Parent = Model383
  6688. Humanoid390.LeftLeg = Part388
  6689. Humanoid390.NameOcclusion = Enum.NameOcclusion.NoOcclusion
  6690. Humanoid390.RightLeg = Part389
  6691. Humanoid390.Torso = Part387
  6692. Part391.Name = "zarm"
  6693. Part391.Parent = Model383
  6694. Part391.CFrame = CFrame.new(120.091461, 5.10000277, 120.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  6695. Part391.Orientation = Vector3.new(0, 180, 0)
  6696. Part391.Position = Vector3.new(120.091461, 5.10000277, 120.98645)
  6697. Part391.Rotation = Vector3.new(-180, 0, -180)
  6698. Part391.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6699. Part391.Size = Vector3.new(2, 1, 1)
  6700. Part391.BottomSurface = Enum.SurfaceType.Smooth
  6701. Part391.BrickColor = BrickColor.new("Medium green")
  6702. Part391.TopSurface = Enum.SurfaceType.Smooth
  6703. Part391.brickColor = BrickColor.new("Medium green")
  6704. Part391.FormFactor = Enum.FormFactor.Symmetric
  6705. Part391.formFactor = Enum.FormFactor.Symmetric
  6706. Script392.Parent = Part391
  6707. table.insert(cors,sandbox(Script392,function()
  6708. wait(1)
  6709. owner=script.Parent.Parent.Name
  6710.  
  6711. function onTouched(part)
  6712. if part.Parent ~= nil then
  6713. local h = part.Parent:findFirstChild("Humanoid")
  6714. if h~=nil then
  6715. if cantouch~=0 then
  6716. if h.Parent.Name~=owner then
  6717.  
  6718. if h.Parent:findFirstChild("zarm")~=nil then return end
  6719.  
  6720. cantouch=0
  6721.  
  6722. local larm=h.Parent:findFirstChild("Left Arm")
  6723. local rarm=h.Parent:findFirstChild("Right Arm")
  6724.  
  6725. if larm~=nil then
  6726. larm:remove()
  6727. end
  6728. if rarm~=nil then
  6729. rarm:remove()
  6730. end
  6731. local zee=script.Parent.Parent:findFirstChild("zarm")
  6732. if zee~=nil then
  6733. local zlarm=zee:clone()
  6734. local zrarm=zee:clone()
  6735. if zlarm~=nil then
  6736.  
  6737. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6738. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  6739. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  6740. zlarm.Parent=h.Parent
  6741. zrarm.Parent=h.Parent
  6742. zlarm:makeJoints()
  6743. zrarm:makeJoints()
  6744. zlarm.Anchored=false
  6745. zrarm.Anchored=false
  6746. wait(0.1)
  6747. h.Parent.Head.Color=zee.Color
  6748. else print("no zee"); return end
  6749. end
  6750. wait(1)
  6751. cantouch=1
  6752. end
  6753. end
  6754. end
  6755. end
  6756. end
  6757.  
  6758. script.Parent.Touched:connect(onTouched)
  6759. end))
  6760. Part393.Name = "zarm"
  6761. Part393.Parent = Model383
  6762. Part393.CFrame = CFrame.new(120.091461, 5.10000277, 117.98645, -1.00000072, 0, 0, 0, 1, 0, 0, 0, -1.00000072)
  6763. Part393.Orientation = Vector3.new(0, 180, 0)
  6764. Part393.Position = Vector3.new(120.091461, 5.10000277, 117.98645)
  6765. Part393.Rotation = Vector3.new(-180, 0, -180)
  6766. Part393.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6767. Part393.Size = Vector3.new(2, 1, 1)
  6768. Part393.BottomSurface = Enum.SurfaceType.Smooth
  6769. Part393.BrickColor = BrickColor.new("Medium green")
  6770. Part393.TopSurface = Enum.SurfaceType.Smooth
  6771. Part393.brickColor = BrickColor.new("Medium green")
  6772. Part393.FormFactor = Enum.FormFactor.Symmetric
  6773. Part393.formFactor = Enum.FormFactor.Symmetric
  6774. Script394.Parent = Part393
  6775. table.insert(cors,sandbox(Script394,function()
  6776. wait(1)
  6777. owner=script.Parent.Parent.Name
  6778.  
  6779. function onTouched(part)
  6780. if part.Parent ~= nil then
  6781. local h = part.Parent:findFirstChild("Humanoid")
  6782. if h~=nil then
  6783. if cantouch~=0 then
  6784. if h.Parent.Name~=owner then
  6785.  
  6786. if h.Parent:findFirstChild("zarm")~=nil then return end
  6787.  
  6788. cantouch=0
  6789.  
  6790. local larm=h.Parent:findFirstChild("Left Arm")
  6791. local rarm=h.Parent:findFirstChild("Right Arm")
  6792.  
  6793. if larm~=nil then
  6794. larm:remove()
  6795. end
  6796. if rarm~=nil then
  6797. rarm:remove()
  6798. end
  6799. local zee=script.Parent.Parent:findFirstChild("zarm")
  6800. if zee~=nil then
  6801. local zlarm=zee:clone()
  6802. local zrarm=zee:clone()
  6803. if zlarm~=nil then
  6804.  
  6805. local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  6806. zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot
  6807. zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot
  6808. zlarm.Parent=h.Parent
  6809. zrarm.Parent=h.Parent
  6810. zlarm:makeJoints()
  6811. zrarm:makeJoints()
  6812. zlarm.Anchored=false
  6813. zrarm.Anchored=false
  6814. wait(0.1)
  6815. h.Parent.Head.Color=zee.Color
  6816. else print("no zee"); return end
  6817. end
  6818. wait(1)
  6819. cantouch=1
  6820. end
  6821. end
  6822. end
  6823. end
  6824. end
  6825.  
  6826. script.Parent.Touched:connect(onTouched)
  6827. end))
  6828. ObjectValue395.Name = "IsNZ"
  6829. ObjectValue395.Parent = Model383
  6830. IntValue396.Name = "Mode"
  6831. IntValue396.Parent = Model383
  6832. Script397.Parent = Model383
  6833. table.insert(cors,sandbox(Script397,function()
  6834. local larm = script.Parent:FindFirstChild("Left Arm")
  6835. local rarm = script.Parent:FindFirstChild("Right Arm")
  6836.  
  6837. function findNearestTorso(pos)
  6838. local list = game.Workspace:children()
  6839. local torso = nil
  6840. local dist = 1000
  6841. local temp = nil
  6842. local human = nil
  6843. local temp2 = nil
  6844. for x = 1, #list do
  6845. temp2 = list[x]
  6846. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  6847. temp = temp2:findFirstChild("Right Arm")
  6848. human = temp2:findFirstChild("Humanoid")
  6849. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  6850. if (temp.Position - pos).magnitude < dist then
  6851. torso = temp
  6852. dist = (temp.Position - pos).magnitude
  6853. end
  6854. end
  6855. end
  6856. end
  6857. return torso
  6858. end
  6859.  
  6860.  
  6861.  
  6862.  
  6863. while true do
  6864. wait(math.random(1,5))
  6865. local target = findNearestTorso(script.Parent.Torso.Position)
  6866. if target ~= nil then
  6867. script.Parent.Humanoid:MoveTo(target.Position, target)
  6868. end
  6869.  
  6870. end
  6871.  
  6872. end))
  6873. Script398.Name = "Health"
  6874. Script398.Parent = Model383
  6875. table.insert(cors,sandbox(Script398,function()
  6876. function waitForChild(parent, childName)
  6877. while true do
  6878. local child = parent:findFirstChild(childName)
  6879. if child then
  6880. return child
  6881. end
  6882. parent.ChildAdded:wait()
  6883. end
  6884. end
  6885.  
  6886. -- declarations
  6887.  
  6888. local Figure = script.Parent
  6889. local Head = waitForChild(Figure, "Head")
  6890. local Humanoid = waitForChild(Figure, "Humanoid")
  6891. Humanoid.Health=500
  6892. -- regeneration
  6893. while true do
  6894. local s = wait(4)
  6895. local health = Humanoid.Health
  6896. if health > 0 and health < Humanoid.MaxHealth then
  6897. health = health + 0.08 * s * Humanoid.MaxHealth
  6898. if health * 1.05 < Humanoid.MaxHealth then
  6899. Humanoid.Health = health
  6900. else
  6901. Humanoid.Health = Humanoid.MaxHealth
  6902. end
  6903. end
  6904. end
  6905.  
  6906. end))
  6907. Script399.Name = "Respawn"
  6908. Script399.Parent = Model383
  6909. table.insert(cors,sandbox(Script399,function()
  6910. name="Humanoid"
  6911.  
  6912. robo=script.Parent:clone()
  6913.  
  6914. while true do
  6915. wait(1)
  6916. if script.Parent.Humanoid.Health<1 then
  6917. robot=robo:clone()
  6918. robot.Parent=script.Parent.Parent
  6919. robot:makeJoints()
  6920. script.Parent:remove()
  6921. end
  6922. end
  6923.  
  6924.  
  6925.  
  6926.  
  6927. end))
  6928. Part400.Name = "Spawn Location"
  6929. Part400.Parent = Model382
  6930. Part400.CFrame = CFrame.new(120.091446, 0.600021005, 119.48645, -1.00000024, 0, 0, 0, 1, 0, 0, 0, -1.00000024)
  6931. Part400.Orientation = Vector3.new(0, 180, 0)
  6932. Part400.Position = Vector3.new(120.091446, 0.600021005, 119.48645)
  6933. Part400.Rotation = Vector3.new(-180, 0, -180)
  6934. Part400.Color = Color3.new(0.631373, 0.768628, 0.54902)
  6935. Part400.Size = Vector3.new(6, 1.20000005, 6)
  6936. Part400.BottomSurface = Enum.SurfaceType.Weld
  6937. Part400.BrickColor = BrickColor.new("Medium green")
  6938. Part400.TopSurface = Enum.SurfaceType.Smooth
  6939. Part400.brickColor = BrickColor.new("Medium green")
  6940. Decal401.Parent = Part400
  6941. Decal401.Texture = "http://www.roblox.com/asset/?id=34541722"
  6942. Decal401.Face = Enum.NormalId.Top
  6943. for i,v in pairs(mas:GetChildren()) do
  6944. v.Parent = workspace
  6945. pcall(function() v:MakeJoints() end)
  6946. end
  6947. mas:Destroy()
  6948. for i,v in pairs(cors) do
  6949. spawn(function()
  6950. pcall(v)
  6951. end)
  6952. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement