Advertisement
teotv202

Zombie Script

Oct 22nd, 2018
280
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.00 KB | None | 0 0
  1. local remote = NS ([==[
  2. local player = owner
  3. local char = player.Character
  4. char.Humanoid.MaxHealth = math.huge
  5. Instance.new("ForceField",player.Character).Visible = false
  6. wait(0.5)
  7. char.Humanoid.Health = char.Humanoid.MaxHealth
  8.  
  9. Time=500000
  10.  
  11. r=tick()
  12. wait()
  13. warn("Your life span is: ~"..math.floor((Time/(tick()-r))*(tick()-r)))
  14.  
  15. function Infect(char)
  16. mesh = Instance.new("SpecialMesh",char["Left Arm"])
  17. mesh.MeshType = "Brick"
  18. mesh = Instance.new("SpecialMesh",char["Right Arm"])
  19. mesh.MeshType = "Brick"
  20. Color=BrickColor.new("Medium green")
  21. for _,v in pairs(char:children()) do
  22. if v.className=="Hat" then
  23. v:remove()
  24. end
  25. end
  26. char.Head.Changed:connect(function(p)
  27. if p=="BrickColor" then
  28. wait()
  29. char["Left Arm"].Material=("SmoothPlastic")
  30. char["Right Arm"].Material=("SmoothPlastic")
  31. char["Head"].BrickColor=Color
  32. char["Right Arm"].BrickColor=Color
  33. char["Left Arm"].BrickColor=Color
  34. end
  35. end)
  36. char.Head.BrickColor=BrickColor:Green()
  37. w = Instance.new("Weld")
  38. w.Name="Left Shouldr"
  39. w.Parent = char.Torso
  40. w.Part0 = char["Left Arm"]
  41. w.Part1 = w.Parent
  42. w.C0=CFrame.new(1.5,0.3,0)*CFrame.Angles(math.rad(-95),math.rad(9),math.rad(20))
  43. w2 = Instance.new("Weld")
  44. w2.Name="Right Shouldr"
  45. w2.Parent = char.Torso
  46. w2.Part0 = char["Right Arm"]
  47. w2.Part1 = w2.Parent
  48. w2.C0=CFrame.new(-1.5,0.3,0)*CFrame.Angles(math.rad(-95),math.rad(-9),math.rad(-20))
  49. char["Torso"].Touched:connect(function(hit)
  50. if hit.Parent:findFirstChild("Torso") and hit.Parent.Torso:findFirstChild("Head") then
  51. Delay(0,function() Infect(hit.Parent) end)
  52. end
  53. end)
  54. char["Torso"].Touched:connect(function(hit)
  55. if hit.Parent:findFirstChild("Torso") then
  56. Delay(0,function() Infect(hit.Parent) end)
  57. end
  58. end)
  59. Delay(0,function()
  60. r=tick()
  61. wait()
  62. local charh=char
  63. for i=1,Time/(tick()-r) do
  64. wait()
  65. Dist=150
  66. if Targ and Targ.Parent then
  67. charh.Humanoid:MoveTo(Targ.Position,workspace.Base)
  68. Targ=nil
  69. end
  70. end
  71. charh.Head:remove()
  72. end)
  73. end
  74.  
  75. Infect(char)
  76. ]==], owner.Character):WaitForChild 'ServerRemote';
  77. mouse = owner:GetMouse ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement