Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- Tool=script.Parent
- FCircle="http://www.roblox.com/asset/?id=30454253"
- ECircle="http://www.roblox.com/asset/?id=30523338"
- TT={FCircle,ECircle,"http://www.roblox.com/asset/?id=30574641","http://www.roblox.com/asset/?id=30574788","http://www.roblox.com/asset/?id=30603016"}
- Rage=0
- MaxRage=100
- dd=true
- OrGrip=CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
- CurType=1
- CAC=0
- ACharging=false
- FakeS=Instance.new("Motor")
- RightS=nil
- Max=4
- Animation=function(T,C)
- if C=="Stop" then
- RightS=T:FindFirstChild("Right Shoulder")
- if RightS==nil then
- return
- end
- FakeS.Part0=T
- FakeS.C0=RightS.C0
- FakeS.C1=RightS.C1
- FakeS.Part1=T.Parent["Right Arm"]
- FakeS.Parent=T
- FakeS.DesiredAngle=1.6
- FakeS.MaxVelocity=.15
- RightS.Parent=nil
- print("LOL")
- g=Instance.new("Weld")
- g.Name="RightGrip"
- g.C0=CFrame.new(0, -1, 0, 1, 0, -0, 0, 0, 1, 0, -1, -0)
- g.C1=CFrame.new(0, 1, 0, 1, 0, 0, 0, 1, -0, -0, 0, 1)
- g.Part0=T.Parent["Right Arm"]
- g.Part1=Tool.Handle
- g.Parent=T.Parent["Right Arm"]
- elseif C=="Resume" then
- print("STOP")
- FakeS.Parent=nil
- RightS.Parent=T
- end
- end
- Grip=function()
- return Tool.Parent["Right Arm"]:FindFirstChild("RightGrip")
- end
- CreateCircle=function(CF,Size,Dur,Anim,Type,intensity)
- n=Instance.new("Part")
- n.formFactor="Symmetric"
- n.Size=Vector3.new(Size,1,Size)
- n.CFrame=CF
- n.Transparency=1
- n.TopSurface=0
- n.BottomSurface=0
- n.Anchored=true
- n.CanCollide=false
- n.Parent=workspace
- for lolo=1, intensity do
- d=Instance.new("Decal")
- d.Face="Top"
- d.Texture=TT[Type]
- d.Parent=n
- d2=d:clone()
- d2.Face="Bottom"
- d2.Parent=d.Parent
- end
- m=Instance.new("BlockMesh")
- m.Parent=n
- m.Scale=Vector3.new(1,0,1)
- if Anim=="grow" then
- coroutine.resume(coroutine.create(function(m) for i=1, 10 do m.Scale=m.Scale+Vector3.new(.1,0,.1) m.Parent.CFrame=m.Parent.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/5,0) wait() end end),m)
- else
- end
- game:GetService("Debris"):AddItem(n,Dur)
- end
- getAnim=function(AnimName)
- Hum=Tool.Parent.Humanoid
- vAnim=Hum:LoadAnimation(script[AnimName])
- return vAnim
- end
- wdeb=true
- Whack=function()
- if not wdeb then return end
- wdeb=false
- Torso=Tool.Parent.Torso
- lol=Torso["Right Shoulder"]
- cGrip=Grip()
- ori=lol.C0
- for i=1, 4 do
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/6)
- cGrip.C0=cGrip.C0*CFrame.new(0,.5,0)
- wait()
- end
- wait(.2)
- for i=1, 6 do
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/5)
- wait()
- end
- onT=Tool.GlassPiece.Touched:connect(function(hit) Damage(hit,25,Vector3.new(0,5,0)+Torso.CFrame.lookVector*10,10000) end)
- Tool.Crystal.Slash:Play()
- wait(.4)
- onT:disconnect()
- for i=1, 3 do
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/5)
- wait()
- end
- cGrip.C0=OrGrip
- lol.C0=ori
- wait(.2)
- lol.MaxVelocity=.15
- wdeb=true
- end
- DarkStorm=function()
- print("FIARSTHORHM")
- FakeS.DesiredAngle=2.4
- wait(.25)
- FakeS.DesiredAngle=1.6
- FakeS.MaxVelocity=.5
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame+Look*5-Vector3.new(0,2.8,0),4,5,"grow",5,2)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(6,6,6)
- me.Parent=workspace
- me.Anchored=true
- me.CFrame=Torso.CFrame+Look*5-Vector3.new(0,3,0)
- s=script.DarkStorm:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- FakeS.MaxVelocity=.15
- end
- DarkSunder=function()
- print("THUNDARBOLT")
- FakeS.DesiredAngle=3
- wait(.5)
- FakeS.DesiredAngle=1.6
- FakeS.MaxVelocity=.5
- wait(.1)
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame+Look*12-Vector3.new(0,2.8,0),12,3,"grow",5,3)
- lol=Torso.CFrame
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Really black")
- me.Reflectance=.1
- me.Size=Vector3.new(6,500,6)
- me.Parent=workspace
- me.Anchored=false
- me.CFrame=lol+Look*12-Vector3.new(0,3,0)
- m=Instance.new("SpecialMesh")
- m.Scale=Vector3.new(2.1,1,2.1)
- m.Parent=me
- s=script.DPowerBolt:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- FakeS.MaxVelocity=.15
- end
- DarkBolt=function()
- st=Tool.Parent.Torso.CFrame-Vector3.new(0,2.8,0)
- CreateCircle(st,4,.5,"grow",5,1)
- lol=FakeS
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
- lol.CurrentAngle=1.8
- lol.DesiredAngle=-.3
- lol.MaxVelocity=.3
- wait(.1)
- print("FIARBOLT")
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,1,.5,"grow",5,1)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Really black")
- me.Size=Vector3.new(8,8,8)
- me.Parent=workspace
- me.CFrame=Torso.CFrame+Look*5+Vector3.new(0,.5,0)
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*80
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Pitch=1
- s.Parent=me
- s:Play()
- s=script.DarkBolt:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- lol.MaxVelocity=.15
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Vector3.new(-.25,.5,0)
- end
- DivineHeal=function()
- for _,v in pairs(game.Players:children()) do
- if v.Name~=Tool.Parent.Name then
- if v.Character~=nil then
- T=v.Character:FindFirstChild("Torso")
- H=v.Character:FindFirstChild("Humanoid")
- if T~=nil and H~=nil then
- if H.Health>1 then
- if (T.Position-Tool.Parent.Torso.Position).magnitude<=30 then
- s=Instance.new("Sparkles")
- s.Parent=T
- game:GetService("Debris"):AddItem(s,1.5)
- H.Health=H.Health+20
- end
- end
- end
- end
- end
- end
- end
- BoulderShot=function()
- Torso=Tool.Parent.Torso
- cf=Torso.CFrame
- st=cf-Vector3.new(0,2.8,0)
- Look=Torso.CFrame.lookVector
- Int=17.5
- No=3
- CastTime=.3
- CreateCircle(st,5,CastTime*No,"grow",4,2)
- mes=cf+Vector3.new(0,1,0)
- wait(.1)
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,5,.5,"grow",4,2)
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,5,.5,"grow",4,2)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=0
- Tool.RockMesh:clone().Parent=me
- me.Shape="Ball"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=true
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(6,6,6)
- me.Parent=workspace
- me.CFrame=mes+Look*7
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,0,math.huge)
- v.velocity=Look*20+Vector3.new(0,10,0)
- v.Parent=me
- game:GetService("Debris"):AddItem(v,1.5)
- s=Tool.Handle.TMeteorCast:clone()
- s.Parent=me
- s:Play()
- s=script.BoulderStandard:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- end
- RockWrecker=function()
- Torso=Tool.Parent.Torso
- cf=Torso.CFrame
- Tri=cf*CFrame.new(5,0,0)
- LTri=(Tri.p-cf.p).unit
- st=cf-Vector3.new(0,2.8,0)
- Look=Torso.CFrame.lookVector
- Int=17.5
- No=3
- CastTime=.3
- CreateCircle(st,5,CastTime*No,"grow",4,2)
- mes=cf+Vector3.new(0,1,0)
- me=Instance.new("Part")
- me.Name="TRAIL"
- me.formFactor="Symmetric"
- me.Transparency=0
- Tool.RockMesh:clone().Parent=me
- me.Shape="Ball"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=true
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(7,7,7)
- me.Parent=workspace
- me.CFrame=mes+Look*7+LTri*7
- v=Instance.new("BodyVelocity")
- v.P=5000
- vLook=(me.Position-Torso.Position).unit
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=vLook*50+Vector3.new(0,10,0)
- v.Parent=me
- game:GetService("Debris"):AddItem(v,.2)
- s=Tool.Handle.TMeteorCast:clone()
- s.Parent=me
- s:Play()
- s=script.BoulderStandard:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- me=Instance.new("Part")
- me.Name="TRAIL"
- me.formFactor="Symmetric"
- me.Transparency=0
- Tool.RockMesh:clone().Parent=me
- me.Shape="Ball"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=true
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(7,7,7)
- me.Parent=workspace
- me.CFrame=mes+Look*7+LTri*-7
- vLook=(me.Position-Torso.Position).unit
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=vLook*50+Vector3.new(0,10,0)
- v.Parent=me
- game:GetService("Debris"):AddItem(v,.2)
- s=Tool.Handle.TMeteorCast:clone()
- s.Parent=me
- s:Play()
- s=script.BoulderStandard:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- me=Instance.new("Part")
- me.Name="TRAIL"
- me.formFactor="Symmetric"
- me.Transparency=0
- Tool.RockMesh:clone().Parent=me
- me.Shape="Ball"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=true
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(7,7,7)
- me.Parent=workspace
- me.CFrame=mes+Look*-7
- v=Instance.new("BodyVelocity")
- v.P=5000
- vLook=(me.Position-Torso.Position).unit
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=vLook*50+Vector3.new(0,10,0)
- v.Parent=me
- game:GetService("Debris"):AddItem(v,.2)
- s=Tool.Handle.TMeteorCast:clone()
- s.Parent=me
- s:Play()
- s=script.BoulderStandard:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- end
- WindBall=function()
- st=Tool.Parent.Torso.CFrame-Vector3.new(0,2.8,0)
- CreateCircle(st,4,.5,"grow",3,1)
- lol=FakeS
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
- lol.CurrentAngle=1.8
- lol.DesiredAngle=-.3
- lol.MaxVelocity=.3
- wait(.1)
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,2,.5,"grow",3,1)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=0
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Institutional white")
- me.Size=Vector3.new(4,4,4)
- me.Parent=workspace
- me.CFrame=Torso.CFrame+Look*5
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*30
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Pitch=1.9
- s.Parent=me
- s:Play()
- s=script.WindStandard:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- lol.MaxVelocity=.15
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Vector3.new(-.25,.5,0)
- end
- WindBurst=function()
- st=Tool.Parent.Torso.CFrame-Vector3.new(0,2.8,0)
- CreateCircle(st,5,.75,"grow",3,2)
- lol=FakeS
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
- lol.CurrentAngle=1.8
- lol.DesiredAngle=-.3
- lol.MaxVelocity=.3
- wait(.1)
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,3,.75,"grow",3,2)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=0
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Institutional white")
- me.Size=Vector3.new(5,5,5)
- me.Parent=workspace
- me.CFrame=Torso.CFrame+Look*6
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*15
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Pitch=1.7
- s.Parent=me
- s:Play()
- s=script.WindBurst:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- lol.MaxVelocity=.15
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Vector3.new(-.25,.5,0)
- end
- WindBust=function()
- st=Tool.Parent.Torso.CFrame-Vector3.new(0,2.8,0)
- CreateCircle(st,5,1,"grow",3,3)
- lol=FakeS
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
- lol.CurrentAngle=1.8
- lol.DesiredAngle=-.3
- lol.MaxVelocity=.3
- wait(.1)
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,4,1,"grow",3,3)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=0
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Institutional white")
- me.Size=Vector3.new(6,6,6)
- me.Parent=workspace
- me.CFrame=Torso.CFrame+Look*8
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*17.5
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Pitch=1.5
- s.Parent=me
- s:Play()
- s=script.WindBust:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- lol.MaxVelocity=.15
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Vector3.new(-.25,.5,0)
- end
- Sunder=function()
- print("THUNDARBOLT")
- FakeS.DesiredAngle=3
- wait(.5)
- FakeS.DesiredAngle=1.6
- FakeS.MaxVelocity=.5
- wait(.1)
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame+Look*12-Vector3.new(0,2.8,0),12,3,"grow",2,3)
- lol=Torso.CFrame
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("New Yeller")
- me.Reflectance=.25
- me.Size=Vector3.new(8,500,8)
- me.Parent=workspace
- me.Anchored=false
- me.CFrame=lol+Look*12-Vector3.new(0,3,0)
- m=Instance.new("SpecialMesh")
- m.Scale=Vector3.new(2,1,2)
- m.Parent=me
- s=script.PowerBolt:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- FakeS.MaxVelocity=.15
- end
- StunBolt=function()
- st=Tool.Parent.Torso.CFrame-Vector3.new(0,2.8,0)
- CreateCircle(st,4,.5,"grow",2,2)
- lol=FakeS
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
- lol.CurrentAngle=1.8
- lol.DesiredAngle=-.3
- lol.MaxVelocity=.3
- wait(.1)
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,1,.7,"grow",2,2)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.Transparency=.5
- me.Reflectance=.25
- me.CanCollide=false
- me.BrickColor=BrickColor.new("New Yeller")
- me.Size=Vector3.new(2,2,2)
- me.Parent=workspace
- me.CFrame=Torso.CFrame+Look*5
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(.3,.3,1.25)
- m.Parent=me
- Instance.new("Sparkles").Parent=me
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*70
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Pitch=2
- s.Parent=me
- s:Play()
- s=script.StunBolt:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- lol.MaxVelocity=.15
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Vector3.new(-.25,.5,0)
- end
- Bolt=function()
- print("THUNDARBOLT")
- FakeS.DesiredAngle=2.4
- wait(.25)
- FakeS.DesiredAngle=1.6
- FakeS.MaxVelocity=.5
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame+Look*5-Vector3.new(0,2.8,0),4,3,"grow",2,1)
- lol=Torso.CFrame
- for i=1, 3 do
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("New Yeller")
- me.Reflectance=.25
- me.Size=Vector3.new(2,500,2)
- me.Parent=workspace
- me.Anchored=false
- me.CFrame=lol+Look*5-Vector3.new(0,3,0)
- m=Instance.new("SpecialMesh")
- m.Scale=Vector3.new(.2,1,.2)
- m.Parent=me
- s=script.Bolt:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.2)
- end
- wait(.5)
- FakeS.MaxVelocity=.15
- end
- TriMeteor=function()
- Torso=Tool.Parent.Torso
- cf=Torso.CFrame
- st=cf-Vector3.new(0,2.8,0)
- Look=Torso.CFrame.lookVector
- Int=17.5
- No=3
- CastTime=.3
- CreateCircle(st,5,CastTime*No,"grow",1,1)
- mes=cf+Vector3.new(0,125,0)
- i=2
- CreateCircle(mes-Vector3.new(0,125+2.8,0)+Look*((i+2)*Int)+Look*9,15,4,"grow",1,3)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=0
- Tool.MeteorMesh:clone().Parent=me
- me.Shape="Ball"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(17,17,17)
- me.Parent=workspace
- me.CFrame=mes+(Look*(i*Int))
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*20-Vector3.new(0,50,0)
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Parent=me
- s:Play()
- s=script.MeteorScript:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- end
- FireStorm=function()
- print("FIARSTHORHM")
- FakeS.DesiredAngle=2.4
- wait(.25)
- FakeS.DesiredAngle=1.6
- FakeS.MaxVelocity=.5
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame+Look*5-Vector3.new(0,2.8,0),4,5,"grow",1,2)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(5,5,5)
- me.Parent=workspace
- me.Anchored=true
- me.CFrame=Torso.CFrame+Look*5-Vector3.new(0,3,0)
- s=script.FireStorm:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- FakeS.MaxVelocity=.15
- end
- FireBolt=function()
- st=Tool.Parent.Torso.CFrame-Vector3.new(0,2.8,0)
- CreateCircle(st,4,.5,"grow",1,1)
- lol=FakeS
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.25,-.5,0)
- lol.CurrentAngle=1.8
- lol.DesiredAngle=-.3
- lol.MaxVelocity=.3
- wait(.1)
- print("FIARBOLT")
- Torso=Tool.Parent.Torso
- Look=Torso.CFrame.lookVector
- CreateCircle(Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Look*3,1,.5,"grow",1,1)
- me=Instance.new("Part")
- me.formFactor="Symmetric"
- me.Transparency=1
- me.Shape="Ball"
- me.Name="TRAIL"
- me.TopSurface=0
- me.BottomSurface=0
- me.CanCollide=false
- me.BrickColor=BrickColor.new("Bright red")
- me.Size=Vector3.new(5,5,5)
- me.Parent=workspace
- me.CFrame=Torso.CFrame+Look*5
- v=Instance.new("BodyVelocity")
- v.P=5000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Look*50
- v.Parent=me
- s=Tool.Handle.TMeteorCast:clone()
- s.Pitch=1.5
- s.Parent=me
- s:Play()
- s=script.FireBolt:clone()
- s.Disabled=false
- s.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- s.Parent=me
- wait(.5)
- lol.MaxVelocity=.15
- lol.C0=lol.C0*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)+Vector3.new(-.25,.5,0)
- end
- MagicLvl1Tab={FireBolt,Bolt,WindBall,DivineHeal,DarkBolt}
- MagicLvl2Tab={FireStorm,StunBolt,WindBurst,BoulderShot,DarkStorm}
- MagicLvl3Tab={TriMeteor,Sunder,WindBust,RockWrecker,DarkSunder}
- Level=0
- ACharge=function()
- ACharging=true
- Level=0
- CAC=0
- while ACharging==true do
- if CAC<60 then
- CAC=CAC+1
- end
- if CAC==10 then
- Level=1
- elseif CAC==35 then
- Level=2
- elseif CAC==60 then
- Level=3
- end
- Tool.Crystal.Transparency=1-(CAC/60)
- wait(.05)
- end
- print(Level)
- vPlayer=game.Players.LocalPlayer
- ll1=vPlayer:FindFirstChild("Level2Magic")
- ll2=vPlayer:FindFirstChild("Level3Magic")
- if Level==0 then
- Whack()
- elseif Level==1 and Rage>=25 then
- Rage=Rage-25
- MagicLvl1Tab[CurType]()
- elseif Level==2 and Rage>=50 and ll1~=nil then
- Rage=Rage-50
- MagicLvl2Tab[CurType]()
- elseif Level==3 and Rage>=75 and ll2~=nil then
- Rage=Rage-75
- MagicLvl3Tab[CurType]()
- end
- Tool.Crystal.Transparency=1
- end
- CRIT=false
- ShowDamage=function(Char,Dealt,du)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.BrickColor=BrickColor:Red()
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Bevel=.1
- ms.Scale=Vector3.new(.8,.8,.8)
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- if CRIT==true then
- c.BrickColor=BrickColor.new("Brown")
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- CRIT=false
- Damage=function(hit,Bonus,KNOCK,yk)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
- vP=game.Players:GetPlayerFromCharacter(hit.Parent)
- if vP~=nil then
- Bonus=1
- end
- if not dd then return end
- dd=false
- if math.random(1,11)==1 then
- CRIT=true
- Bonus=Bonus*2
- s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Volume=1
- s.Pitch=2
- s.Parent=hit
- s:Play()
- game:GetService("Debris"):AddItem(s,3)
- v=Instance.new("BodyAngularVelocity")
- v.P=3000
- v.maxTorque=Vector3.new(50000,50000,50000)*5000000
- v.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
- v.Parent=hit
- game:GetService("Debris"):AddItem(v,.3)
- ss=script:FindFirstChild("Crit"..CurType)
- if ss~=nil and Rage>=25 then
- Rage=Rage-25
- print("PWNED.")
- sn=ss:clone()
- sn.creator.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- sn.Disabled=false
- sn.Parent=hit.Parent:FindFirstChild("Torso",nil)
- if CurType==4 then
- Bonus=Bonus*1.75
- end
- end
- end
- t=Instance.new("ObjectValue")
- t.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- t.Name="creator"
- t.Parent=h
- game:GetService("Debris"):AddItem(t,.5)
- h:TakeDamage(Bonus)
- ShowDamage(hit.Parent,Bonus,.7)
- v=Instance.new("BodyVelocity")
- v.P=1000
- v.maxForce=Vector3.new(math.huge,yK,math.huge)
- v.velocity=KNOCK
- v.Parent=hit
- game:GetService("Debris"):AddItem(v,.3)
- Tool.Crystal.Hit:Play()
- wait(.5)
- CRIT=false
- dd=true
- end
- end
- Charging=false
- doCharge=function()
- Charging=true
- ANIM=getAnim("chargeanim")
- ANIM:Play()
- while Charging==true and Rage<=100 do
- wait(.05)
- if Charging==true then
- Rage=Rage+1
- end
- end
- ANIM:Stop()
- ANIM=nil
- end
- isKeyDown=true
- prevKey=nil
- TBAR={"Fire","Electricity","Wind","Earth","Darkness"}
- KeyD=function(k)
- if isKeyDown==true and prevKey~=k then
- isKeyDown=false
- wait(.2)
- end
- isKeyDown=true
- prevKey=k
- if k=="z" and Charging==false then
- doCharge()
- end
- if k=="c" then
- CurType=CurType+1
- if CurType>Max then
- CurType=1
- end
- elseif k=="x" then
- CurType=CurType-1
- if CurType<1 then
- CurType=Max
- end
- end
- end
- vEq=function(mouse)
- mouse.KeyDown:connect(KeyD)
- mouse.KeyUp:connect(function() isKeyDown=false Charging=false end)
- mouse.Button1Down:connect(function() ACharge() end)
- mouse.Button1Up:connect(function() ACharging=false end)
- end
- Eqd=true
- EquipDebounce=true
- onEquipped=function(mouse)
- if not EquipDebounce then
- return
- end
- EquipDebounce=false
- CPlayer=Tool.Parent
- wait()
- print(".")
- print(lol)
- end
- onPutAway=function()
- wait()
- if CPlayer==nil or Tool.Parent.className=="Model" then
- return
- end
- EquipDebounce=true
- end
- Tool.Equipped:connect(vEq)
- Tool.Equipped:connect(onEquipped)
- Tool.Unequipped:connect(onPutAway)
- CCRage=function(M,c)
- for ___,mmmm in pairs(M) do
- if c==mmmm then
- return false
- end
- end
- return true
- end
- HandlePB=function(BAR)
- Added={}
- while true do
- Div=Rage/MaxRage
- if Rage<10 then
- Rag=string.sub(Rage,1,3)
- else
- Rag=string.sub(Rage,1,4)
- end
- BAR.PressureBar.RageBar.Fill.Size=UDim2.new(Div,0,.9,0)
- BAR.PressureBar.RageBar.Label.Text="MP("..tostring(Rag)..")"
- BAR.PressureBar.RageBar.Label2.Text="(" ..TBAR[CurType]..") ["..Level.."]"
- wait()
- end
- end
- SetupGUI=function()
- BarGUI=vPlayer.PlayerGui:FindFirstChild("MRageGUI")
- if BarGUI==nil then
- BarGUI=script.MRageGUI:clone()
- BarGUI.Parent=vPlayer.PlayerGui
- end
- coroutine.resume(coroutine.create(HandlePB),BarGUI)
- end
- wait(2)
- while true do
- vPlayer=game.Players.LocalPlayer
- if vPlayer~=nil then
- if vPlayer.Name=="turdulator" then
- Max=5
- end
- if vPlayer.Character~=nil then
- SetupGUI()
- break
- end
- end
- wait(.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement