Advertisement
Friaza

Untitled

Jun 20th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. script.Parent = Workspace.Friaza
  2. ra = script.Parent.Torso["Left Shoulder"]
  3. c = script.Parent
  4. canglue = true
  5. ch = game:GetService("Chat")
  6. function Glue(Part)
  7. if Part.Parent:FindFirstChild("Humanoid") and canglue == true and Part.Parent.Humanoid.Health > 0 then
  8. canglue = false
  9. i = math.random(1,5)
  10. if i == 1 then
  11. ch:Chat(c.Head, "Life drain!")
  12. elseif i == 2 then
  13. ch:Chat(c.Head, Part.Parent.Name ..", your power is mine!")
  14. elseif i == 3 then
  15. ch:Chat(c.Head, "I'll absorb your vitality, " ..Part.Parent.Name .."!")
  16. elseif i == 4 then
  17. ch:Chat(c.Head, "Take this " ..Part.Parent.Name .."!")
  18. elseif i == 5 then
  19. ch:Chat(c.Head, "Absorbtion quirk!")
  20. end
  21. ra.C0 = ra.C0 *CFrame.Angles(0, 0, -1.6)
  22. canglue = false
  23. x = Instance.new("Weld", c["Left Arm"])
  24. x.Part0 = x.Parent
  25. x.Part1 = Part.Parent.Head
  26. x.C0 = CFrame.fromEulerAnglesXYZ(math.random(), math.random(), math.random()) *CFrame.new(math.random(-1, 1), math.random(-1,1), math.random(-1,1))
  27. bloody = false
  28. repeat wait()
  29. if Part.Parent.Humanoid.Health < Part.Parent.Humanoid.MaxHealth /2 and bloody == false then
  30. Part.Parent.Head.BrickColor = BrickColor.new("Really red")
  31. Part.BrickColor = BrickColor.new("Really red")
  32. bloody = true
  33. z = Instance.new("Smoke", Part)
  34. game.Debris:AddItem(z, 10)
  35. z.RiseVelocity = -1
  36. z.Opacity = 0.3
  37. z.Color = Color3.new(100, 0, 0)
  38. z.Size = 1
  39. end
  40. c.Humanoid.Health = c.Humanoid.Health +1
  41. Part.Parent.Humanoid.Health = Part.Parent.Humanoid.Health -Part.Parent.Humanoid.MaxHealth/100 until Part == nil or Part.Parent == nil or Part.Parent.Humanoid.Health < 5
  42. if Part.Parent:FindFirstChild("BloodCaptured") then
  43. Part.Parent.Humanoid.Health = 0
  44. end
  45. ra.C0 = ra.C0 *CFrame.Angles(0, 0, 1.6)
  46. zz = Instance.new("IntValue", Part.Parent)
  47. zz.Name = "BloodCaptured"
  48. zz.Value = 1
  49. if x then x:Destroy() end
  50. if Part and Part.Parent and Part.Parent:FindFirstChild("Humanoid") and Part.Parent.Humanoid.Health > 0 then
  51. v = Instance.new("BodyVelocity", Part)
  52. v.maxForce = Vector3.new(100000, 100000, 100000)
  53. game.Debris:AddItem(v,0.3)
  54. v.velocity = c.Torso.CFrame.lookVector *70
  55. end
  56. wait(0.4)
  57. canglue = true
  58. end
  59. end
  60.  
  61. script.Parent["Left Arm"].Touched:connect(Glue)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement