Advertisement
Friaza

Untitled

Dec 18th, 2016
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 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 x = Instance.new("Part")
  18. x.Shape = "Ball"
  19. x.TopSurface = "Smooth"
  20. x.BottomSurface = "Smooth"
  21. game.Debris:AddItem(x,(4+x.Size.X))
  22. local crz = char.Torso.CFrame *CFrame.new(0, 0, -3)
  23. crz = CFrame.new(Vector3.new(crz.X,crz.Y,crz.Z), mouse.Hit.p)
  24. local sb = script.Parent.ShadowBall:Clone()
  25. sb.Parent = x
  26. sb.Size = NumberSequence.new(1)
  27. sb.Enabled = true
  28. if super == false then
  29. sb.Size = NumberSequence.new(1 +chag/50)
  30. x.Size = Vector3.new(1+(math.floor(chag/10)), 1+(math.floor(chag/10)), 1+(math.floor(chag/10)))
  31. x.Transparency = 0.8 - chag/110
  32. elseif super == true then
  33. sb.Size = NumberSequence.new(5 +chag/20)
  34. x.Size = Vector3.new(4+(math.floor(chag/5)), 4+(math.floor(chag/5)), 4+(math.floor(chag/5)))
  35. x.Transparency = 0.9 -chag/120
  36. sb.Enabled = true
  37. end
  38. local v = Instance.new("BodyVelocity", x)
  39. v.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  40. v.Parent = x
  41. x.BrickColor = BrickColor.new("Really black")
  42. x.Parent = workspace
  43. x.CanCollide = false
  44. x.CFrame = stand.Torso.CFrame *CFrame.new(0, 0, -2)
  45. v.velocity = x.CFrame.lookVector *40
  46. rekt2 = true
  47. end
  48. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement