Advertisement
Derek227

Ebola virus edit 2

Mar 25th, 2017
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --By Rufus14 (yes this is short script)
  2. plr = game.Players.LocalPlayer
  3. character = plr.Character
  4. rig = character.Torso
  5. mouse = plr:GetMouse()
  6. Ebola = Instance.new("Sound", character.Torso)
  7. Ebola.Volume = 20
  8. Hurt = Instance.new("Sound", character.Torso)
  9. Hurt.Volume = 40
  10. Hurt.SoundId = "rbxassetid://175272131"
  11. Hurt1 = Instance.new("Sound", character.Torso)
  12. Hurt1.Volume = 40
  13. Hurt1.SoundId = "rbxassetid://147758746"
  14. Hurt1.TimePosition = 2.1000000000000001
  15. rig.BrickColor = BrickColor.new("Institutional white")
  16. character.Head.BrickColor = BrickColor.new("Institutional white")
  17. character["Left Arm"].BrickColor = BrickColor.new("Institutional white")
  18. character["Right Arm"].BrickColor = BrickColor.new("Institutional white")
  19. character["Left Leg"].BrickColor = BrickColor.new("Institutional white")
  20. character["Right Leg"].BrickColor = BrickColor.new("Institutional white")
  21. character.Humanoid.WalkSpeed = 12
  22. dying = false
  23. for i = 1,10 do
  24.     wait()
  25.     rig["Left Hip"].C0 = rig["Left Hip"].C0 * CFrame.Angles(0,0,-0.02)
  26.     rig.Neck.C0 = rig.Neck.C0 * CFrame.Angles(0.015,0,0)
  27.     character.HumanoidRootPart.RootJoint.C0 = character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.015,0,0)
  28.     rig["Left Shoulder"].C0 = rig["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.02)
  29.     rig["Right Shoulder"].C0 = rig["Right Shoulder"].C0 * CFrame.Angles(0,0,0.02)
  30. end
  31. Math = math.random(1,2)
  32. if Math == 1 then
  33.     Ebola.SoundId = "rbxassetid://390876774"
  34.     Ebola.Looped = true
  35.     Ebola:Play()
  36. end
  37. if Math == 2 then
  38.     Ebola.SoundId = "rbxassetid://390876774"
  39.     Ebola.Looped = true
  40.     Ebola:Play()
  41. end
  42. function dead(kill)
  43.     if not dying then
  44.     dying = true
  45.     local human = kill.Parent:FindFirstChild("Humanoid")
  46.     if human ~= nil then
  47.         Hurt:Play()
  48.         human.PlatformStand = true
  49.         for i = 1,100 do
  50.             wait()
  51.             human.Health = human.Health - 1
  52.         end
  53.         dying = false
  54.         Hurt1.TimePosition = 1.3
  55.         human.Health = 0
  56.         Hurt1:Play()
  57.     end
  58.     end
  59. end
  60. character["Right Arm"].Touched:connect(dead)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement