null nil RBX1 0 0 0 0 1 0 0 0 1 0 0 0 1 Workspace null Result 0 null 0 -17.4564018 45.2832985 26.9888191 0.864403844 0.262855351 -0.428617477 -0 0.852464437 0.522785187 0.502798021 -0.451897532 0.736873627 70 -8.88405228 34.8275948 12.2513466 1 0 0 0 1 0 0 0 1 Camera StopTime 5 false TestScript -- Add this script -- Add an IntValue called Results (leave value at 0) -- Add an IntValue called StopTime (set to desired wall clock simulation time) -- make sure the part being measured is called CheckPart and is a direct child of the Workspace print("Testing success conditions after model runs for ", Workspace.StopTime.Value - 1, " seconds of real time...") print("(Note: one second shorter than the test harness allows)") maxVelocityMagGoal = 0.001 minYPositionGoal = 5.5 -- measure success conditions 1 second before the test harness stops the simulation start = tick() while tick()-start < Workspace.StopTime.Value - 1 do wait() end print("Max Velocity Mag = ", Workspace.Model.TestZombie.Head.Velocity.magnitude) print("Max Velocity Mag Goal = ", maxVelocityMagGoal) print("Min Y Position = ", Workspace.Model.TestZombie.Head.Position.y) print("Min Y Position Goal = ", minYPositionGoal ) A = Workspace.Model.TestZombie.Head.Velocity.magnitude < maxVelocityMagGoal B = Workspace.Model.TestZombie.Head.Position.y > minYPositionGoal success = A and B if success then Workspace.Result.Value = 1 else Workspace.Result.Value = -1 end print(Workspace.Result.Value) true -0.5 0.5 0 0 -0.5 0.5 4 0 194 -2 126 -2 1 0 0 0 1 0 0 0 1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 true 256 Terrain 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 3 0 0 0 0 0 2044 252 2044 false -0.5 0.5 0 0 -0.5 0.5 4 0 194 20.5 8.40000057 6.5 1 0 0 0 1 0 0 0 1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Wedge 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 1 57 8.40000057 5 0 0 0 1 0 0 0 1 0 0 0 1 Model null 0 0 0 1 0 0 0 1 0 0 0 1 TestZombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 21 8.83551025 23.9651184 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 25.2273254 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 26.7643032 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 27.0562305 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 24.1413765 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 25.0171547 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 8.83551025 15.1651163 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 16.4273224 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 17.9643002 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 18.2562275 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 15.3413725 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 16.2171516 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 29.5004578 22.2975159 -31.7155228 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 29.5004578 23.7975159 -31.7155228 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 29.5004578 25.7975159 -31.2155228 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 29.5004578 25.7975159 -32.2155228 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 30.0004578 23.2975159 -30.2155228 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 30.0004578 23.2975159 -33.2155228 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 4.83551025 31.5651093 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 5.64596367 32.8273163 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.95389271 34.364296 -7.3091135 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.49924374 34.6562233 -8.15058422 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 6.41182232 31.7413673 -6.73779345 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 5.04787636 32.6171455 -9.26220608 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686403e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 15.4981842 35.2100067 -15.1379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 15.4981842 36.7100067 -15.1379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 15.4981842 38.7100067 -14.6379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 15.4981842 38.7100067 -15.6379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 15.9981842 36.2100067 -13.6379089 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 15.9981842 36.2100067 -16.6379089 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 4.83551025 35.9651184 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 5.64596367 37.2273254 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.95389271 38.7643051 -7.3091135 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.49924374 39.0562325 -8.15058422 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 6.41182232 36.1413765 -6.73779345 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 5.04787636 37.0171547 -9.26220608 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686403e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 27.5 26 -33 -0 -0 -1 -0 -1 -0 -1 -0 -0 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 27.5 27.5 -33 -0 -0 -1 -0 -1 -0 -1 -0 -0 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 27.5 29.5 -32.5 -0 -0 -1 -0 -1 -0 -1 -0 -0 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 27.5 29.5 -33.5 -0 -0 -1 -0 -1 -0 -1 -0 -0 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 28 27 -31.5 1 -0 -0 0 -1 -0 0 -0 -1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 28 27 -34.5 1 -0 -0 0 -1 -0 0 -0 -1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 4.83551025 9.56512547 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 5.64596367 10.8273315 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.95389271 12.3643103 -7.3091135 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.49924374 12.6562366 -8.15058422 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 6.41182232 9.74138165 -6.73779345 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 5.04787636 10.6171618 -9.26220608 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686403e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 8.83551025 28.3651123 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 29.6273193 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 31.1642971 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 31.4562244 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 28.5413704 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 29.4171486 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 21.4995499 24.1026154 -11.2844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 21.4995499 25.6026154 -11.2844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 21.4995499 27.6026154 -10.7844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 21.4995499 27.6026154 -11.7844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 21.9995499 25.1026154 -9.7844696 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 21.9995499 25.1026154 -12.7844696 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 25.4995499 29.7026062 -34.2844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 25.4995499 31.2026062 -34.2844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 25.4995499 33.2026062 -33.7844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 25.4995499 33.2026062 -34.7844696 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 25.9995499 30.7026062 -32.7844696 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 25.9995499 30.7026062 -35.7844696 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 23.4990921 33.4050903 -35.5689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 23.4990921 34.9050903 -35.5689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 23.4990921 36.9050903 -35.0689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 23.4990921 36.9050903 -36.0689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 23.9990921 34.4050903 -34.0689545 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 23.9990921 34.4050903 -37.0689545 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 8.83551025 41.5651093 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 42.8273163 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 44.364296 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 44.6562233 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 41.7413673 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 42.6171455 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 4.83551025 27.1651154 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 5.64596367 28.4273224 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.95389271 29.9643002 -7.3091135 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.49924374 30.2562275 -8.15058422 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 6.41182232 27.3413734 -6.73779345 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 5.04787636 28.2171516 -9.26220608 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686403e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 19.4981842 40.8099976 -38.1379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 19.4981842 42.3099976 -38.1379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 19.4981842 44.3099976 -37.6379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 19.4981842 44.3099976 -38.6379089 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 19.9981842 41.8099976 -36.6379089 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 19.9981842 41.8099976 -39.6379089 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 8.83551025 32.7651215 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 34.0273285 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 35.5643082 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 35.8562355 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 32.9413795 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 33.8171577 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 4.83551025 13.9651194 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 5.64596367 15.2273254 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.95389271 16.7643032 -7.3091135 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.49924374 17.0562305 -8.15058422 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 6.41182232 14.1413755 -6.73779345 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 5.04787636 15.0171556 -9.26220608 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686403e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 25.5004578 16.6975098 -8.71552277 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 25.5004578 18.1975098 -8.71552277 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 25.5004578 20.1975098 -8.21552277 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 25.5004578 20.1975098 -9.21552277 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 26.0004578 17.6975098 -7.21552277 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 26.0004578 17.6975098 -10.2155228 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 4.83551025 22.7651215 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 5.64596367 24.0273285 -7.72984886 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.95389271 25.5643063 -7.3091135 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 6.49924374 25.8562336 -8.15058422 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 6.41182232 22.9413795 -6.73779345 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 5.04787636 23.8171577 -9.26220608 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686403e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 17.4986343 31.5075226 -13.8534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 17.4986343 33.0075226 -13.8534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 17.4986343 35.0075226 -13.3534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 17.4986343 35.0075226 -14.3534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 17.9986343 32.5075226 -12.3534317 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 17.9986343 32.5075226 -15.3534317 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 21.4986343 37.1075287 -36.8534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 21.4986343 38.6075287 -36.8534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 21.4986343 40.6075287 -36.3534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 21.4986343 40.6075287 -37.3534317 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 21.9986343 38.1075287 -35.3534317 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 21.9986343 38.1075287 -38.3534317 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 8.83551025 19.5651245 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 20.8273315 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 22.3643093 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 22.6562366 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 19.7413826 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 20.6171608 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 13.4977264 38.9124908 -16.4223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 13.4977264 40.4124908 -16.4223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 13.4977264 42.4124908 -15.9223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 13.4977264 42.4124908 -16.9223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 13.9977264 39.9124908 -14.9223785 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 13.9977264 39.9124908 -17.9223785 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 23.5 20.3999996 -10 -0 -0 -1 -0 -1 -0 -1 -0 -0 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 23.5 21.8999996 -10 -0 -0 -1 -0 -1 -0 -1 -0 -0 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 23.5 23.8999996 -9.5 -0 -0 -1 -0 -1 -0 -1 -0 -0 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 23.5 23.8999996 -10.5 -0 -0 -1 -0 -1 -0 -1 -0 -0 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 24 21.3999996 -8.5 1 -0 -0 0 -1 -0 0 -0 -1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 24 21.3999996 -11.5 1 -0 -0 0 -1 -0 0 -0 -1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 17.4977264 44.5124817 -39.4223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 17.4977264 46.0124817 -39.4223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 17.4977264 48.0124817 -38.9223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 17.4977264 48.0124817 -39.9223785 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 17.9977264 45.5124817 -37.9223785 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 17.9977264 45.5124817 -40.9223785 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 8.83551025 37.1651154 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64807103e-020 0.00686328812 3.67023398e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 9.64596367 38.4273224 -30.7298489 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.9538927 39.9643021 -30.3091125 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66191662e-020 0.00686328812 3.59965835e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 10.4992437 40.2562294 -31.1505852 -0.454648674 -0.540302277 -0.708073378 0.291926563 -0.841470957 0.454648674 -0.841470957 0 0.540302277 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63381671e-020 0.00686328812 3.61484164e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 10.4118223 37.3413734 -29.737793 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.68116343e-020 0.00686328812 3.61764016e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 9.04787636 38.2171516 -32.262207 0.708073378 -0.540302277 -0.454648674 -0.454648674 -0.841470957 0.291926563 -0.540302277 0 -0.841470957 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.59686371e-020 0.00686328812 3.66319002e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end 0 0 0 1 0 0 0 1 0 0 0 1 Zombie null false -0.5 0.5 0 0 -0.5 0.5 4 0 29 19.4990921 27.8050842 -12.5689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Head 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.64808751e-020 0.00686328812 3.64317968e-020 0 1 2 1 1 2 2 0 Mesh 0 0 0 1.25 1.25 1.25 1 1 1 5 face 20 0 0 false -0.5 0.5 0 0 -0.5 0.5 4 0 192 19.4990921 29.3050842 -12.5689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 true 0.5 0.300000012 -0.5 0.5 0 0 0 0 2 0 false 256 Torso 0 0 0 2 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.64798347e-020 0.00686328812 3.64324075e-020 0 1 2 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 19.4990921 31.3050842 -12.0689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Left Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.66452934e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 false -0.5 0.5 0 0 -0.5 0.5 0 0 192 19.4990921 31.3050842 -13.0689545 1.49011612e-008 0 -0.999999881 1.49011612e-008 -0.99999994 0 -0.99999994 1.49011612e-008 1.49011612e-008 false 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Right Leg 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 3 0 0 3.63115971e-020 0.00686328812 3.64332218e-020 0 1 1 2 1 100 100 Humanoid 0 16 false -0.5 0.5 0 0 -0.5 0.5 0 0 29 19.9990921 28.8050842 -11.0689545 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.69807249e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) false -0.5 0.5 0 0 -0.5 0.5 0 0 29 19.9990921 28.8050842 -14.0689545 0.999999881 0 1.49011612e-008 0 -0.99999994 1.49011612e-008 -1.49011612e-008 1.49011612e-008 -0.99999994 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 zarm 0 -0.5 0.5 0 0 4.07127958e-025 3.33696291e-022 6.94702468e-025 -0.5 0.5 0 0 0 3.5979636e-020 0.00686328812 3.62653558e-020 0 1 2 1 1 false Script wait(1) owner=script.Parent.Parent.Name function onTouched(part) if part.Parent ~= nil then local h = part.Parent:findFirstChild("Humanoid") if h~=nil then if cantouch~=0 then if h.Parent.Name~=owner then if h.Parent:findFirstChild("zarm")~=nil then return end cantouch=0 local larm=h.Parent:findFirstChild("Left Arm") local rarm=h.Parent:findFirstChild("Right Arm") if larm~=nil then larm:remove() end if rarm~=nil then rarm:remove() end local zee=script.Parent.Parent:findFirstChild("zarm") if zee~=nil then local zlarm=zee:clone() local zrarm=zee:clone() if zlarm~=nil then local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) zlarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot zrarm.CFrame=h.Parent.Torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot zlarm.Parent=h.Parent zrarm.Parent=h.Parent zlarm:makeJoints() zrarm:makeJoints() zlarm.Anchored=false zrarm.Anchored=false wait(0.1) h.Parent.Head.Color=zee.Color else print("no zee"); return end end wait(1) cantouch=1 end end end end end script.Parent.Touched:connect(onTouched) IsNZ null Mode 0 false Script local larm = script.Parent:FindFirstChild("Left Arm") local rarm = script.Parent:FindFirstChild("Right Arm") function findNearestTorso(pos) local list = game.Workspace:children() local torso = nil local dist = 1000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= script.Parent) then temp = temp2:findFirstChild("Right Arm") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - pos).magnitude < dist then torso = temp dist = (temp.Position - pos).magnitude end end end end return torso end while true do wait(math.random(1,5)) local target = findNearestTorso(script.Parent.Torso.Position) if target ~= nil then script.Parent.Humanoid:MoveTo(target.Position, target) end end false Health function waitForChild(parent, childName) while true do local child = parent:findFirstChild(childName) if child then return child end parent.ChildAdded:wait() end end -- declarations local Figure = script.Parent local Head = waitForChild(Figure, "Head") local Humanoid = waitForChild(Figure, "Humanoid") Humanoid.Health=500 -- regeneration while true do local s = wait(4) local health = Humanoid.Health if health > 0 and health < Humanoid.MaxHealth then health = health + 0.08 * s * Humanoid.MaxHealth if health * 1.05 < Humanoid.MaxHealth then Humanoid.Health = health else Humanoid.Health = Humanoid.MaxHealth end end end false Respawn name="Humanoid" robo=script.Parent:clone() while true do wait(1) if script.Parent.Humanoid.Health<1 then robot=robo:clone() robot.Parent=script.Parent.Parent robot:makeJoints() script.Parent:remove() end end false -0.5 0.5 0 0 -0.5 0.5 4 0 194 21 8.40000057 -61.5 -1 0 -0 -0 1 -0 -0 0 -1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Wedge 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 1 58 8.40000057 5 false -0.5 0.5 0 0 -0.5 0.5 4 0 194 51.5 8.40000057 -26 -0 0 1 -0 1 0 -1 0 0 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Wedge 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 1 66 8.40000057 5 false -0.5 0.5 0 0 -0.5 0.5 4 0 194 -10.5 8.40000057 -27 0 0 -1 0 1 -0 1 0 -0 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Wedge 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 0 0 0 0 0 0 1 70 8.40000057 5 true -0.5 0.5 0 0 -0.5 0.5 4 0 194 21 3.60000014 -27.5 1 0 0 0 1 0 0 0 1 true 0.5 0.300000012 -0.5 0.5 0 0 -0.5 0.5 0 0 false 256 Part 0 -0.5 0.5 0 0 0 0 0 -0.5 0.5 3 0 0 0 0 0 1 1 62 1.20000005 71 ? false ZombieFall false Script start = tick() r = game:service("RunService") t = r.Stepped:wait() while t < 5 do t = r.Stepped:wait() end stop = tick() - start print(script.Parent.Name .. " passed in " .. stop .. " seconds.") script.Parent:Passed(script.Parent.Name .. " passed in " .. stop .. " seconds.") StarterPack StarterGui true 0 10 1 Soundscape 1 CollectionService PhysicsService BadgeService Geometry RenderHooksService SocialService 1000 Debris Instance Instance CookiesService Teleport Service Players Selection true false false true TestService 10 4286808963 1 4278190080 4278190080 4290822336 100000 0 41.7332993 Lighting 4290164411 14:00:00 ChangeHistoryService