Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --turdulator, lord of darkness
- wait(.35)
- Tool=script.Parent;
- LeftGrip=nil
- canAnim=true
- Anim="Standing"
- anim="Standing"
- Rage=Tool.Energy
- MaxRage=300
- MinOver=-300
- MaxOver=400
- MaxWell=15
- CPlayer=nil
- RightS=nil
- RageMode=false--true=Overdrive, false=off, "TOXIC"=Toxic mode
- LeftS=nil
- hWeld=CFrame.new(0, -0, -1,0, -2.3, 0,1, -0, 0,0, 1, 0)
- FakeS=Instance.new("Motor")
- FakeS.Name="Right Shoulder"
- FakeSL=Instance.new("Motor")
- FakeSL.Name="Left Shoulder"
- FakeR=Instance.new("Motor")
- FakeR.Name="Right Hip"
- FakeL=Instance.new("Motor")
- FakeL.Name="Left Hip"
- neckC0=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Gui=nil
- ExtraInput=false
- doSound=function(sound,decay,origin,volume)
- if Source==nil then --formatting for other objects.
- Source=script.Parent
- end
- if Gun==nil then
- Gun=script.Parent
- end
- sc=Source.LocalSoundScript:clone()
- sc.DecayFactor.Value=decay
- sc.Origin.Value=origin
- sc.Volume.Value=volume
- sc.Disabled=false
- for j_,v_ in pairs(game.Workspace:children()) do
- if v_.className=="Model" and v_:FindFirstChild("Humanoid")~=nil and game.Players:GetPlayerFromCharacter(v_)~=nil then
- if v_~=Gun.Parent then
- sc:clone().Parent=v_
- sc.Sound.Value=sound
- end
- end
- end
- end
- FRDamage=function(hit,Damage,Knockback,HAX)
- if hit.Parent==nil then
- return
- end if HAX==nil then HAX=false end
- CPlayer=Tool.Parent
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent~=CPlayer and hit.Parent:FindFirstChild("Torso")~=nil then
- if h.Health<1 then
- return
- end
- for lolol,hax in pairs(h:children()) do
- if hax.Name=="creator" then
- if hax.Value==game.Players:GetPlayerFromCharacter(Tool.Parent) then
- return
- end
- end
- end
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.25)
- print(c.Value)
- am=3
- if HAX==true then am=1 end
- for ll=1, am do
- if math.random(1,CritChance)==1 then
- CRIT=true
- Damage=Damage*3
- s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Volume=1
- s.Pitch=2
- s.Parent=hit
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- Damage=Damage/1+math.random(-2,3)
- if RageMode==true then
- Damage=Damage*1.5
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(hit.Position+Vector3.new(math.random(-1,1),math.random(1,1),math.random(1,1)))*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 6 do par.Transparency=i/6 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.45)
- end
- h:TakeDamage(math.floor(Damage))
- showDamage(hit.Parent,Damage,.75)
- if HAX==true then
- for LOLOL,POOTIS in pairs(hit.Parent.Torso:children()) do
- if vp.className=="BodyVelocity" then
- vp:Remove()
- end
- end
- end
- vp=Instance.new("BodyVelocity")
- vp.P=2000
- vp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- vp.velocity=Knockback
- vp.Parent=hit.Parent:FindFirstChild("Torso",nil)
- game:GetService("Debris"):AddItem(vp,.2)
- r=Instance.new("BodyAngularVelocity")
- r.P=5000
- r.maxTorque=Vector3.new(50000,50000,50000)*500000000000000000
- r.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))/2
- if HAX==true then r.Parent=hit.Parent:FindFirstChild("Torso",nil) end
- game:GetService("Debris"):AddItem(r,.25)
- if HAX==false then
- hitsound=Instance.new("Sound")
- hitsound.Volume=.5
- hitsound.SoundId="http://www.roblox.com/asset/?id=46153268"
- hitsound.Pitch=math.random(80,90)*.01
- hitsound.Parent=hit
- hitsound:Play()
- game:GetService("Debris"):AddItem(hitsound,2)
- thesound=hitsound
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- else
- Tool.Handle7.Block:Play()
- Tool.Handle7.Block.Pitch=.65
- thesound=Tool.Handle7.Block
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- hitsound=Instance.new("Sound")
- hitsound.Volume=.35
- hitsound.SoundId="http://www.roblox.com/asset/?id=46153268"
- hitsound.Pitch=math.random(60,70)*.01
- hitsound.Parent=hit
- hitsound:Play()
- game:GetService("Debris"):AddItem(hitsound,2)
- thesound=hitsound
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- wait(.1)
- end
- if h.Health<1 then
- end
- CRIT=false
- hitDeb=true
- end
- end
- resWelds=function()
- FakeS.DesiredAngle=0
- FakeSL.DesiredAngle=0
- FakeS.C0=RightS.C0
- FakeSL.C0=LeftS.C0
- FakeS.C1=RightS.C1
- FakeSL.C1=LeftS.C1
- FakeS.MaxVelocity=.3
- FakeSL.MaxVelocity=.3
- FakeR.C0=RightH.C0
- FakeR.C1=RightH.C1
- FakeL.C0=LeftH.C0
- FakeL.C1=LeftH.C1
- CPlayer.Torso.Neck.C0=neckC0
- end
- Animation=function(T,C)
- if C=="Stop" then
- RightS=T:FindFirstChild("Right Shoulder")
- if RightS==nil then
- return
- end
- LeftS=T:FindFirstChild("Left Shoulder")
- if LeftS==nil then
- return
- end
- RightH=T:FindFirstChild("Right Hip")
- if RightH==nil then
- return
- end
- LeftH=T:FindFirstChild("Left Hip")
- if LeftH==nil then
- return
- end
- RightS.Parent=nil
- LeftS.Parent=nil
- 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
- FakeSL.Part0=T
- FakeSL.C0=LeftS.C0
- FakeSL.C1=LeftS.C1
- FakeSL.Part1=T.Parent["Left Arm"]
- FakeSL.Parent=T
- FakeSL.DesiredAngle=-.3
- FakeSL.MaxVelocity=.15
- FakeR.Part0=T
- FakeR.C0=RightH.C0
- FakeR.C1=RightH.C1
- FakeR.Part1=T.Parent["Right Leg"]
- FakeR.Parent=T
- FakeR.DesiredAngle=-.4
- FakeR.MaxVelocity=.15
- FakeL.Part0=T
- FakeL.C0=LeftH.C0
- FakeL.C1=LeftH.C1
- FakeL.Part1=T.Parent["Left Leg"]
- FakeL.Parent=T
- FakeL.DesiredAngle=-.3
- FakeL.MaxVelocity=.15
- elseif C=="Resume" then
- FakeS.Parent=nil
- FakeSL.Parent=nil
- FakeR.Parent=nil
- FakeL.Parent=nil
- RightS.Parent=T
- LeftS.Parent=T
- RightH.Parent=T
- LeftH.Parent=T
- end
- end
- AttackResetDeb=true
- CD=true
- AttackPos=1
- Specials={}
- DBINP=function(look)
- for i=1, 15 do
- wait(.033)
- if Rage.Value<3 then
- break
- end
- Rage.Value=Rage.Value-3
- b2=Instance.new("Part")
- b2.TopSurface=0
- b2.BottomSurface=0
- b2.formFactor="Symmetric"
- b2.Size=Vector3.new(1,1,1)
- b2.BrickColor=BrickColor.new("Really black")
- b2.CFrame=CFrame.new(Tool.Handle.Position-look*(1.5*i))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/3,math.random(-10,10)/3,math.random(-10,10)/3)
- b2.Anchored=true
- b2.CanCollide=false
- b2.Parent=Tool.Parent
- b2.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(.5,1,.5)
- m.Parent=b2
- b2.Reflectance=0
- m.Name="Mesh"
- Sound1=Tool.Handle7.Bolt1:clone()
- Sound2=Tool.Handle7.PunishSound2:clone()
- Sound1.Parent=b2
- Sound2.Parent=b2
- Sound1.Pitch=1.2
- Sound1.Volume=.2
- Sound2.Volume=.225
- Sound2.Pitch=1.3
- b2.Reflectance=.25
- Sound1.Name="Bolt1"
- Sound2.Name="Bolt2"
- coroutine.resume(coroutine.create(function(par) par.Bolt1:Play() par.Bolt2:Play() par.Bolt1.Volume=.25 par.Bolt2.Volume=.25 for i=1, 8 do par.Bolt1.Pitch=par.Bolt1.Pitch+.025 par.Bolt2.Pitch=par.Bolt2.Pitch-.04 par.Transparency=i/8 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.09,-.09,1.4-i*.02) par.CFrame=par.CFrame*CFrame.new(0,0,0) wait() end par.Bolt2:Stop() par.Bolt1:Stop() wait(.1) par.Parent=nil end),b2)
- for _,v in pairs(hums) do
- if (b2.Position-v.Position).magnitude<=4 then
- print("Dead, HAX")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- cmg=5+math.random(-1,2)
- h:TakeDamage(cmg)
- showDamage(v.Parent,cmg,1)
- end
- end
- end
- end
- end
- Specials["c"]=function() --Flight handling.
- fuu=Tool.Rage
- if fuu.Value>=40 then
- oldwalk=Tool.Parent.Humanoid.WalkSpeed
- Tool.Parent.Humanoid.WalkSpeed=80
- cpos=Instance.new("BodyPosition")
- cpos.maxForce=Vector3.new(0,500000000000000000000000000,0)
- cpos.P=5000
- cpos.D=1000
- cpos.position=Tool.Parent.Torso.Position+Vector3.new(0,8.5,0)
- cpos.Parent=Tool.Parent.Torso
- bb=Instance.new("BoolValue")
- bb.Name="Flying"
- bb.Parent=Tool.Parent.WingScript
- gch=Instance.new("BodyGyro")
- gch.P=3500
- gch.D=1200
- gch.maxTorque=Vector3.new(5000000000000,500000000000,5000000000000)
- gch.cframe=Tool.Parent.Torso.CFrame
- gch.Parent=Tool.Parent.Torso
- for i=1, 50 do
- wait(.05)
- if i>1 then
- gch.cframe=CFrame.new(Vector3.new(0,0,0),Tool.Parent.Torso.Velocity)*CFrame.fromEulerAnglesXYZ(-math.pi/7,0,0)
- end
- Tool.Parent.Humanoid.WalkSpeed=90
- if fuu.Value<1 then break end
- fuu.Value=fuu.Value-1
- if i>3 then
- if (Vector3.new(0,0,0)-Tool.Parent.Torso.Velocity).magnitude>3 then
- Anim="Run"
- else
- Anim="Standing"
- end
- end
- end
- gch.Parent=nil
- Tool.Parent.Humanoid.WalkSpeed=oldwalk
- cpos.Parent=nil
- bb.Parent=nil
- wEnabled=true
- end
- end
- Specials["p"]=function() --Super Moves, No extra input (costs 300, cannot exceed)
- Torso=Tool.Parent.Torso
- --each of these moves requires absurd level of energy.
- --They do not have overdrive or input variants.
- if Rage.Value<300 then return end
- Rage.Value=0
- if Tool.Mode.Value==2 then
- elseif Tool.Mode.Value==3 then
- --Eclipse
- --[[
- Fly high into the air, form a gihugic mass of dark energy,
- then throw it at the ground and kick it mid-air and return to the
- ground at the same time.
- Upon it touching the ground, the blast FURURURURURRURURURURRURURRUCKING DELETES EVERYTHING.
- --]]
- resWelds()
- canAnim=false
- CanAnim=false
- wEnabled=false
- origin=Torso.Position
- flypoint=origin+Vector3.new(0,110,0)-Torso.CFrame.lookVector*35
- LOL=FakeS.C0
- p=Instance.new("Part")
- p.TopSurface=0
- p.BottomSurface=0
- p.Name="BALL"
- p.BrickColor=BrickColor.new("Really black")
- p.formFactor="Symmetric"
- p.Parent=Tool.Parent
- p.CFrame=Torso.CFrame
- p.Size=Vector3.new(1,1,1)
- mm=Instance.new("SpecialMesh")
- mm.MeshType="Sphere"
- mm.Parent=p
- ww=Instance.new("Weld")
- ww.Parent=Tool.Parent["Right Arm"]
- ww.Part0=ww.Parent
- ww.Part1=p
- ww.C0=CFrame.new(0,-1.75,0)
- g=Instance.new("BodyGyro")
- g.P=15000
- g.D=300
- g.maxTorque=Vector3.new(99999,99999,99999)*9999999999999999999999999
- g.Parent=Torso
- bp=Instance.new("BodyPosition")
- bp.P=8500
- bp.D=1200
- bp.maxForce=Vector3.new(999999,999999,999999)*9999999999999999999999999999999999999
- bp.position=flypoint
- bp.Parent=Torso
- g.cframe=CFrame.new(flypoint,origin)*CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
- ll=Torso.CFrame.lookVector look=ll
- Origin=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- StartC0=CFrame.new(0.75, -2.18556941e-008, -1, 0, -0.866025388, -0.5, 0, -0.5, 0.866025388, -1, 0, 0)
- zAnim=FakeS
- zAnim.C0=StartC0
- zAnim.MaxVelocity=0
- zAnim.C1=zAnim.C1*CFrame.new(0,1,0)
- zAnim.CurrentAngle=2.8
- zAnim.MaxVelocity=.4
- zAnim.DesiredAngle=-.9
- grip=Tool.Parent["Right Arm"].RightGrip
- oll=Torso.CFrame
- for i=1, 4 do
- wait(.05)
- zAnim.C0=zAnim.C0*CFrame.new(-.175,-0.1,.05)
- end
- wait(.1)
- for i=1, 20 do
- wait(.1)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(p.Position)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 18 do par.Transparency=i/18 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu)*1.5 wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.25+i*.025)
- end
- FakeS.DesiredAngle=1.6
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,math.pi,0)
- wait(.25)
- hax=p.Position
- ww.Parent=nil
- p.Anchored=true
- p.CanCollide=false
- p.Transparency=1
- origin=origin+look*20
- for i=1, 10 do
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(p.Position)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- m.Scale=Vector3.new(6,6,6)
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 18 do par.Transparency=i/18 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale-Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.07*6)
- p.CFrame=CFrame.new(hax:Lerp(origin,i*.01))
- wait(.075)
- end
- resWelds()
- g.cframe=CFrame.new(bp.position,origin)
- wait(.15)
- FakeR.DesiredAngle=1.1
- FakeL.DesiredAngle=.7
- for i=10, 20 do
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(p.Position)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b m.Scale=Vector3.new(6,6,6)
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 18 do par.Transparency=i/18 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale-Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.07*6)
- p.CFrame=CFrame.new(hax:Lerp(origin,i*.001))
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/6,0,0)
- bp.position=p.Position+Vector3.new(0,-10-((i-12)*10),0)+look*(i-11)-look*5
- wait()
- end
- bp.position=origin-look*20
- canAnim=true
- g.cframe=oll
- p.Transparency=1
- coroutine.resume(coroutine.create(function()
- wait(.1)
- bo=Instance.new("Part")
- bo.TopSurface=0
- bo.BottomSurface=0
- bo.Anchored=true
- bo.CanCollide=false
- bo.CFrame=CFrame.new(origin+look*5)
- bo.Parent=Tool
- s=script.Bomb:clone()
- s.Disabled=false
- c=Instance.new("ObjectValue")
- c.Value=game.Players:GetPlayerFromCharacter(Tool.Parent)
- c.Name="creator"
- c.Parent=s
- s.Parent=bo
- bo.Transparency=1
- wait(.375)
- p1=Instance.new("Part")
- p1.Size=Vector3.new(1,1,1)
- p1.Anchored=true
- p1.CanCollide=false
- p1.CFrame=CFrame.new(origin-Vector3.new(0,2.9,0))
- p1.Name="LOL I NUKE U"
- p1.Parent=Tool
- m1=script.MegMesh:clone()
- m1.Parent=p1
- m1.Scale=Vector3.new(1,1,1)
- p11=Instance.new("Part")
- p11.Size=Vector3.new(1,1,1)
- p11.Anchored=true
- p11.CanCollide=false
- p11.CFrame=CFrame.new(origin-Vector3.new(0,3,0))
- p11.Name="LOL I NUKE U"
- p11.Parent=Tool
- p11.Transparency=.1
- m11=script.MegMesh:clone()
- m11.Parent=p1
- m11.Scale=Vector3.new(1,1,1)
- en=0
- for i=1, 110 do
- m1.Scale=m1.Scale+Vector3.new(.5*6.5-i/75,.45*6.5-i/75,.5*6.5-i/75)/1.3/4
- p1.CFrame=p1.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/190*i,0)
- m11.Scale=m11.Scale-Vector3.new(.5*6.5-i/75,.45*6.5-i/75,.5*6.5-i/75)/1.35/4
- p11.CFrame=p11.CFrame*CFrame.fromEulerAnglesXYZ(0,-math.pi/190*i,0)
- wait()
- end
- for i=100, 120 do
- m1.Scale=m1.Scale+Vector3.new(.5*6.5-i/75,.45*6.5-i/75,.5*6.5-i/75)/1.3/4
- p1.CFrame=p1.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/190*i,0)
- m11.Scale=m11.Scale-Vector3.new(.5*6.5-i/75,.45*6.5-i/75,.5*6.5-i/75)/1.35/4
- p11.CFrame=p11.CFrame*CFrame.fromEulerAnglesXYZ(0,-math.pi/190*i,0)
- wait()
- p1.Transparency=p1.Transparency+.05
- p11.Transparency=p11.Transparency+.05
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(origin+Vector3.new(math.random(-40,40)*4,0,math.random(-40,40)*4))*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu)*1.5 wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.375)
- end
- p11.Parent=nil
- p1.Parent=nil
- for i=1, 40 do
- wait()
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(origin+Vector3.new(math.random(-40,40)*4/3,-.5,math.random(-40,40)*4/3))*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu)*1.5 wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.55-i*.01)
- end
- for i=1, 10 do
- wait(i*.025)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(origin+Vector3.new(math.random(-40,40)*4/3,-.5,math.random(-40,40)*4/3))*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu)*1.5 wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.55-i*.01)
- end end))
- for i=1, 10 do
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(p.Position)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b m.Scale=Vector3.new(6,6,6)
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 18 do par.Transparency=i/18 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale-Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.07*6)
- p.CFrame=CFrame.new(hax:lerp(origin,.2+.8/10*i))
- wait(.05)
- end
- bp.Parent=nil
- p.Parent=nil
- g.Parent=nil
- canAnim=true
- wEnabled=true
- end
- end
- Specials["e"]=function()
- ExtraInput=false
- Torso=Tool.Parent.Torso
- if Tool.Mode.Value==2 then --Deathbringer
- --This move throws your sword forward and pulls enemies back with various other effects.
- --this move has a lengthy startup time, but is usually worth it.
- --The sword smashes into the ground and shoots enemies upward.
- --The enemies are then pulled back in with a small burst of energy.
- --In rage mode, explosions blast the enemy while they are being pulled in.
- --With extra input, the enemy is torn at with bolts of energy while they are pulled back in.
- --To top it off, an explosion occurs in front of you, sending enemies sailing over your head.
- --Estimated average damage:
- --[[
- No Rage, No Input: 80
- Rage, No Input: 120
- No rage, Input: 130
- Rage, Input: 170]]
- if Rage.Value<=60 then
- return
- end
- Rage.Value=Rage.Value-60
- look=Torso.CFrame.lookVector
- wEnabled=false
- canAnim=false
- Tool.Parent.Humanoid.WalkSpeed=0
- resWelds()
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.DesiredAngle=3.2
- FakeSL.DesiredAngle=.1
- FakeS.MaxVelocity=.525
- wait(.225)
- grip=Tool.Parent["Right Arm"].RightGrip
- grip.Part1=nil
- if RageMode==false then
- Pos=Torso.Position+look*27-Vector3.new(0,2,0)
- else
- Pos=Torso.Position+look*32-Vector3.new(0,2,0)
- end
- g=Instance.new("BodyGyro")
- g.P=12000
- g.D=400
- g.maxTorque=Vector3.new(5000000000,500000000000,5000000000000)*500000000000000000
- g.cframe=Tool.Handle.CFrame
- g.Parent=Tool.Handle
- p=Instance.new("BodyPosition")
- p.P=5000
- p.D=700
- p.maxForce=Vector3.new(5000000,5000000,50000000)*5000000000000
- p.Parent=Tool.Handle
- p.position=p.Parent.Position+Vector3.new(0,1,0)
- cp=p.position
- Tool.Handle7.Slash:Play()
- Tool.Handle7.Slash.Pitch=.75
- thesound=Tool.Handle7.Slash
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for i=1, 32 do
- if i==10 or i==20 or i==32 then
- Tool.Handle7.Slash:Play()
- thesound=Tool.Handle7.Slash
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(i*.0025,0,math.pi/16+i/32-math.pi/14)
- p.position=cp+Vector3.new(math.random(-10,10)/30,math.cos(i/4),math.random(-10,10)/30)
- wait()
- end
- p.position=Pos-look*3+Vector3.new(0,3,0)
- sc=script.ETHERSWORD:clone()
- sc.Disabled=false
- sc.Parent=Tool.Handle7
- wait(.15)
- g.cframe=CFrame.new(p.position,Pos)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- wait(.15)
- sc.Parent=nil
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.7
- s.Parent=Tool.Handle7
- s:Play()
- s.Volume=.45
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.75
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- p2=Instance.new("Part")
- p2.Name="BlastRing"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=BrickColor:Black()
- p2.Size=Vector3.new(1,1,1)
- p2.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p2.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p2
- p2.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.25+int,.4/(lol/6)/2,.25+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p2,.4)
- p2=Instance.new("Part")
- p2.Name="BlastRing"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=BrickColor:Black()
- p2.Size=Vector3.new(1,1,1)
- p2.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p2.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p2
- p2.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.5+int,.05/(lol/6)/2,.5+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p2,.35)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p2=Instance.new("BodyVelocity")
- p2.P=5000
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p2.velocity=Vector3.new(math.random(-10,10)/4,math.random(13,16),math.random(-10,10)/4)+Moar*1-look*4
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.3)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2+(v.Position-Pos).unit*10
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.5)
- cmg=50+math.random(-6,6)
- h:TakeDamage(cmg/3)
- showDamage(v.Parent,cmg/3,1)
- end
- end
- end
- wait(.16)
- FakeS.DesiredAngle=-.4
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(p.position,p.position-look*50)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(1.6,2,1.6)
- m.Parent=b
- b.Reflectance=0
- m.Name="Mesh"
- Sound1=Tool.Handle7.Bolt1:clone()
- Sound2=Tool.Handle7.PunishSound2:clone()
- Sound1.Parent=b
- Sound2.Parent=b
- Sound1.Pitch=1.2
- Sound2.Pitch=1.3
- Sound1.Name="Bolt1"
- Sound2.Name="Bolt2"
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- coroutine.resume(coroutine.create(function(par) par.Bolt1:Play() par.Bolt2:Play() par.Bolt1.Volume=1 par.Bolt2.Volume=1 for i=1, 24 do par.Bolt1.Pitch=par.Bolt1.Pitch+.025 par.Bolt2.Pitch=par.Bolt2.Pitch-.04 par.Transparency=i/24 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.09,-.09,1.1-i*.025) par.CFrame=par.CFrame*CFrame.new(0,0,-.175-i/15) wait() end for i=1, 10 do par.Bolt2.Volume=par.Bolt2.Volume/1.2 wait() end par.Bolt2:Stop() par.Bolt1:Stop() wait(.1) par.Parent=nil end),b)
- if ExtraInput==true and Rage.Value>=5 then
- coroutine.resume(coroutine.create(DBINP),look)
- end
- for _,v in pairs(hums) do
- if (v.Position-b.Position).magnitude<=4.5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p2=Instance.new("BodyVelocity")
- p2.P=5000
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p2.velocity=Vector3.new(math.random(-5,5),0,math.random(-5,5))/5
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.1)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2+(v.Position-Pos).unit*10
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.1)
- cmg=25+math.random(-2,2)
- h:TakeDamage(cmg/3)
- showDamage(v.Parent,cmg/3,1)
- end
- end
- end
- if RageMode==false then
- for i=1, 8 do
- R=Ray.new(Pos+Vector3.new(0,2,0),-look)
- for _,v in pairs(hums) do
- if R:Distance(v.Position)<=3.25 and (v.Position-(Pos+Vector3.new(0,2,0))).magnitude<=b.Mesh.Scale.z/1 then
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p2=Instance.new("BodyVelocity")
- p2.P=5000
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p2.velocity=Vector3.new(math.random(-10,10)/8,math.random(4,5),math.random(-10,10)/8)+Moar*.5-look*20
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.2)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,1500,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.2)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2+(v.Position-Pos).unit*10
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.2)
- cmg=19+math.random(-6,6)/2
- h:TakeDamage(cmg/3)
- showDamage(v.Parent,cmg/3,1)
- end
- end
- end
- wait(.0875)
- end
- else
- for i=1, 8 do
- R=Ray.new(Pos+Vector3.new(0,2,0),-look)
- for _,v in pairs(hums) do
- if R:Distance(v.Position)<=3.25 and (v.Position-(Pos+Vector3.new(0,2,0))).magnitude<=b.Mesh.Scale.z/1 then
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p2=Instance.new("BodyVelocity")
- p2.P=5000
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p2.velocity=Vector3.new(math.random(-10,10)/8,math.random(4,5),math.random(-10,10)/8)+Moar*.5-look*26
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.2)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,1500,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.2)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2+(v.Position-Pos).unit*10
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.2)
- cmg=19+math.random(-6,6)/2
- h:TakeDamage(cmg/3)
- showDamage(v.Parent,cmg/3,1)
- end
- end
- end
- wait(.1)
- p2=Instance.new("Part")
- p2.Name="BlastRing"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=BrickColor:Black()
- p2.Size=Vector3.new(1,1,1)
- p2.CFrame=CFrame.new(Pos-Vector3.new(math.random(-5,5)/10,0,math.random(-5,5)/10)-look*(3.4*i))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p2.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p2
- p2.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.1+int,.15/(lol/10)/2,.1+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p2,.1)
- for _,v in pairs(hums) do
- if ((p2.Position+Vector3.new(0,3,0))-v.Position).magnitude<=3.5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-p2.Position).unit
- p2=Instance.new("BodyVelocity")
- p2.P=5000
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p2.velocity=Vector3.new(math.random(-10,10)/8,i/2,math.random(-10,10)/8)
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.15)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2+(v.Position-Pos).unit*10
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.15)
- cmg=19+math.random(-2,2)
- h:TakeDamage(cmg/3)
- showDamage(v.Parent,cmg/3,1)
- end
- end
- end
- end
- end
- wait()
- grip=Tool.Parent["Right Arm"].RightGrip
- grip.Part1=Tool.Handle
- g.Parent=nil
- p.Parent=nil
- Tool.Parent.Humanoid.WalkSpeed=16
- resWelds()
- canAnim=true
- wEnabled=true
- elseif Tool.Mode.Value==1 then --Flat Rush
- --Hold the blade in front of you so that the flat edge faces forward.
- --Rush forward and knock enemies backward, causing damage.
- --With input, the sword is lifted upwards, knocking enemies further, and causing more damage.
- if Rage.Value<=40 then
- return
- end
- resWelds()
- canAnim=false
- wEnabled=false
- Rage.Value=Rage.Value-40
- look=Torso.CFrame.lookVector
- print 'Rude Pressure'
- Tool.Parent.Humanoid.WalkSpeed=0
- Tool.Parent.Humanoid.Name="hum"
- FakeS.DesiredAngle=2.3
- FakeSL.DesiredAngle=-2.5
- grip=Tool.Parent["Right Arm"].RightGrip
- origrip=grip.C0
- for i=1, 8 do
- grip.C0=grip.C0*CFrame.new(0,0.1,0)*CFrame.fromEulerAnglesXYZ(-math.pi/8,-math.pi/40,math.pi/15)
- FakeSL.C0=FakeSL.C0*CFrame.fromEulerAnglesXYZ(0,-math.pi/8/3,0)
- FakeS.C0=FakeS.C0*CFrame.fromEulerAnglesXYZ(0,math.pi/8/3,0)
- wait()
- end
- Tool.Handle7.Rush:Play()
- Tool.Handle7.Rush.Pitch=.66
- thesound=Tool.Handle7.Rush
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- wait(.05)
- R_Con=Tool.Handle7.Touched:connect(function(hit) FRDamage(hit,15,Torso.Velocity/2.75+Vector3.new(0,5,0)) end)
- FakeR.DesiredAngle=.8
- FakeL.DesiredAngle=.6
- v=Instance.new("BodyPosition")
- v.P=9000
- v.D=1000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.position=Torso.Position+look*25
- v.Parent=Torso
- game:GetService("Debris"):AddItem(v,.5)
- g=Instance.new("BodyGyro")
- g.P=8000
- g.maxTorque=Vector3.new(5000000,50000000,50000000)*50000000
- g.cframe=Torso.CFrame
- g.Parent=Torso
- game:GetService("Debris"):AddItem(g,2.35)
- p2=Instance.new("Part")
- p2.Name="BlastRing"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=BrickColor:Black()
- p2.Size=Vector3.new(1,1,1)
- p2.CFrame=CFrame.new(Torso.Position,Torso.Position+look*50)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- p2.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p2
- p2.BlastMesh.Scale=Vector3.new(.5,.5,.5)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 7 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.6,.15,.6) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.05,0) end par.Transparency=lol/7 par.CFrame=par.CFrame*CFrame.new(0,.3,0) wait() end par.Parent=nil end),p2,.1)
- for i=1, 3 do
- wait(.1)
- end
- if R_Con~=nil then
- R_Con:disconnect()
- end
- if ExtraInput==true then
- if Rage.Value<=20 then
- grip.C0=origrip
- resWelds()
- Tool.Parent.hum.Name="Humanoid"
- Tool.Parent.Humanoid.WalkSpeed=9
- canAnim=true
- wEnabled=true
- return
- end
- Rage.Value=Rage.Value-20
- resWelds()
- R_Con=Tool.Handle7.Touched:connect(function(hit) FRDamage(hit,22.5,look*10+Vector3.new(0,10,0),true) end)
- FakeS.CurrentAngle=1.4
- FakeS.DesiredAngle=3.8
- FakeS.MaxVelocity=.25
- FakeSL.DesiredAngle=-.7
- grip.C0=origrip*CFrame.fromEulerAnglesXYZ(-math.pi,math.pi/2,0)
- FakeS.C0=FakeS.C0*CFrame.fromEulerAnglesXYZ(0,math.pi/6,0)
- for i=1, 6 do
- wait()
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/6)
- end
- wait(.1)
- R_Con:disconnect()
- wait(.2)
- if RageMode==true then
- FakeS.DesiredAngle=-.4
- FakeS.MaxVelocity=.8
- wait(.135)
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.6
- s.Parent=Tool.Handle7
- s:Play()
- s.Volume=.45
- game:GetService("Debris"):AddItem(s,1)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.7
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- Pos=Tool.Handle7.Position-Vector3.new(0,.75,0)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6)/2,.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.35)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=7 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(10,60),math.random(-10,10))+Moar*20
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(35/3+math.random(-10,10)/2)
- end
- end
- end
- end
- wait(.5)
- else
- wait(.25)
- for i=1, 8 do
- grip.C0=grip.C0*CFrame.new(0,-.1,0)*CFrame.fromEulerAnglesXYZ(-math.pi/8,-math.pi/40,math.pi/15)
- FakeSL.C0=FakeSL.C0*CFrame.fromEulerAnglesXYZ(0,math.pi/8/3,0)
- FakeS.C0=FakeS.C0*CFrame.fromEulerAnglesXYZ(0,-math.pi/8/3,0)
- wait()
- end
- end
- grip.C0=origrip
- resWelds()
- Tool.Parent.hum.Name="Humanoid"
- Tool.Parent.Humanoid.WalkSpeed=9
- canAnim=true
- wEnabled=true
- elseif Tool.Mode.Value==3 then
- if Rage.Value<=30 then
- return
- end
- Rage.Value=Rage.Value-30
- look=Torso.CFrame.lookVector
- print 'checksum1'
- wEnabled=false
- canAnim=false
- Tool.Parent.Humanoid.WalkSpeed=0
- resWelds()
- FakeS.DesiredAngle=3.2
- FakeSL.DesiredAngle=.4
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- if RageMode==false then
- print 'checksum2'
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=150
- g.maxTorque=Vector3.new(500000,500000,500000)*50000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- g.Parent=Torso
- Pos=Torso.Position
- b11=Instance.new("Part")
- b11.TopSurface=0
- b11.BottomSurface=0
- b11.formFactor="Symmetric"
- b11.Size=Vector3.new(1,1,1)
- b11.BrickColor=BrickColor.new("Really black")
- b11.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b11.Anchored=true
- b11.CanCollide=false
- b11.Parent=Tool.Parent
- b11.Reflectance=.1
- b11.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=b11
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 22 do par.Transparency=i/22 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end end),b11,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),1.75)
- froze={}
- walks={}
- cframes={}
- while b11.Transparency<.9 do
- wait()
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=b11.Mesh.Scale.x/2 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- add=true
- for j,k in pairs(froze) do
- if k==h then
- add=false
- end
- end
- if add==true then
- table.insert(froze,h)
- table.insert(walks,h.WalkSpeed)
- table.insert(cframes,v.CFrame)
- end
- end
- end
- end
- for _,v in pairs(froze) do
- v.WalkSpeed=0
- v.Parent.Torso.CFrame=cframes[_]
- v.Parent.Torso.Anchored=true
- print("F")
- end
- end
- b11.Parent=nil
- wait(.33)
- Sword=Instance.new("Part")
- Sword.TopSurface=0
- Sword.BottomSurface=0
- Sword.BrickColor=BrickColor:Black()
- Sword.Reflectance=.1
- Sword.Transparency=1
- Sword.CanCollide=false
- Sword.Size=Vector3.new(1,3,1)
- s=Tool.Handle7.Implant:clone()
- s.Parent=Sword
- m=script.Parent.SwordMesh:clone()
- m.Parent=Sword
- m.Scale=Vector3.new(.8,.8,.8)/2.75
- sw={}
- wait(.3)
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.7
- FakeS.DesiredAngle=1.9
- spos=Torso.CFrame.p+look*4.4
- wait(.1)
- FakeS.DesiredAngle=0
- wait(.15)
- for i=1, 10 do
- new=Sword:clone()
- new.CFrame=CFrame.new(spos+Vector3.new(math.random(-4,4),math.random(-3,3),math.random(-4,4)),spos+look*15+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- table.insert(sw,new)
- new.Parent=workspace
- game:GetService("Debris"):AddItem(new,5)
- p=Instance.new("BodyPosition")
- p.P=3000
- p.D=100
- p.maxForce=Vector3.new(5000000,50000000,500000000)*5000000000000000000000000000000000000
- p.position=new.Position
- p.Parent=new
- coroutine.resume(coroutine.create(function(par) par.Transparency=1 for i=1, 14 do par.Transparency=par.Transparency-.05 wait() end end),new)
- wait()
- end
- if ExtraInput==true and Rage.Value>=10 then
- Rage.Value=Rage.Value-10
- for i=1, 5 do
- new=Sword:clone()
- new.CFrame=CFrame.new(spos+Vector3.new(math.random(-4,4),math.random(-3,3),math.random(-4,4)),spos+look*20+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- table.insert(sw,new)
- new.Parent=workspace
- game:GetService("Debris"):AddItem(new,5)
- p=Instance.new("BodyPosition")
- p.P=5000
- p.D=100
- p.maxForce=Vector3.new(5000000,50000000,500000000)*5000000000000000000000000000000000000
- p.position=new.Position
- p.Parent=new
- coroutine.resume(coroutine.create(function(par) par.Transparency=1 for i=1, 14 do par.Transparency=par.Transparency-.05 wait() end end),new)
- wait()
- end
- end
- epos=spos+look*10
- wait(.35)
- for _,v in pairs(sw) do
- v.BodyPosition.position=(v.CFrame*CFrame.new(0,(v.Position-epos).magnitude,0)).p
- v.Implant:Play()
- thesound=v.Implant
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=script.ETHERSWORDE:clone()
- s.Parent=v
- s.Disabled=false
- end
- for _,v in pairs(froze) do
- v.WalkSpeed=walks[_]
- v.Parent.Torso.CFrame=cframes[_]
- v.Parent.Torso.Anchored=false
- end
- wait(.45)
- g.Parent=nil
- resWelds()
- --unfreeze the unfortunate noobs and knives.
- elseif RageMode==true then
- print 'checksum2'
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=150
- g.maxTorque=Vector3.new(500000,500000,500000)*50000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- g.Parent=Torso
- Pos=Torso.Position
- b11=Instance.new("Part")
- b11.TopSurface=0
- b11.BottomSurface=0
- b11.formFactor="Symmetric"
- b11.Size=Vector3.new(1,1,1)
- b11.BrickColor=BrickColor.new("Really black")
- b11.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b11.Anchored=true
- b11.CanCollide=false
- b11.Parent=Tool.Parent
- b11.Reflectance=.1
- b11.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=b11
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 22 do par.Transparency=i/22 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end end),b11,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),2)
- froze={}
- walks={}
- cframes={}
- while b11.Transparency<.9 do
- wait()
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=b11.Mesh.Scale.x/2 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- add=true
- for j,k in pairs(froze) do
- if k==h then
- add=false
- end
- end
- if add==true then
- table.insert(froze,h)
- table.insert(walks,h.WalkSpeed)
- table.insert(cframes,v.CFrame)
- end
- end
- end
- end
- for _,v in pairs(froze) do
- v.WalkSpeed=0
- v.Parent.Torso.CFrame=cframes[_]
- v.Parent.Torso.Anchored=true
- print("F")
- end
- end
- b11.Parent=nil
- wait(.33)
- Sword=Instance.new("Part")
- Sword.TopSurface=0
- Sword.BottomSurface=0
- Sword.BrickColor=BrickColor:Black()
- Sword.Reflectance=.1
- Sword.Transparency=1
- Sword.CanCollide=false
- Sword.Size=Vector3.new(1,3,1)
- s=Tool.Handle7.Implant:clone()
- s.Parent=Sword
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- m=script.Parent.SwordMesh:clone()
- m.Parent=Sword
- m.Scale=Vector3.new(.8,.8,.8)/2.75
- sw={}
- wait(.3)
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.7
- FakeS.DesiredAngle=1.9
- spos=Torso.CFrame.p+look*4.4
- wait(.1)
- FakeS.DesiredAngle=0
- wait(.15)
- for i=1, 13 do
- new=Sword:clone()
- new.CFrame=CFrame.new(spos+Vector3.new(math.random(-4,4),math.random(-3,3),math.random(-4,4)),spos+look*12+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- table.insert(sw,new)
- new.Parent=workspace
- game:GetService("Debris"):AddItem(new,5)
- p=Instance.new("BodyPosition")
- p.P=5000
- p.D=100
- p.maxForce=Vector3.new(5000000,50000000,500000000)*5000000000000000000000000000000000000
- p.position=new.Position
- p.Parent=new
- coroutine.resume(coroutine.create(function(par) par.Transparency=1 for i=1, 14 do par.Transparency=par.Transparency-.05 wait() end end),new)
- wait()
- end
- if ExtraInput==true and Rage.Value>=20 then
- Rage.Value=Rage.Value-20
- for i=1, 7 do
- new=Sword:clone()
- new.CFrame=CFrame.new(spos+Vector3.new(math.random(-4,4),math.random(-3,3),math.random(-4,4)),spos+look*18+Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- table.insert(sw,new)
- new.Parent=workspace
- game:GetService("Debris"):AddItem(new,5)
- p=Instance.new("BodyPosition")
- p.P=5000
- p.D=100
- p.maxForce=Vector3.new(5000000,50000000,500000000)*5000000000000000000000000000000000000
- p.position=new.Position
- p.Parent=new
- coroutine.resume(coroutine.create(function(par) par.Transparency=1 for i=1, 14 do par.Transparency=par.Transparency-.05 wait() end end),new)
- wait()
- end
- end
- epos=spos+look*12.5
- wait(.35)
- for _,v in pairs(sw) do
- v.BodyPosition.position=(v.CFrame*CFrame.new(0,(v.Position-epos).magnitude,0)).p
- v.Implant:Play()
- thesound=v.Implant
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=script.ETHERSWORDE:clone()
- c=Instance.new("BoolValue")
- c.Parent=v
- s.Parent=v
- s.Disabled=false
- Sound1=Tool.Handle7.Bolt1:clone()
- Sound2=Tool.Handle7.Bolt2:clone()
- Sound1.Parent=v
- Sound2.Parent=v
- Sound1.Name="Sound1"
- Sound2.Name="Sound2"
- end
- for _,v in pairs(froze) do
- v.WalkSpeed=walks[_]
- v.Parent.Torso.CFrame=cframes[_]
- v.Parent.Torso.Anchored=false
- end
- wait(.25)
- for _,n in pairs(sw) do
- wait()
- Pos=n.Position
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 13 do par.Transparency=i/13 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.435)
- if n:FindFirstChild("Sound1")~=nil and n:FindFirstChild("Sound2")~=nil then
- n.Sound1:Play()
- n.Sound2:Play()
- n.Sound1.Pitch=1
- n.Sound2.Pitch=.8
- thesound=n.Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=n.Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=4.25 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- p.velocity=Moar*30+look*-20+Vector3.new(0,5.75,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.15)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,600,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.55)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- ddm=15+math.random(-5,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm/3)
- showDamage(v.Parent,ddm/3,1)
- end
- end
- end
- end
- wait(.1)
- g.Parent=nil
- resWelds()
- --unfreeze the unfortunate noobs and knives.
- end
- Tool.Parent.Humanoid.WalkSpeed=19
- wEnabled=true
- canAnim=true
- end
- end
- Specials["q"]=function()
- ExtraInput=false
- Torso=Tool.Parent.Torso
- if Tool.Mode.Value==2 then
- if RageMode==false then
- if Rage.Value<180 then
- return
- end
- Rage.Value=Rage.Value-180
- else
- if Rage.Value<=100 then
- return
- end
- Rage.Value=Rage.Value-100
- end
- --Onslaught
- --[[
- Slice the area in front of you, lifting enemies into the air.
- Rush through them several times, flying high into the sky while doing so.
- Every time you move through your enemies, a huge explosion occurs.
- --]]
- resWelds()
- look=Tool.Parent.Torso.CFrame.lookVector
- wEnabled=false
- canAnim=false
- Torso=Tool.Parent.Torso
- Hum=Torso.Parent.Humanoid
- Hum.WalkSpeed=0
- cGrip=Tool.Parent["Right Arm"].RightGrip
- FakeS.MaxVelocity=.3
- FakeSL.MaxVelocity=.3
- FakeS.CurrentAngle=1.3
- FakeS.DesiredAngle=3.8
- FakeSL.CurrentAngle=-1.3
- FakeSL.DesiredAngle=-3.8
- Moar=Tool.Parent.Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=175
- g.maxTorque=Vector3.new(500000,500000,500000)*5000000000000000000
- g.cframe=Tool.Parent.Torso.CFrame
- g.Parent=Tool.Parent.Torso
- ori=cGrip.C0
- for _=1, 5 do
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40/.5,0,math.pi/50/.5)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40/.5,0,-math.pi/50/.5)
- FakeS.C0=FakeS.C0*CFrame.new(0,.06*2,0)
- FakeSL.C0=FakeSL.C0*CFrame.new(0,.06*2,0)
- cGrip.C0=cGrip.C0*CFrame.fromEulerAnglesXYZ(0,math.pi/8,math.pi/5)
- wait()
- end
- for i=1, 30 do
- cGrip.C0=cGrip.C0*CFrame.fromEulerAnglesXYZ(math.pi/5,0,0)
- wait()
- end
- resWelds()
- cGrip.C0=ori
- Type="Slash"
- Origin=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- StartC0=CFrame.new(0.75, -2.18556941e-008, -1, 0, -0.866025388, -0.5, 0, -0.5, 0.866025388, -1, 0, 0)
- zAnim=FakeS
- zAnim.C0=StartC0
- zAnim.MaxVelocity=0
- zAnim.C1=zAnim.C1*CFrame.new(0,1,0)
- zAnim.CurrentAngle=2.8
- zAnim.MaxVelocity=.05
- SlashSound(.55)
- for i=1, 10 do
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/10-(math.pi/55*i),0,0)
- wait()
- end
- zAnim.MaxVelocity=.5
- zAnim.DesiredAngle=-.9
- grip=Tool.Parent["Right Arm"].RightGrip
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(.25,1,.25)
- m.Parent=b
- b.Reflectance=0
- m.Name="Mesh"
- cfoff=Tool.Parent.Torso.CFrame+Tool.Parent.Torso.CFrame.lookVector*7
- this=(cfoff*CFrame.new(-6,0,0)).p-Vector3.new(0,1,0)
- that=(cfoff*CFrame.new(7,0,0)).p+Vector3.new(0,5,0)
- coroutine.resume(coroutine.create(function(par) for i=1, 10 do par.Transparency=i/10 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.09,-.09,(this-that).magnitude/10) par.CFrame=par.CFrame*CFrame.new(0,0,-(this-that).magnitude/20) wait() end par.Parent=nil end),b)
- hums=GetHumans()
- b.CFrame=CFrame.new(this,that)
- for lol=1, 3 do
- for _,v in pairs(hums) do
- if (v.Position-b.Position).magnitude<=10 then
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=-(v.Position-that).unit
- if v:FindFirstChild("p2")~=nil then v.p2:Remove() end
- p2=Instance.new("BodyVelocity")
- p2.P=4000
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000000000
- p2.velocity=Vector3.new(0,25,0)+Tool.Parent.Torso.CFrame.lookVector*10
- p2.Parent=v
- p2.Name="p2"
- game:GetService("Debris"):AddItem(p2,.25)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.2)
- cmg=25+math.random(-6,6)/2
- h:TakeDamage(cmg/5)
- showDamage(v.Parent,cmg/5,1)
- end
- end
- end
- wait(.05)
- end
- for i=1, 4 do
- wait(.025)
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/9,0,0)
- zAnim.C0=zAnim.C0*CFrame.new(-.175,-0.1,.05)
- end
- wait(.1)
- for i=1, 2 do
- wait(.025)
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/4.5,0,0)
- end
- wait(.1)
- zAnim.C1=zAnim.C1*CFrame.new(0,-1,0)
- resWelds()
- startpos=b.Position+look
- yIncr=4
- coff=1
- p=Instance.new("BodyPosition")
- p.P=11000
- p.D=500
- p.maxForce=Vector3.new(50000000,50000000,50000000)*50000000000000000000000000
- p.position=Torso.Position
- p.Parent=Torso
- Sound1=Tool.Handle7.PunishSound1:clone()
- Sound2=Tool.Handle7.PunishSound4:clone()
- Sound1.Parent=Tool.Handle
- Sound2.Parent=Tool.Handle
- Sound1.Pitch=.6
- Sound2.Pitch=.7
- amt=8
- if ExtraInput==true and Rage.Value>=50 then
- Rage.Value=Rage.Value-50
- amt=10
- end
- coroutine.resume(coroutine.create(function(char) for lol=1, 1 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=1 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=1 end end wait() end end),Tool.Spikes)
- coroutine.resume(coroutine.create(function(char) for lol=1, 1 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=1 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=1 end end wait() end end),Tool)
- coroutine.resume(coroutine.create(function(char) for lol=1, 1 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=1 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=1 end end wait() end end),Tool.Parent)
- for i=1, amt do
- coff=-coff
- print(((i*4+3)*coff))
- newpos=startpos+look*((i*4+3)*coff)+Vector3.new(math.random(-4,4),yIncr*i,math.random(-4,4))
- Pos=startpos+look*((i*4+3)*coff/2)+Vector3.new(math.random(-4,4),yIncr*i,math.random(-4,4))/2
- p.position=CFrame.new(newpos).p
- wait(.05)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.Parent=b
- m.MeshType="Sphere"
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),3)
- Sound1:Play()
- Sound2:Play()
- thesound=n.Sound1
- doSound(thesound,30,thesound.Parent,thesound.Volume*100)
- thesound=n.Sound2
- doSound(thesound,30,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=12 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- pz=Instance.new("BodyPosition")
- pz.P=8000
- pz.D=500
- pz.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- pz.position=startpos+look*(((i+1)*4+3)*-coff)+Vector3.new(math.random(-4,4),yIncr*(i+1),math.random(-4,4))
- pz.Parent=v
- game:GetService("Debris"):AddItem(pz,.2)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,500,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.5)
- pz=Instance.new("BodyAngularVelocity")
- pz.P=5000
- pz.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- pz.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- pz.Parent=v
- game:GetService("Debris"):AddItem(pz,.3)
- ddm=math.floor(120/7.5)
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- wait(.05)
- end
- coroutine.resume(coroutine.create(function(char) for lol=1, 6 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=0 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=0 end end wait() end end),Tool.Spikes)
- coroutine.resume(coroutine.create(function(char) for lol=1, 6 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=0 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=0 end end wait() end end),Tool)
- coroutine.resume(coroutine.create(function(char) for lol=1, 6 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=0 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=0 end end wait() end end),Tool.Parent)
- wait(.2)
- Sound1:Remove() Sound2:Remove()
- p.Parent=nil
- wait()
- g.Parent=nil
- cGrip.C0=ori
- Hum.WalkSpeed=16
- wEnabled=true
- canAnim=true
- resWelds()
- elseif Tool.Mode.Value==3 then
- if Rage.Value<60 then
- return
- end
- Rage.Value=Rage.Value-60
- resWelds()
- look=Tool.Parent.Torso.CFrame.lookVector
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.7
- FakeS.DesiredAngle=1.9
- look=Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=150
- g.maxTorque=Vector3.new(500000,500000,500000)*50000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- g.Parent=Torso
- wait(.1)
- FakeS.DesiredAngle=0
- FakeS.MaxVelocity=.65
- canAnim=false
- wEnabled=false
- Tool.Parent.Humanoid.WalkSpeed=0
- Sword=Instance.new("Part")
- Sword.TopSurface=0
- Sword.BottomSurface=0
- Sword.BrickColor=BrickColor:Black()
- Sword.Reflectance=.1
- Sword.Transparency=1
- Sword.CanCollide=false
- Sword.Size=Vector3.new(3,6,3)
- m=script.Parent.SwordMesh:clone()
- m.Parent=Sword
- sw={}
- Pos=Tool.Parent.Torso.Position+look*30
- for i=1, 9 do
- new=Sword:clone()
- table.insert(sw,new)
- new.CFrame=CFrame.new(Pos+Vector3.new(math.cos(i*2)*20,0,math.sin(i*2)*20),Pos)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- new.Parent=workspace
- p=Instance.new("BodyPosition")
- p.P=9000
- p.D=400
- p.maxForce=Vector3.new(500000,500000,500000)*500000000000
- p.position=new.Position
- p.Parent=new
- g2=Instance.new("BodyGyro")
- g2.P=10000
- g2.D=200
- g2.maxTorque=Vector3.new(500000,500000,500000)*5099999900000000000
- g2.cframe=new.CFrame
- g2.Parent=new
- s=Tool.Handle7.Implant:clone()
- s.Pitch=math.random(18,21)*.1
- s.Parent=new
- game:GetService("Debris"):AddItem(new,8.5)
- end
- for i=1, 7 do
- for _,v in pairs(sw) do
- v.Transparency=v.Transparency-.1
- end
- wait()
- end
- wait(.1)
- for _,v in pairs(sw) do
- s=script.ETHERSWORD:clone()
- s.Parent=v
- s.Disabled=false
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Tool.Parent
- c.Parent=s
- v.Implant:Play()
- v.BodyPosition.position=Pos+(Pos-v.Position).unit*3.75
- thesound=v.Implant
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- wait()
- end
- if ExtraInput==false then
- for i=1, 7 do
- for _,v in pairs(sw) do
- v.Transparency=.3+i*.1
- end
- wait()
- end
- for _,v in pairs(sw) do
- v:Remove()
- end
- elseif ExtraInput==true and Rage.Value>=30 then
- if RageMode==false then
- print("NO RAGE")
- Rage.Value=Rage.Value-30
- for _,v in pairs(sw) do
- v.BodyGyro.cframe=CFrame.new(v.Position,v.Position+Vector3.new(0,20,0))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- end
- wait(.05)
- for _,v in pairs(sw) do
- v.BodyPosition.position=v.BodyPosition.position+Vector3.new(0,15,0)
- v.Implant:Play()
- thesound=v.Implant
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- r=Instance.new("BodyAngularVelocity")
- r.P=6000
- r.maxTorque=Vector3.new(50000,50000,50000)*65000
- r.angularvelocity=Vector3.new(0,40,0)
- r.Parent=v
- wait()
- end
- wait(.25)
- for i=1, 7 do
- for _,v in pairs(sw) do
- v.Transparency=.3+i*.1
- end
- wait()
- end
- wait()
- for _,v in pairs(sw) do
- v:Remove()
- end
- elseif Rage.Value>=30 and RageMode==true then --MOOOOAR
- print("RAAAAGE")
- Rage.Value=Rage.Value-30
- for _,v in pairs(sw) do
- v.BodyGyro.cframe=CFrame.new(v.Position,v.Position+Vector3.new(0,20,0))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- end
- wait(.05)
- for _,v in pairs(sw) do
- v.BodyPosition.position=v.BodyPosition.position+Vector3.new(0,15,0)
- v.Implant:Play()
- thesound=v.Implant
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- r=Instance.new("BodyAngularVelocity")
- r.P=6000
- r.maxTorque=Vector3.new(50000,50000,50000)*65000
- r.angularvelocity=Vector3.new(0,40,0)
- r.Parent=v
- wait()
- end
- for _,v in pairs(sw) do
- v.BodyAngularVelocity.P=0
- v.BodyGyro.cframe=CFrame.new(v.Position,Pos)*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- end
- wait(.35)
- for _,v in pairs(sw) do
- wait()
- v.BodyAngularVelocity.P=0
- v.BodyPosition.position=Pos
- v.Implant:Play()
- thesound=v.Implant
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- wait(.085)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 22 do par.Transparency=i/22 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),1.45)
- s=Tool.Handle7.PunishSound3:clone()
- s.Parent=b
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for i=1, 7 do
- for _,v in pairs(sw) do
- v.Transparency=.3+i*.1
- end
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=b.Mesh.Scale.x/1.85 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- p.velocity=Moar*60+Vector3.new(0,10,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.25)
- ddm=20+math.random(-2,2)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm/3)
- showDamage(v.Parent,ddm/3,1)
- end
- end
- end
- wait()
- end
- wait()
- for _,v in pairs(sw) do
- v:Remove()
- end
- for i=1, 9 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=b.Mesh.Scale.x/1.85 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- p.velocity=Moar*60+Vector3.new(0,10,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.25)
- ddm=20+math.random(-2,2)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm/3)
- showDamage(v.Parent,ddm/3,1)
- end
- end
- end
- wait()
- end
- end
- end
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- wait(.5)
- g.Parent=nil
- wEnabled=true
- Tool.Parent.Humanoid.WalkSpeed=19
- canAnim=true
- elseif Tool.Mode.Value==1 then --Very overpowered.
- if Rage.Value<80 then
- return
- end
- Rage.Value=Rage.Value-80
- canAnim=false
- wEnabled=false
- Tool.Parent.Humanoid.WalkSpeed=0
- Torso=Tool.Parent.Torso
- Pos=Torso.Position+Vector3.new(0,30,0)
- oripos=Torso.Position+Vector3.new(0,1.2,0)
- grip=Torso.Parent["Right Arm"].RightGrip
- pz=Instance.new("BodyPosition")
- pz.P=9000
- pz.D=399
- pz.maxForce=Vector3.new(500000,500000,500000)*500000000000000000000
- pz.position=Pos
- pz.Parent=Torso
- resWelds()
- look=Tool.Parent.Torso.CFrame.lookVector
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.7
- FakeS.DesiredAngle=1.9
- look=Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=7000
- g.D=400
- g.maxTorque=Vector3.new(500000,500000,500000)*50000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(math.pi/2,-math.pi,0)
- g.Parent=Torso
- wait(.25)
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- FakeS.DesiredAngle=0
- FakeS.MaxVelocity=.65
- wait()
- grip.Part1=nil
- g2=Instance.new("BodyGyro")
- g2.P=5000
- g2.D=200
- g2.maxTorque=Vector3.new(50000,50000,50000)*5000000000000000000000
- g2.Parent=Tool.Handle
- g2.cframe=CFrame.new(Pos,Pos-Vector3.new(0,44,0))*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- p2=Instance.new("BodyPosition")
- p2.P=6500
- p2.D=175
- p2.maxForce=Vector3.new(500000,500000,500000)*500000000000
- p2.position=oripos-Vector3.new(0,1.5,0)
- p2.Parent=Tool.Handle7
- Pos=oripos
- wait(.2)
- if RageMode==false then
- if ExtraInput==false then
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.65
- s.Parent=Tool.Handle7
- s:Play()
- s.Volume=.2
- game:GetService("Debris"):AddItem(s,1)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.75
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.4+int,.6/(lol/6)/2,.4+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.25)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6)/2,.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.25)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=7.75 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10)/2,math.random(10,20),math.random(-10,10)/2)+Moar*5
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(50/3+math.random(-10,10)/2)
- end
- end
- end
- elseif ExtraInput==true and Tool.Energy.Value>=60 then
- Rage.Value=Rage.Value-60
- pos=Pos
- for i=1, 14 do
- sp=Instance.new("Part")
- sp.Name="Spike"
- sp.TopSurface=0
- sp.BottomSurface=0
- sp.BrickColor=BrickColor.new("Really black")
- sp.Anchored=true
- sp.CanCollide=false
- sp.Size=Vector3.new(math.random(4,6)/2,math.random(20,30)/2,0)
- sp.Size=Vector3.new(sp.Size.x,sp.Size.y,sp.Size.x)
- sp.CFrame=CFrame.new(pos+Vector3.new(math.random(-4,4),math.random(0,1),math.random(-4,4)),pos)*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- m=script.Parent.SpikeMesh:clone()
- m.Scale=Vector3.new(sp.Size.x/1.25,math.random(20,60)/80+sp.Size.y,math.random(-30,30)/10)
- m.Scale=Vector3.new(m.Scale.x,m.Scale.y,m.Scale.x)
- m.Parent=sp
- sp.Parent=Tool.Parent
- s=Instance.new("Sound")
- s.Volume=.35
- s.Pitch=.75
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Instance.new("Sound")
- s.Volume=.15
- s.Pitch=.75
- s.SoundId="http://www.roblox.com/asset/?id=2692477"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- game:GetService("Debris"):AddItem(sp,5+math.random(0,10)/10)
- end
- for _,v in pairs(Tool.Parent:children()) do
- if v.Name=="Spike" and (v.Position-pos).magnitude<=30 then
- v.CFrame=v.CFrame*CFrame.new(0,-v.SpikeMesh.Scale.y/2,0)
- coroutine.resume(coroutine.create(function(c) for i=1, 5 do c.CFrame=c.CFrame*CFrame.new(0,c.SpikeMesh.Scale.y/6,0) wait() end end),v)
- end
- end
- hums=GetHumans()
- for i=1, 2 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=8 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10)/5,math.random(10,20),math.random(-10,10)/5)+Moar*(2)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(35/3+math.random(-10,10)/2)
- end
- end
- end
- end
- end
- wait(.17)
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/2,math.pi,0)
- wait(.17)
- pz.position=Pos
- wait(.2)
- if ExtraInput==false then
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.65
- s.Parent=Tool.Handle7
- s:Play()
- s.Volume=.3
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.75
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.4+int,.6/(lol/6)/2,.4+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.25)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6),.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,1.2)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=15 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(40,70),math.random(-10,10))+Moar*20
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(50/3+math.random(-10,10)/2)
- end
- end
- end
- elseif ExtraInput==true and Tool.Energy.Value>=80 then
- Rage.Value=Rage.Value-80
- pos=Pos
- for i=1, 22 do
- sp=Instance.new("Part")
- sp.Name="Spike"
- sp.TopSurface=0
- sp.BottomSurface=0
- sp.BrickColor=BrickColor.new("Really black")
- sp.Anchored=true
- sp.CanCollide=false
- sp.Size=Vector3.new(math.random(5,7),math.random(27,37),0)
- sp.Size=Vector3.new(sp.Size.x,sp.Size.y,sp.Size.x)
- sp.CFrame=CFrame.new(pos+Vector3.new(math.random(-7,7),math.random(0,1),math.random(-7,7)),pos)*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- m=script.Parent.SpikeMesh:clone()
- m.Scale=Vector3.new(sp.Size.x/1,math.random(20,60)/80+sp.Size.y,math.random(-30,30)/10)
- m.Scale=Vector3.new(m.Scale.x,m.Scale.y,m.Scale.x)
- m.Parent=sp
- sp.Parent=Tool.Parent
- s=Instance.new("Sound")
- s.Volume=.5
- s.Pitch=.4
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Instance.new("Sound")
- s.Volume=.375
- s.Pitch=.35
- s.SoundId="http://www.roblox.com/asset/?id=2692477"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- game:GetService("Debris"):AddItem(sp,5+math.random(0,10)/10)
- end
- for _,v in pairs(Tool.Parent:children()) do
- if v.Name=="Spike" and (v.Position-pos).magnitude<=30 then
- v.CFrame=v.CFrame*CFrame.new(0,-v.SpikeMesh.Scale.y/2,0)
- coroutine.resume(coroutine.create(function(c) for i=1, 5 do c.CFrame=c.CFrame*CFrame.new(0,c.SpikeMesh.Scale.y/6.5,0) wait() end end),v)
- end
- end
- hums=GetHumans()
- for i=1, 5 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=14+i then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(15,20)*3,math.random(-10,10))+Moar*(20)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(9+math.random(-3,3))
- end
- end
- end
- end
- sp=Instance.new("Part")
- sp.Name="Spike2"
- sp.TopSurface=0
- sp.BottomSurface=0
- sp.BrickColor=BrickColor.new("Really black")
- sp.Anchored=true
- sp.CanCollide=false
- sp.Size=Vector3.new(11,80,0)
- sp.Size=Vector3.new(sp.Size.x,sp.Size.y,sp.Size.x)
- sp.CFrame=CFrame.new(pos)
- m=script.Parent.SpikeMesh:clone()
- m.Scale=Vector3.new(sp.Size.x/1,math.random(20,60)/80+sp.Size.y,math.random(-30,30)/10)
- m.Scale=Vector3.new(m.Scale.x,m.Scale.y,m.Scale.x)
- m.Parent=sp
- sp.Parent=Tool.Parent
- game:GetService("Debris"):AddItem(sp,5)
- for _,v in pairs(Tool.Parent:children()) do
- if v.Name=="Spike2" and (v.Position-pos).magnitude<=30 then
- v.CFrame=v.CFrame*CFrame.new(0,-v.SpikeMesh.Scale.y/2,0)
- coroutine.resume(coroutine.create(function(c) for i=1, 10 do c.CFrame=c.CFrame*CFrame.new(0,c.SpikeMesh.Scale.y/12.5,0) wait() end end),v)
- end
- end
- hums=GetHumans()
- for i=1, 4 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=16+i then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(15,20)*5,math.random(-10,10))+Moar*(20)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(5+math.random(-2,2))
- end
- end
- end
- end
- end
- else --OP, ruins game.
- if ExtraInput==false then
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.65
- s.Parent=Tool.Handle7
- s:Play()
- s.Volume=.2
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.75
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.4+int,.6/(lol/6)/2,.4+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.4)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6)/2,.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.35)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=8.5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10)/2,math.random(10,20),math.random(-10,10)/2)+Moar*5
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(15+math.random(-10,10)/4)
- end
- end
- end
- elseif ExtraInput==true and Tool.Energy.Value>=40 then
- Rage.Value=Rage.Value-40
- pos=Pos
- for i=1, 20 do
- sp=Instance.new("Part")
- sp.Name="Spike"
- sp.TopSurface=0
- sp.BottomSurface=0
- sp.BrickColor=BrickColor.new("Really black")
- sp.Anchored=true
- sp.CanCollide=false
- sp.Size=Vector3.new(math.random(6,8)/2,math.random(25,35)/2,0)
- sp.Size=Vector3.new(sp.Size.x,sp.Size.y,sp.Size.x)
- sp.CFrame=CFrame.new(pos+Vector3.new(math.random(-4,4)*1.5,math.random(0,1),math.random(-4,4)*1.5),pos)*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- m=script.Parent.SpikeMesh:clone()
- m.Scale=Vector3.new(sp.Size.x/1.25,math.random(20,60)/80+sp.Size.y,math.random(-30,30)/10)
- m.Scale=Vector3.new(m.Scale.x,m.Scale.y,m.Scale.x)
- m.Parent=sp
- sp.Parent=Tool.Parent
- s=Instance.new("Sound")
- s.Volume=.35
- s.Pitch=.75
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Instance.new("Sound")
- s.Volume=.15
- s.Pitch=.75
- s.SoundId="http://www.roblox.com/asset/?id=2692477"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- game:GetService("Debris"):AddItem(sp,5+math.random(0,10)/10)
- end
- for _,v in pairs(Tool.Parent:children()) do
- if v.Name=="Spike" and (v.Position-pos).magnitude<=40 then
- v.CFrame=v.CFrame*CFrame.new(0,-v.SpikeMesh.Scale.y/2,0)
- coroutine.resume(coroutine.create(function(c) for i=1, 5 do c.CFrame=c.CFrame*CFrame.new(0,c.SpikeMesh.Scale.y/6,0) wait() end end),v)
- end
- end
- hums=GetHumans()
- for i=1, 2 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=10 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10)/5,math.random(10,20),math.random(-10,10)/5)+Moar*(2)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(12+math.random(-10,10)/3)
- end
- end
- end
- end
- end
- wait(.17)
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/2,math.pi,0)
- wait(.17)
- pz.position=Pos
- wait(.2)
- if ExtraInput==false then
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.65
- s.Parent=Tool.Handle7
- s:Play()
- s.Volume=.3
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.75
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.4+int,.6/(lol/6)/2,.4+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.6)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6),.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,1.5)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=19 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(40,70),math.random(-10,10))+Moar*20
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(70/7+math.random(-10,10)/2)
- end
- end
- end
- elseif ExtraInput==true and Tool.Energy.Value>=50 then
- Rage.Value=Rage.Value-50
- pos=Pos
- for i=1, 32 do
- sp=Instance.new("Part")
- sp.Name="Spike"
- sp.TopSurface=0
- sp.BottomSurface=0
- sp.BrickColor=BrickColor.new("Really black")
- sp.Anchored=true
- sp.CanCollide=false
- sp.Size=Vector3.new(math.random(8,12),math.random(33,38),0)
- sp.Size=Vector3.new(sp.Size.x,sp.Size.y,sp.Size.x)
- sp.CFrame=CFrame.new(pos+Vector3.new(math.random(-7,7)*1.25,math.random(0,1),math.random(-7,7)*1.25),pos)*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- m=script.Parent.SpikeMesh:clone()
- m.Scale=Vector3.new(sp.Size.x/1,math.random(20,60)/80+sp.Size.y,math.random(-30,30)/10)
- m.Scale=Vector3.new(m.Scale.x,m.Scale.y,m.Scale.x)
- m.Parent=sp
- sp.Parent=Tool.Parent
- s=Instance.new("Sound")
- s.Volume=.5
- s.Pitch=.4
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Instance.new("Sound")
- s.Volume=.375
- s.Pitch=.35
- s.SoundId="http://www.roblox.com/asset/?id=2692477"
- s.Parent=sp
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- game:GetService("Debris"):AddItem(sp,5+math.random(0,10)/10)
- end
- for _,v in pairs(Tool.Parent:children()) do
- if v.Name=="Spike" and (v.Position-pos).magnitude<=50 then
- v.CFrame=v.CFrame*CFrame.new(0,-v.SpikeMesh.Scale.y/2,0)
- coroutine.resume(coroutine.create(function(c) for i=1, 5 do c.CFrame=c.CFrame*CFrame.new(0,c.SpikeMesh.Scale.y/6.5,0) wait() end end),v)
- end
- end
- hums=GetHumans()
- for i=1, 5 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=24+i then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(15,20)*3,math.random(-10,10))+Moar*(20)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(20+math.random(-5,5))
- end
- end
- end
- end
- sp=Instance.new("Part")
- sp.Name="Spike2"
- sp.TopSurface=0
- sp.BottomSurface=0
- sp.BrickColor=BrickColor.new("Really black")
- sp.Anchored=true
- sp.CanCollide=false
- sp.Size=Vector3.new(17,110,0)
- sp.Size=Vector3.new(sp.Size.x,sp.Size.y,sp.Size.x)
- sp.CFrame=CFrame.new(pos)
- m=script.Parent.SpikeMesh:clone()
- m.Scale=Vector3.new(sp.Size.x/1,math.random(20,60)/80+sp.Size.y,math.random(-30,30)/10)
- m.Scale=Vector3.new(m.Scale.x,m.Scale.y,m.Scale.x)
- m.Parent=sp
- sp.Parent=Tool.Parent
- game:GetService("Debris"):AddItem(sp,5)
- for _,v in pairs(Tool.Parent:children()) do
- if v.Name=="Spike2" and (v.Position-pos).magnitude<=30 then
- v.CFrame=v.CFrame*CFrame.new(0,-v.SpikeMesh.Scale.y/2,0)
- coroutine.resume(coroutine.create(function(c) for i=1, 10 do c.CFrame=c.CFrame*CFrame.new(0,c.SpikeMesh.Scale.y/12.5,0) wait() end end),v)
- end
- end
- hums=GetHumans()
- for i=1, 7 do
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=23+i then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(15,20)*3,math.random(-10,10))+Moar*(20)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(10+math.random(-10,10)/2)
- end
- end
- end
- end
- end
- end
- wait(.05)
- grip.Part1=Tool.Handle
- p2.Parent=nil
- g2.Parent=nil
- wait(.5)
- g.Parent=nil
- pz.Parent=nil
- resWelds()
- canAnim=true
- wEnabled=true
- Tool.Parent.Humanoid.WalkSpeed=19
- end
- ExtraInput=false
- end
- Specials["r"]=function()
- ExtraInput=false
- Torso=Tool.Parent.Torso
- if Tool.Mode.Value==2 and Rage.Value>=50 then --Rune Crash
- --[[Slash forward once then rise high into the sky with a vertical slash.
- With input you slam back onto the ground and create a ruin in front of you.
- DERP MOAR
- ]]
- Rage.Value=Rage.Value-50
- canAnim=false
- wEnabled=false
- print("Lolcaik")
- resWelds()
- cGrip=Tool.Parent["Right Arm"].RightGrip
- FakeS.MaxVelocity=.3
- FakeSL.MaxVelocity=.3
- FakeS.CurrentAngle=1.3
- FakeS.DesiredAngle=3.8
- FakeSL.CurrentAngle=-1.3
- FakeSL.DesiredAngle=-3.8
- Moar=Tool.Parent.Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=175
- g.maxTorque=Vector3.new(500000,500000,500000)*5000000000000000000
- g.cframe=Tool.Parent.Torso.CFrame
- g.Parent=Tool.Parent.Torso
- ori=cGrip.C0
- for _=1, 5 do
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40/.5,0,math.pi/50/.5)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40/.5,0,-math.pi/50/.5)
- FakeS.C0=FakeS.C0*CFrame.new(0,.06*2,0)
- FakeSL.C0=FakeSL.C0*CFrame.new(0,.06*2,0)
- cGrip.C0=cGrip.C0*CFrame.new(-.05/.5,0,0)
- cGrip.C0=cGrip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/30/.5,-math.pi/40/.5,-math.pi/60/.5)
- wait()
- end
- Tool.Handle7.Slash:Play()
- Tool.Handle7.Slash.Pitch=.7
- thesound=Tool.Handle7.Slash
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- wait(.125)
- FakeS.DesiredAngle=3.2
- FakeSL.DesiredAngle=-3.2
- v=Instance.new("BodyVelocity")
- v.P=4000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=(Tool.Parent.Torso.CFrame.lookVector*64+Vector3.new(0,74,0))/2
- v.Parent=Tool.Parent.Torso
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,18/3,Moar*20+Torso.Velocity/2.5-Vector3.new(0,2,0)) end)
- for i=1, 10 do
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- v.velocity=v.velocity-Vector3.new(0,5/2,0)-Moar*.75
- wait()
- end
- Tool.Handle7.Slash:Play()
- Tool.Handle7.Slash.Pitch=.5
- thesound=Tool.Handle7.Slash
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- FakeS.DesiredAngle=1.3
- FakeSL.DesiredAngle=-1.3
- for i=1, 20 do
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- v.velocity=v.velocity-Vector3.new(0,3,0)-Moar*1.25
- wait()
- end
- R_Con:disconnect()
- wait(.15)
- clook=Tool.Parent.Torso.CFrame.lookVector
- look=Vector3.new(clook.x,0,clook.z)
- AttackPos=1
- xzint=11
- yint=25
- sizeint=7
- goam=6
- if RageMode==true then
- xzint=13
- yint=27
- sizeint=9
- goam=8
- end
- startpos=Tool.Parent.Torso.Position-Vector3.new(0,1,0)+look*6
- yinto=-yint/2
- cup=yint/2
- for i=1, goam do
- calc=cup+yinto
- off=startpos+Vector3.new(0,calc,0)+look*(xzint*i)
- this=off
- yinto=-yinto
- calc=cup+yinto
- that=startpos+Vector3.new(0,calc,0)+look*(xzint*(i+1))
- cvl=(this-that).unit
- ringDec="http://www.roblox.com/asset/?id=30603016"
- ring=Instance.new("Part")
- ring.formFactor="Symmetric"
- ring.Transparency=1
- d=Instance.new("Decal")
- d.Texture=ringDec
- d.Face="Top"
- d.Parent=ring
- d=Instance.new("Decal")
- d.Texture=ringDec
- d.Face="Bottom"
- d.Parent=ring
- Pos=off
- ring.Anchored=true
- ring.Name="HAX"
- ring.CanCollide=false
- ring.Size=Vector3.new(sizeint+3,1,sizeint+3)
- ring.CFrame=CFrame.new(this)*CFrame.fromEulerAnglesXYZ(0,math.random(-50,50),0)
- ring.Parent=Tool
- m=Instance.new("BlockMesh")
- m.Scale=Vector3.new(1,0,1)
- m.Parent=ring
- coroutine.resume(coroutine.create(function(par) while par.Parent~=nil do par.CFrame=par.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/28,0) wait() end end),ring)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(this,that)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(sizeint/1.75,2,sizeint/1.75)
- m.Parent=b
- b.Reflectance=0
- m.Name="Mesh"
- Sound1=Tool.Handle7.Bolt1:clone()
- Sound2=Tool.Handle7.PunishSound2:clone()
- Sound1.Parent=b
- Sound2.Parent=b
- Sound1.Pitch=1
- Sound2.Pitch=1.1
- Sound1.Name="Bolt1"
- Sound2.Name="Bolt2"
- Sound1:Play()
- Sound2:Play()
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- coroutine.resume(coroutine.create(function(par) par.Bolt1:Play() par.Bolt2:Play() par.Bolt1.Volume=1 par.Bolt2.Volume=1 for i=1, 12 do par.Bolt1.Pitch=par.Bolt1.Pitch+.05 par.Bolt2.Pitch=par.Bolt2.Pitch-.08 par.Transparency=i/12 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.09,-.09,(this-that).magnitude/12) par.CFrame=par.CFrame*CFrame.new(0,0,-(this-that).magnitude/24) wait() end for i=1, 10 do par.Bolt2.Volume=par.Bolt2.Volume/1.2 wait() end par.Bolt2:Stop() par.Bolt1:Stop() wait(.1) par.Parent=nil end),b)
- hums=GetHumans()
- for lol=1, 5 do
- R=Ray.new(Pos+Vector3.new(0,2,0),-look)
- for _,v in pairs(hums) do
- if R:Distance(v.Position)<=sizeint and (v.Position-(this+Vector3.new(0,0,0))).magnitude<=b.Mesh.Scale.z/1 then
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=-(v.Position-that).unit
- if v:FindFirstChild("p2")~=nil then v.p2:Remove() end
- p2=Instance.new("BodyPosition")
- p2.P=4400
- p2.D=400
- p2.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000000000
- p2.position=that
- p2.Parent=v
- p2.Name="p2"
- game:GetService("Debris"):AddItem(p2,.5)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,500,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.2)
- p2=Instance.new("BodyAngularVelocity")
- p2.P=5000
- p2.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p2.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/2+(v.Position-Pos).unit*10
- p2.Parent=v
- game:GetService("Debris"):AddItem(p2,.2)
- cmg=25+math.random(-6,6)/2
- h:TakeDamage(cmg/4)
- showDamage(v.Parent,cmg/4,1)
- end
- end
- end
- wait(.0425)
- end
- game:GetService("Debris"):AddItem(ring,.75)
- end
- if ExtraInput==true and Rage.Value>40 then
- Rage.Value=Rage.Value-40
- pos=that
- r=Ray.new(pos,-(pos-(pos+Vector3.new(0,1,0))).unit)
- hums=GetHumans()
- targs={}
- k=Instance.new("Part")
- k.TopSurface=0
- k.BottomSurface=0
- k.Name="Blast"
- k.Anchored=true
- k.CanCollide=false
- k.formFactor="Symmetric"
- k.Size=Vector3.new(2,2,2)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=k
- m.Scale=Vector3.new(1,1,1)
- k.CFrame=CFrame.new(pos-Vector3.new(0,1.5,0))
- k.Parent=Tool.Parent
- k.Reflectance=0
- k.BrickColor=BrickColor.new("Really black")
- script.Fire:clone().Parent=k
- for _,v in pairs(Tool.Handle7:children()) do
- if string.sub(v.Name,1,11)=="PunishSound" then
- s=v:clone()
- s.Parent=k
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- end
- coroutine.resume(coroutine.create(function(par) for i=1, 20 do if RageMode==false then par.Fire.Size=par.Mesh.Scale.y else par.Fire.Size=par.Mesh.Scale.y*2 end par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.25*4/(i/2.5),.4*4/(i/2.5),.25*4/(i/2.5)) par.Transparency=i/20 wait(.015) end par.Fire.Enabled=false wait(2.5) par.Parent=nil end),k)
- if RageMode==false then
- for i=1, 14 do
- k=Instance.new("Part")
- k.TopSurface=0
- k.BottomSurface=0
- k.Name="Blast"
- k.Anchored=true
- k.CanCollide=false
- k.formFactor="Symmetric"
- k.Size=Vector3.new(2,2,2)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=k
- m.Scale=Vector3.new(2.5+i/10,1+i/10,2.5+i/10)
- k.CFrame=CFrame.new(pos+Vector3.new(math.random(-3,3),math.random(-3,3)/4,math.random(-3,3)))
- k.Parent=Tool.Parent
- k.Reflectance=0
- DCCOLS={BrickColor:Black(),BrickColor.new("Really black"),BrickColor.new("Bright violet"),BrickColor.new("Lavender"),BrickColor.new("Royal purple")}
- k.BrickColor=DCCOLS[math.random(1,#DCCOLS)]
- coroutine.resume(coroutine.create(function(par,p) for i=1, 8 do par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.1*2,.6*4/(i/3)+p/7.5,-.1*2) par.CFrame=par.CFrame+Vector3.new(0,.2+p/10,0) par.Transparency=i/8 wait(.005) end par.Parent=nil end),k,i)
- if i==3 or i==6 or i==9 or i==12 then
- for _,v in pairs(hums) do
- vp=Vector3.new(v.Position.x,0,v.Position.z)
- vpos=Vector3.new(pos.x,0,pos.z)
- print((vpos-vp).magnitude)
- if (vpos-vp).magnitude<=8 then
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(50000000,50000000,50000000)*50
- p.velocity=Vector3.new(math.random(-20,20),40,math.random(-20,20))
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.15)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*50
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-pos).unit*10
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.15)
- cmg=25+math.random(-6,6)/2
- h:TakeDamage(cmg/4)
- showDamage(v.Parent,cmg/4,1)
- end
- end
- end
- end
- wait(.0325)
- end
- else
- for i=1, 17 do
- k=Instance.new("Part")
- k.TopSurface=0
- k.BottomSurface=0
- k.Name="Blast"
- k.Anchored=true
- k.CanCollide=false
- k.formFactor="Symmetric"
- k.Size=Vector3.new(2,2,2)
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=k
- m.Scale=Vector3.new(2.5+i/10,1+i/10,2.5+i/10)
- k.CFrame=CFrame.new(pos+Vector3.new(math.random(-3,3),math.random(-3,3)/4,math.random(-3,3)))
- k.Parent=Tool.Parent
- k.Reflectance=0
- DCCOLS={BrickColor:Black(),BrickColor.new("Really black"),BrickColor.new("Bright violet"),BrickColor.new("Lavender"),BrickColor.new("Royal purple")}
- k.BrickColor=DCCOLS[math.random(1,#DCCOLS)]
- coroutine.resume(coroutine.create(function(par,p) for i=1, 8 do par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.1*2,.65*4/(i/3)+p/7.5,-.1*2) par.CFrame=par.CFrame+Vector3.new(0,.225+p/9,0) par.Transparency=i/8 wait(.005) end par.Parent=nil end),k,i)
- if i==2 or i==7 or i==14 then
- 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:Black()
- me.Reflectance=0
- me.Size=Vector3.new(2,200,2)
- me.Parent=workspace
- me.Anchored=false
- me.CFrame=CFrame.new(pos-Vector3.new(math.random(-5,5),3,math.random(-5,5)))
- m=Instance.new("SpecialMesh")
- m.Scale=Vector3.new(.3,1,.3)
- m.Parent=me
- end
- if i==3 or i==6 or i==9 or i==12 then
- for _,v in pairs(hums) do
- vp=Vector3.new(v.Position.x,0,v.Position.z)
- vpos=Vector3.new(pos.x,0,pos.z)
- print((vpos-vp).magnitude)
- if (vpos-vp).magnitude<=8 then
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(50000000,50000000,50000000)*50
- p.velocity=Vector3.new(math.random(-20,20),40,math.random(-20,20))
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.15)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*50
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-pos).unit*10
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.15)
- cmg=35+math.random(-6,6)/2
- h:TakeDamage(cmg/4)
- showDamage(v.Parent,cmg/4,1)
- end
- end
- end
- end
- wait(.0325)
- end
- end
- end
- wait(.125)
- v.Parent=nil
- resWelds()
- wait(.6)
- g.maxTorque=Vector3.new(10000,0,10000)*5000
- canAnim=true
- resWelds()
- cGrip.C0=ori
- wait(.65)
- g.Parent=nil
- wEnabled=true
- elseif Tool.Mode.Value==1 and Rage.Value>=30 then --Blade Burst
- --[[An upgraded version of the Dark Blade's Abyss Blade.
- Rush and spin forward with the blade held out, dealing damage and dragging enemies with.
- With input, you strike the ground and set off an attack similar to Soul Axe's shockwave, albeit quicker and less range.
- The shockwave travels in a straight line and carries enemies with it, dealing damage the whole way.
- In rage, a large explosion occurs at the end of the shockwave.
- Damage estimates:
- No input, No rage: 70
- Input, No rage: 130
- Input, Rage: 190]]
- Rage.Value=Rage.Value-30
- canAnim=false
- wEnabled=false
- print("Lolcaik")
- resWelds()
- cGrip=Tool.Parent["Right Arm"].RightGrip
- FakeS.CurrentAngle=1.3
- FakeS.DesiredAngle=3.8
- FakeSL.CurrentAngle=-1.3
- FakeSL.DesiredAngle=-3.8
- Moar=Tool.Parent.Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=8000
- g.D=200
- g.maxTorque=Vector3.new(500000,500000,500000)*5000000000000000000
- g.cframe=Tool.Parent.Torso.CFrame
- g.Parent=Tool.Parent.Torso
- ori=cGrip.C0
- for _=1, 10 do
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40,0,math.pi/50)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40,0,-math.pi/50)
- FakeS.C0=FakeS.C0*CFrame.new(0,.06,0)
- FakeSL.C0=FakeSL.C0*CFrame.new(0,.06,0)
- cGrip.C0=cGrip.C0*CFrame.new(-.05,0,0)
- cGrip.C0=cGrip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/30,-math.pi/40,-math.pi/60)
- wait()
- end
- pp=Instance.new("Part")
- pp.Name="Pootisman"
- pp.TopSurface=0
- pp.BottomSurface=0
- pp.Size=Vector3.new(1,1,1)
- pp.Parent=Tool.Parent
- pp.Transparency=1
- script.Parent.Spinmesh:clone().Parent=pp
- w=Instance.new("Weld")
- w.Part0=Tool.Parent.Torso
- w.Part1=pp
- w.C0=w.C0*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- w.Parent=pp
- coroutine.resume(coroutine.create(function(wl) while wl.Parent~=nil do wl.C0=wl.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/5) wait() end end),w)
- pp2=Instance.new("Part")
- pp2.Name="Pootisman"
- pp2.TopSurface=0
- pp2.BottomSurface=0
- pp2.Size=Vector3.new(1,1,1)
- pp2.Parent=Tool.Parent
- pp2.Transparency=1
- script.Parent.Spinmesh:clone().Parent=pp2
- w=Instance.new("Weld")
- w.Part0=Tool.Parent.Torso
- w.Part1=pp2
- w.C0=w.C0*CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
- w.Parent=pp2
- coroutine.resume(coroutine.create(function(wl) while wl.Parent~=nil do wl.C0=wl.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/5) wait() end end),w)
- Tool.Handle7.Slash:Play()
- Tool.Handle7.Slash.Pitch=.5
- thesound=Tool.Handle7.Slash
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- wait(.1)
- FakeS.DesiredAngle=3.2
- FakeSL.DesiredAngle=-3.2
- v=Instance.new("BodyVelocity")
- v.P=4000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=(Tool.Parent.Torso.CFrame.lookVector*77+Vector3.new(0,59/2,0))/2
- v.Parent=Tool.Parent.Torso
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,24,Moar*32+Torso.Velocity/3-Vector3.new(0,2,0)) end)
- for i=1, 10 do
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- v.velocity=v.velocity-Vector3.new(0,5/4,0)-Moar*1
- pp.Transparency=1.05-i/10
- pp2.Transparency=1.05-i/10
- wait()
- end
- Tool.Handle7.Slash:Play()
- Tool.Handle7.Slash.Pitch=.5
- FakeS.DesiredAngle=1.3
- FakeSL.DesiredAngle=-1.3
- for i=1, 20 do
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- v.velocity=v.velocity-Vector3.new(0,2.5/4,0)-Moar*1.5
- if i>10 then
- pp.Transparency=i*.05
- pp2.Transparency=i*.05
- end
- wait()
- end
- pp2:Remove()
- pp:Remove()
- R_Con:disconnect()
- if ExtraInput==true and Rage.Value>=50 then
- Rage.Value=Rage.Value-50
- Pos=Tool.Handle7.Position-Vector3.new(0,.5,0)
- s=Tool.Handle7.PunishSound4:clone()
- s.Parent=p
- s.Pitch=.75
- s.Volume=1
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for i=1, 22 do
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos+Moar*(i*4.5)-Moar*3.5,Pos+Moar*(i*4.5)+Moar*4)*CFrame.fromEulerAnglesXYZ(math.pi/6,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(.25,3,1.25)
- pp=p
- hums=GetHumans()
- s=Tool.Handle7.PunishSound1:clone()
- s.Parent=p
- s.Pitch=1
- s.Volume=1
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 10 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.2+int/4,.2/(lol/4),.2+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.45,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.25)
- for _,v in pairs(hums) do
- if (pp.Position-v.Position).magnitude<=4.75 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*5000000000000000
- p.velocity=Vector3.new(math.random(-10,10)/50,4,math.random(-10,10)/50)+Moar*90
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(5+math.random(-10,10)/10)
- end
- end
- end
- wait()
- end
- if RageMode==true then
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(p.Position)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),2.5)
- s=Tool.Handle7.Bolt1:clone()
- s.Parent=b
- s.Pitch=.75
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (b.Position-v.Position).magnitude<=20 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,0,500000000000)*500000000000
- p.velocity=Moar*10+Vector3.new(0,40,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- ddm=40+math.random(-5,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- end
- end
- AttackPos=1
- wait(.125)
- v.Parent=nil
- resWelds()
- wait(.6)
- g.maxTorque=Vector3.new(10000,0,10000)*5000
- canAnim=true
- resWelds()
- cGrip.C0=ori
- wait(.65)
- g.Parent=nil
- wEnabled=true
- elseif Tool.Mode.Value==3 and Rage.Value>=90 then
- --Shadow End
- --[[Generating energy from your palms,
- rush forward faster than the eye can see, and cause many explosions,
- greatly damaging enemies in the area.
- With input, a giant explosion occurs as you stop moving.
- In rage, the explosion's damage is increased significantly.
- With every successful kill, 30 rage is added, but you can't trip overdrive via this move.
- --]]
- Rage.Value=Rage.Value-90
- Torso=Tool.Parent.Torso
- Neck=Torso.Neck
- Orin=Neck.C0
- wEnabled=false
- canAnim=false
- FakeS.DesiredAngle=3.2
- FakeS.MaxVelocity=.5
- FakeSL.DesiredAngle=-3.2
- FakeSL.MaxVelocity=.5
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- Tool.Parent.Humanoid.WalkSpeed=0
- for _=1, 3 do
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40*3.33333333,0,math.pi/50*3.33333333)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(-math.pi/40*3.33333,0,-math.pi/50*3.3333333)
- FakeS.C0=FakeS.C0*CFrame.new(0,.06*3.333333,0)
- FakeSL.C0=FakeSL.C0*CFrame.new(0,.06*3.333333,0)
- Pos=(FakeS.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- Pos=(FakeSL.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- wait(.02)
- end
- for _=1, 9 do
- Pos=(FakeS.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- Pos=(FakeSL.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- wait(.02)
- end
- Pos=(FakeSL.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.4)
- FakeS.DesiredAngle=-.9
- FakeSL.DesiredAngle=.9
- FakeR.DesiredAngle=.3
- FakeL.DesiredAngle=.4
- bpos=Instance.new("BodyPosition")
- bpos.Parent=Torso
- bpos.P=8000
- bpos.D=600
- bpos.maxForce=Vector3.new(500000000000,500,5000000000000)*500000000000
- atkpos=Torso.Position+Vector3.new(0,2,0)+Torso.CFrame.lookVector*4
- bpos.position=atkpos
- gy=Instance.new("BodyGyro")
- gy.maxTorque=Vector3.new(5000,50000,5000)*50000000000
- gy.cframe=Torso.CFrame
- gy.Parent=Torso
- for _=1, 5 do
- if _==3 then
- coroutine.resume(coroutine.create(function(char) for lol=1, 1 do for __,k in pairs(char:children()) do if k.className=="Part" then k.Transparency=1 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=1 end end wait() end end),Tool.Parent)
- end
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(math.pi/40*3.33333333,0,-math.pi/50*3.33333333)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(math.pi/40*3.33333,0,math.pi/50*3.3333333)
- FakeS.C0=FakeS.C0*CFrame.new(0,-.06*3.333333,0)
- FakeSL.C0=FakeSL.C0*CFrame.new(0,-.06*3.333333,0)
- Pos=(FakeS.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- Pos=(FakeSL.Part1.CFrame*CFrame.new(0,-2,0)).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- wait()
- end
- for i=1, 10 do
- if RageMode==true then
- dmg=10
- else
- dmg=5
- end
- bpos.position=bpos.position+Tool.Parent.Torso.CFrame.lookVector*(2+i/3)
- Pos=atkpos+Vector3.new(math.random(-5,5),math.random(-2,2),math.random(-2,2))+Tool.Parent.Torso.CFrame.lookVector*(2+i*3)
- Sound1=Tool.Handle7.PunishSound1:clone()
- Sound2=Tool.Handle7.PunishSound4:clone()
- Sound1.Parent=b
- Sound2.Parent=b
- Sound1.Pitch=.9
- Sound2.Pitch=1.1
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.Parent=b
- m.MeshType="Sphere"
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),1)
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,30,thesound.Parent,thesound.Volume*70)
- thesound=Sound2
- doSound(thesound,30,thesound.Parent,thesound.Volume*70)
- Pos=b.Position
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 12 do par.Transparency=i/12 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),1)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=7 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- pz=Instance.new("BodyVelocity")
- pz.P=8000
- pz.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- pz.velocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*2+Tool.Parent.Torso.CFrame.lookVector*(i*6.5)
- pz.Parent=v
- game:GetService("Debris"):AddItem(pz,.25)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,-700,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.5)
- pz=Instance.new("BodyAngularVelocity")
- pz.P=5000
- pz.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- pz.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- pz.Parent=v
- game:GetService("Debris"):AddItem(pz,.3)
- ddm=math.floor(dmg)
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- wait(.05)
- end
- if ExtraInput==true and Rage.Value>=40 then
- for i=1, 2 do
- if RageMode==true then
- dmg=7
- else
- dmg=5
- end
- Rage.Value=Rage.Value-40
- bpos.position=bpos.position+Tool.Parent.Torso.CFrame.lookVector*2
- Pos=bpos.position
- Sound1=Tool.Handle7.PunishSound1:clone()
- Sound2=Tool.Handle7.PunishSound4:clone()
- Sound3=Tool.Handle7.PunishSound2:clone()
- Sound1.Parent=b
- Sound2.Parent=b
- Sound3.Parent=b
- Sound1.Pitch=.6
- Sound2.Pitch=.8
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.Parent=b
- m.MeshType="Sphere"
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 15 do par.Transparency=i/15 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),1.75)
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,30,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,30,thesound.Parent,thesound.Volume*100)
- thesound=Sound3
- doSound(thesound,40,thesound.Parent,thesound.Volume*100)
- Pos=b.Position
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 18 do par.Transparency=i/18 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),1.75)
- for pootis=1, 3 do
- wait(.05)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=17 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- pz=Instance.new("BodyVelocity")
- pz.P=8000
- pz.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- pz.velocity=Vector3.new(math.random(-9,9),math.random(-2,20),math.random(-9,9))*2+Tool.Parent.Torso.CFrame.lookVector*(i*12)
- pz.Parent=v
- game:GetService("Debris"):AddItem(pz,.2)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,400,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.5)
- pz=Instance.new("BodyAngularVelocity")
- pz.P=5000
- pz.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- pz.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- pz.Parent=v
- game:GetService("Debris"):AddItem(pz,.3)
- ddm=math.floor(dmg)
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- end
- end
- bpos.position=bpos.position+Tool.Parent.Torso.CFrame.lookVector*6
- end
- wait(.25)
- coroutine.resume(coroutine.create(function(char) for lol=1, 1 do for __,k in pairs(char:children()) do if k.className=="Part" and k.Name~="Blast" then k.Transparency=0 elseif k.className=="Hat" and k:FindFirstChild("Handle")~=nil then k.Handle.Transparency=0 end end wait() end end),Tool.Parent)
- bpos.Parent=nil
- gy.Parent=nil
- Tool.Parent.Humanoid.WalkSpeed=18
- wEnabled=true
- canAnim=true
- resWelds()
- end
- end
- doSpecial=function(Add)
- if Add.Name=="INPUTKEY" then
- game:GetService("Debris"):AddItem(Add,1)
- val=Add.Value
- if wEnabled==false then
- while true do
- if wEnabled==true then
- break
- end
- wait()
- end
- end
- print("PERFORM")
- if Specials[val]~=nil and wEnabled==true then
- Specials[val]()
- end
- end
- end
- 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.CanCollide=false
- c.BrickColor=BrickColor:Red()
- if CRIT==true then
- c.BrickColor=BrickColor.new("Brown")
- end
- 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)
- if CRIT==true then
- ms.Scale=Vector3.new(1.25,1.5,1.25)
- ms.Bevel=.2
- end
- 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))
- 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
- SlashSound=function(int)
- Tool.Handle7.Slash.Pitch=int
- Tool.Handle7.Slash:Play()
- thesound=Tool.Handle7.Slash
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- Initiate=function()
- if CD==false then return end
- ExtraInput=true
- canAnim=false
- Attack(AttackPos)
- if AttackResetDeb == false or wEnabled==false then
- return
- end
- AttackResetDeb=false
- while true do
- SAPos=AttackPos
- wait(.6)
- if WEnabled==false then
- wait(.35)
- end
- if AttackPos==SAPos and wEnabled==true and AttackPos~=1 then
- AttackPos=1
- AttackDeb=false
- canAnim=true
- wait(.1)
- resWelds()
- AttackDeb=true
- break
- end
- end
- AttackResetDeb=true
- end
- for _,v in pairs(Tool.Handle7:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- Tool.Fire:Stop()
- Switch=function(key)
- Mode=Tool.Mode.Value
- RightGrip=Tool.Parent["Right Arm"].RightGrip
- canAnim=false
- if key=="z" and Tool.Mode.Value~=1 then
- Tool.Mode.Value=Tool.Mode.Value-1
- Mode=Tool.Mode.Value
- canAnim=false
- Tool.Parent.Humanoid.WalkSpeed=0
- resWelds()
- wEnabled=false
- --HA HA HA OH WOW
- if Tool.Mode.Value==1 then
- FakeS.DesiredAngle=3.2
- for i=1, 6 do
- wait()
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/12,0,0)
- end
- wait(.25)
- SlashSound(2)
- for i=1, 6 do
- for _,v in pairs(Tool.Spikes:children()) do
- if v.className=="Part" then
- v.Mesh.Scale=v.Mesh.Scale+Vector3.new(0,.1,0)
- end
- end
- end
- wait(.35)
- FakeS.DesiredAngle=0
- for i=1, 6 do
- wait()
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(math.pi/12,0,0)
- end
- Tool.Parent.Humanoid.WalkSpeed=9
- wEnabled=true
- canAnim=true
- elseif Mode==2 then
- Tool.Parent.Humanoid.WalkSpeed=0
- FakeS.DesiredAngle=3.2
- for _,v in pairs(Tool:children()) do
- if v.Name=="HAX" then
- v:Remove()
- end
- end
- for i=1, 10 do
- for _,v in pairs(Tool:children()) do
- if v.className=="Part" then
- v.Transparency=i*.1
- end
- end
- for _,v in pairs(Tool.Spikes:children()) do
- if v.className=="Part" then
- v.Transparency=i*.1
- end
- end
- wait(.025)
- end
- Tool.Handle.KEEP:Remove()
- Tool.Handle.KEEPG:Remove()
- RightGrip.Part1=Tool.Handle
- for i=1, 10 do
- for _,v in pairs(Tool:children()) do
- if v.className=="Part" then
- v.Transparency=1-i*.1
- end
- end
- for _,v in pairs(Tool.Spikes:children()) do
- if v.className=="Part" then
- v.Transparency=1-i*.1
- end
- end
- wait(.025)
- end
- wait(.25)
- FakeS.DesiredAngle=0
- Tool.Parent.Humanoid.WalkSpeed=16
- wEnabled=true
- canAnim=true
- end
- elseif key=="x" and Tool.Mode.Value~=3 then
- Tool.Mode.Value=Tool.Mode.Value+1
- Mode=Tool.Mode.Value
- if Tool.Mode.Value==2 then
- FakeS.DesiredAngle=3.2
- for i=1, 6 do
- wait()
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/12,0,0)
- end
- wait(.25)
- SlashSound(1.9)
- for i=1, 6 do
- for _,v in pairs(Tool.Spikes:children()) do
- if v.className=="Part" then
- v.Mesh.Scale=v.Mesh.Scale+Vector3.new(0,-.1,0)
- end
- end
- end
- wait(.35)
- FakeS.DesiredAngle=0
- for i=1, 6 do
- wait()
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(math.pi/12,0,0)
- end
- Tool.Parent.Humanoid.WalkSpeed=16
- wEnabled=true
- canAnim=true
- elseif Tool.Mode.Value==3 then
- resWelds()
- FakeS.DesiredAngle=.6
- FakeS.CurrentAngle=1.6
- FakeS.DesiredAngle=3.6
- FakeS.MaxVelocity=.55
- grip=Tool.Parent["Right Arm"].RightGrip
- for i=1, 4 do
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/8.5*2,0,0)
- wait()
- end
- FakeS.MaxVelocity=.65
- Tool.Parent.Humanoid.WalkSpeed=0
- wait(.1)
- ringDec="http://www.roblox.com/asset/?id=30603016"
- ring=Instance.new("Part")
- ring.formFactor="Symmetric"
- ring.Transparency=1
- d=Instance.new("Decal")
- d.Texture=ringDec
- d.Face="Top"
- d.Parent=ring
- Pos=Tool.Handle7.Position-Vector3.new(0,7.375,0)
- ring.Anchored=true
- ring.Name="HAX"
- ring.CanCollide=false
- ring.Size=Vector3.new(6,1,6)
- ring.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(0,math.random(-50,50),0)
- ring.Parent=Tool
- coroutine.resume(coroutine.create(function(par) while par.Parent~=nil do par.CFrame=par.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/28,0) wait() end end),ring)
- f=script.Fire:clone()
- f.Size=12
- f.Heat=10
- f.Parent=ring
- s=script.killzone:clone()
- s.Disabled=false
- s.Parent=ring
- wait(.15)
- FakeSL.MaxVelocity=.4
- FakeSL.DesiredAngle=-.6
- s=Tool.Handle7.Implant:clone()
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- hums=GetHumans()
- wait(.06)
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.55
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.55
- s.Parent=Tool.Handle7
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Fire:clone()
- s.Looped=false
- s.Pitch=.8
- s.Parent=ring
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.4+int,.6/(lol/6),.4+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.5)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6),.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.5)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=11.5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))+Moar*25
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(30+math.random(-10,10))
- if RageMode==true then
- h:TakeDamage(30+math.random(-5,5))
- end
- end
- end
- end
- SlashSound(1.1)
- FakeS.DesiredAngle=1.8
- wait(.3)
- SlashSound(2.1)
- wait(.1)
- RightGrip.Part1=nil
- pos=Instance.new("BodyPosition")
- pos.P=8000
- pos.maxForce=Vector3.new(50000,50000,50000)*50000000000000000000000000
- pos.position=Tool.Handle.Position
- pos.Name="KEEP"
- pos.Parent=Tool.Handle
- g=Instance.new("BodyGyro")
- g.P=5000
- g.maxTorque=Vector3.new(50000,50000,50000)*500000000
- g.cframe=Tool.Handle.CFrame
- g.Name="KEEPG"
- g.Parent=Tool.Handle
- Tool.Parent.Humanoid.WalkSpeed=18
- FakeS.MaxVelocity=.15
- FakeS.DesiredAngle=1.6
- for i=1, 4 do
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/8.5*2,0,0)
- wait()
- end
- end
- --[[elseif Tool.Mode.Value==1 then --SPIKE GUSHZZZZZ
- if RageMode==false then
- Torso=Tool.Parent.Torso
- Pos=Torso.Position+Vector3.new(0,22,0)
- grip=Torso.Parent["Right Arm"].RightGrip
- p=Instance.new("BodyPosition")
- p.P=9000
- p.D=399
- p.position=Pos
- p.Parent=Torso
- elseif RageMode==true then
- end
- elseif Tool.Mode.Value==2 then]]
- end
- canAnim=true
- end
- anims={}
- anims["Jump"]=function()
- resWelds()
- canAnim=false
- FakeS.DesiredAngle=3.2
- FakeSL.DesiredAngle=-3.2
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,-400,0)
- f.Parent=Tool.Parent.Torso
- game:GetService("Debris"):AddItem(f,2)
- elapse=0
- while true do
- if (Vector3.new(0,Tool.Parent.Torso.Velocity.y,0)-Vector3.new(0,0,0)).magnitude<=4 then
- break
- end
- wait(.5)
- end
- f.Parent=nil
- canAnim=true
- end
- CRIT=false
- hitDeb=true
- CritChance=25
- perfRAGE=function()
- Torso=Tool.Parent.Torso
- sm=Tool.Handle.Smoke:clone()
- sm.Parent=Torso
- fm=Tool.Handle.Fire:clone()
- fm.Parent=Torso
- sm.Enabled=true
- fm.Enabled=true
- S1 = Instance.new("Sound")
- S1.Name = "DARK"
- S1.SoundId = "http://www.roblox.com/asset/?id=34315534"
- S1.Parent = Torso
- S1.Volume = 1
- S1.Pitch=.18
- thesound=S1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- coroutine.resume(coroutine.create(function(s) while s.Parent~=nil do s:Play() thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100) wait(1) end end),S1)
- S2=Tool.Handle7.SPSound:clone()
- S2.Parent=Torso
- S2:Play()
- thesound=S2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- fir=script.fireScript:clone()
- fir.Parent=Torso.Parent
- fir.Disabled=false
- RageMode=true
- hums=GetHumans()
- Pos=Torso.Position-Vector3.new(0,3,0)
- s=Tool.Handle7.PunishSound3:clone()
- s.Pitch=.4
- s.Parent=Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- s=Tool.Handle7.PunishSound1:clone()
- s.Pitch=.5
- s.Parent=Torso
- s:Play()
- game:GetService("Debris"):AddItem(s,1)
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 15 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.4+int,.6/(lol/6),.4+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/15 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.5)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor:Black()
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Pos-Vector3.new(0,0,0))*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.Parent=workspace
- script.Parent.BlastMesh:clone().Parent=p
- p.BlastMesh.Scale=Vector3.new(1,.5,1)
- hums=GetHumans()
- coroutine.resume(coroutine.create(function(par,int) for lol=1, 14 do par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(.8+int,.05/(lol/6),.8+int) if int==1.2 then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0,.9,0) end par.Transparency=lol/10 par.CFrame=par.CFrame*CFrame.new(0,.01,0) wait() end par.Parent=nil end),p,.5)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=11.5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Tool.Handle.Position).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,500000000000,500000000000)*500000000000
- p.velocity=Vector3.new(math.random(-10,10),math.random(3,20),math.random(-10,10))+Moar*70
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- h:TakeDamage(70+math.random(-10,10))
- end
- end
- end
- while Tool.Rage.Value>0 do
- Tool.Rage.Value=Tool.Rage.Value-3
- Torso.Parent.Humanoid.Health=Torso.Parent.Humanoid.Health-Torso.Parent.Humanoid.MaxHealth*.0005
- wait(.15)
- end
- RageMode=false
- S1:Remove()
- sm.Enabled=false
- fm.Enabled=false
- game:GetService("Debris"):AddItem(sm,6)
- game:GetService("Debris"):AddItem(fm,6)
- fir:Remove()
- for i=1, 25 do
- S2.Volume=S2.Volume-.0175
- wait()
- end
- S1:Stop()
- wait(.25)
- S1:Remove()
- end
- Damage=function(hit,Damage,Knockback)
- if hit.Parent==nil then
- return
- end
- CPlayer=Tool.Parent
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent~=CPlayer and hit.Parent:FindFirstChild("Torso")~=nil then
- if h.Health<1 then
- return
- end
- for lolol,hax in pairs(h:children()) do
- if hax.Name=="creator" then
- if hax.Value==game.Players:GetPlayerFromCharacter(Tool.Parent) then
- return
- end
- end
- end
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- print(c.Value)
- RampFall=((hit.Position-Tool.Parent.Torso.Position).magnitude*2)
- print(RampFall)
- if math.random(1,25)==1 then
- CRIT=true
- Damage=Damage*3
- s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Volume=1
- s.Pitch=2
- s.Parent=hit
- s:Play()
- thesound=s
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- end
- Rage.Value=Rage.Value+Damage
- if Rage.Value>MaxRage then
- Rage.Value=MaxRage
- end
- Damage=math.ceil((Damage*1+math.random(-2,3)-RampFall)/.85)+1
- if RageMode==true then
- Damage=Damage*2.25
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(hit.Position+Vector3.new(math.random(-1,1),math.random(1,1),math.random(1,1)))*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 6 do par.Transparency=i/6 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.45)
- end
- if Tool.Mode.Value==1 then
- coroutine.resume(coroutine.create(function(h,dmg) wait(.15) h:TakeDamage(dmg) showDamage(h.Parent,dmg,.5) end),h,math.floor(Damage*1.25))
- end
- if RageMode==false then
- Tool.Rage.Value=Tool.Rage.Value+Damage/1.5
- end
- if Tool.Rage.Value>600 then
- Tool.Rage.Value=600
- end
- h:TakeDamage(math.floor(Damage))
- showDamage(hit.Parent,Damage,.75)
- vp=Instance.new("BodyVelocity")
- vp.P=2000
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- vp.velocity=Knockback
- vp.Parent=hit.Parent:FindFirstChild("Torso",nil)
- game:GetService("Debris"):AddItem(vp,.45)
- if AttackPos==8 then
- r=Instance.new("BodyAngularVelocity")
- r.P=5000
- r.maxTorque=Vector3.new(50000,50000,50000)*500000
- r.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))/2
- r.Parent=hit.Parent:FindFirstChild("Torso",nil)
- game:GetService("Debris"):AddItem(r,.25)
- end
- if h.Health<1 then
- end
- CRIT=false
- wait(.6)
- hitDeb=true
- end
- end
- anims["Standing"]=function()
- resWelds()
- des=.1*math.sin(time())
- if Tool.Mode.Value~=3 then
- FakeS.DesiredAngle=1.6
- FakeSL.DesiredAngle=des*.9
- FakeR.DesiredAngle=des+.05
- FakeL.DesiredAngle=des-.05
- else
- FakeS.DesiredAngle=des*1.1
- FakeSL.DesiredAngle=des*1.1
- FakeR.DesiredAngle=des+.05
- FakeL.DesiredAngle=des-.05
- end
- end
- anims["Run"]=function()
- des=.3*math.sin(time()*10)/12
- if Tool.Mode.Value~=3 then
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/8,math.pi/12,0)
- FakeS.DesiredAngle=-.1
- FakeL.DesiredAngle=.1
- FakeR.DesiredAngle=-.1
- if Tool.Parent.WingScript:FindFirstChild("Flying")==nil then
- FakeR.DesiredAngle=1*math.sin(time()*9)
- FakeL.DesiredAngle=1*math.sin(time()*9)
- FakeSL.C0=LeftS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/8,math.pi/12,0)
- FakeSL.DesiredAngle=.7
- else
- FakeSL.C0=LeftS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/8,math.pi/12,0)
- FakeSL.DesiredAngle=.4
- end
- else
- FakeS.DesiredAngle=des*18
- FakeSL.DesiredAngle=des*18
- FakeR.DesiredAngle=1*math.sin(time()*9)
- FakeL.DesiredAngle=1*math.sin(time()*9)
- end
- if Mode==1 then
- Tool.Parent.Humanoid.WalkSpeed=9
- elseif Mode==2 then
- Tool.Parent.Humanoid.WalkSpeed=16
- elseif Mode==3 then
- Tool.Parent.Humanoid.WalkSpeed=18
- end
- end
- Attack=function(Pos)
- if wEnabled==false then return end
- wEnabled=false
- CPlayer=Tool.Parent
- if Tool.Mode.Value==2 then
- if Pos==1 then
- resWelds()
- canAnim=false
- FakeS.DesiredAngle=2.4
- FakeS.MaxVelocity=.5
- FakeSL.DesiredAngle=-.15
- wait(.15)
- SlashSound(.85)
- FakeS.DesiredAngle=-.1
- FakeSL.DesiredAngle=.2
- wait(.05)
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,25,Tool.Parent.Torso.CFrame.lookVector*30) end)
- wait(.35)
- R_Con:disconnect()
- FakeS.DesiredAngle=1.6
- AttackPos=2
- wEnabled=true
- elseif Pos==2 then
- SlashSound(.7)
- FakeR.DesiredAngle=.1
- FakeL.DesiredAngle=.1
- dir=Tool.Parent.Torso.CFrame.lookVector
- wEnabled=false
- print("2")
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.4
- FakeS.DesiredAngle=1.7
- g=Instance.new("BodyGyro")
- g.P=7000
- g.D=500
- g.maxTorque=Vector3.new(50000,50000,50000)*50000000000000000000000
- g.cframe=Tool.Parent.Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/24,0)
- wait(.1)
- FakeSL.DesiredAngle=.3
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/3.5,0)
- FakeS.MaxVelocity=.65
- FakeS.DesiredAngle=-1.1
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,25,Tool.Parent.Torso.CFrame.lookVector*30) end)
- for i=1, 3 do
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/8,0,0)
- wait()
- end
- wait(.25)
- R_Con:disconnect()
- wait(.15)
- for i=1, 3 do
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(math.pi/8,0,0)
- wait()
- end
- g.Parent=nil
- AttackPos=3
- wEnabled=true
- elseif Pos==3 then
- resWelds()
- FakeS.DesiredAngle=.6
- FakeS.CurrentAngle=1.6
- FakeS.DesiredAngle=3.6
- FakeS.MaxVelocity=.5
- grip=Tool.Parent["Right Arm"].RightGrip
- for i=1, 4 do
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/8.5*2,0,0)
- wait()
- end
- FakeS.MaxVelocity=.65
- Tool.Parent.Humanoid.WalkSpeed=0
- wait(.05)
- vp=Instance.new("BodyVelocity")
- vp.P=2000
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- vp.velocity=Tool.Parent.Torso.CFrame.lookVector*45
- vp.Parent=Tool.Parent:FindFirstChild("Torso",nil)
- game:GetService("Debris"):AddItem(vp,.2)
- g=Instance.new("BodyGyro")
- g.P=5000
- g.maxTorque=Vector3.new(50000,50000,50000)*5000000
- g.cframe=Tool.Parent.Torso.CFrame
- g.Parent=Tool.Parent.Torso
- SlashSound(1.1)
- FakeS.DesiredAngle=1.8
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,25,Tool.Parent.Torso.CFrame.lookVector*30) end)
- wait(.3)
- SlashSound(2.1)
- wait(.1)
- g:Remove()
- Tool.Parent.Humanoid.WalkSpeed=16
- R_Con:disconnect()
- FakeS.MaxVelocity=.15
- FakeS.DesiredAngle=1.6
- for i=1, 4 do
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/8.5*2,0,0)
- wait()
- end
- wEnabled=true
- AttackPos=4
- elseif Pos==4 then
- resWelds()
- canAnim=false
- FakeS.DesiredAngle=2.4
- FakeS.MaxVelocity=.5
- FakeSL.DesiredAngle=-.15
- wait(.15)
- SlashSound(.85)
- FakeS.DesiredAngle=-.1
- FakeSL.DesiredAngle=.2
- wait(.05)
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,25,Tool.Parent.Torso.CFrame.lookVector*30) end)
- wait(.35)
- R_Con:disconnect()
- FakeS.DesiredAngle=1.6
- AttackPos=2
- wEnabled=true
- end
- elseif Tool.Mode.Value==1 then
- if Pos==1 then
- FakeR.DesiredAngle=.1
- FakeL.DesiredAngle=.1
- dir=Tool.Parent.Torso.CFrame.lookVector
- wEnabled=false
- print("2")
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.2
- FakeS.DesiredAngle=1.5
- SlashSound(.35)
- g=Instance.new("BodyGyro")
- g.P=7000
- g.D=500
- g.maxTorque=Vector3.new(50000,50000,50000)*50000000000000000000000
- g.cframe=Tool.Parent.Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/24,0)
- g.Parent=Tool.Parent.Torso
- wait(.25)
- FakeSL.DesiredAngle=1.3
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/3.5,0)
- FakeS.MaxVelocity=.45
- FakeS.DesiredAngle=-1.2
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,27,Tool.Parent.Torso.CFrame.lookVector*40) end)
- for i=1, 3 do
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/7,0,0)
- Tool.Parent.Torso.Neck.C0=Tool.Parent.Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0,0,math.pi/12)
- wait()
- end
- wait(.25)
- R_Con:disconnect()
- wait(.15)
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,math.pi/3.5,0)
- for i=1, 3 do
- Tool.Parent["Right Arm"].RightGrip.C0=Tool.Parent["Right Arm"].RightGrip.C0*CFrame.fromEulerAnglesXYZ(math.pi/7,0,0)
- Tool.Parent.Torso.Neck.C0=Tool.Parent.Torso.Neck.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.pi/12)
- wait()
- end
- g.Parent=nil
- AttackPos=2
- wEnabled=true
- elseif Pos==2 then
- Type="Slash"
- Origin=CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- StartC0=CFrame.new(0.75, -2.18556941e-008, -1, 0, -0.866025388, -0.5, 0, -0.5, 0.866025388, -1, 0, 0)
- zAnim=FakeS
- zAnim.C0=StartC0
- zAnim.MaxVelocity=0
- zAnim.C1=zAnim.C1*CFrame.new(0,1,0)
- zAnim.CurrentAngle=2.8
- SlashSound(.45)
- zAnim.MaxVelocity=.4
- zAnim.DesiredAngle=-.9
- grip=Tool.Parent["Right Arm"].RightGrip
- R_Con=Tool.Handle.Touched:connect(function(hit) Damage(hit,24,Tool.Parent.Torso.CFrame.lookVector*20) end)
- for i=1, 4 do
- wait(.05)
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(-math.pi/9,0,0)
- zAnim.C0=zAnim.C0*CFrame.new(-.175,-0.1,.05)
- end
- wait(.1)
- R_Con:disconnect()
- for i=1, 4 do
- wait(.05)
- grip.C0=grip.C0*CFrame.fromEulerAnglesXYZ(math.pi/9,0,0)
- end
- wait(.2)
- zAnim.C1=zAnim.C1*CFrame.new(0,-1,0)
- resWelds()
- AttackPos=3
- wEnabled=true
- elseif Pos==3 then
- resWelds()
- canAnim=false
- FakeS.DesiredAngle=3.4
- FakeS.MaxVelocity=.6
- FakeSL.DesiredAngle=-.15
- wait(.3)
- SlashSound(.6)
- FakeS.MaxVelocity=.8
- wait(.15)
- FakeS.DesiredAngle=-.7
- FakeSL.DesiredAngle=.2
- wait(.05)
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,19,Tool.Parent.Torso.CFrame.lookVector*30) end)
- wait(.4)
- R_Con:disconnect()
- FakeS.DesiredAngle=1.6
- AttackPos=4
- wEnabled=true
- elseif Pos==4 then
- resWelds()
- FakeR.DesiredAngle=.1
- FakeL.DesiredAngle=.1
- dir=Tool.Parent.Torso.CFrame.lookVector
- wEnabled=false
- print("2")
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.2
- FakeS.DesiredAngle=1.5
- SlashSound(.35)
- g=Instance.new("BodyGyro")
- g.P=15000
- g.D=200
- g.maxTorque=Vector3.new(50000,50000,50000)*50999000000000000000000000
- g.cframe=Tool.Parent.Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/24,0)
- g.Parent=Tool.Parent.Torso
- SlashSound(.35)
- wait(.25)
- SlashSound(.35)
- wait(.05)
- vp=Instance.new("BodyVelocity")
- vp.P=2000
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- vp.velocity=Tool.Parent.Torso.CFrame.lookVector*30
- vp.Parent=Tool.Parent:FindFirstChild("Torso",nil)
- game:GetService("Debris"):AddItem(vp,.5)
- Tool.Parent.Humanoid.WalkSpeed=0
- FakeSL.DesiredAngle=1.3
- FakeS.MaxVelocity=.45
- FakeS.DesiredAngle=-1
- R_Con=Tool.Handle7.Touched:connect(function(hit) Damage(hit,27,Tool.Parent.Torso.CFrame.lookVector*25) end)
- for i=1, 12 do
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/6,0)
- wait()
- end
- wait(.25)
- Tool.Parent.Humanoid.WalkSpeed=9
- g.Parent=nil
- R_Con:disconnect()
- AttackPos=2
- wEnabled=true
- resWelds()
- FakeS.DesiredAngle=1.6
- end
- elseif Tool.Mode.Value==3 then --ENERGY BOLTS, BRICK YEAH
- wEnabled=false
- canAnim=false
- Tool.Parent.Humanoid.WalkSpeed=0
- Sound1=Tool.Handle7.Bolt1:clone()
- Sound2=Tool.Handle7.Bolt2:clone()
- Sound1.Parent=Tool.Parent.Torso
- Sound2.Parent=Tool.Parent.Torso
- Torso=Tool.Parent.Torso
- neck=Torso.Neck
- hums=GetHumans()
- if Pos==1 then
- resWelds()
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.7
- FakeS.DesiredAngle=1.9
- look=Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=150
- g.maxTorque=Vector3.new(500000,500000,500000)*50000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- g.Parent=Torso
- wait(.1)
- FakeS.DesiredAngle=0
- FakeS.MaxVelocity=.65
- wait(.15)
- Pos=Tool.Parent["Right Arm"].CFrame*CFrame.new(0,-2.25,0).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.325)
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=4.5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,0,500000000000)*500000000000
- p.velocity=Moar*3+look*13
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- --[[p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)]]
- ddm=45+math.random(-5,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm/2)
- showDamage(v.Parent,ddm/2,1)
- end
- end
- end
- wait()
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
- wait(.2)
- resWelds()
- g.Parent=nil
- AttackPos=2
- elseif Pos==2 then
- resWelds()
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.CurrentAngle=1.1
- FakeS.DesiredAngle=2.8
- FakeSL.CurrentAngle=-1.1
- FakeSL.DesiredAngle=-2.8
- look=Torso.CFrame.lookVector
- FakeS.MaxVelocity=.75
- FakeSL.MaxVelocity=.75
- f1=FakeS.C1
- f2=FakeSL.C1
- FakeS.C0=FakeS.C0*CFrame.new(0.25,0,.25)
- FakeSL.C0=FakeSL.C0*CFrame.new(0.25,0,.25)
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- wait(.125)
- FakeS.DesiredAngle=1.2
- FakeSL.DesiredAngle=-1.2
- wait(.15)
- Pos=Tool.Parent["Torso"].CFrame.p+look*3.5-Vector3.new(0,1.5,0)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 13 do par.Transparency=i/13 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.435)
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyPosition")
- p.P=9000
- p.D=400
- p.maxForce=Vector3.new(50000000000000,5000000000000,50000000000)*500000000000
- p.position=v.Position+Vector3.new(0,3.25,0)-Moar*1.25
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,1600,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.55)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.5)
- ddm=35/3+math.random(-5,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- wait(.125)
- AttackPos=3
- resWelds()
- elseif Pos==3 then
- print("LOLHAX")
- resWelds()
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.CurrentAngle=0
- FakeS.DesiredAngle=-.3
- FakeSL.CurrentAngle=.3
- FakeSL.DesiredAngle=-2
- look=Torso.CFrame.lookVector
- FakeS.MaxVelocity=.7
- FakeSL.MaxVelocity=.7
- f1=FakeS.C1
- f2=FakeSL.C1
- FakeS.C0=FakeS.C0*CFrame.new(0.25,0,.25)
- FakeSL.C0=FakeSL.C0*CFrame.new(0.25,0,.25)
- FakeS.C1=FakeS.C1*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- FakeSL.C1=FakeSL.C1*CFrame.fromEulerAnglesXYZ(-math.pi/5,0,0)
- wait(.125)
- FakeS.DesiredAngle=-.3
- FakeSL.DesiredAngle=-2.2
- wait(.15)
- for i=1, 3 do
- Pos=Tool.Parent["Left Arm"].CFrame*CFrame.new(0,-2.5,0).p+Vector3.new(math.random(-5,5)/10,math.random(-5,5)/10,math.random(-5,5)/10)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.2)
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=4.25 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- p.velocity=Moar*.01+look*-.25+Vector3.new(0,5.75,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.22)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,2100,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.15)
- ddm=15/3+math.random(-3,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- wait(.15)
- FakeSL.CurrentAngle=-math.random(19,21)*.1
- end
- FakeSL.DesiredAngle=.3
- FakeS.DesiredAngle=1.8
- wait(.2)
- Pos=Tool.Parent["Right Arm"].CFrame*CFrame.new(0,-2.6,0).p+Vector3.new(math.random(-5,5)/10,math.random(-5,5)/10,math.random(-5,5)/10)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 11 do par.Transparency=i/11 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.375)
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=3.75 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,5000000000000,500000000000)*500000000000
- p.velocity=Moar*2+look*4+Vector3.new(0,8.5,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.25)
- f=Instance.new("BodyForce")
- f.force=Vector3.new(0,650,0)
- f.Parent=v
- game:GetService("Debris"):AddItem(f,.5)
- p=Instance.new("BodyAngularVelocity")
- p.P=5000
- p.maxTorque=Vector3.new(50000000,50000000,50000000)*500000000000
- p.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))+(v.Position-Pos).unit*30
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- ddm=25/3+math.random(-5,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- wait(.25)
- AttackPos=4
- resWelds()
- elseif Pos==4 then
- resWelds()
- look=Tool.Parent.Torso.CFrame.lookVector
- FakeR.DesiredAngle=0
- FakeL.DesiredAngle=0
- FakeS.C0=RightS.C0*CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)+Vector3.new(.5,-.5,0)
- FakeS.CurrentAngle=1.7
- FakeS.DesiredAngle=1.9
- look=Torso.CFrame.lookVector
- g=Instance.new("BodyGyro")
- g.P=11000
- g.D=150
- g.maxTorque=Vector3.new(500000,500000,500000)*50000000000
- g.cframe=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
- g.Parent=Torso
- wait(.1)
- FakeS.DesiredAngle=0
- FakeS.MaxVelocity=.65
- wait(.15)
- Pos=Tool.Parent["Right Arm"].CFrame*CFrame.new(0,-4,0).p
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos)*CFrame.fromEulerAnglesXYZ(math.random(-5,5),math.random(-50,50),math.random(-3,3))
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("BlockMesh")
- m.Parent=b
- coroutine.resume(coroutine.create(function(par,rot,qu) for i=1, 14 do par.Transparency=i/14 par.CFrame=par.CFrame*rot par.Mesh.Scale=par.Mesh.Scale+Vector3.new(qu,qu,qu) wait() end par.Parent=nil end),b,CFrame.fromEulerAnglesXYZ(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-5,5)/40),.1)
- wait(.05)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos,Pos+look*50)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Tool.BlastMesh:clone()
- m.Parent=b
- m.Name="Mesh"
- coroutine.resume(coroutine.create(function(par) for i=1, 11 do par.Transparency=i/11 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(.35,.05,.35) par.CFrame=par.CFrame*CFrame.new(0,.2,0) wait() end par.Parent=nil end),b)
- b=Instance.new("Part")
- b.TopSurface=0
- b.BottomSurface=0
- b.formFactor="Symmetric"
- b.Size=Vector3.new(1,1,1)
- b.BrickColor=BrickColor.new("Really black")
- b.CFrame=CFrame.new(Pos,Pos+look*50)
- b.Anchored=true
- b.CanCollide=false
- b.Parent=Tool.Parent
- b.Name="Blast"
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(1.5,1.5,1)
- m.Parent=b
- b.Reflectance=0
- m.Name="Mesh"
- coroutine.resume(coroutine.create(function(par) for i=1, 16 do par.Transparency=i/16 par.Mesh.Scale=par.Mesh.Scale+Vector3.new(-.075,-.075,.75+i*.1) par.CFrame=par.CFrame*CFrame.new(0,0,-.175-i/100) wait() end par.Parent=nil end),b)
- wait(.05)
- Sound1.Pitch=Sound1.Pitch+.1
- Sound2.Pitch=Sound2.Pitch+.15
- Sound1:Play()
- Sound2:Play()
- thesound=Sound1
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- thesound=Sound2
- doSound(thesound,60,thesound.Parent,thesound.Volume*100)
- for _,v in pairs(hums) do
- if (Pos-v.Position).magnitude<=5 then
- print("Dead.")
- h=v.Parent:FindFirstChild("Humanoid")
- if h~=nil then
- Moar=(v.Position-Pos).unit
- p=Instance.new("BodyVelocity")
- p.P=5000
- p.maxForce=Vector3.new(500000000000,5000000,500000000000)*500000000000
- p.velocity=Moar*7+look*65+Vector3.new(0,10,0)
- p.Parent=v
- game:GetService("Debris"):AddItem(p,.3)
- ddm=50/3+math.random(-5,5)
- if RageMode==true then
- ddm=ddm*1.5
- end
- h:TakeDamage(ddm)
- showDamage(v.Parent,ddm,1)
- end
- end
- end
- wait()
- g.cframe=g.cframe*CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
- wait(.2)
- resWelds()
- g.Parent=nil
- AttackPos=2
- end
- wEnabled=true
- canAnim=true
- Sound1:Remove()
- Sound2:Remove()
- Tool.Parent.Humanoid.WalkSpeed=10
- end
- if type(R_Con)=="userdata" then
- R_Con:disconnect()
- R_Con=nil
- end
- if type(L_Con)=="userdata" then
- L_Con:disconnect()
- L_Con=nil
- end
- end
- AttackResetDeb=true
- CD=true
- AttackPos=1
- GetHumans=function()
- Chars={}
- Things=workspace:GetChildren()
- for _,v in pairs(workspace:children()) do
- if v.Name=="Gate" then
- table.insert(Things,v)
- end
- end
- for i,v in pairs(Things) do
- if v.className=="Model" and v~=script.Parent.Parent then
- Human=v:FindFirstChild("Humanoid")
- PTorso=v:FindFirstChild("Torso")
- if Human~=nil and PTorso~=nil then
- table.insert(Chars,PTorso)
- end
- end
- end
- return Chars
- end
- checkSpeed=function(spd)
- if spd>0 then
- Anim="Run"
- return
- end
- Anim="Standing"
- end
- for _,v in pairs(Tool:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- EquipDebounce=true
- onEquipped=function(mouse)
- if not EquipDebounce then
- return
- end
- EquipDebounce=false
- CPlayer=Tool.Parent
- Animation(CPlayer["Torso"],"Stop")
- Hum=CPlayer:FindFirstChild("Humanoid")
- rj=Hum.Running:connect(checkSpeed)
- j=Hum.Jumping:connect(function() Anim="Jump" end)
- for _,v in pairs(Tool.Handle7:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- Tool.Fire:Stop()
- for _,v in pairs(Tool.Handle:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- while Tool.Parent==CPlayer do
- if canAnim==true then
- anims[Anim]()
- end
- wait(.05)
- end
- end
- reqKey=function(input) --replicate keyboard actions
- game:GetService("Debris"):AddItem(input,1)
- vinput=input:clone()
- input=input.Value
- if input=="x" or input=="z" then
- print("reqswitch")
- Switch(input)
- else
- end
- end
- script.ChildAdded:connect(doSpecial)
- script.ChildAdded:connect(reqKey)
- onPutAway=function()
- if CPlayer==nil then
- return
- end
- rj:disconnect()
- j:disconnect()
- if EquipDebounce==false then
- Animation(CPlayer["Torso"],"Resume")
- EquipDebounce=true
- end
- for _,v in pairs(Tool.Handle7:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- for _,v in pairs(Tool.Handle7:children()) do
- if v.className=="Sound" then
- v:Stop()
- end
- end
- Tool.Fire:Stop()
- end
- Tool.Unequipped:connect(onPutAway)
- Tool.Equipped:connect(onEquipped)
- Tool.Activated:connect(Initiate)
- update=function(gui)
- print("Updating started")
- while true do
- crage=Tool.Rage.Value
- calc=crage/1200 --for topbar
- gui.PressureBar.OverdriveBar.Fill.Size=UDim2.new(calc,0,.75,0)
- gui.PressureBar.RageBar.Fill.Size=UDim2.new(Rage.Value/300,0,.9,0)
- gui.PressureBar.RageBar.Label.Text="Energy("..Rage.Value..")"
- wait(.1)
- end
- end
- setp=function()
- player=Tool.Parent.Parent
- gg=player.PlayerGui
- Gui=gg:FindFirstChild("OverGui")
- s=script.WingScript:clone()
- s.Parent=player.Character
- s.Disabled=false
- if Gui==nil then
- Gui=script.OverGui:clone()
- Gui.Parent=gg
- end
- coroutine.resume(coroutine.create(update),Gui)
- end
- wait(.35)
- while true do
- if Tool.Parent.Parent.className=="Player" then
- break
- end
- wait()
- end
- setp()
- while true do
- wait(.65)
- if Tool.Rage.Value>=0 and wEnabled==true and RageMode==false then
- Tool.Rage.Value=Tool.Rage.Value+math.random(-2,1)
- if Tool.Rage.Value<0 then
- Tool.Rage.Value=0
- end
- end
- if RageMode==false and Tool.Rage.Value>=400 then
- --Overdrive!
- perfRAGE()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment