tool.Activated:connect(function()if owner~=nil and(character~=nil and canattack)then local Y=character.Torso:findFirstChild("\082\105\103\104\116\065\114\109\087\101\108\100\112\117\110\099\104")local E=character.Torso:findFirstChild("\076\101\102\116\065\114\109\087\101\108\100\112\117\110\099\104")local k=character.Torso:findFirstChild("\072\101\097\100\087\101\108\100\112\117\110\099\104")local L=character.HumanoidRootPart:findFirstChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116\087\101\108\100\112\117\110\099\104")for n,s in pairs(workspace:GetDescendants())do if s.ClassName=="\077\111\100\101\108"and s~=character then local n=s:findFirstChildOfClass("\072\117\109\097\110\111\105\100")local h=s:findFirstChild("\072\101\097\100")if n and h then if(h.Position-character.HumanoidRootPart.Position).magnitude<5 and(n.PlatformStand and n.Health>0)then local n=Instance.new("\087\101\108\100",character.Torso)n.Part0=character.Torso n.Part1=character["\082\105\103\104\116 \076\101\103"]n.C0=CFrame.new(.5,-2,0)n.Name="\082\105\103\104\116\076\101\103\087\101\108\100\098\097\116"local s=Instance.new("\087\101\108\100",character.Torso)s.Part0=character.Torso s.Part1=character["\076\101\102\116 \076\101\103"]s.C0=CFrame.new(-0.5,-2,0)s.Name="\076\101\102\116\076\101\103\087\101\108\100\098\097\116";(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed=0 for F=0,1,.1 do cananimate=false canattack=false character.HumanoidRootPart.CFrame=CFrame.new(character.HumanoidRootPart.Position,Vector3.new(h.Position.x,character.HumanoidRootPart.Position.y,h.Position.z))n.C0=n.C0:lerp(CFrame.new(.5,-0.75804615,-1.03058243,1,0,0,0,1,5.96046448e-08,0,-5.96046448e-08,1),F)s.C0=s.C0:lerp(CFrame.new(-0.5,-1.93969202,.342020512,1,0,0,0,.939692557,.342020333,0,-0.342020392,.939692557),F)Y.C0=Y.C0:lerp(CFrame.new(1.5,0,0),F)E.C0=E.C0:lerp(CFrame.new(-1.5,0,0),F)L.C0=L.C0:lerp(CFrame.new(0,0,0,1,0,0,0,.939692557,-0.342020363,0,.342020363,.939692557),F)k.C0=k.C0:lerp(CFrame.new(0,1.38302135,-0.32139349,1,0,0,0,.766044259,.642787755,0,-0.642787755,.766044259),F)runservice.Stepped:wait()end for h=0,1,.15 do n.C0=n.C0:lerp(CFrame.new(.5,-1.93246841,-1.17564046,1,0,0,0,.939692557,-0.342019618,0,.342019647,.939692676),h)s.C0=s.C0:lerp(CFrame.new(-0.5,-1.98480701,.173648238,1,0,0,0,.984807491,.173648387,0,-0.173648402,.984807551),h)Y.C0=Y.C0:lerp(CFrame.new(1.64085674,.201163769,-2.38418579e-07,.939692616,-0.342020124,0,.342020094,.939692497,0,0,0,.99999994),h)E.C0=E.C0:lerp(CFrame.new(-1.64085674,.201163769,-2.38418579e-07,.939692616,.342020124,0,-0.342020094,.939692497,0,0,0,.99999994),h)L.C0=L.C0:lerp(CFrame.new(0,-0.0347294807,-0.396961689,1,0,0,0,.98480773,.173648179,0,-0.173648179,.98480773),h)k.C0=k.C0:lerp(CFrame.new(0,1.38302231,-0.321393967,1,0,0,0,.766044259,.642787695,0,-0.642787695,.766044259),h)runservice.Stepped:wait()end damage(character["\082\105\103\104\116 \076\101\103"],"\115\116\111\109\112",1,3.5);(coroutine.wrap(function()for Y=0,1,.07 do s.C0=s.C0:lerp(CFrame.new(-0.5,-2,0),Y)n.C0=n.C0:lerp(CFrame.new(.5,-2,0),Y)runservice.Stepped:wait()end s:destroy()n:destroy();(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed=16 end))()cananimate=true canattack=true return end end end end if(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Jump then canattack=false cananimate=false;(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).PlatformStand=true local n=Instance.new("\087\101\108\100",character.Torso)n.Part0=character.Torso n.Part1=character["\082\105\103\104\116 \076\101\103"]n.C0=CFrame.new(.5,-2,0)n.Name="\082\105\103\104\116\076\101\103\087\101\108\100\112\117\110\099\104"local s=Instance.new("\087\101\108\100",character.Torso)s.Part0=character.Torso s.Part1=character["\076\101\102\116 \076\101\103"]s.C0=CFrame.new(-0.5,-2,0)s.Name="\076\101\102\116\076\101\103\087\101\108\100\112\117\110\099\104"local h=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",character.HumanoidRootPart)h.MaxForce=Vector3.new(math.huge,600,math.huge)h.Velocity=character.HumanoidRootPart.CFrame.lookVector*20 for h=0,1,.13 do damage(character["\076\101\102\116 \076\101\103"],"\100\114\111\112\107\105\099\107",3.5,3)damage(character["\082\105\103\104\116 \076\101\103"],"\100\114\111\112\107\105\099\107",3.5,3)n.C0=n.C0:lerp(CFrame.new(.5,-1,-0.400000095,.999999881,0,0,0,.999999881,0,0,-1.49011612e-08,.99999994),h)s.C0=s.C0:lerp(CFrame.new(-0.5,-1,-0.400000095,.999999881,0,0,0,.999999881,0,0,-1.49011612e-08,.99999994),h)Y.C0=Y.C0:lerp(CFrame.new(1.64085579,.201163769,0,.939692438,-0.342020065,0,.342020094,.939692438,0,0,0,.99999994),h)E.C0=E.C0:lerp(CFrame.new(-1.64085579,.201163769,0,.939692438,.342020065,0,-0.342020094,.939692438,0,0,0,.99999994),h)L.C0=L.C0:lerp(CFrame.fromEulerAnglesXYZ(math.pi/2,0,0),h)k.C0=k.C0:lerp(CFrame.new(0,1.24999976,-0.433012486,.999999881,0,0,0,.5,.866025448,0,-0.866025448,.5),h)runservice.Stepped:wait()end swishsound.PlaybackSpeed=1+math.random(-2,5)/12 swishsound:Play()for h=0,1,.13 do damage(character["\076\101\102\116 \076\101\103"],"\100\114\111\112\107\105\099\107",3.5,3)damage(character["\082\105\103\104\116 \076\101\103"],"\100\114\111\112\107\105\099\107",3.5,3)n.C0=n.C0:lerp(CFrame.new(.5,-2,0,1,0,0,0,.999999881,0,0,1.49011612e-08,.99999994),h)s.C0=s.C0:lerp(CFrame.new(-0.5,-2,0,1,0,0,0,.999999881,0,0,1.49011612e-08,.99999994),h)Y.C0=Y.C0:lerp(CFrame.new(1.57922745,.094420433,4.76837158e-07,.98480773,-0.173648179,0,.173648149,.984807611,0,-1.86264515e-09,0,.99999994),h)E.C0=E.C0:lerp(CFrame.new(-1.57922745,.094420433,4.76837158e-07,.98480773,.173648179,0,-0.173648149,.984807611,0,1.86264515e-09,0,.99999994),h)L.C0=L.C0:lerp(CFrame.fromEulerAnglesXYZ(math.pi/2-math.rad(30),0,0),h)k.C0=k.C0:lerp(CFrame.new(0,1.32139361,-0.383021832,1,0,0,0,.642787635,.766044438,0,-0.766044438,.642787635),h)runservice.Stepped:wait()end for Y=1,20,1 do damage(character["\076\101\102\116 \076\101\103"],"\100\114\111\112\107\105\099\107",3.5,3)damage(character["\082\105\103\104\116 \076\101\103"],"\100\114\111\112\107\105\099\107",3.5,3)runservice.Stepped:wait()end h:destroy()n:destroy()s:destroy();(coroutine.wrap(function()wait(.8);(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).PlatformStand=false end))()canattack=true cananimate=true else canattack=false cananimate=false if attacknumber==1 then local n=0 local s=0 for h=1,20,1 do n=n+1 damage(character["\082\105\103\104\116 \065\114\109"],"\112\117\110\099\104",1,2)k.C0=k.C0:lerp(CFrame.new(0,1.5,0)*CFrame.fromEulerAnglesXYZ(0,math.sin(n/3.25),0),.3)E.C0=E.C0:lerp((CFrame.new(-1.5,.5,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,-math.sin(n/3.25)*2))*CFrame.new(0,-0.5,0),.3)Y.C0=Y.C0:lerp((CFrame.new(1.5,.5,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,(-math.sin(n/3.25)*1.5-math.rad(10))+math.cos(n/11.25)))*CFrame.new(0,-0.5,0),.3)if h==3 then swishsound.PlaybackSpeed=1+math.random(-2,5)/12 swishsound:Play()end if h>10 then if h<17 then s=s+.048 end Y.C0=(Y.C0*CFrame.new(-s/2,0,0))*CFrame.fromEulerAnglesXYZ(0,0,-s)end L.C0=L.C0:lerp(CFrame.fromEulerAnglesXYZ(math.sin(n/3.25)/8,-math.sin(n/3.25)*2.3,0),.3)runservice.Stepped:wait()end attacknumber=2 elseif attacknumber==2 then local n=0 local s=0 for h=1,20,1 do n=n+1 damage(character["\076\101\102\116 \065\114\109"],"\112\117\110\099\104",1,2)k.C0=k.C0:lerp(CFrame.new(0,1.5,0)*CFrame.fromEulerAnglesXYZ(0,-math.sin(n/3.25),0),.3)E.C0=E.C0:lerp((CFrame.new(-1.5,.5,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,(math.sin(n/3.25)*1.5+math.rad(10))-math.cos(n/11.25)))*CFrame.new(0,-0.5,0),.3)Y.C0=Y.C0:lerp((CFrame.new(1.5,.5,0)*CFrame.fromEulerAnglesXYZ(math.pi/2,0,math.sin(n/3.25)*2))*CFrame.new(0,-0.5,0),.3)if h==3 then swishsound.PlaybackSpeed=1+math.random(-2,5)/12 swishsound:Play()end if h>10 then if h<17 then s=s+.048 end E.C0=(E.C0*CFrame.new(s/2,0,0))*CFrame.fromEulerAnglesXYZ(0,0,s)end L.C0=L.C0:lerp(CFrame.fromEulerAnglesXYZ(math.sin(n/3.25)/8,math.sin(n/3.25)*2.3,0),.3)runservice.Stepped:wait()end attacknumber=3 elseif attacknumber==3 then for n=0,1,.06 do Y.C0=Y.C0:lerp(CFrame.new(1.52833557,.510312557,.469846129,.939692497,-0.116977774,-0.321393788,.342020124,.321393818,.88302213,1.49011612e-08,-0.939692616,.342020124),n)E.C0=E.C0:lerp(CFrame.new(-1.64085674,.307911873,-0.228921652,.939692557,.342020094,0,-0.219846308,.604022801,-0.766044378,-0.262002587,.719846249,.642787576),n)L.C0=L.C0:lerp(CFrame.new(0,0,0,.98480773,0,-0.173648179,.0593911819,.939692616,.336824119,.163175911,-0.342020184,.925416529),n)k.C0=k.C0:lerp(CFrame.new(0,1.49240446,.0868239403,.999999881,-1.86264515e-09,0,3.7252903e-09,.984807789,-0.17364797,0,.17364794,.98480773),n)runservice.Stepped:wait()end swishsound.PlaybackSpeed=1+math.random(-2,5)/12 swishsound:Play()for n=.35,.65,.1 do Y.C0=Y.C0:lerp(CFrame.new(1.64085674,.201164246,2.38418579e-07,.939692497,-0.342020154,2.7474016e-08,.342020005,.939692378,-8.94069672e-08,-1.49011612e-08,1.1920929e-07,.999999762)*CFrame.fromEulerAnglesXYZ(.2,0,0),n)E.C0=E.C0:lerp(CFrame.new(-1.60084724,.132367611,.0618722439,.939692557,.262002587,.219846293,-0.219846219,.955111742,-0.198565692,-0.262002587,.138258308,.955111921),n)L.C0=L.C0:lerp(CFrame.new(.0180921555,-0.590343475,.105676413,.999541819,-0.0301466491,-0.00267778337,.0292237774,.938346207,.344459206,-0.0078715831,-0.344379693,.938797355),n)k.C0=k.C0:lerp(CFrame.new(9.53674316e-07,1.49240351,.0868239403,.999999881,2.32830644e-09,2.09547579e-08,-2.09547579e-09,.984807611,-0.173648,2.14204192e-08,.173647881,.984807551),n)runservice.Stepped:wait()end for n=0,1,.1 do damage(character["\082\105\103\104\116 \065\114\109"],"\117\112\112\101\114\099\117\116",1.5,2)Y.C0=Y.C0:lerp(CFrame.new(1.50000012,1.00000048,-9.53674316e-07,.999999881,-1.1920929e-07,9.12696123e-08,1.1920929e-07,-0.999999702,-8.80099833e-08,-5.21540642e-08,6.0768798e-08,-0.999999523),n)E.C0=E.C0:lerp(CFrame.new(-1.68977165,.475360394,.153648376,.682796299,.696747243,.219846189,-0.667948365,.717228174,-0.198565692,-0.296030015,-0.0112660835,.955111802),n)L.C0=L.C0:lerp(CFrame.new(0,0,0,.00488264859,.0593911037,.998222649,-0.184096873,.981225967,-0.0574793406,-0.98289597,-0.183489174,.0157247484),n)k.C0=k.C0:lerp(CFrame.new(-0.0558092594,1.49647284,.0200033188,.63302207,-0.11161878,-0.766044497,.0400089845,.992945373,-0.111618832,.773098826,.0400085226,.633021951),n)runservice.Stepped:wait()end attacknumber=4 elseif attacknumber==4 then local n=Instance.new("\087\101\108\100",character.Torso)n.Part0=character.Torso n.Part1=character["\082\105\103\104\116 \076\101\103"]n.C0=CFrame.new(.5,-2,0)n.Name="\082\105\103\104\116\076\101\103\087\101\108\100\112\117\110\099\104"local s=Instance.new("\087\101\108\100",character.Torso)s.Part0=character.Torso s.Part1=character["\076\101\102\116 \076\101\103"]s.C0=CFrame.new(-0.5,-2,0)s.Name="\076\101\102\116\076\101\103\087\101\108\100\112\117\110\099\104";(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed=(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed-10 for h=0,1,.06 do n.C0=n.C0:lerp(CFrame.new(.500000954,-1.86602545,-0.499999046,1,-1.49011665e-08,2.98023224e-08,-2.98023224e-08,.866025329,-0.5,2.98023224e-08,.5,.866025448),h)s.C0=s.C0:lerp(CFrame.new(-0.5,-0.999999523,1,1,-2.98023224e-08,-4.47034836e-08,-2.98023224e-08,-5.96046448e-08,.999999881,2.98023224e-08,-1,-1.78813934e-07),h)Y.C0=Y.C0:lerp(CFrame.new(1.50000095,.250000477,.433013439,1,-5.96046448e-08,-1.09083995e-08,-2.98023224e-08,.5,.866025388,2.98023224e-08,-0.866025567,.49999997),h)E.C0=E.C0:lerp(CFrame.new(-1.49999905,.75,-0.433012009,1,5.96046448e-08,3.99276701e-09,-4.47034836e-08,-0.50000006,-0.866025388,2.98023224e-08,.866025507,-0.50000006),h)L.C0=L.C0:lerp(CFrame.new(0,0,0,.866025329,-0.250000119,.433012873,0,.866025388,.5,-0.500000179,-0.433012664,.74999994),h)k.C0=k.C0:lerp(CFrame.new(-0.0434112549,1.49240398,.0751919746,.866025329,-0.0868241489,-0.492404073,-4.47034836e-08,.98480767,-0.173648179,.500000179,.150383696,.852868497),h)runservice.Stepped:wait()end swishsound.PlaybackSpeed=1+math.random(-3,5)/12 swishsound:Play()for h=0,1,.15 do damage(character["\076\101\102\116 \076\101\103"],"\107\105\099\107",1.5,3.5)n.C0=n.C0:lerp(CFrame.new(.5,-1.93969274,.342020035,1.00000024,-2.98023224e-08,0,-1.49011612e-08,.939692557,.342019916,0,-0.342019945,.939692676),h)s.C0=s.C0:lerp(CFrame.new(-0.500000477,-0.826352119,-0.984807968,1.00000024,2.98023224e-08,1.49011612e-08,-1.49011612e-08,-0.173648193,-0.984807611,0,.98480767,-0.173648223),h)Y.C0=Y.C0:lerp(CFrame.new(1.50000095,.116978168,.321393967,1.00000024,-1.49011612e-08,2.98023224e-08,2.98023224e-08,.766044378,.642787695,0,-0.642787814,.766044557),h)E.C0=E.C0:lerp(CFrame.new(-1.50000048,.116977692,.321393013,1.00000024,-1.49011612e-08,0,-1.49011612e-08,.766044438,.642787576,0,-0.642787576,.766044497),h)L.C0=L.C0:lerp(CFrame.new(0,0,0,.766044676,-0.111618795,-0.63302207,-1.68030141e-07,.98480773,-0.173648238,.642787516,.133022398,.754406631),h)k.C0=k.C0:lerp(CFrame.new(-0.0525569916,1.49498224,-0.0472278595,.663642108,-0.105113029,.74062866,-0.000909253955,.989964247,.141314477,-0.748049736,-0.0944556296,.656886339),h)runservice.Stepped:wait()end;(coroutine.wrap(function()for Y=0,1,.07 do s.C0=s.C0:lerp(CFrame.new(-0.5,-2,0),Y)n.C0=n.C0:lerp(CFrame.new(.5,-2,0),Y)runservice.Stepped:wait()end s:destroy()n:destroy();(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed=(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed+10 end))()attacknumber=1 end if mouseclick then(coroutine.wrap(function()local n=(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health while runservice.Stepped:wait()and mouseclick do cananimate=false if(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health<n then(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).PlatformStand=false;(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health=(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health+(n-(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health);(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).WalkSpeed=16 basssound.TimePosition=1.525 blocksound:Play()basssound:Play();(coroutine.wrap(function()local Y=(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health for E=1,20,1 do(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health=Y runservice.Stepped:wait()end end))()local Y=math.huge local E=nil for k,L in pairs(workspace:GetDescendants())do if L.ClassName=="\077\111\100\101\108"and L~=character then local k=L:findFirstChild("\072\101\097\100")local n=L:findFirstChildOfClass("\072\117\109\097\110\111\105\100")if n and k then if(k.Position-character.Head.Position).magnitude<10 and(k.Position-character.Head.Position).magnitude<Y then Y=(k.Position-character.Head.Position).magnitude E=L end end end end if E~=nil then character.Head.CFrame=CFrame.new(character.Head.Position,E.Head.Position)E.Head.CFrame=CFrame.new(E.Head.Position,character.Head.Position)local Y=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",E.Head)Y.MaxForce=Vector3.new(math.huge,0,math.huge)Y.Velocity=E.Head.CFrame.lookVector*-math.random(15,25)game.Debris:AddItem(Y,.2)damage(E.Head,"\098\108\111\099\107\101\100",3,.5)end local k=Instance.new("\066\111\100\121\086\101\108\111\099\105\116\121",character.Head)k.MaxForce=Vector3.new(math.huge,0,math.huge)k.Velocity=character.Head.CFrame.lookVector*-math.random(10,15)game.Debris:AddItem(k,.2)break end L.C0=L.C0:lerp(CFrame.new(0,0,0,.999663353,.0246764347,.00799234211,-0.0226141848,.980059326,-0.19741419,-0.0127044618,.197166979,.980287552)*CFrame.fromEulerAnglesXYZ(math.sin(tick())/20,0,0),.3)E.C0=E.C0:lerp(CFrame.new(-0.0263385773,.920211315,-1.15523124,.76604414,-0.642787278,7.17118382e-08,-0.604022741,-0.719846249,-0.342020154,.219846427,.262002707,-0.939692557)*CFrame.new(0,math.cos(tick())/20,0),.3)k.C0=k.C0:lerp(CFrame.new(-9.53674316e-07,1.49240446,-0.0868245959,.999999642,-1.33004505e-08,-1.58324838e-08,-1.51339918e-08,.98480773,.173648581,-1.3038516e-08,-0.1736487,.984807611)*CFrame.fromEulerAnglesXYZ(-math.sin(tick())/20,0,0),.3)Y.C0=Y.C0:lerp(CFrame.new(.0363903046,.923784733,-1.1914165,.721851647,.684478879,-0.102069058,.613821924,-0.701371074,-0.362355202,-0.319613039,.198914632,-0.926434338)*CFrame.new(0,math.cos(tick())/20,0),.3)n=(character:findFirstChildOfClass("\072\117\109\097\110\111\105\100")).Health end cananimate=true canattack=true end))()else canattack=true cananimate=true end end end end)

tool.Activated:connect(function()
	if owner ~= nil and character ~= nil and canattack then
		local rightarmweld = character.Torso:findFirstChild("RightArmWeldpunch")
		local leftarmweld = character.Torso:findFirstChild("LeftArmWeldpunch")
		local headweld = character.Torso:findFirstChild("HeadWeldpunch")
		local rootweld = character.HumanoidRootPart:findFirstChild("HumanoidRootPartWeldpunch")
		for i,v in pairs(workspace:GetDescendants()) do
			if v.ClassName == "Model" and v ~= character then
				local humanoid = v:findFirstChildOfClass("Humanoid")
				local headepic = v:findFirstChild("Head")
				if humanoid and headepic then
					if (headepic.Position - character.HumanoidRootPart.Position).magnitude < 5 and humanoid.PlatformStand and humanoid.Health > 0 then
						local rightlegweld = Instance.new("Weld", character.Torso)
						rightlegweld.Part0 = character.Torso
						rightlegweld.Part1 = character["Right Leg"]
						rightlegweld.C0 = CFrame.new(0.5,-2,0)
						rightlegweld.Name = "RightLegWeldbat"
						local leftlegweld = Instance.new("Weld", character.Torso)
						leftlegweld.Part0 = character.Torso
						leftlegweld.Part1 = character["Left Leg"]
						leftlegweld.C0 = CFrame.new(-0.5,-2,0)
						leftlegweld.Name = "LeftLegWeldbat"
						character:findFirstChildOfClass("Humanoid").WalkSpeed = 0
						for i = 0,1 , 0.1 do
							cananimate = false
							canattack = false
							character.HumanoidRootPart.CFrame = CFrame.new(character.HumanoidRootPart.Position, Vector3.new(headepic.Position.x,character.HumanoidRootPart.Position.y,headepic.Position.z))
							rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5, -0.75804615, -1.03058243, 1, 0, 0, 0, 1, 5.96046448e-08, 0, -5.96046448e-08, 1),i)
							leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5, -1.93969202, 0.342020512, 1, 0, 0, 0, 0.939692557, 0.342020333, 0, -0.342020392, 0.939692557),i)
							rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.5,0,0),i)
							leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.5,0,0),i)
							rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692557, -0.342020363, 0, 0.342020363, 0.939692557),i)
							headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.38302135, -0.32139349, 1, 0, 0, 0, 0.766044259, 0.642787755, 0, -0.642787755, 0.766044259),i)
							runservice.Stepped:wait()
						end
						for i = 0,1 , 0.15 do
							rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5, -1.93246841, -1.17564046, 1, 0, 0, 0, 0.939692557, -0.342019618, 0, 0.342019647, 0.939692676),i)
							leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5, -1.98480701, 0.173648238, 1, 0, 0, 0, 0.984807491, 0.173648387, 0, -0.173648402, 0.984807551),i)
							rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.64085674, 0.201163769, -2.38418579e-07, 0.939692616, -0.342020124, 0, 0.342020094, 0.939692497, 0, 0, 0, 0.99999994),i)
							leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.64085674, 0.201163769, -2.38418579e-07, 0.939692616, 0.342020124, 0, -0.342020094, 0.939692497, 0, 0, 0, 0.99999994),i)
							rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, -0.0347294807, -0.396961689, 1, 0, 0, 0, 0.98480773, 0.173648179, 0, -0.173648179, 0.98480773),i)
							headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.38302231, -0.321393967, 1, 0, 0, 0, 0.766044259, 0.642787695, 0, -0.642787695, 0.766044259),i)
							runservice.Stepped:wait()
						end
						damage(character["Right Leg"], "stomp", 1, 3.5)
						coroutine.wrap(function()
							for i = 0,1 ,0.07 do
								leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5,-2,0),i)
								rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5,-2,0),i)
								runservice.Stepped:wait()
							end
							leftlegweld:destroy()
							rightlegweld:destroy()
							character:findFirstChildOfClass("Humanoid").WalkSpeed = 16
						end)()
						cananimate = true
						canattack = true
						return
					end
				end
			end
		end
		if character:findFirstChildOfClass("Humanoid").Jump then
			canattack = false
			cananimate = false
			character:findFirstChildOfClass("Humanoid").PlatformStand = true
			local rightlegweld = Instance.new("Weld", character.Torso)
			rightlegweld.Part0 = character.Torso
			rightlegweld.Part1 = character["Right Leg"]
			rightlegweld.C0 = CFrame.new(0.5,-2,0)
			rightlegweld.Name = "RightLegWeldpunch"
			local leftlegweld = Instance.new("Weld", character.Torso)
			leftlegweld.Part0 = character.Torso
			leftlegweld.Part1 = character["Left Leg"]
			leftlegweld.C0 = CFrame.new(-0.5,-2,0)
			leftlegweld.Name = "LeftLegWeldpunch"
			local vel = Instance.new("BodyVelocity", character.HumanoidRootPart)
			vel.MaxForce = Vector3.new(math.huge,600,math.huge)
			vel.Velocity = character.HumanoidRootPart.CFrame.lookVector * 20
			for i = 0,1 , 0.13 do
				damage(character["Left Leg"], "dropkick", 3.5, 3)
				damage(character["Right Leg"], "dropkick", 3.5, 3)
				rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5, -1, -0.400000095, 0.999999881, 0, 0, 0, 0.999999881, 0, 0, -1.49011612e-08, 0.99999994),i)
				leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5, -1, -0.400000095, 0.999999881, 0, 0, 0, 0.999999881, 0, 0, -1.49011612e-08, 0.99999994),i)
				rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.64085579, 0.201163769, 0, 0.939692438, -0.342020065, 0, 0.342020094, 0.939692438, 0, 0, 0, 0.99999994),i)
				leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.64085579, 0.201163769, 0, 0.939692438, 0.342020065, 0, -0.342020094, 0.939692438, 0, 0, 0, 0.99999994),i)
				rootweld.C0 = rootweld.C0:lerp(CFrame.fromEulerAnglesXYZ(math.pi/2,0,0),i)
				headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.24999976, -0.433012486, 0.999999881, 0, 0, 0, 0.5, 0.866025448, 0, -0.866025448, 0.5),i)
				runservice.Stepped:wait()
			end
			swishsound.PlaybackSpeed = 1+(math.random(-2,5)/12)
			swishsound:Play()
			for i = 0,1 , 0.13 do
				damage(character["Left Leg"], "dropkick", 3.5, 3)
				damage(character["Right Leg"], "dropkick", 3.5, 3)
				rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 1.49011612e-08, 0.99999994),i)
				leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5, -2, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 1.49011612e-08, 0.99999994),i)
				rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.57922745, 0.094420433, 4.76837158e-07, 0.98480773, -0.173648179, 0, 0.173648149, 0.984807611, 0, -1.86264515e-09, 0, 0.99999994),i)
				leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.57922745, 0.094420433, 4.76837158e-07, 0.98480773, 0.173648179, 0, -0.173648149, 0.984807611, 0, 1.86264515e-09, 0, 0.99999994),i)
				rootweld.C0 = rootweld.C0:lerp(CFrame.fromEulerAnglesXYZ((math.pi/2)-math.rad(30),0,0),i)
				headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.32139361, -0.383021832, 1, 0, 0, 0, 0.642787635, 0.766044438, 0, -0.766044438, 0.642787635),i)
				runservice.Stepped:wait()
			end
			for i = 1,20 do
				damage(character["Left Leg"], "dropkick", 3.5, 3)
				damage(character["Right Leg"], "dropkick", 3.5, 3)
				runservice.Stepped:wait()
			end
			vel:destroy()
			rightlegweld:destroy()
			leftlegweld:destroy()
			coroutine.wrap(function()
				wait(0.8)
				character:findFirstChildOfClass("Humanoid").PlatformStand = false
			end)()
			canattack = true
			cananimate = true
		else
			canattack = false
			cananimate = false
			if attacknumber == 1 then
				local sine = 0
				local tiltval = 0
				for i = 1,20 do --17 and sine 3 
					sine = sine + 1
					damage(character["Right Arm"], "punch", 1, 2)
					headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0) * CFrame.fromEulerAnglesXYZ(0,math.sin(sine/3.25),0),0.3)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,-math.sin(sine/3.25)*2) * CFrame.new(0,-0.5,0),0.3)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,(-math.sin(sine/3.25)*1.5)-math.rad(10)+(math.cos(sine/11.25))) * CFrame.new(0,-0.5,0),0.3) 
					if i == 3 then
						swishsound.PlaybackSpeed = 1+(math.random(-2,5)/12)
						swishsound:Play()
					end
					if i > 10 then
						if i < 17 then
							tiltval = tiltval + 0.048
						end
						rightarmweld.C0 = rightarmweld.C0 * CFrame.new(-tiltval/2,0,0) * CFrame.fromEulerAnglesXYZ(0,0,-tiltval)
					end
					rootweld.C0 = rootweld.C0:lerp(CFrame.fromEulerAnglesXYZ(math.sin(sine/3.25)/8,-math.sin(sine/3.25)*2.3,0), 0.3)
					runservice.Stepped:wait()
				end
				attacknumber = 2
			elseif attacknumber == 2 then
				local sine = 0
				local tiltval = 0
				for i = 1,20 do --17 and sine 3 
					sine = sine + 1
					damage(character["Left Arm"], "punch", 1, 2)
					headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0) * CFrame.fromEulerAnglesXYZ(0,-math.sin(sine/3.25),0),0.3)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,(math.sin(sine/3.25)*1.5)+math.rad(10)-(math.cos(sine/11.25))) * CFrame.new(0,-0.5,0),0.3)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.pi/2,0,math.sin(sine/3.25)*2) * CFrame.new(0,-0.5,0),0.3) 
					if i == 3 then
						swishsound.PlaybackSpeed = 1+(math.random(-2,5)/12)
						swishsound:Play()
					end
					if i > 10 then
						if i < 17 then
							tiltval = tiltval + 0.048
						end
						leftarmweld.C0 = leftarmweld.C0 * CFrame.new(tiltval/2,0,0) * CFrame.fromEulerAnglesXYZ(0,0,tiltval)
					end
					rootweld.C0 = rootweld.C0:lerp(CFrame.fromEulerAnglesXYZ(math.sin(sine/3.25)/8,math.sin(sine/3.25)*2.3,0), 0.3)
					runservice.Stepped:wait()
				end
				attacknumber = 3
			elseif attacknumber == 3 then
				for i = 0,1 , 0.06 do
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.52833557, 0.510312557, 0.469846129, 0.939692497, -0.116977774, -0.321393788, 0.342020124, 0.321393818, 0.88302213, 1.49011612e-08, -0.939692616, 0.342020124),i)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.64085674, 0.307911873, -0.228921652, 0.939692557, 0.342020094, 0, -0.219846308, 0.604022801, -0.766044378, -0.262002587, 0.719846249, 0.642787576),i)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.98480773, 0, -0.173648179, 0.0593911819, 0.939692616, 0.336824119, 0.163175911, -0.342020184, 0.925416529),i)
					headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49240446, 0.0868239403, 0.999999881, -1.86264515e-09, 0, 3.7252903e-09, 0.984807789, -0.17364797, 0, 0.17364794, 0.98480773),i)
					runservice.Stepped:wait()
				end
				swishsound.PlaybackSpeed = 1+(math.random(-2,5)/12)
				swishsound:Play()
				for i = 0.35,0.65 , 0.1 do
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.64085674, 0.201164246, 2.38418579e-07, 0.939692497, -0.342020154, 2.7474016e-08, 0.342020005, 0.939692378, -8.94069672e-08, -1.49011612e-08, 1.1920929e-07, 0.999999762) * CFrame.fromEulerAnglesXYZ(0.2,0,0),i)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.60084724, 0.132367611, 0.0618722439, 0.939692557, 0.262002587, 0.219846293, -0.219846219, 0.955111742, -0.198565692, -0.262002587, 0.138258308, 0.955111921),i)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0.0180921555, -0.590343475, 0.105676413, 0.999541819, -0.0301466491, -0.00267778337, 0.0292237774, 0.938346207, 0.344459206, -0.0078715831, -0.344379693, 0.938797355),i)
					headweld.C0 = headweld.C0:lerp(CFrame.new(9.53674316e-07, 1.49240351, 0.0868239403, 0.999999881, 2.32830644e-09, 2.09547579e-08, -2.09547579e-09, 0.984807611, -0.173648, 2.14204192e-08, 0.173647881, 0.984807551),i)
					runservice.Stepped:wait()
				end
				for i = 0,1 , 0.1 do
					damage(character["Right Arm"], "uppercut", 1.5, 2)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.50000012, 1.00000048, -9.53674316e-07, 0.999999881, -1.1920929e-07, 9.12696123e-08, 1.1920929e-07, -0.999999702, -8.80099833e-08, -5.21540642e-08, 6.0768798e-08, -0.999999523),i)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.68977165, 0.475360394, 0.153648376, 0.682796299, 0.696747243, 0.219846189, -0.667948365, 0.717228174, -0.198565692, -0.296030015, -0.0112660835, 0.955111802),i)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.00488264859, 0.0593911037, 0.998222649, -0.184096873, 0.981225967, -0.0574793406, -0.98289597, -0.183489174, 0.0157247484),i)
					headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0558092594, 1.49647284, 0.0200033188, 0.63302207, -0.11161878, -0.766044497, 0.0400089845, 0.992945373, -0.111618832, 0.773098826, 0.0400085226, 0.633021951),i)
					runservice.Stepped:wait()
				end
				attacknumber = 4
			elseif attacknumber == 4 then
				local rightlegweld = Instance.new("Weld", character.Torso)
				rightlegweld.Part0 = character.Torso
				rightlegweld.Part1 = character["Right Leg"]
				rightlegweld.C0 = CFrame.new(0.5,-2,0)
				rightlegweld.Name = "RightLegWeldpunch"
				local leftlegweld = Instance.new("Weld", character.Torso)
				leftlegweld.Part0 = character.Torso
				leftlegweld.Part1 = character["Left Leg"]
				leftlegweld.C0 = CFrame.new(-0.5,-2,0)
				leftlegweld.Name = "LeftLegWeldpunch"
				character:findFirstChildOfClass("Humanoid").WalkSpeed = character:findFirstChildOfClass("Humanoid").WalkSpeed - 10
				for i = 0,1 , 0.06 do
					rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.500000954, -1.86602545, -0.499999046, 1, -1.49011665e-08, 2.98023224e-08, -2.98023224e-08, 0.866025329, -0.5, 2.98023224e-08, 0.5, 0.866025448),i)
					leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5, -0.999999523, 1, 1, -2.98023224e-08, -4.47034836e-08, -2.98023224e-08, -5.96046448e-08, 0.999999881, 2.98023224e-08, -1, -1.78813934e-07),i)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.50000095, 0.250000477, 0.433013439, 1, -5.96046448e-08, -1.09083995e-08, -2.98023224e-08, 0.5, 0.866025388, 2.98023224e-08, -0.866025567, 0.49999997),i)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.49999905, 0.75, -0.433012009, 1, 5.96046448e-08, 3.99276701e-09, -4.47034836e-08, -0.50000006, -0.866025388, 2.98023224e-08, 0.866025507, -0.50000006),i)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.866025329, -0.250000119, 0.433012873, 0, 0.866025388, 0.5, -0.500000179, -0.433012664, 0.74999994),i)
					headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0434112549, 1.49240398, 0.0751919746, 0.866025329, -0.0868241489, -0.492404073, -4.47034836e-08, 0.98480767, -0.173648179, 0.500000179, 0.150383696, 0.852868497),i)
					runservice.Stepped:wait()
				end
				swishsound.PlaybackSpeed = 1+(math.random(-3,5)/12)
				swishsound:Play()
				for i = 0,1 , 0.15 do
					damage(character["Left Leg"], "kick", 1.5, 3.5)
					rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5, -1.93969274, 0.342020035, 1.00000024, -2.98023224e-08, 0, -1.49011612e-08, 0.939692557, 0.342019916, 0, -0.342019945, 0.939692676),i)
					leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.500000477, -0.826352119, -0.984807968, 1.00000024, 2.98023224e-08, 1.49011612e-08, -1.49011612e-08, -0.173648193, -0.984807611, 0, 0.98480767, -0.173648223),i)
					rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(1.50000095, 0.116978168, 0.321393967, 1.00000024, -1.49011612e-08, 2.98023224e-08, 2.98023224e-08, 0.766044378, 0.642787695, 0, -0.642787814, 0.766044557),i)
					leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-1.50000048, 0.116977692, 0.321393013, 1.00000024, -1.49011612e-08, 0, -1.49011612e-08, 0.766044438, 0.642787576, 0, -0.642787576, 0.766044497),i)
					rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.766044676, -0.111618795, -0.63302207, -1.68030141e-07, 0.98480773, -0.173648238, 0.642787516, 0.133022398, 0.754406631),i)
					headweld.C0 = headweld.C0:lerp(CFrame.new(-0.0525569916, 1.49498224, -0.0472278595, 0.663642108, -0.105113029, 0.74062866, -0.000909253955, 0.989964247, 0.141314477, -0.748049736, -0.0944556296, 0.656886339),i)
					runservice.Stepped:wait()
				end
				coroutine.wrap(function()
					for i = 0,1 ,0.07 do
						leftlegweld.C0 = leftlegweld.C0:lerp(CFrame.new(-0.5,-2,0),i)
						rightlegweld.C0 = rightlegweld.C0:lerp(CFrame.new(0.5,-2,0),i)
						runservice.Stepped:wait()
					end
					leftlegweld:destroy()
					rightlegweld:destroy()
					character:findFirstChildOfClass("Humanoid").WalkSpeed = character:findFirstChildOfClass("Humanoid").WalkSpeed + 10
				end)()
				attacknumber = 1
			end
			if mouseclick then
				coroutine.wrap(function()
					local humhp = character:findFirstChildOfClass("Humanoid").Health
					while runservice.Stepped:wait() and mouseclick do
						cananimate = false
						if character:findFirstChildOfClass("Humanoid").Health < humhp then
							character:findFirstChildOfClass("Humanoid").PlatformStand = false
							character:findFirstChildOfClass("Humanoid").Health = character:findFirstChildOfClass("Humanoid").Health + (humhp-character:findFirstChildOfClass("Humanoid").Health)
							character:findFirstChildOfClass("Humanoid").WalkSpeed = 16
							basssound.TimePosition = 1.525
							blocksound:Play()
							basssound:Play()
							coroutine.wrap(function()
								local thehpp = character:findFirstChildOfClass("Humanoid").Health
								for i = 1,20 do
									character:findFirstChildOfClass("Humanoid").Health = thehpp
									runservice.Stepped:wait()
								end
							end)()
							local nearestdistance = math.huge
							local nearestplr = nil
							for i,v in pairs(workspace:GetDescendants()) do
								if v.ClassName == "Model" and v ~= character then
									local headdw = v:findFirstChild("Head")
									local humanoiddw = v:findFirstChildOfClass("Humanoid")
									if humanoiddw and headdw then
										if (headdw.Position - character.Head.Position).magnitude < 10 and (headdw.Position - character.Head.Position).magnitude < nearestdistance then
											nearestdistance = (headdw.Position - character.Head.Position).magnitude
											nearestplr = v
										end
									end
								end
							end
							if nearestplr ~= nil then
								character.Head.CFrame = CFrame.new(character.Head.Position, nearestplr.Head.Position)
								nearestplr.Head.CFrame = CFrame.new(nearestplr.Head.Position, character.Head.Position)
								local noon = Instance.new("BodyVelocity", nearestplr.Head)
								noon.MaxForce = Vector3.new(math.huge,0,math.huge)
								noon.Velocity = nearestplr.Head.CFrame.lookVector * -math.random(15,25)
								game.Debris:AddItem(noon, 0.2)
								damage(nearestplr.Head, "blocked", 3, 0.5)
							end
							local velocity = Instance.new("BodyVelocity", character.Head)
							velocity.MaxForce = Vector3.new(math.huge,0,math.huge)
							velocity.Velocity = character.Head.CFrame.lookVector * -math.random(10,15)
							game.Debris:AddItem(velocity, 0.2)
							break
						end
						rootweld.C0 = rootweld.C0:lerp(CFrame.new(0, 0, 0, 0.999663353, 0.0246764347, 0.00799234211, -0.0226141848, 0.980059326, -0.19741419, -0.0127044618, 0.197166979, 0.980287552) * CFrame.fromEulerAnglesXYZ(math.sin(tick())/20,0,0),0.3)
						leftarmweld.C0 = leftarmweld.C0:lerp(CFrame.new(-0.0263385773, 0.920211315, -1.15523124, 0.76604414, -0.642787278, 7.17118382e-08, -0.604022741, -0.719846249, -0.342020154, 0.219846427, 0.262002707, -0.939692557) * CFrame.new(0,math.cos(tick())/20,0),0.3)
						headweld.C0 = headweld.C0:lerp(CFrame.new(-9.53674316e-07, 1.49240446, -0.0868245959, 0.999999642, -1.33004505e-08, -1.58324838e-08, -1.51339918e-08, 0.98480773, 0.173648581, -1.3038516e-08, -0.1736487, 0.984807611) * CFrame.fromEulerAnglesXYZ(-math.sin(tick())/20,0,0),0.3)
						rightarmweld.C0 = rightarmweld.C0:lerp(CFrame.new(0.0363903046, 0.923784733, -1.1914165, 0.721851647, 0.684478879, -0.102069058, 0.613821924, -0.701371074, -0.362355202, -0.319613039, 0.198914632, -0.926434338) * CFrame.new(0,math.cos(tick())/20,0),0.3)
						humhp = character:findFirstChildOfClass("Humanoid").Health
					end
					cananimate = true
					canattack = true
				end)()
			else
				canattack = true
				cananimate = true
			end
		end
	end
end)