Guest User

Untitled

a guest
Jul 6th, 2018
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local righteyebrickcolor = "Really red"
  2. local reye = Instance.new("Part", char)
  3. reye.CanCollide = false
  4. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  5. reye.Material = "Neon"
  6. reye.Size = Vector3.new(.25,.35,.15)
  7. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  8. m1 = Instance.new("SpecialMesh", reye)
  9. m1.MeshType = "Sphere"
  10. m1.Scale = Vector3.new(0.9,0.9,0.9)
  11. reye.Locked = true
  12. reye.Name = "re"
  13.  
  14.  
  15. local lefteyebrickcolor = "Really red"
  16. local leye = Instance.new("Part", char)
  17. leye.CanCollide = false
  18. leye.BrickColor = BrickColor.new(lefteyebrickcolor)
  19. leye.Material = "Neon"
  20. leye.Size = Vector3.new(.25,.35,.15)
  21. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  22. m1 = Instance.new("SpecialMesh", leye)
  23. m1.MeshType = "Sphere"
  24. m1.Scale = Vector3.new(0.9,0.9,0.9)
  25. leye.Locked = true
  26. leye.Name = "le"
  27.  
  28. wait(1)
  29. local Dummy = game.Workspace:FindFirstChild("Meti2000")
  30. if Dummy == nil then
  31.     error("Target not found!")
  32.     return
  33. end
  34. wait(0.5)
  35. for i,v in pairs(Dummy:GetChildren()) do
  36.     if v.ClassName == "Part" then
  37.         v.Transparency = 10
  38.     end
  39. end
  40. Dummy["Left Arm"].Transparency = 1
  41. Dummy["Right Arm"].Transparency = 1
  42. Dummy["Torso"].Transparency = 1
  43. Dummy["Neck"].Transparency = 1
  44. Dummy["Left Leg"].Transparency = 1
  45. Dummy["Right Leg"].Transparency = 1
  46. leye1.Transparency = 1
  47. reye.Transparency = 1
  48. local Humanoid = Dummy:FindFirstChild("Humanoid")
  49. local Head = Dummy:FindFirstChild("Head")
  50. local ishead = true
  51. if Humanoid == nil then error("Humanoid not found!") return end
  52. if Head == nil then ishead = false end
  53. if ishead == true then
  54.     if Head:FindFirstChild("face") then
  55.         Head:FindFirstChild("face"):Destroy()
  56.     end
  57. end
  58. Humanoid.MaxHealth = math.huge
  59. Humanoid.Health = math.huge
  60. Humanoid.WalkSpeed = 6000
  61. Humanoid.Name = "Zombie"
  62. function onTouchedDeath(part)
  63.     if part.Parent ~= nil then
  64.         local h = part.Parent:findFirstChild("Humanoid")
  65.         if h ~= nil then
  66.             local has_health = h.Health > 0
  67.             h:TakeDamage(h.MaxHealth + 10)
  68.         end
  69.     end
  70. end
  71. Dummy["Left Arm"].Touched:connect(onTouchedDeath)
  72. Dummy["Right Arm"].Touched:connect(onTouchedDeath)
  73. Dummy["Torso"].Touched:connect(onTouchedDeath)
  74. Dummy["Neck"].Touched:connect(onTouchedDeath)
  75. Dummy["Left Leg"].Touched:connect(onTouchedDeath)
  76. Dummy["Right Leg"].Touched:connect(onTouchedDeath)
  77. local larm = script.Parent:FindFirstChild("Left Arm")
  78. local rarm = script.Parent:FindFirstChild("Right Arm")
  79. function findNearestTorso(pos)
  80.     local list = game.Workspace:children()
  81.     local torso = nil
  82.     local dist = 5
  83.     local temp = nil
  84.     local human = nil
  85.     local temp2 = nil
  86.     for x = 1, #list do
  87.         temp2 = list[x]
  88.         if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  89.             temp = temp2:findFirstChild("Right Arm")
  90.             human = temp2:findFirstChild("Humanoid")
  91.             if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  92.                 if (temp.Position - pos).magnitude < dist then
  93.                     torso = temp
  94.                     dist = (temp.Position - pos).magnitude
  95.                 end
  96.             end
  97.         end
  98.     end
  99.     return torso
  100. end
  101. while true do
  102.     wait(0.3)
  103.     local target = findNearestTorso(Dummy["Torso"].Position)
  104.     if target ~= nil then
  105.         Humanoid:MoveTo(target.Position, target)
  106.         local Music = Instance.new("Sound", Dummy.Head)
  107.         Music.SoundId = "http://www.roblox.com/asset/?id=224299497"
  108.         Music.Looped = false
  109.         Music.Volume = 1
  110.         Music:Play()
  111.         Dummy["Left Arm"].Transparency = 0
  112.         Dummy["Right Arm"].Transparency = 0
  113.         Dummy["Torso"].Transparency = 0
  114.         Dummy["Neck"].Transparency = 0
  115.         Dummy["Left Leg"].Transparency = 0
  116.         Dummy["Right Leg"].Transparency = 0
  117.         leye.Transparency = 0
  118.         reye.Transparency = 0
  119.         wait(3)
  120.         Dummy["Left Arm"].Transparency = 1
  121.         Dummy["Right Arm"].Transparency = 1
  122.         Dummy["Torso"].Transparency = 1
  123.         Dummy["Neck"].Transparency = 1
  124.         Dummy["Left Leg"].Transparency = 1
  125.         Dummy["Right Leg"].Transparency = 1
  126.         leye.Transparency = 1
  127.         reye.Transparency = 1
  128.     end
  129. end
Advertisement
Add Comment
Please, Sign In to add comment