Advertisement
metilol

Untitled

Jun 24th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(1)
  2. for i,v in next, game:GetService('Players').LocalPlayer.Character:GetChildren() do
  3. if v:IsA('Accessory') then
  4. v:Destroy()
  5. end
  6. end
  7.  
  8. repeat wait() until game.Players.LocalPlayer
  9. local Mouse = game.Players.LocalPlayer:GetMouse()
  10. local Plr = game.Players.LocalPlayer
  11.  
  12. Mouse.KeyDown:connect(function(KeyDown)
  13. if KeyDown == "0" then
  14. Plr.Character.Humanoid.WalkSpeed = 600
  15. end
  16. end)
  17.  
  18. Mouse.KeyUp:connect(function(KeyUp)
  19. if KeyUp == "0" then
  20. Plr.Character.Humanoid.WalkSpeed = 0
  21. end
  22. end)
  23.  
  24. wait(1)
  25. local Dummy = game.Workspace:FindFirstChild("Meti2000")
  26. if Dummy == nil then
  27. error("rip")
  28. return
  29. end
  30. wait(0.5)
  31. for i,v in pairs(Dummy:GetChildren()) do
  32. if v.ClassName == "Part" then
  33. v.Transparency = 10
  34. end
  35. end
  36. local Humanoid = Dummy:FindFirstChild("Humanoid")
  37. local Head = Dummy:FindFirstChild("Head")
  38. local ishead = true
  39. if Humanoid == nil then error("Humanoid not found!") return end
  40. if Head == nil then ishead = false end
  41. if ishead == true then
  42. if Head:FindFirstChild("face") then
  43. Head:FindFirstChild("face"):Destroy()
  44. end
  45. end
  46. Humanoid.MaxHealth = math.huge
  47. Humanoid.Health = math.huge
  48. Humanoid.Name = "Zombie"
  49. local Billboard = Instance.new("BillboardGui", Dummy)
  50. Billboard.Adornee = Dummy.Torso
  51. Billboard.Size = UDim2.new(7.5, 0, 7.5, 0)
  52. local SanicImg = Instance.new("ImageLabel", Billboard)
  53. SanicImg.Size = UDim2.new(1, 0, 1, 0)
  54. SanicImg.BackgroundTransparency = 10
  55. SanicImg.Image = "http://www.roblox.com/asset/?id=135813071"
  56. local Music = Instance.new("Sound", Dummy.Head)
  57. Music.SoundId = "http://www.roblox.com/asset/?id=224705079"
  58. Music.Looped = true
  59. Music.Volume = 1
  60. Music:Play()
  61. function onTouchedDeath(part)
  62. if part.Parent ~= nil then
  63. local h = part.Parent:findFirstChild("Humanoid")
  64. if h ~= nil then
  65. local has_health = h.Health > 0
  66. h:TakeDamage(h.MaxHealth + 10)
  67. end
  68. end
  69. end
  70. Dummy["Left Arm"].Touched:connect(onTouchedDeath)
  71. Dummy["Right Arm"].Touched:connect(onTouchedDeath)
  72. Dummy["Neck"].Touched:connect(onTouchedDeath)
  73. Dummy["Torso"].Touched:connect(onTouchedDeath)
  74. Dummy["Left Leg"].Touched:connect(onTouchedDeath)
  75. Dummy["Right Leg"].Touched:connect(onTouchedDeath)
  76. local larm = script.Parent:FindFirstChild("Left Arm")
  77. local rarm = script.Parent:FindFirstChild("Right Arm")
  78. function findNearestTorso(pos)
  79. local list = game.Workspace:children()
  80. local torso = nil
  81. local dist = 1000
  82. local temp = nil
  83. local human = nil
  84. local temp2 = nil
  85. for x = 1, #list do
  86. temp2 = list[x]
  87. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  88. temp = temp2:findFirstChild("Right Arm")
  89. human = temp2:findFirstChild("Humanoid")
  90. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  91. if (temp.Position - pos).magnitude < dist then
  92. torso = temp
  93. dist = (temp.Position - pos).magnitude
  94. end
  95. end
  96. end
  97. end
  98. return torso
  99. end
  100. while true do
  101. wait(0.3)
  102. local target = findNearestTorso(Dummy["Right Arm"].Position)
  103. if target ~= nil then
  104. Humanoid:MoveTo(target.Position, target)
  105. end
  106. end
  107.  
  108. repeat wait() until game.Players.LocalPlayer
  109. local Mouse = game.Players.LocalPlayer:GetMouse()
  110. local Plr = game.Players.LocalPlayer
  111.  
  112. Mouse.KeyDown:connect(function(KeyDown)
  113. if KeyDown == "0" then
  114. Plr.Character.Humanoid.WalkSpeed = 600
  115. end
  116. end)
  117.  
  118. Mouse.KeyUp:connect(function(KeyUp)
  119. if KeyUp == "0" then
  120. Plr.Character.Humanoid.WalkSpeed = 0
  121. end
  122. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement