null
nil
-
0
0
0
1
0
0
0
1
0
0
0
1
Zombies
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
Tank
[null]
true
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
1007
94.0661316
6.79819822
-45.9999657
2.51789752e-005
-0.0342637338
0.999412119
-2.64659843e-006
0.999412835
0.0342637524
-0.999999285
-3.50777282e-006
2.50735557e-005
true
false
0.5
1
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Head
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
true
1
2
1
1
-
false
PlaySounds
zombieParent = false
local soundIds = {25954372, 25954392, 25954407}
local sounds = {}
for i=1,#soundIds do
local s = Instance.new("Sound")
s.SoundId = "http://www.roblox.com/asset/?id=" .. soundIds[i]
s.Volume = 1
s.Parent = script.Parent
sounds[#sounds + 1] = s
end
while zombieParent == false do
wait(1)
if script.Parent.Name == "Head" then
zombieParent = true
end
end
while true do
wait(math.random(2,5))
local i = math.random(1, #sounds)
sounds[i].Pitch = .8 + (math.random() * .2)
sounds[i]:Play()
end
true
-
5
Decal
20
0
http://androdome.com/asset/?id=24553034
true
-
2
2
0
Mesh
0
0
0
1
2
1
1
1
1
true
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
217
94.1175308
5.29907894
-45.9999619
2.51789752e-005
-0.0342637338
0.999412119
-2.64659843e-006
0.999412835
0.0342637524
-0.999999285
-3.50777282e-006
2.50735557e-005
true
false
0.5
1
0.300000012
-0.5
0.5
0
0
0
0
0
0
false
256
Torso
0
0
0
0
0
0
0
0
-0.5
0.5
3
0
0
0
0
0
true
1
2
2
1
-
-1
-1
0
0
0
-1
0
1
0
1
0
0
-0.5
1
0
-0
-0
-1
0
1
0
1
0
0
0
0.100000001
Left Hip
[null]
[null]
true
-
0
1
0
-1
-0
-0
0
0
1
0
1
0
0
-0.5
0
-1
-0
-0
0
0
1
0
1
0
Neck
[null]
[null]
true
-
1
-1
0
0
0
1
0
1
0
-1
0
0
0.5
1
0
0
0
1
0
1
0
-1
-0
-0
0
0.100000001
Right Hip
[null]
[null]
true
-
-2
0.5
0
0
0
1
0
1
0
-1
0
0
-0.5
0.5
0
0
0
1
0
1
0
-1
-0
-0
0
0.150000006
Right Shoulder
[null]
[null]
true
-
2
0.5
0
0
0
-1
0
1
0
1
0
0
0.5
0.5
0
-0
-0
-1
0
1
0
1
0
0
0
0.150000006
Left Shoulder
[null]
[null]
true
-
false
-0.5
0.5
0
0
-0.5
0.5
0
0
217
94.2202225
3.3017478
-45.499939
1.33814701e-005
-0.0684984922
0.997659087
-1.81925043e-006
0.997658849
0.0684992298
-1.00000727
-2.73127966e-006
1.3237146e-005
false
false
0.5
1
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
0
0
0
-0.5
0.5
3
0
0
0
0
0
true
1
1
2
1
-
false
-0.5
0.5
0
0
-0.5
0.5
0
0
217
94.1519318
3.29945135
-46.4999542
1.33698531e-005
1.84030444e-006
1.00000787
-1.8203541e-006
1.00000763
-1.09522341e-006
-1.00000727
-1.81922621e-006
1.33815274e-005
false
false
0.5
1
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
0
0
0
-0.5
0.5
3
0
0
0
0
0
true
1
1
2
1
-
100
100
Zombie
13
true
-
1007
1007
217
Body Colors
1007
217
217
true
-
Mode
0
true
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
1007
94.1000214
5.29969311
-47.4999924
1.33987587e-005
1.24160118e-011
0.999999285
-1.81755956e-006
1
1.19392204e-011
-0.999999285
-1.81756093e-006
1.33988051e-005
true
false
0.5
1
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Right Arm
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
1
0
0
0
true
1
1
2
1
-
false
-0.5
0.5
0
0
-0.5
0.5
4
0
1007
94.0999756
5.29970074
-44.5000076
1.33987587e-005
1.24160118e-011
0.999999285
-1.81755956e-006
1
1.19392204e-011
-0.999999285
-1.81756093e-006
1.33988051e-005
true
false
0.5
1
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Left Arm
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
1
0
0
0
true
1
1
2
1
-
false
Chase 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 = 100
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("Torso")
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
function Hit(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if human ~= nil then
human.Health = human.Health -0
end
end
larm.Touched:connect(Hit)
rarm.Touched:connect(Hit)
while true do
wait(0.1)
local target = findNearestTorso(script.Parent.Torso.Position)
if target ~= nil then
script.Parent.Zombie:MoveTo(target.Position, target)
end
end
true
-
false
Ragdoll
print("Hello world!")
Character = script.Parent
Humanoid = Character.Zombie
Torso = Character.Torso
function OnDeath()
wait(0.02)
Character:Remove()
end
Humanoid.Died:connect(OnDeath)
true
-
0
0
0
1
0
0
0
1
0
0
0
1
Arm1
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
4
0
23
92.4999847
5.19914961
-44.5
1.33987805e-005
1.24153188e-011
0.999999762
-1.81756047e-006
1
1.19385057e-011
-0.999999762
-1.81756093e-006
1.3398796e-005
false
false
0.5
1
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Middle
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
1
0
0
0
true
1
1
2
1
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
Weld
[null]
[null]
true
-
0
0
-0.5
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
-1.5
-1.43051147e-006
-0.5
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
false
Weld Script
local p=script.Parent:GetChildren()
for i=1,#p do
if p[i].className=="Part" then
local weld = Instance.new("Weld")
weld.Name="Hold"
weld.Part0 = p[i]
weld.Part1 = script.Parent.Parent:FindFirstChild("Left Arm")
weld.C0 = weld.Part0.CFrame:inverse() * weld.Part1.CFrame
weld.Parent = p[i]
end
end
true
-
false
Fix Script
local p=script.Parent:GetChildren()
for i, v in pairs(p) do
if v.className=="Part" then
wait()
v.Anchored = false
v.Velocity = Vector3.new(0,10,0)
end
end
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.6000824
5.86473942
-43.5732422
-1.00000048
-2.1150986e-006
-3.87167756e-006
4.17436224e-012
-0.87758404
0.479426801
3.43134798e-006
0.479424983
0.877581656
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
2
1
-
2
2
http://androdome.com/asset/?id=1095708
5
Mesh
0
0
0
1.70000005
5
2.70000005
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.1000748
2.72897482
-44.4000244
1.45425374e-005
0.999998808
-4.02480133e-013
-1.35543235e-006
1.93126522e-011
-1
-0.999998808
1.45426147e-005
1.35543507e-006
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
1
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
2.5
2.5
2.5
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.5
6.80000019
-44.5
-1
0
-0
-0
1
-0
-0
0
-1
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
1.20000005
1
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3.29999995
3
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.9999847
4.23348331
-43.6010742
1.07547121e-005
1.00000215
5.87534623e-006
0.4794254
2.2086586e-012
-0.87758708
-0.877581656
1.14383784e-006
-0.479425609
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
2.5999999
3
4
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.7001801
5.60158443
-43.4294662
1.27622652e-005
-0.999998808
-5.48385287e-007
-0.479427755
-6.5998438e-006
0.877581358
-0.877580225
-1.09370949e-005
-0.479427159
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
2.5999999
3
4
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
0
0
0
1
0
0
0
1
0
0
0
1
Arm2
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.5
6.80000019
-47.5
-1
0
-0
-0
1
-0
-0
0
-1
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
1.20000005
1
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3.29999995
3
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
-7.62939453e-006
-4.76837158e-007
-0.5
-1
-1.04580997e-011
1.38889927e-005
1.20352166e-011
1
1.61950675e-006
-1.38889918e-005
1.61950675e-006
-1
0.999988556
1.5999012
0
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.0000076
4.14377022
-48.5418701
-1.07547248e-005
-1.00000215
-5.87532622e-006
0.479428619
-1.95286322e-012
-0.877585292
0.877581775
-1.14383784e-006
0.479425609
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
2.5999999
3
4
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
0
0
-0.500001907
1.43397335e-006
0.479427218
0.877583742
-1.00000334
-1.05567655e-011
1.27452386e-005
7.83383484e-007
-0.877586067
0.479424804
2.78157425
-0.617573738
0.499969482
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.6001053
5.35400677
-48.3338699
-1.878496e-005
1.0262258e-005
0.999998808
-0.479425043
-0.877582788
4.54939905e-013
0.877581596
-0.479424447
2.14054235e-005
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
2
1
-
2
2
http://androdome.com/asset/?id=1095708
5
Mesh
0
0
0
1.70000005
5
2.70000005
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
-3.81469727e-006
0
-0.5
-6.59628358e-006
-0.479426444
0.877582014
3.60354829e-006
-0.877582014
-0.479426444
1
-2.37549355e-011
7.5164171e-006
2.33386612
0.154334545
-0.399925232
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.0002594
2.72897482
-47.9000244
1.45425374e-005
0.999998808
-4.02480133e-013
-1.35543235e-006
1.93126522e-011
-1
-0.999998808
1.45426147e-005
1.35543507e-006
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
1
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
2.5
2.5
2.5
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
0
0
-0.5
6.53601091e-007
2.64072128e-007
-1
1
6.21712057e-012
6.53599272e-007
6.38971862e-012
-1
-2.64072241e-007
1.90002823
-1.97113204
0.500228882
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.7002106
5.49779034
-48.5970535
-1.27622725e-005
0.999998808
5.48383923e-007
-0.479425311
-6.59981743e-006
0.877582669
0.877581477
1.09371204e-005
0.479424715
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
2.5999999
3
4
1
1
1
true
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
-3.81469727e-006
0
-0.5
-5.73589546e-007
-0.479426712
0.877581894
1
-6.5998247e-006
-2.95190898e-006
7.20711114e-006
0.877581894
0.479426712
2.83674622
-0.140656471
0.200164795
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
4
0
23
92.5000305
5.19914198
-47.5
1.33987805e-005
1.24153188e-011
0.999999762
-1.81756047e-006
1
1.19385057e-011
-0.999999762
-1.81756093e-006
1.3398796e-005
false
false
0.5
1
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Middle
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
1
0
0
0
true
1
1
2
1
-
false
Script
function onTouched(part)
if part.Parent ~= nil then
local h = part.Parent:findFirstChild("Humanoid")
if h~=nil then
h.Parent.Torso.Velocity=Vector3.new(10,10,10)
wait(0.5)
end
end
end
script.Parent.Touched:connect(onTouched)
true
-
false
Script
function onTouched(hit)
local human = hit.Parent:FindFirstChild("Humanoid")
if (human ~= nil) then
human.Health = 0
end
end
if (script.Parent ~= nil) and (script.Parent.className == "Part") then --Work if in a block
connection = script.Parent.Touched:connect(onTouched)
end
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
-1.60000038
0
-0
-0
-1
0
1
0
1
0
0
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
1.42080688
0.500015259
-0.427650452
-0.877582431
0.4794254
1.00377827e-006
1.1437993e-006
1.27897692e-013
-1.00000048
-0.479425967
-0.877583265
5.48366813e-007
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.100006104
-1.29865646
-3.7650528
-3.43139936e-006
-2.06057393e-012
-1.00000143
-0.479426831
-0.877584755
-1.64510232e-006
-0.877582371
0.479425311
-3.01133537e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
-1.60000038
3
-0
-0
-1
0
1
0
1
0
0
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.805778503
-0.264278412
-0.0999832153
-0.877582729
-0.479425251
-7.02645866e-006
0.479425222
-0.877582729
3.83855468e-006
-8.00659927e-006
-1.26334498e-011
1
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-0.400024414
-0.500030518
-2.47121048
1
4.62125058e-007
1.14379941e-006
1.1437993e-006
1.27897692e-013
1.00000048
-4.62125058e-007
-1.00000048
-1.27897692e-013
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
3.76501465
0.200008392
1.5986557
0.877582431
-0.4794254
1.00377827e-006
-1.1437993e-006
-1.27897692e-013
-1.00000048
0.479425967
0.877583265
5.48366813e-007
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
1.10577393
-0.199981689
0.264282227
-0.877582431
-0.4794254
-1.00377827e-006
1.1437993e-006
-1.27897692e-013
1.00000048
-0.479425967
0.877583265
-5.48366813e-007
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
3.09997559
-0.600017548
-2.47122002
1
4.62125058e-007
1.14379941e-006
1.1437993e-006
1.27897692e-013
1.00000048
-4.62125058e-007
-1.00000048
-1.27897692e-013
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
3.88505554
-0.499988556
1.02082253
0.877582431
0.4794254
-1.00377827e-006
-1.1437993e-006
1.27897692e-013
1.00000048
0.479425967
-0.877583265
-5.48366813e-007
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
Weld
[null]
[null]
true
-
0
0
-0.5
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
1.5
1.43051147e-006
-0.500007629
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
false
Weld Script
local p=script.Parent:GetChildren()
for i=1,#p do
if p[i].className=="Part" then
local weld = Instance.new("Weld")
weld.Name="Hold"
weld.Part0 = p[i]
weld.Part1 = script.Parent.Parent:FindFirstChild("Right Arm")
weld.C0 = weld.Part0.CFrame:inverse() * weld.Part1.CFrame
weld.Parent = p[i]
end
end
true
-
false
Fix Script
local p=script.Parent:GetChildren()
for i, v in pairs(p) do
if v.className=="Part" then
wait()
v.Anchored = false
v.Velocity = Vector3.new(0,10,0)
end
end
true
-
0
0
0
1
0
0
0
1
0
0
0
1
Chest
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.4001541
7.22781372
-46.0000076
-0.999998808
1.42427389e-012
-1.14383602e-006
1.94917433e-012
1
-4.62121307e-007
1.14375598e-006
-4.62125172e-007
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
4.76837158e-007
-0.5
-1
-1.03594616e-011
1.50327896e-005
7.03924072e-012
1
1.15738317e-006
-1.50327905e-005
1.15738317e-006
-1
-0.500007629
2.02865696
0.900154114
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.4001541
6.72774506
-46.0000229
-0.999998808
1.42427389e-012
-1.14383602e-006
1.94917433e-012
1
-4.62121307e-007
1.14375598e-006
-4.62125172e-007
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
4.76837158e-007
-0.5
-1
-1.03594616e-011
1.50327896e-005
7.03924072e-012
1
1.15738317e-006
-1.50327905e-005
1.15738317e-006
-1
-0.5
1.52863979
-0.0998458862
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.7002029
6.12806797
-46.0000076
-0.999998808
-2.33541554e-011
-8.00660291e-006
2.54240899e-012
1
-3.23486029e-006
8.00652197e-006
-3.2348612e-006
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
0
-0.5
-1
-2.08805404e-011
2.18955647e-005
-5.62496681e-011
1
-1.61535581e-006
-2.18955647e-005
-1.61535581e-006
-1
-0.500011444
0.928694248
0.200202942
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
91.472908
6.89079618
-46.0000153
1.45425392e-005
-0.374606043
0.927182734
-1.35543189e-006
0.927183926
0.37460646
-0.999998808
-6.70449572e-006
1.29759264e-005
false
false
0.5
1
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
0
0
0
0
0
0
true
1
2
0.400000006
1
-
2
2
http://androdome.com/asset/?id=12259089
5
Mesh
0
0
0
1
0.600000024
1
http://androdome.com/asset/?id=12547044
1
1
1
true
-
0
0
-0.499992371
6.5360291e-007
2.64072582e-007
-1
-0.37460646
0.927183926
-2.27373675e-013
0.927183926
0.37460646
7.04935246e-007
-1.90734863e-005
1.50438881
-1.49069214
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
94.1001053
7.52780819
-46.0999832
0.999998808
1.42427389e-012
1.14383602e-006
-1.94917433e-012
1
4.62121534e-007
-1.14375598e-006
-4.62125399e-007
0.999998808
false
false
0.5
0
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
0
0
0
0
0
0
true
0
1
1
1
-
0
0
-0.5
1
1.03594616e-011
-1.50327896e-005
7.03923378e-012
1
1.15738294e-006
1.50327905e-005
-1.15738294e-006
1
0.599983215
2.3286562
1.6000824
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.4001541
8.12784863
-46
1.00000048
4.61378331e-013
-4.41174143e-006
-4.25962911e-012
1.00000191
1.83302711e-006
-3.43135525e-006
-1.38637392e-006
0.999999046
false
false
0.5
0
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
0
0
0
0
0
0
true
0
1
1
1
-
7.62939453e-006
-4.76837158e-007
-0.5
1.00000167
1.17538236e-011
-1.73204135e-005
-6.76052964e-012
1.00000191
2.33136348e-007
9.47720764e-006
2.13522185e-007
1.00000024
0.499992371
2.9286809
0.900138855
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.4001465
7.92780447
-45.900032
0.999998808
-2.33541554e-011
8.00660291e-006
-2.54240899e-012
1
3.23486029e-006
-8.00652197e-006
-3.2348612e-006
0.999998808
false
false
0.5
0
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
0
0
0
0
0
0
true
0
1
1
1
-
0
0
-0.5
1
2.08805404e-011
-2.18955647e-005
-5.62496681e-011
1
-1.61535581e-006
2.18955647e-005
1.61535581e-006
1
0.400009155
2.72865915
-0.099861145
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.0000076
6.5279789
-46
-0.999998808
1.42427389e-012
-1.14383602e-006
1.94917433e-012
1
-4.62121307e-007
1.14375598e-006
-4.62125172e-007
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
4.76837158e-007
-0.5
-1
-1.03594616e-011
1.50327896e-005
7.03924072e-012
1
1.15738317e-006
-1.50327905e-005
1.15738317e-006
-1
-0.500003815
1.32866287
0.500007629
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
92.3000565
7.0278163
-46.0000229
-0.999998808
1.42427389e-012
-1.14383602e-006
1.94917433e-012
1
-4.62121307e-007
1.14375598e-006
-4.62125172e-007
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
4.76837158e-007
-0.5
-1
-1.03594616e-011
1.50327896e-005
7.03924072e-012
1
1.15738317e-006
-1.50327905e-005
1.15738317e-006
-1
-0.500003815
1.82866383
-0.199943542
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.2002029
5.62843609
-46.0000076
-0.999998808
1.51672338e-012
-1.47063474e-006
2.3868494e-012
1
-5.94156973e-007
1.4705538e-006
-5.94160838e-007
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
2.4000001
1
1
1
true
-
0
0
-0.5
-1
-1.04510584e-011
1.53595884e-005
5.2978559e-012
1
1.0253475e-006
-1.53595902e-005
1.0253475e-006
-1
-0.5
0.428874493
0.700202942
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
94.1001053
4.82860804
-46
-6.6993407e-006
-8.55416432e-013
-0.999998808
9.08775974e-007
1
-6.94730558e-012
0.999998808
-9.08779384e-007
-6.69941983e-006
false
false
0.5
1
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
0
0
0
0
0
0
true
1
2
0.800000012
1
-
0
0
-0.5
7.18960473e-006
-7.107285e-007
1
-1.44402545e-012
1
7.107285e-007
-1
-6.55388244e-012
7.18960473e-006
7.62939453e-006
-0.371386528
2.10009766
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.4985428
6.6894722
-46.0000076
-0.717355251
-0.696705878
-8.00192083e-006
-0.696706712
0.717356086
-3.20373738e-006
7.97223947e-006
3.27671614e-006
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
0
-0.5
-0.717356086
-0.696706712
1.68073038e-005
-0.696706712
0.717356086
1.41150667e-005
-2.18908826e-005
-1.5842329e-006
-1
-0.500007629
1.49037218
0.998542786
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.9350662
6.23944855
-46.0000076
-0.717355251
-0.696705878
-8.00192083e-006
-0.696706712
0.717356086
-3.20373738e-006
7.97223947e-006
3.27671614e-006
-0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
4
1
1
1
true
-
0
0
-0.5
-0.717356086
-0.696706712
1.68073038e-005
-0.696706712
0.717356086
1.41150667e-005
-2.18908826e-005
-1.5842329e-006
-1
-0.5
1.04010725
1.43506622
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.9084549
5.69393444
-46.0000076
-0.717357278
-0.696706235
-1.5873502e-007
-0.696707189
0.717358232
-3.56099054e-006
7.90993636e-006
3.34082983e-006
-0.999999046
false
false
0.5
1
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
0
0
0
0
0
0
true
1
1
0.400000006
2
-
2
2
http://androdome.com/asset/?id=1185246
5
Mesh
0
0
0
3
3
3.5
1
1
1
true
-
0
0
-0.5
-0.717358112
-0.696707189
1.67450326e-005
-0.69670707
0.717358232
1.41791897e-005
-1.40476914e-005
-1.94148561e-006
-1.00000024
-0.5
0.494374275
1.4084549
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
91.4926834
6.5754261
-46.0000153
1.44608375e-005
-0.374606043
0.927182734
-1.38844109e-006
0.927183926
0.37460646
-0.999998808
-6.70449572e-006
1.28878073e-005
false
false
0.5
1
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
0
0
0
0
0
0
true
1
2
1
1
-
2
2
0
Mesh
0
0
0
1
1
1
1
1
1
true
-
5
Decal
20
0
http://androdome.com/asset/?id=11306221
true
-
0
0
-0.5
5.71901182e-007
2.31063382e-007
-1
-0.37460646
0.927183926
-2.27373675e-013
0.927183926
0.37460646
6.16816124e-007
-1.90734863e-005
1.18881321
-1.47091675
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
93.3427811
5.70206738
-45.9999924
0.696705759
0.717355371
8.00193175e-006
-0.717356205
0.696706533
3.22608889e-006
-3.2606888e-006
-7.98781912e-006
0.999998808
false
false
0.5
1
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
0
0
0
0
0
0
true
1
3
1.20000005
2
-
0
7.62939453e-006
-0.5
0.696706593
-0.717356205
-1.40990369e-005
0.717356205
0.696706533
-1.68228871e-005
2.18908954e-005
1.60658442e-006
1
0.499984741
0.502619743
0.842765808
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
94.6001053
6.62772751
-46.0999832
1.00000048
4.61377464e-013
-4.41174143e-006
-4.25962911e-012
1.00000191
1.83302734e-006
-3.43135343e-006
-1.38637415e-006
0.999999046
false
false
0.5
0
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
0
0
0
0
0
0
true
0
1
1
1
-
0
0
-0.5
1.00000167
1.17538236e-011
-1.73204116e-005
-6.76052964e-012
1.00000191
2.3313612e-007
9.47720764e-006
2.13522412e-007
1.00000024
0.599979401
1.42863131
2.1000824
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
4
0
23
92.5000076
5.19914579
-46
1.33987805e-005
1.24153188e-011
0.999999762
-1.81756047e-006
1
1.19385057e-011
-0.999999762
-1.81756093e-006
1.3398796e-005
false
false
0.5
1
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Middle
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
1
0
0
0
true
1
2
2
1
-
0
0
0
1
0
0
0
1
0
0
0
1
0.899993896
-2.02873611
0
-1.1438002e-006
-1.27897692e-013
-1.00000048
4.62125286e-007
1.00000048
1.27897692e-013
1
4.62125286e-007
1.14380032e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-0.100006104
-1.52873993
0
-1.1438002e-006
-1.27897692e-013
-1.00000048
4.62125286e-007
1.00000048
1.27897692e-013
1
4.62125286e-007
1.14380032e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.200012207
-0.928749084
0
-8.00659109e-006
-1.20081722e-011
-1
3.23487188e-006
1
-3.79003495e-011
1
-3.23487166e-006
-8.00659018e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
-1.95335007
0.318553925
1
4.62125456e-007
1.14380066e-006
-2.84217094e-014
0.927184284
-0.374606788
1.2336285e-006
0.374606788
0.927184284
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-1.6000061
-2.32873535
0.0999908447
1.14380111e-006
1.27897692e-013
1.00000048
4.62125513e-007
1.00000048
1.27897692e-013
-1
-4.62125513e-007
-1.14380123e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-0.899993896
-2.92877388
0
3.43140437e-006
1.97530881e-012
1.00000143
1.38637699e-006
1.00000143
1.97530881e-012
-1
-1.38637699e-006
-3.43140437e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.0999946594
-2.72875214
-0.100013733
8.00659109e-006
1.20081722e-011
1
3.23487188e-006
1
-3.79003495e-011
-1
3.23487166e-006
8.00659018e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.5
-1.32873726
0
-1.1438002e-006
-1.27897692e-013
-1.00000048
4.62125286e-007
1.00000048
1.27897692e-013
1
4.62125286e-007
1.14380032e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-0.200012207
-1.82873917
0
-1.1438002e-006
-1.27897692e-013
-1.00000048
4.62125286e-007
1.00000048
1.27897692e-013
1
4.62125286e-007
1.14380032e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.699981689
-0.428945541
0
-1.47060041e-006
-2.84217094e-013
-1.00000072
5.94161577e-007
1.00000072
2.84217094e-013
1
5.94161577e-007
1.47060041e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
0.371191025
1.6000061
-1
-4.62125286e-007
-1.14380032e-006
4.62125286e-007
1.00000048
1.27897692e-013
-1.1438002e-006
-1.27897692e-013
-1.00000048
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
1.75471115
-0.373538971
-2.28881836e-005
-7.97230859e-006
-0.696707904
-0.717357695
-3.27676571e-006
0.717357397
-0.696708381
1.00000083
-3.25590781e-006
-8.00193993e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
1.75403404
0.253578186
-1.52587891e-005
-7.97230859e-006
-0.696707904
-0.717357695
-3.27676571e-006
0.717357397
-0.696708381
1.00000083
-3.25590781e-006
-8.00193993e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
1.35471725
0.626468658
-1.52587891e-005
-7.91005641e-006
-0.696712434
-0.717363894
-3.34091669e-006
0.717361808
-0.696714163
1.0000037
-3.34532956e-006
-8.00199268e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
-1.65341187
0.418540955
1
4.29116341e-007
1.06210018e-006
-2.84217094e-014
0.927184284
-0.374606788
1.14551187e-006
0.374606788
0.927184284
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-0.226474762
-0.954711914
7.62939453e-006
3.26072995e-006
-0.717356265
0.696706951
7.98787551e-006
0.696706891
0.717356324
-1.00000012
3.23355198e-006
8.00192356e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-2.1000061
-1.42873955
0.100013733
3.43140346e-006
1.97530881e-012
1.00000143
1.38637722e-006
1.00000143
1.97530881e-012
-1
-1.38637722e-006
-3.43140346e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
0
0
1
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
0.899993896
-2.32873726
0
8.00659109e-006
1.20081722e-011
1
3.23487188e-006
1
-3.79003495e-011
-1
3.23487166e-006
8.00659018e-006
Weld
[null]
[null]
true
-
0
0
0
1
0
0
0
1
0
0
0
1
-2.30000305
-0.428726196
0.100013733
3.43140255e-006
1.97530881e-012
1.00000143
1.38637768e-006
1.00000143
1.97530881e-012
-1
-1.38637768e-006
-3.43140255e-006
Weld
[null]
[null]
true
-
0
0
-0.5
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
0
0
-0.5
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
91.6001053
7.52792263
-46.0000153
0.999998808
-2.33541554e-011
8.00660291e-006
-2.54240899e-012
1
3.23486029e-006
-8.00652197e-006
-3.2348612e-006
0.999998808
false
false
0.5
0
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
0
0
0
0
0
0
true
0
1
1
1
-
0
0
-0.5
1
2.08805404e-011
-2.18955647e-005
-5.62496681e-011
1
-1.61535581e-006
2.18955647e-005
1.61535581e-006
1
0.499980927
2.3287673
-0.899909973
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
151
94.8000565
5.62822247
-46.0999451
1.00000048
4.61348841e-013
-4.41174325e-006
-4.25962911e-012
1.00000191
1.8330278e-006
-3.43135162e-006
-1.38637461e-006
0.999999046
false
false
0.5
0
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
0
0
0
0
0
0
true
0
1
1
1
-
0
0
-0.5
1.00000167
1.17538253e-011
-1.73204098e-005
-6.76053658e-012
1.00000191
2.33135665e-007
9.47720582e-006
2.13522867e-007
1.00000024
0.599979401
0.428655624
2.30003357
-4.90201273e-007
-1.98054181e-007
-1
-7.93882321e-013
1
-1.98054181e-007
1
6.96796787e-013
-4.90199454e-007
Hold
[null]
[null]
true
-
false
Weld Script
local p=script.Parent:GetChildren()
for i=1,#p do
if p[i].className=="Part" then
local weld = Instance.new("Weld")
weld.Name="Hold"
weld.Part0 = p[i]
weld.Part1 = script.Parent.Parent.Torso
local HitPos = p[i].Position + (p[i].CFrame.lookVector * .5)
local CJ = CFrame.new(HitPos)
local C0 = p[i].CFrame:inverse() *CJ
local C1 = script.Parent.Parent.Torso.CFrame:inverse() * CJ
weld.C0 = C0
weld.C1 = C1
weld.Parent = p[i]
end
end
true
-
false
Fix Script
local p=script.Parent:GetChildren()
for i, v in pairs(p) do
if v.className=="Part" then
wait()
v.Anchored = false
v.Velocity = Vector3.new(0,10,0)
end
end
true
-
false
Robot
function waitForChild(parent, childName)
local child = parent:findFirstChild(childName)
if child then return child end
while true do
child = parent.ChildAdded:wait()
if child.Name==childName then return child end
end
end
-- ANIMATION
-- declarations
local Figure = script.Parent
local Torso = waitForChild(Figure, "Torso")
local RightShoulder = waitForChild(Torso, "Right Shoulder")
local LeftShoulder = waitForChild(Torso, "Left Shoulder")
local RightHip = waitForChild(Torso, "Right Hip")
local LeftHip = waitForChild(Torso, "Left Hip")
local Neck = waitForChild(Torso, "Neck")
local Humanoid = waitForChild(Figure, "Zombie")
local pose = "Standing"
local toolAnim = "None"
local toolAnimTime = 0
--spawn
miked=script.Parent
itlh=miked.Torso:findFirstChild("Left Hip")
itlh.Part0=miked.Torso
itlh.Part1=miked:findFirstChild("Left Leg")
itlh.C0=CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
itrh=miked.Torso:findFirstChild("Right Hip")
itrh.Part0=miked.Torso
itrh.Part1=miked:findFirstChild("Right Leg")
itrh.C0=CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
itls=miked.Torso:findFirstChild("Left Shoulder")
itls.Part1=miked.Torso
itls.C0=CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
itls.Part0=miked:findFirstChild("Left Arm")
itrs=miked.Torso:findFirstChild("Right Shoulder")
itrs.Part1=miked.Torso
itrs.C0=CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
itrs.Part0=miked:findFirstChild("Right Arm")
miked.Head:makeJoints()
--spawn
-- functions
function onRunning(speed)
if speed>0 then
pose = "Running"
else
pose = "Standing"
end
end
function onDied()
pose = "Dead"
end
function onJumping()
pose = "Jumping"
end
function onClimbing()
pose = "Climbing"
end
function onGettingUp()
pose = "GettingUp"
end
function onFreeFall()
pose = "FreeFall"
end
function onFallingDown()
pose = "FallingDown"
end
function onSeated()
pose = "Seated"
end
function onPlatformStanding()
pose = "PlatformStanding"
end
function moveJump()
RightShoulder.MaxVelocity = 0.5
LeftShoulder.MaxVelocity = 0.5
RightShoulder.DesiredAngle = 3.14
LeftShoulder.DesiredAngle = -3.14
RightHip.DesiredAngle = 0
LeftHip.DesiredAngle = 0
end
-- same as jump for now
function moveFreeFall()
RightShoulder.MaxVelocity = 0.5
LeftShoulder.MaxVelocity = 0.5
RightShoulder.DesiredAngle = 3.14
LeftShoulder.DesiredAngle = -3.14
RightHip.DesiredAngle = 0
LeftHip.DesiredAngle = 0
end
function moveSit()
RightShoulder.MaxVelocity = 0.15
LeftShoulder.MaxVelocity = 0.15
RightShoulder.DesiredAngle = 3.14 /2
LeftShoulder.DesiredAngle = -3.14 /2
RightHip.DesiredAngle = 3.14 /2
LeftHip.DesiredAngle = -3.14 /2
end
function getTool()
for _, kid in ipairs(Figure:GetChildren()) do
if kid.className == "Tool" then return kid end
end
return nil
end
function getToolAnim(tool)
for _, c in ipairs(tool:GetChildren()) do
if c.Name == "toolanim" and c.className == "StringValue" then
return c
end
end
return nil
end
function animateTool()
if (toolAnim == "None") then
RightShoulder.DesiredAngle = 1.57
return
end
if (toolAnim == "Slash") then
RightShoulder.MaxVelocity = 0.5
RightShoulder.DesiredAngle = 0
return
end
if (toolAnim == "Lunge") then
RightShoulder.MaxVelocity = 0.5
LeftShoulder.MaxVelocity = 0.5
RightHip.MaxVelocity = 0.5
LeftHip.MaxVelocity = 0.5
RightShoulder.DesiredAngle = 1.57
LeftShoulder.DesiredAngle = 1.0
RightHip.DesiredAngle = 1.57
LeftHip.DesiredAngle = 1.0
return
end
end
function move(time)
local amplitude
local frequency
if (pose == "Jumping") then
moveJump()
return
end
if (pose == "FreeFall") then
moveFreeFall()
return
end
if (pose == "Seated") then
moveSit()
return
end
local climbFudge = 0
if (pose == "Running") then
RightShoulder.MaxVelocity = 0.15
LeftShoulder.MaxVelocity = 0.15
amplitude = .2
frequency = 9
elseif (pose == "Climbing") then
RightShoulder.MaxVelocity = 0.5
LeftShoulder.MaxVelocity = 0.5
amplitude = 1
frequency = 9
climbFudge = 3.14
else
amplitude = 0.1
frequency = 1
end
desiredAngle = amplitude * math.sin(time*frequency)
RightShoulder.DesiredAngle = desiredAngle + climbFudge
LeftShoulder.DesiredAngle = desiredAngle - climbFudge
RightHip.DesiredAngle = -desiredAngle
LeftHip.DesiredAngle = -desiredAngle
local tool = getTool()
if tool then
animStringValueObject = getToolAnim(tool)
if animStringValueObject then
toolAnim = animStringValueObject.Value
-- message recieved, delete StringValue
animStringValueObject.Parent = nil
toolAnimTime = time + .3
end
if time > toolAnimTime then
toolAnimTime = 0
toolAnim = "None"
end
animateTool()
else
toolAnim = "None"
toolAnimTime = 0
end
end
-- connect events
Humanoid.Died:connect(onDied)
Humanoid.Running:connect(onRunning)
Humanoid.Jumping:connect(onJumping)
Humanoid.Climbing:connect(onClimbing)
Humanoid.GettingUp:connect(onGettingUp)
Humanoid.FreeFalling:connect(onFreeFall)
Humanoid.FallingDown:connect(onFallingDown)
Humanoid.Seated:connect(onSeated)
Humanoid.PlatformStanding:connect(onPlatformStanding)
-- main program
local runService = game:service("RunService");
while Figure.Parent~=nil do
local _, time = wait(0.1)
move(time)
end
true