Advertisement
coolgoldboy166

ebola

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