Advertisement
Friaza

Untitled

Dec 19th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.97 KB | None | 0 0
  1. function oraora(key)
  2. key:lower()
  3. if key == 'q' and not pressed1 and not pressed2 and not pressed3 and tool.Parent == char and energy.Value > 0
  4. and not cooldown and not blocking and char.Torso.Anchored == false then
  5. eregen.Disabled = true
  6. eregen2.Disabled = true
  7. oraanim:Play()
  8. pressed1 = true
  9. pressed2 = true
  10. pressed3 = true
  11. attacking = true
  12. dora:Play()
  13. chag = 0
  14. while attacking == true and char.Torso.Anchored == false do chag = chag +1 wait(0.03)
  15. energy.Value = energy.Value - energy.MaxValue/95
  16. end
  17. local mh = mouse.Hit.p
  18. local x = Instance.new("Part")
  19. x.Shape = "Ball"
  20. x.TopSurface = "Smooth"
  21. x.BottomSurface = "Smooth"
  22. game.Debris:AddItem(x,(4+x.Size.X))
  23. local sb = script.Parent.ShadowBall:Clone()
  24. sb.Parent = x
  25. sb.Size = NumberSequence.new(1)
  26. sb.Enabled = true
  27. local powero
  28. if super == false then
  29. sb.Size = NumberSequence.new(1 +chag/50)
  30. powero = 0
  31. x.Size = Vector3.new(1+(math.floor(chag/10)), 1+(math.floor(chag/10)), 1+(math.floor(chag/10)))
  32. x.Transparency = 0.8 - chag/110
  33. elseif super == true then
  34. powero = 20
  35. sb.Size = NumberSequence.new(5 +chag/20)
  36. x.Size = Vector3.new(4+(math.floor(chag/5)), 4+(math.floor(chag/5)), 4+(math.floor(chag/5)))
  37. x.Transparency = 0.9 -chag/120
  38. sb.Enabled = true
  39. end
  40. local v = Instance.new("BodyVelocity", x)
  41. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  42. v.Parent = x
  43. x.BrickColor = BrickColor.new("Really black")
  44. x.Parent = workspace
  45. x.CFrame = char["Torso"].CFrame *CFrame.new(0, 0, -(2 +x.Size.Y/2))
  46. x.CFrame = CFrame.new(x.Position, mh)
  47. x.CanCollide = false
  48. v.velocity = x.CFrame.lookVector *((65-x.Size.Y) +powero)
  49. rekt2 = true
  50. wait(0.1 +x.Size.Y/15)
  51. end
  52. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement