Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s = script.Parent
- p = game.Players.LocalPlayer
- m = p:GetMouse()
- c = p.Character
- hed = c:FindFirstChild("Head")
- tor = c:FindFirstChild("Torso")
- la = c:FindFirstChild("Left Arm")
- ra = c:FindFirstChild("Right Arm")
- ll = c:FindFirstChild("Left Leg")
- rl = c:FindFirstChild("Right Leg")
- bd = c.HumanoidRootPart.RootJoint
- nc = tor:FindFirstChild("Neck")
- a1 = tor:FindFirstChild("Left Shoulder")
- a2 = tor:FindFirstChild("Right Shoulder")
- l1 = tor:FindFirstChild("Left Hip")
- l2 = tor:FindFirstChild("Right Hip")
- enabled = true
- local animation1 = Instance.new("Animation")
- animation1.Parent = workspace
- animation1.Name = "Charge"
- animation1.AnimationId = "rbxassetid://1220415751"
- local animation2 = Instance.new("Animation")
- animation2.Parent = workspace
- animation2.Name = "Release"
- animation2.AnimationId = "rbxassetid://1220415751"
- p:GetMouse().KeyDown:connect(function(key)
- if key == "q" and enabled then
- enabled = false
- wait()
- script.ChargeSnd:Play()
- script.Charging.Value = true
- local balll = Instance.new("Part")
- balll.Name = "123"
- local CP = script.BigBang3:Clone()
- CP.Parent = balll
- balll.BrickColor = BrickColor.new("Mint")
- balll.Material = "Neon"
- balll.TopSurface = "Smooth"
- balll.BottomSurface = "Smooth"
- balll.FormFactor = "Custom"
- balll.Size = Vector3.new(.5,.5,.5)
- balll.Transparency = 0
- balll.Anchored = true
- balll.CanCollide = false
- balll.CFrame = ra.CFrame*CFrame.new(0,-1.5,0)
- local meshh = Instance.new("SpecialMesh")
- meshh.MeshType = "Sphere"
- meshh.Parent = balll
- balll.Parent = c
- meshh.Scale = meshh.Scale + Vector3.new(01,01,01)
- local animTrack2 = p.Character.Humanoid:LoadAnimation(animation1)
- animTrack2:Play()
- balll.CFrame = ra.CFrame*CFrame.new(0,-1.5,0)
- wait(.25)
- c.HumanoidRootPart.Anchored = true
- while script.Charging.Value == true do
- wait()
- if script.Charge.Value <= 9999999999999999999999999999999999999999999 then
- balll.CFrame = ra.CFrame*CFrame.new(0,-1.5,0)
- script.Charge.Value = script.Charge.Value+.05
- tor.CFrame=CFrame.new(tor.Position,Vector3.new(m.Hit.p.X,m.Hit.p.Y,m.Hit.p.Z))
- else if script.Charge.Value >= 9999999999999999999999999999999999999999999 then
- script.MaxCharge.Value = true
- tor.CFrame=CFrame.new(tor.Position,Vector3.new(m.Hit.p.X,m.Hit.p.Y,m.Hit.p.Z))
- end
- end
- end
- end
- end)
- p:GetMouse().KeyUp:connect(function(key)
- if key == "q" and enabled == false and script.Charge.Value>2 and script.Charging.Value == true then
- script.Charging.Value = false
- enabled = nil
- local animTrack3 = p.Character.Humanoid:LoadAnimation(animation2)
- animTrack3:Play()
- game:GetService("Chat"):Chat(c.Head,"Aether Lightning Meteor!",Enum.ChatColor.Red)
- wait(.5)
- script.ChargeSnd:Stop()
- script.ReleaseSnd:Play()
- local ball = c:FindFirstChild("123")
- ball.Anchored = false
- local pos = m.Hit.p
- local direction = (pos - ball.Position).unit
- yy = Instance.new("BodyVelocity")
- yy.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- yy.Velocity = direction * 150
- yy.Parent = ball
- ---Damage
- ball.Touched:connect(function(hit)
- if hit.Parent.Name == p.Name then
- print("")
- else if hit.Parent:FindFirstChild("Humanoid") then
- ball:Remove()
- hit.Parent.Torso.Anchored = true
- hit.Parent.Humanoid.WalkSpeed = 0
- script.Particle:Clone().Parent = hit.Parent.Head
- for i = 1,10 do
- wait(.25)
- hit.Parent.Head.Transparency = hit.Parent.Head.Transparency+.1
- end
- script.Particle:Clone().Parent = hit.Parent.Torso
- script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Left Arm")
- script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Right Arm")
- for i = 1,10 do
- wait(.25)
- hit.Parent:FindFirstChild("Left Arm").Transparency = hit.Parent:FindFirstChild("Left Arm").Transparency+.1
- hit.Parent:FindFirstChild("Right Arm").Transparency = hit.Parent:FindFirstChild("Right Arm").Transparency+.1
- hit.Parent.Torso.Transparency = hit.Parent.Torso.Transparency+.1
- end
- script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Left Leg")
- script.Particle:Clone().Parent = hit.Parent:FindFirstChild("Right Leg")
- for i = 1,10 do
- wait(.25)
- hit.Parent:FindFirstChild("Left Leg").Transparency = hit.Parent:FindFirstChild("Left Leg").Transparency+.1
- hit.Parent:FindFirstChild("Right Leg").Transparency = hit.Parent:FindFirstChild("Right Leg").Transparency+.1
- end
- hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-999999999999999999999
- end
- end
- end)
- --End Of Damage
- wait(1)
- c.HumanoidRootPart.Anchored = false
- for _,anim in pairs(c.Humanoid:GetPlayingAnimationTracks()) do
- anim:Stop()
- end
- wait()
- script.Charge.Value = 0
- script.MaxCharge.Value = false
- script:Clone().Parent = script.Parent
- wait()
- c:FindFirstChild("123"):Remove()
- end
- end)
- --[[while true do
- wait()
- if script.MaxCharge.Value == true then
- script.Charging.Value = false
- local animTrack3 = p.Character.Humanoid:LoadAnimation(animation2)
- animTrack3:Play()
- wait(.5)
- enabled = false
- local ball = Instance.new("Part")
- ball.Name = "ball"
- ball.BrickColor = BrickColor.new("Cyan")
- ball.Material = "Neon"
- ball.TopSurface = "Smooth"
- ball.BottomSurface = "Smooth"
- ball.FormFactor = "Custom"
- ball.Size = Vector3.new(script.Charge.Value,script.Charge.Value,script.Charge.Value)
- ball.Transparency = 0
- ball.Anchored = true
- ball.CanCollide = false
- ball.CFrame = c.Torso.CFrame * CFrame.new(1,0.7,-2.5)
- c:FindFirstChild("123"):Remove()
- local mesh = Instance.new("SpecialMesh")
- mesh.Name = "mesh"
- mesh.MeshType = "Sphere"
- mesh.Parent = ball
- ball.Parent = c
- local beam = Instance.new("Part")
- beam.BrickColor = BrickColor.new("Cyan")
- beam.Name = "beam"
- beam.Material = "Neon"
- beam.TopSurface = "Smooth"
- beam.BottomSurface = "Smooth"
- beam.FormFactor = "Custom"
- beam.Size = Vector3.new(3,100,3)
- beam.Transparency = 0
- beam.Anchored = true
- beam.CanCollide = false
- beam.CFrame = c.Torso.CFrame * CFrame.new(1,1,-8)
- beam.CFrame = beam.CFrame * CFrame.Angles(1.6,0,0)
- local mesh2 = Instance.new("CylinderMesh")
- mesh2.Name = "mesh"
- mesh2.Scale = Vector3.new(script.Charge.Value/5,.1,script.Charge.Value/5)
- mesh2.Parent = beam
- beam.Parent = c
- script.Damage:Clone().Parent = beam
- for i = 1,40 do wait()
- c.ball.Transparency = c.ball.Transparency + 0.05
- c.beam.Transparency = c.beam.Transparency + 0.05
- c.beam.CFrame = c.beam.CFrame * CFrame.new(0,-5,0)
- c.ball.mesh.Scale = c.ball.mesh.Scale - Vector3.new(0.05,0.05,0.05)
- c.beam.mesh.Scale = c.beam.mesh.Scale - Vector3.new(0.05,0,0.05)
- c.beam.mesh.Scale = c.beam.mesh.Scale + Vector3.new(0,0.1,0)
- end
- wait()
- script.Charge.Value = 0
- for _,anim in pairs(c.Humanoid:GetPlayingAnimationTracks()) do
- anim:Stop()
- end
- c.beam:Destroy()
- c.beam:Destroy()
- c.Torso.Anchored = false
- script.MaxCharge.Value = false
- wait(5)
- enabled = true
- end
- end]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement