null
nil
-
0
0
0
1
0
0
0
1
0
0
0
1
Zombie
[RBX1]
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
29
-313.749969
308.500031
-670.159973
3.42285418e-008
-5.13483149e-021
0.99999994
3.85277586e-021
1
5.13483149e-021
-0.99999994
3.85277586e-021
3.42285418e-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.64787943e-020
0.00686328812
3.64330182e-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
rbxasset://textures/face.png
0
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
192
-313.749969
307.000031
-670.159973
3.42285418e-008
-5.13483149e-021
0.99999994
3.85277586e-021
1
5.13483149e-021
-0.99999994
3.85277586e-021
3.42285418e-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
-313.749969
305.000031
-669.659973
3.42285418e-008
-5.13483149e-021
0.99999994
3.85277586e-021
1
5.13483149e-021
-0.99999994
3.85277586e-021
3.42285418e-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.66480722e-020
0.00686328812
3.64315933e-020
0
1
1
2
1
-
false
-0.5
0.5
0
0
-0.5
0.5
0
0
192
-313.749969
305.000031
-670.659973
3.42285418e-008
-5.13483149e-021
0.99999994
3.85277586e-021
1
5.13483149e-021
-0.99999994
3.85277586e-021
3.42285418e-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.6314376e-020
0.00686328812
3.64315933e-020
0
1
1
2
1
-
100
100
Humanoid
2
16
-
false
-0.5
0.5
0
0
-0.5
0.5
0
0
29
-314.249969
307.500031
-668.659973
-0.99999994
-5.13483149e-021
3.42285418e-008
-5.13483149e-021
1
3.85277586e-021
-3.42285418e-008
3.85277586e-021
-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.69800334e-020
0.00686328812
3.65994592e-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
-314.249969
307.500031
-671.659973
-0.99999994
-5.13483149e-021
3.42285418e-008
-5.13483149e-021
1
3.85277586e-021
-3.42285418e-008
3.85277586e-021
-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.59789445e-020
0.00686328812
3.65994592e-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