SHARE
TWEET

yahyeet

a guest Jun 16th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. s = script.Parent
  2. p = game.Players.LocalPlayer
  3. m = p:GetMouse()
  4. c = p.Character
  5.  
  6. hed = c:FindFirstChild("Head")
  7. tor = c:FindFirstChild("Torso")
  8. la = c:FindFirstChild("Left Arm")
  9. ra = c:FindFirstChild("Right Arm")
  10. ll = c:FindFirstChild("Left Leg")
  11. rl = c:FindFirstChild("Right Leg")
  12. bd = c.HumanoidRootPart.RootJoint
  13. nc = tor:FindFirstChild("Neck")
  14. a1 = tor:FindFirstChild("Left Shoulder")
  15. a2 = tor:FindFirstChild("Right Shoulder")
  16. l1 = tor:FindFirstChild("Left Hip")
  17. l2 = tor:FindFirstChild("Right Hip")
  18. enabled = true
  19.  
  20. local animation1 = Instance.new("Animation")
  21. animation1.Parent = workspace
  22. animation1.Name = "Charge"
  23. animation1.AnimationId = "rbxassetid://1220415751"
  24.  
  25. local animation2 = Instance.new("Animation")
  26. animation2.Parent = workspace
  27. animation2.Name = "Release"
  28. animation2.AnimationId = "rbxassetid://1220415751"
  29.  
  30. p:GetMouse().KeyDown:connect(function(key)
  31. if key == "q" and enabled then
  32.     enabled = false
  33.         wait()
  34. script.ChargeSnd:Play()
  35. script.Charging.Value = true
  36. local balll = Instance.new("Part")
  37. balll.Name = "123"
  38. local CP = script.BigBang3:Clone()
  39. CP.Parent = balll
  40. balll.BrickColor = BrickColor.new("Mint")
  41. balll.Material = "Neon"
  42. balll.TopSurface = "Smooth"
  43. balll.BottomSurface = "Smooth"
  44. balll.FormFactor = "Custom"
  45. balll.Size = Vector3.new(.5,.5,.5)
  46. balll.Transparency = 0
  47. balll.Anchored = true
  48. balll.CanCollide = false
  49. balll.CFrame = ra.CFrame*CFrame.new(0,-1.5,0)
  50. local meshh = Instance.new("SpecialMesh")
  51. meshh.MeshType = "Sphere"
  52. meshh.Parent = balll
  53. balll.Parent = c
  54. meshh.Scale = meshh.Scale + Vector3.new(01,01,01)
  55. local animTrack2 = p.Character.Humanoid:LoadAnimation(animation1)
  56. animTrack2:Play()
  57. balll.CFrame = ra.CFrame*CFrame.new(0,-1.5,0)
  58. wait(.25)
  59. c.HumanoidRootPart.Anchored = true
  60. while script.Charging.Value == true do
  61.     wait()
  62.     if script.Charge.Value <= 9999999999999999999999999999999999999999999 then
  63.     balll.CFrame = ra.CFrame*CFrame.new(0,-1.5,0)
  64.     script.Charge.Value = script.Charge.Value+.05
  65.     tor.CFrame=CFrame.new(tor.Position,Vector3.new(m.Hit.p.X,m.Hit.p.Y,m.Hit.p.Z))
  66.     else if script.Charge.Value >= 9999999999999999999999999999999999999999999 then
  67.     script.MaxCharge.Value = true
  68.     tor.CFrame=CFrame.new(tor.Position,Vector3.new(m.Hit.p.X,m.Hit.p.Y,m.Hit.p.Z))
  69.     end
  70. end
  71. end
  72. end
  73. end)
  74. p:GetMouse().KeyUp:connect(function(key)
  75. if key == "q" and enabled == false and script.Charge.Value>2 and script.Charging.Value == true then
  76. script.Charging.Value = false
  77. enabled = nil
  78. local animTrack3 = p.Character.Humanoid:LoadAnimation(animation2)
  79. animTrack3:Play()
  80. game:GetService("Chat"):Chat(c.Head,"Aether Lightning Meteor!",Enum.ChatColor.Red)
  81. wait(.5)
  82. script.ChargeSnd:Stop()
  83. script.ReleaseSnd:Play()
  84.  
  85. local ball = c:FindFirstChild("123")
  86. ball.Anchored = false
  87. local pos = m.Hit.p
  88. local direction = (pos - ball.Position).unit  
  89. yy = Instance.new("BodyVelocity")
  90. yy.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  91. yy.Velocity = direction * 150
  92. yy.Parent = ball
  93.  
  94.  
  95. ---Damage
  96. ball.Touched:connect(function(hit)
  97. if hit.Parent.Name == p.Name then
  98. print("")
  99. else if hit.Parent:FindFirstChild("Humanoid") then
  100. ball:Remove()
  101. hit.Parent.Torso.Anchored = true
  102. hit.Parent.Humanoid.WalkSpeed = 0
  103. script.Particle:Clone().Parent = hit.Parent.Head
  104. for i = 1,10 do
  105. wait(.25)
  106. hit.Parent.Head.Transparency = hit.Parent.Head.Transparency+.1
  107. end
  108. script.Particle:Clone().Parent = hit.Parent.Torso
  109. script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Left Arm")
  110. script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Right Arm")
  111. for i = 1,10 do
  112. wait(.25)
  113. hit.Parent:FindFirstChild("Left Arm").Transparency = hit.Parent:FindFirstChild("Left Arm").Transparency+.1
  114. hit.Parent:FindFirstChild("Right Arm").Transparency = hit.Parent:FindFirstChild("Right Arm").Transparency+.1
  115. hit.Parent.Torso.Transparency = hit.Parent.Torso.Transparency+.1
  116. end
  117. script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Left Leg")
  118. script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Right Leg")
  119. for i = 1,10 do
  120. wait(.25)
  121. hit.Parent:FindFirstChild("Left Leg").Transparency = hit.Parent:FindFirstChild("Left Leg").Transparency+.1
  122. hit.Parent:FindFirstChild("Right Leg").Transparency = hit.Parent:FindFirstChild("Right Leg").Transparency+.1
  123. end
  124. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-999999999999999999999
  125. end
  126. end
  127. end)
  128. --End Of Damage
  129.  
  130.  
  131. wait(1)
  132. c.HumanoidRootPart.Anchored = false
  133. for _,anim in pairs(c.Humanoid:GetPlayingAnimationTracks()) do
  134.  anim:Stop()
  135. end
  136. wait()
  137. script.Charge.Value = 0
  138. script.MaxCharge.Value = false
  139. script:Clone().Parent = script.Parent
  140. wait()
  141. c:FindFirstChild("123"):Remove()
  142. end
  143. end)
  144.  
  145. --[[while true do
  146.     wait()
  147. if script.MaxCharge.Value == true then
  148.    
  149. script.Charging.Value = false
  150. local animTrack3 = p.Character.Humanoid:LoadAnimation(animation2)
  151. animTrack3:Play()
  152. wait(.5)
  153. enabled = false
  154. local ball = Instance.new("Part")
  155. ball.Name = "ball"
  156. ball.BrickColor = BrickColor.new("Cyan")
  157. ball.Material = "Neon"
  158. ball.TopSurface = "Smooth"
  159. ball.BottomSurface = "Smooth"
  160. ball.FormFactor = "Custom"
  161. ball.Size = Vector3.new(script.Charge.Value,script.Charge.Value,script.Charge.Value)
  162. ball.Transparency = 0
  163. ball.Anchored = true
  164. ball.CanCollide = false
  165. ball.CFrame = c.Torso.CFrame * CFrame.new(1,0.7,-2.5)
  166. c:FindFirstChild("123"):Remove()
  167. local mesh = Instance.new("SpecialMesh")
  168. mesh.Name = "mesh"
  169. mesh.MeshType = "Sphere"
  170. mesh.Parent = ball
  171. ball.Parent = c
  172. local beam = Instance.new("Part")
  173. beam.BrickColor = BrickColor.new("Cyan")
  174. beam.Name = "beam"
  175. beam.Material = "Neon"
  176. beam.TopSurface = "Smooth"
  177. beam.BottomSurface = "Smooth"
  178. beam.FormFactor = "Custom"
  179. beam.Size = Vector3.new(3,100,3)
  180. beam.Transparency = 0
  181. beam.Anchored = true
  182. beam.CanCollide = false
  183. beam.CFrame = c.Torso.CFrame * CFrame.new(1,1,-8)
  184. beam.CFrame = beam.CFrame * CFrame.Angles(1.6,0,0)
  185. local mesh2 = Instance.new("CylinderMesh")
  186. mesh2.Name = "mesh"
  187. mesh2.Scale = Vector3.new(script.Charge.Value/5,.1,script.Charge.Value/5)
  188. mesh2.Parent = beam
  189. beam.Parent = c
  190. script.Damage:Clone().Parent = beam
  191.    
  192. for i = 1,40 do wait()
  193. c.ball.Transparency = c.ball.Transparency + 0.05
  194. c.beam.Transparency = c.beam.Transparency + 0.05
  195. c.beam.CFrame = c.beam.CFrame * CFrame.new(0,-5,0)
  196. c.ball.mesh.Scale = c.ball.mesh.Scale - Vector3.new(0.05,0.05,0.05)
  197. c.beam.mesh.Scale = c.beam.mesh.Scale - Vector3.new(0.05,0,0.05)
  198. c.beam.mesh.Scale = c.beam.mesh.Scale + Vector3.new(0,0.1,0)
  199. end
  200. wait()
  201. script.Charge.Value = 0
  202. for _,anim in pairs(c.Humanoid:GetPlayingAnimationTracks()) do
  203.  anim:Stop()
  204. end
  205. c.beam:Destroy()
  206. c.beam:Destroy()
  207. c.Torso.Anchored = false
  208. script.MaxCharge.Value = false
  209. wait(5)
  210. enabled = true
  211.     end
  212. end]]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top