Run it
Copy the script and paste it into your executor.
Player=:().LocalPlayer
Character=Player.Character
PlayerGui=Player.PlayerGui
Backpack=Player.Backpack
Torso=Character.Torso
Head=Character.Head
Humanoid=Character.Humanoid
m=.(,Character)
LeftArm=Character[]
LeftLeg=Character[]
RightArm=Character[]
RightLeg=Character[]
LS=Torso[]
LH=Torso[]
RS=Torso[]
RH=Torso[]
Face = Head.face
Neck=Torso.Neck
it=.new
attacktype=
vt=.new
cf=.new
euler=.fromEulerAnglesXYZ
angles=.Angles
cloaked=
necko=(, , , -, -, -, , , , , , )
necko2=(, -, , -, -, -, , , , , , )
LHC0=(-,-,,-,-,-,,,,,,)
LHC1=(-,,,-,-,-,,,,,,)
RHC0=(,-,,,,,,,,-,-,-)
RHC1=(,,,,,,,,,-,-,-)
RootPart=Character.HumanoidRootPart
RootJoint=RootPart.RootJoint
RootCF=(-,,)
attack =
attackdebounce =
deb=
equipped=
hand=
MMouse=
combo=
mana=
trispeed=
pathtrans=
attackmode=
idle=
Anim=
Effects={}
gun=
shoot=
player=
cloak=
lightcolor=
Color1=Torso.BrickColor
fengui=()
fengui.Parent=Player.PlayerGui
fengui.Name=
fenframe=()
fenframe.Parent=fengui
fenframe.BackgroundColor3=.(,,)
fenframe.BackgroundTransparency=
fenframe.BorderColor3=.(,,)
fenframe.Size=.(, , , )
fenframe.Position=.(,,,)
fenbarmana1=()
fenbarmana1.Parent=fenframe
fenbarmana1.Text=
fenbarmana1.BackgroundTransparency=
fenbarmana1.BackgroundColor3=.(,,)
fenbarmana1.SizeConstraint=
fenbarmana1.TextXAlignment=
fenbarmana1.TextYAlignment=
fenbarmana1.Position=.(,,,)
fenbarmana1.Size=.(,,,)
fenbarmana2=()
fenbarmana2.Parent=fenframe
fenbarmana2.Text=
fenbarmana2.BackgroundTransparency=
fenbarmana2.BackgroundColor3=Torso.Color
fenbarmana2.SizeConstraint=
fenbarmana2.TextXAlignment=
fenbarmana2.TextYAlignment=
fenbarmana2.Position=.(,,,)
fenbarmana2.Size=.(*mana/,,,)
fenbarmana3=()
fenbarmana3.Parent=fenframe
fenbarmana3.Text=
fenbarmana3.BackgroundTransparency=
fenbarmana3.BackgroundColor3=.(Col1,Col2,Col3)
fenbarmana3.SizeConstraint=
fenbarmana3.TextXAlignment=
fenbarmana3.TextYAlignment=
fenbarmana3.Position=.(,,,)
fenbarmana3.Size=.(,,,)
fenbarmana4=()
fenbarmana4.Parent=fenframe
fenbarmana4.Text=..mana..
fenbarmana4.BackgroundTransparency=
fenbarmana4.BackgroundColor3=.(,,)
fenbarmana4.SizeConstraint=
fenbarmana4.TextXAlignment=
fenbarmana4.TextYAlignment=
fenbarmana4.Position=.(,,-,)
fenbarmana4.Size=.(,,,)
fenbarmana4.FontSize=
fenbarmana4.TextStrokeTransparency=
fenbarmana4.TextColor=BrickColor.()
mouse=Player:()
RSH, LSH=,
RW, LW=.(), .()
RW.Name= LW.Name=
LH=Torso[]
RH=Torso[]
TorsoColor=Torso.BrickColor
(Part)
Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = ,,,,,
player=Player
ch=Character
RSH=ch.Torso[]
LSH=ch.Torso[]
RSH.Parent=
LSH.Parent=
RW.Name=
RW.Part0=ch.Torso
RW.C0=(, , )
RW.C1=(, , )
RW.Part1=ch[]
RW.Parent=ch.Torso
LW.Name=
LW.Part0=ch.Torso
LW.C0=(-, , )
LW.C1=(, , )
LW.Part1=ch[]
LW.Parent=ch.Torso
(formfactor,parent,reflectance,transparency,brickcolor,name,size)
fp=()
fp.formFactor=formfactor
fp.Parent=parent
fp.Reflectance=reflectance
fp.Transparency=transparency
fp.CanCollide=
fp.Locked=
fp.BrickColor=brickcolor
fp.Name=name
fp.Size=size
fp.Position=Torso.Position
(fp)
fp.Material=
fp:()
fp
(Mesh,part,meshtype,meshid,offset,scale)
mesh=(Mesh)
mesh.Parent=part
Mesh==
mesh.MeshType=meshtype
meshid~=
mesh.MeshId=..meshid
mesh.Offset=offset
mesh.Scale=scale
mesh
(parent,part0,part1,c0)
weld=()
weld.Parent=parent
weld.Part0=part0
weld.Part1=part1
weld.C0=c0
weld
Color1=Torso.BrickColor
bodvel=.()
bg=.()
(num)
num== num==
:.Stepped:()
i=,num
:.Stepped:()
so = (id,par,vol,pit)
.(.(()
sou = .(,par )
sou.Volume=vol
sou.Pitch=pit
sou.SoundId=id
()
sou:()
:():(sou,)
))
(a,b,t)
qa = {(a)}
qb = {(b)}
ax, ay, az = a.x, a.y, a.z
bx, by, bz = b.x, b.y, b.z
_t = -t
(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,(qa, qb, t))
(cf)
mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:()
trace = m00 + m11 + m22
trace >
s = .( + trace)
recip = /s
(m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*
i =
m11 > m00
i =
m22 > (i == m00 m11)
i =
i ==
s = .(m00-m11-m22+)
recip = /s
*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
i ==
s = .(m11-m22-m00+)
recip = /s
(m01+m10)*recip, *s, (m21+m12)*recip, (m02-m20)*recip
i ==
s = .(m22-m00-m11+)
recip = /s (m02+m20)*recip, (m12+m21)*recip, *s, (m10-m01)*recip
(px, py, pz, x, y, z, w)
xs, ys, zs = x + x, y + y, z + z
wx, wy, wz = w*xs, w*ys, w*zs
xx = x*xs
xy = x*ys
xz = x*zs
yy = y*ys
yz = y*zs
zz = z*zs
.(px, py, pz,-(yy+zz), xy - wz, xz + wy,xy + wz, -(xx+zz), yz - wx, xz - wy, yz + wx, -(xx+yy))
(a, b, t)
cosTheta = a[]*b[] + a[]*b[] + a[]*b[] + a[]*b[]
startInterp, finishInterp;
cosTheta >=
( - cosTheta) >
theta = .(cosTheta)
invSinTheta = /.(theta)
startInterp = .((-t)*theta)*invSinTheta
finishInterp = .(t*theta)*invSinTheta
startInterp = -t
finishInterp = t
(+cosTheta) >
theta = .(-cosTheta)
invSinTheta = /.(theta)
startInterp = .((t-)*theta)*invSinTheta
finishInterp = .(t*theta)*invSinTheta
startInterp = t-
finishInterp = t
a[]*startInterp + b[]*finishInterp, a[]*startInterp + b[]*finishInterp, a[]*startInterp + b[]*finishInterp, a[]*startInterp + b[]*finishInterp
(Pos, Dir, Max, Ignore)
:():(Ray.(Pos, Dir.unit * (Max )), Ignore)
(brickcolor,cframe,x1,y1,z1,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
CF=prt.CFrame
.(.((Part,Mesh,TehCF)
i=,,
()
Part.CFrame=CF*(,,-)
i=,,
()
Mesh.Scale=Mesh.Scale
i=,,
()
Part.Transparency=i
Part.Parent=
),prt,msh,CF)
(brickcolor,cframe,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame*(.(-,),.(-,),.(-,))
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh)
(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
wld=(prt,prt,Parent,cframe)
:():(prt,)
.(.((Part,Mesh,Weld)
i=,,
()
Weld.C0=(.(-,),.(-,),.(-,))*cframe
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh,wld)
(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
wld=(prt,prt,Parent,(,,)*(,,))
:():(prt,)
.(.((Part,Mesh,Weld)
i=,,
()
Weld.C0=(i*,,)
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh,wld)
(brickcolor,cframe,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
prt2=(,,,,brickcolor,,(,,))
prt2.Anchored=
prt2.CFrame=cframe*(.(-,),.(-,),.(-,))
msh2=(,prt2,,,(,,),(,,))
:():(prt2,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame*(,,)
Part.Parent=
),prt2,msh2)
i=,,*
()
Part.CFrame=Part.CFrame
Mesh.Scale=((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
Part.Parent=
),prt,msh)
(brickcolor,cframe,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh)
(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe*(x2,y2,z2)
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh)
(brickcolor,cframe,x1,y1,z1)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe*(.(-,),.(-,),.(-,))
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,CF,Numbb,randnumb)
CF=Part.CFrame
Numbb=
randnumb=.()/
rand1=.()/
i=,,rand1
()
CF=CF*(,.()/,)
Part.CFrame=CF*(Numbb,,)
Part.Transparency=i
Numbb=Numbb+randnumb
Part.Parent=
),prt,CF,Numbb,randnumb)
(brickcolor,cframe,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame*(,,)
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh)
(brickcolor,cframe,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame*(,y3/,)
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh)
(brickcolor,cframe,x,y,z,x1,y1,z1,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe*(x,y,z)
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh,ex,why,zee)
num=.()
num2=.(-,)+.()
numm=
i=,,*
()
Part.CFrame=cframe*(,numm*num*,)*(ex,why,zee)*(-i*,num2,)
Part.Transparency=i
numm=numm+
Part.Parent=
Mesh.Parent=
),prt,msh,x,y,z)
Damagefunc=(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
hit.Parent==
h=hit.Parent:()
_,v (hit.Parent:())
v:()
h=v
hit.Parent.Parent:()~=
h=hit.Parent.Parent:()
hit.Parent.className==
hit=hit.Parent.Parent:()
h~= hit.Parent.Name~=Character.Name hit.Parent:()~=
hit.Parent:()~= hit.Parent.DebounceHit.Value==
c=.()
c.Name=
c.Value=:().LocalPlayer
c.Parent=h
:():(c,)
Damage=.(minim,maxim)
blocked=
block=hit.Parent:()
block~=
(block.className)
block.className==
block.Value>
blocked=
decreaseblock==
block.Value=block.Value-
block.className==
block.Value>
blocked=
decreaseblock~=
block.Value=block.Value-
blocked==
h.Health=h.Health-Damage
(hit.Parent,Damage,,TorsoColor)
h.Health=h.Health-(Damage/)
(hit.Parent,Damage/,,BrickColor.())
Type==
hum=hit.Parent.Humanoid
hum.PlatformStand=
.(.((HHumanoid)
()
HHumanoid.PlatformStand=
),hum)
angle=(hit.Position-(Property.Position+.(,,))).unit
bodvol=.()
bodvol.velocity=angle*knockback
bodvol.P=
bodvol.maxForce=.(, , )
bodvol.Parent=hit
rl=.()
rl.P=
rl.maxTorque=.(,,)*
rl.angularvelocity=.(.(-,),.(-,),.(-,))
rl.Parent=hit
:():(bodvol,)
:():(rl,)
Type==
vp=.()
vp.P=
vp.maxForce=.(.huge,,.huge)
KnockbackType==
vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/
KnockbackType==
vp.velocity=Property.CFrame.lookVector*knockback
knockback>
vp.Parent=hit.Parent.Torso
:():(vp,)
Type==
bodyVelocity=.()
bodyVelocity.velocity=(,,)
bodyVelocity.P=
bodyVelocity.maxForce=.(, , )
bodyVelocity.Parent=hit
:():(bodyVelocity,)
rl=.()
rl.P=
rl.maxTorque=.(,,)*
rl.angularvelocity=.(.(-,),.(-,),.(-,))
rl.Parent=hit
:():(rl,)
Type==
bp=.()
bp.P=
bp.D=
bp.maxForce=.(.huge,.huge,.huge)
bp.position=hit.Parent.Torso.Position
bp.Parent=hit.Parent.Torso
:():(bp,)
Type==
Targetting==
ZTarget=hit.Parent.Torso
.(.((Part)
(,Part,,)
()
(,Part,,)
),ZTarget)
TargHum=ZTarget.Parent:()
targetgui=.()
targetgui.Parent=ZTarget
targetgui.Size=.(,,,)
targ=.()
targ.Parent=targetgui
targ.BackgroundTransparency=
targ.Image=
targ.Size=.(,,,)
cam.CameraType=
cam.CoordinateFrame=.(Head.CFrame.p,ZTarget.Position)
dir=.(cam.CoordinateFrame.lookVector.x,,cam.CoordinateFrame.lookVector.z)
.CurrentCamera.CoordinateFrame=.(Head.CFrame.p,ZTarget.Position)
Targetting=
RocketTarget=ZTarget
i=,Property
Humanoid.Health> Character.Parent~= TargHum.Health> TargHum.Parent~= Targetting==
()
cam.CoordinateFrame=.(Head.CFrame.p,ZTarget.Position)
dir=.(cam.CoordinateFrame.lookVector.x,,cam.CoordinateFrame.lookVector.z)
cam.CoordinateFrame=.(Head.CFrame.p,ZTarget.Position)*(,,)*(-,,)
Targetting=
RocketTarget=
targetgui.Parent=
cam.CameraType=
debounce=.()
debounce.Name=
debounce.Parent=hit.Parent
debounce.Value=
:():(debounce,Delay)
c=.()
c.Name=
c.Value=Player
c.Parent=h
:():(c,)
CRIT=
hitDeb=
AttackPos=
showDamage=(Char,Dealt,du,Color)
m=.()
m.Name=(Dealt)
h=.()
h.Health=
h.MaxHealth=
h.Parent=m
c=.()
c.Transparency=
c.BrickColor=TorsoColor
c.Name=
c.TopSurface=
c.BottomSurface=
c.formFactor=
c.Size=.(,,)
ms=.()
ms.Scale=.(,,)
(,c,,)
CRIT==
ms.Scale=.(,,)
ms.Parent=c
c.Reflectance=
.().Parent=c
c.Parent=m
Char:()~=
c.CFrame=.(Char[].CFrame.p+.(,,))
Char.Parent:()~=
c.CFrame=.(Char.Parent[].CFrame.p+.(,,))
f=.()
f.P=
f.D=
f.maxForce=.(.huge,.huge,.huge)
f.position=c.Position+.(,,)
f.Parent=c
:():(m,+du)
c.CanCollide=
m.Parent=
c.CanCollide=
Player=:().LocalPlayer
Character=Player.Character
Mouse=Player:()
m=.(,Character)
(a, b)
weldd = .()
weldd.Part0 = a
weldd.Part1 = b
weldd.C0 = .()
weldd.C1 = b.CFrame:() * a.CFrame
weldd.Parent = a
weldd
it=.new
(part)
part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = ,,,,,
(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
fp=()
fp.formFactor=formfactor
fp.Parent=parent
fp.Reflectance=reflectance
fp.Transparency=transparency
fp.CanCollide=
fp.Locked=
fp.BrickColor=BrickColor.((brickcolor))
fp.Name=name
fp.Size=size
fp.Position=Character.Torso.Position
(fp)
fp.Material=material
fp:()
fp
(Mesh,part,meshtype,meshid,offset,scale)
mesh=(Mesh)
mesh.Parent=part
Mesh==
mesh.MeshType=meshtype
mesh.MeshId=meshid
mesh.Offset=offset
mesh.Scale=scale
mesh
(parent,part0,part1,c0,c1)
weld=()
weld.Parent=parent
weld.Part0=part0
weld.Part1=part1
weld.C0=c0
weld.C1=c1
weld
modelzorz=.()
modelzorz.Parent=Character
modelzorz.Name=
Handle=(.FormFactor.Custom,m,.Material.Neon,,,TorsoColor,,.(, , ))
Handleweld=(m,Character[],Handle,.(, , , , , , , , , , , ),.(-, , , , , -, , -, , -, -, -))
(,Handle,.MeshType.Sphere,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , -, -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, , -, -, , -, , , -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, , -, -, -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, , -, -, -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, -, -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, , -, -, -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , , -, -, , , -, , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, , -, -, -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, -, -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , -, -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(-, , -, -, -, , -, , -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, , , -, , -, -))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(-, , -, -, -, , -, , -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Gear=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Gearweld=(m,Handle,Gear,.(, , , , , , , , , , , ),.(-, -, -, , -, , , , -, -, , ))
(,Gear,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(-, , -, -, -, , -, -, -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle,Part,.(, , , , , , , , , , , ),.(, , , -, -, , -, -, -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
modelzorz2=.()
modelzorz2.Parent=Character
modelzorz2.Name=
Handle2=(.FormFactor.Custom,m,.Material.Neon,,,TorsoColor,,.(, , ))
Handle2weld=(m,Character[],Handle2,.(, , , , , , , , , , , ),.(, , , , , , -, -, , , -, -))
(,Handle2,.MeshType.Sphere,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , , , -, ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , , , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , , , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , -, -, , , , , -, -, -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , -, , , , , , -, -, , -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , -, -, , -, , -, -, -))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , -, -, , , , , -, -, -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , , -, , , , , -, ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(-, , , -, , -, , -, -, -, -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , , , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , -, -, , , -, , -, -, -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , -, -, , , , , -, ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , -, -, -, , -, , -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , , , -, -, , , , , ))
Gear2=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Gear2weld=(m,Handle2,Gear2,.(, , , , , , , , , , , ),.(-, , , , -, -, , , , , -, ))
(,Gear2,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,Handle2,Part,.(, , , , , , , , , , , ),.(, , , -, , -, -, , , , , ))
modelzorz3=.()
modelzorz3.Parent=Character
modelzorz3.Name=
handle=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
handleweld=(m,Character[],handle,.(, , , , , , , , , , , ),.(-, -, -, , , , , , , -, , ))
(,handle,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , , , , , , , , , ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , , , , , , , , , ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , -, , -, , , , , -, -, ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,TorsoColor,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , -, , -, , , , , -, -, ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Wedge=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Wedgeweld=(m,handle,Wedge,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , , -, -, ))
Wedge=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Wedgeweld=(m,handle,Wedge,.(, , , , , , , , , , , ),.(, -, , , , , , , , , , ))
Wedge=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Wedgeweld=(m,handle,Wedge,.(, , , , , , , , , , , ),.(-, -, , -, , , , , , -, , -))
Wedge=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Wedgeweld=(m,handle,Wedge,.(, , , , , , , , , , , ),.(, -, , , -, , , , -, , , ))
moosick = (,Character)
moosick.SoundId =
moosick.Looped =
moosick.Pitch =
moosick.Volume =
moosick:()
anim = Character:()
anim
anim:()
particleemitter = .(, Handle)
particleemitter.VelocitySpread =
particleemitter.Lifetime = NumberRange.()
particleemitter.Speed = NumberRange.()
particleemitter.Size = NumberSequence.({NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, )})
particleemitter.RotSpeed = NumberRange.(-, )
particleemitter.Rate =
particleemitter.Rotation = NumberRange.(-, )
particleemitter.Transparency = NumberSequence.({NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, )})
particleemitter.LightEmission =
particleemitter.Color = ColorSequence.(.(, , ), .(, , ))
particleemitter = .(, Handle2)
particleemitter.VelocitySpread =
particleemitter.Lifetime = NumberRange.()
particleemitter.Speed = NumberRange.()
particleemitter.Size = NumberSequence.({NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, )})
particleemitter.RotSpeed = NumberRange.(-, )
particleemitter.Rate =
particleemitter.Rotation = NumberRange.(-, )
particleemitter.Transparency = NumberSequence.({NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, )})
particleemitter.LightEmission =
particleemitter.Color = ColorSequence.(.(, , ), .(, , ))
particleemitter = .(, handle)
particleemitter.VelocitySpread =
particleemitter.Lifetime = NumberRange.()
particleemitter.Speed = NumberRange.()
particleemitter.Size = NumberSequence.({NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, )})
particleemitter.RotSpeed = NumberRange.(-, )
particleemitter.Rate =
particleemitter.Rotation = NumberRange.(-, )
particleemitter.Transparency = NumberSequence.({NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, ), NumberSequenceKeypoint.(, )})
particleemitter.LightEmission =
particleemitter.Color = ColorSequence.(.(, , ), .(, , ))
light = .(, Character.Torso)
light.Color = .(,,)
light.Brightness =
light.Range =
particleemitter.Enabled =
Footsteps = (,Character.Torso)
Footsteps.SoundId =
Footsteps.Looped =
Footsteps.Pitch =
Footsteps.Volume =
Footsteps2 = (,Character.Torso)
Footsteps2.SoundId =
Footsteps2.Looped =
Footsteps2.Pitch =
Footsteps2.Volume =
cam = .Workspace.CurrentCamera
i,v (Head:())
v:()
v:()
mouse.Button1Down:(()
attack== attacktype==
attacktype=
()
attack== attacktype==
attacktype=
()
attack== attacktype==
attacktype=
()
attack== attacktype==
attacktype=
()
)
mouse.KeyDown:((k)
k=k:()
k==
attack== mana>=
()
k==
attack== mana>=
()
k==
attack== mana>=
()
k==
attack==
idle=
k==
attack==
mana=
k==
attack== mana>=
()
k==
attack== mana>=
()
k==
attack== mana>=
()
k==
attack==
()
k==
attack==
Humanoid.WalkSpeed=()
k==
attack==
Humanoid.Health =
()
)
(brickcolor,cframe,x1,y1,z1,x3,y3,z3,)
prt=(,,,,brickcolor,,(,,))
prt.Anchored=
prt.CFrame=cframe
msh=(,prt,,,(,,),(x1,y1,z1))
:():(prt,)
.(.((Part,Mesh)
i=,,
()
Part.CFrame=Part.CFrame
Part.Transparency=i
Mesh.Scale=Mesh.Scale+(x3,y3,z3)
Part.Parent=
),prt,msh)
TrailDeb =
()
attack=
Humanoid.WalkSpeed =
TrailDeb ==
TrailDeb =
.(()
Old = handle.CFrame.p
()
TrailDeb
New = handle.CFrame.p
Mag =(Old -New).magnitude
Dis =(Old +New)/
Trail = .(,Character)
Trail.Material =
Trail.Anchored =
Trail.CanCollide =
Trail.BrickColor = TorsoColor
Trail.Size = .(,Mag,)
Trail.TopSurface =
Trail.BottomSurface =
Trail.formFactor =
Trail.CFrame = .(Dis,New)* .(.pi/,,)
ms = .(,Trail)
ms.Scale = .(,,)
TM = .(,Trail)
TM.Scale = .(,,)
Old = New
.(()
i = ,,-
()
TM.Scale = TM.Scale * .(i,,i)
Trail:()
)()
.(()
i = ,
()
Trail.Transparency = Trail.Transparency +
)() )()
.(()
Old = Handle.CFrame.p
()
TrailDeb
New = Handle.CFrame.p
Mag =(Old -New).magnitude
Dis =(Old +New)/
Trail = .(,Character)
Trail.Material =
Trail.Anchored =
Trail.CanCollide =
Trail.BrickColor = TorsoColor
Trail.Size = .(,Mag,)
Trail.TopSurface =
Trail.BottomSurface =
Trail.formFactor =
Trail.CFrame = .(Dis,New)* .(.pi/,,)
ms = .(,Trail)
ms.Scale = .(,,)
TM = .(,Trail)
TM.Scale = .(,,)
Old = New
.(()
i = ,,-
()
TM.Scale = TM.Scale * .(i,,i)
Trail:()
)()
.(()
i = ,
()
Trail.Transparency = Trail.Transparency +
)() )()
.(()
Old = Handle2.CFrame.p
()
TrailDeb
New = Handle2.CFrame.p
Mag =(Old -New).magnitude
Dis =(Old +New)/
Trail = .(,Character)
Trail.Material =
Trail.Anchored =
Trail.CanCollide =
Trail.BrickColor = TorsoColor
Trail.Size = .(,Mag,)
Trail.TopSurface =
Trail.BottomSurface =
Trail.formFactor =
Trail.CFrame = .(Dis,New)* .(.pi/,,)
ms = .(,Trail)
ms.Scale = .(,,)
TM = .(,Trail)
TM.Scale = .(,,)
Old = New
.(()
i = ,,-
()
TM.Scale = TM.Scale * .(i,,i)
Trail:()
)()
.(()
i = ,
()
Trail.Transparency = Trail.Transparency +
)() )()
(,Torso,,)
i=,,
()
moosick.Volume = +*i
RootJoint.C0=(RootJoint.C0,RootCF*(,,-*i)*(,,+*i),)
Torso.Neck.C0=(Torso.Neck.C0,necko*(,,),)
handleweld.C0=(handleweld.C0,(,,)*(.(),.(),.()),)
Handle2weld.C0=(Handle2weld.C0,(,,)*(.(),.(),.()),)
Handleweld.C0=(Handleweld.C0,(,,)*(.(),.(),.()),)
LW.C0=(LW.C0,(-,,-)*(.(),.(),.()),)
RW.C0=(RW.C0,(,,-)*(.(),.(),.(-)),)
i=,,
()
RootJoint.C0=(RootJoint.C0,RootCF*(,,)*(,,+*i),)
Torso.Neck.C0=(Torso.Neck.C0,necko*(,,),)
handleweld.C0=(handleweld.C0,(,,)*(.(),.(),.()),)
Handle2weld.C0=(Handle2weld.C0,(,,)*(.(),.(),.()),)
Handleweld.C0=(Handleweld.C0,(,,)*(.(),.(),.()),)
LW.C0=(LW.C0,(-,,-)*(.(),.(),.()),)
RW.C0=(RW.C0,(,,-)*(.(),.(),.(-)),)
(,Character,,)
(,Character,,)
i=,,
()
RootJoint.C0=(RootJoint.C0,RootCF*(,,+*i)*(.(-),.(),.()),)
Torso.Neck.C0=(Torso.Neck.C0,necko*(.(-),.(),.()),)
handleweld.C0=(handleweld.C0,(,+*i,)*(.(),.(),.()),)
Handle2weld.C0=(Handle2weld.C0,(-*i,,)*(.(),.(),.()),)
Handleweld.C0=(Handleweld.C0,(+*i,,)*(.(),.(-),.()),)
LW.C0=(LW.C0,(-,,)*(.(-),.(),.(-)),)
RW.C0=(RW.C0,(,,)*(.(-),.(),.()),)
RH.C0=(RH.C0,(,-,)*(.(),.(),.())*(.(-),.(),.(-)),)
LH.C0=(LH.C0,(-,-,)*(.(),.(-),.())*(.(-),.(),.()),)
i=,,
()
RootJoint.C0=(RootJoint.C0,RootCF*(,,-)*(.(),.(),.(-)),)
handleweld.C0=(handleweld.C0,(,,)*(.(),.(),.()),)
Handleweld.C0=(Handleweld.C0,(,,)*(.(),.(),.()),)
Handle2weld.C0=(Handle2weld.C0,(-,,)*(.(),.(),.()),)
RW.C0=(RW.C0,(,,)*(.(-),.(),.()),)
LW.C0=(LW.C0,(-,,)*(.(),.(),.(-)),)
RH.C0=(RH.C0,(,-,)*(,,)*(.(),.(),.(-)),)
LH.C0=(LH.C0,(-,,)*(,-,)*(.(-),.(),.(-)),)
attack=
Humanoid.WalkSpeed =
TrailDeb ==
TrailDeb =
()
attack=
TrailDeb ==
TrailDeb =
.(()
Old = Handle.CFrame.p
()
TrailDeb
New = Handle.CFrame.p
Mag =(Old -New).magnitude
Dis =(Old +New)/
Trail = .(,Character)
Trail.Material =
Trail.Anchored =
Trail.CanCollide =
Trail.BrickColor = TorsoColor
Trail.Size = .(,Mag,)
Trail.TopSurface =
Trail.BottomSurface =
Trail.formFactor =
Trail.CFrame = .(Dis,New)* .(.pi/,,)
ms = .(,Trail)
ms.Scale = .(,,)
TM = .(,Trail)
TM.Scale = .(,,)
Old = New
.(()
i = ,,-
()
TM.Scale = TM.Scale * .(i,,i)
Trail:()
)()
.(()
i = ,
()
Trail.Transparency = Trail.Transparency +
)() )()
con1=Gear.Touched:((hit) (hit,,,.(,),,RootPart,,) )
i=,,
()
RootJoint.C0=(RootJoint.C0,RootCF*(,,)*(.(-),.(),.(-)),)
Torso.Neck.C0=(Torso.Neck.C0,necko*(.(),.(),.()),)
handleweld.C0=(handleweld.C0,(,,)*(.(),.(),.()),)
Handleweld.C0=(Handleweld.C0,(-,,)*(.(),.(),.()),)
Handle2weld.C0=(Handle2weld.C0,(,,)*(.(),.(),.()),)
RW.C0=(RW.C0,(,,-)*(,,),)
LW.C0=(LW.C0,(-,,)*(.(),.(),.(-)),)
(,Handle,,)
(,Torso,,)
i=,,
()
RootJoint.C0=(RootJoint.C0,RootCF*(,,)*(.(),.(),.()),)
Torso.Neck.C0=(Torso.Neck.C0,necko*(.(),.(),.(-)),)
handleweld.C0=(handleweld.C0,(,,)*(.(),.(),.()),)
Handleweld.C0=(Handleweld.C0,(-,,-)*(.(-),.(),.()),)
Handle2weld.C0=(Handle2weld.C0,(,,)*(.(),.(),.()),)
RW.C0=(RW.C0,(,,-)*(,,),)
LW.C0=(LW.C0,(-,,)*(.(),.(),.(-)),)
attack=
con1:()
TrailDeb ==
TrailDeb =
()
attack=
TrailDeb ==
TrailDeb =
.(()
Old = Handle2.CFrame.p
()
TrailDeb
New = Handle2.CFrame.p
Mag =(Old -New).magnitude
Dis =(Old +New)/
Trail = .(,Character)
Trail.Material =
Trail.Anchored =
Trail.CanCollide =
Trail.BrickColor = TorsoColor
Trail.Size = .(,Mag,)
Trail.TopSurface =
Trail.BottomSurface =
Trail.formFactor =
Trail.CFrame = .(Dis,New)* .(.pi/,,)
ms = .(,Trail)
ms.Scale = .(,,)
TM = .(,Trail)
TM.Scale = .(,,)
Old = New
.(()
i = ,,-
()
TM.Scale = TM.Scale * .(i,,i)
Trail:()
)()
.(()
i = ,
()
Trail.Transparency = Trail.Transparency +
)() )()
con1=Gear2.Touched:((hit) (hit,,,.(,),,RootPart,,) )
i=,,
()
RootJoint.C0=(RootJoint.C0,RootCF*(,,)*(.(),.(),.()),)
Torso.Neck.C0=(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
end
--dmgstop()
attack=false
con1:disconnect()
if TrailDeb == true then
TrailDeb = false
end
end
function attackthree()
attack=true
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
for i=0,1,0.08 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
for i=0,1,0.05 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
end
--dmgstop()
attack=false
con1:disconnect()
if TrailDeb == true then
TrailDeb = false
end
end
function attackfour()
attack=true
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle2.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle2.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
for i=0,1,0.08 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
end
if anim then
anim.Disabled=true
end
so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
for i=0,1,0.04 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*50
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
end
--dmgstop()
attack=false
con1:disconnect()
con2:disconnect()
if anim then
anim.Disabled=false
end
if TrailDeb == true then
TrailDeb = false
end
end
function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CFrame = cframe
local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
coroutine.resume(coroutine.create(function()
for i = 0, 1, 0.05 do
wait()
prt.Transparency = i
msh.Scale = msh.Scale + vt(x2, y2, z2)
end
prt.Parent = nil
end))
end
function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
for _, c in pairs(workspace:children()) do
local hum = c:findFirstChild("Humanoid")
if hum ~= nil then
local head = c:findFirstChild("Torso")
if head ~= nil then
local targ = head.Position - Part.Position
local mag = targ.magnitude
if mag <= magni and c.Name ~= Player.Name then
Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
end
end
end
end
end
function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CFrame = cframe
local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 2)
coroutine.resume(coroutine.create(function(Part, Mesh)
for i = 0, 1, delay do
swait()
Part.CFrame = Part.CFrame
Part.Transparency = i
Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
end
Part.Parent = nil
end), prt, msh)
end
function MagicJump()
if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
attack=true
mana=mana-25
--[[ Humanoid.WalkSpeed = 0
for i=0,1,0.01 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
end]]--
Humanoid.Jump = true
Torso.Velocity = vt(0, 150, 0)
Humanoid.WalkSpeed = 64
so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
for i=0,1,0.05 do
swait()
Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
end
for i=0,1,0.02 do
swait()
Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
end
Humanoid.WalkSpeed = 0
swait(8)
so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
if hit~=nil then
swait(2)
local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
ref.Anchored=true
ref.CFrame=cf(pos)
game:GetService("Debris"):AddItem(ref,3)
for i=1,10 do
local Col=BrickColor.new("Really black")
local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
groundpart.Anchored=true
groundpart.CanCollide=false
groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
local Col2=TorsoColor
local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
groundpart2.Anchored=true
groundpart2.CanCollide=false
groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
game:GetService("Debris"):AddItem(groundpart,5)
game:GetService("Debris"):AddItem(groundpart2,5)
end
BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
for i=0,1,0.06 do
swait()
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
end
end
swait(20)
Humanoid.WalkSpeed = 12
--dmgstop()
attack=false
end
end
function Spin()
attack=true
mana=mana-40
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle2.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle2.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
Footsteps:Stop()
Footsteps2:Stop()
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
if anim then
anim.Disabled=true
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*100
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*100
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*100
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
--dmgstop()
Humanoid.WalkSpeed=12
attack=false
con1:disconnect()
con2:disconnect()
if anim then
anim.Disabled=false
end
if TrailDeb == true then
TrailDeb = false
end
end
function Twirl()
mana=mana-50
attack=true
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle2.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle2.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
Footsteps:Stop()
Footsteps2:Stop()
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
if anim then
anim.Disabled=true
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*80
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*80
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*80
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*80
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
--dmgstop()
Humanoid.WalkSpeed=12
attack=false
con1:disconnect()
con2:disconnect()
if anim then
anim.Disabled=false
end
if TrailDeb == true then
TrailDeb = false
end
end
function Shred()
attack=true
mana=mana-100
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle2.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle2.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
Footsteps:Stop()
Footsteps2:Stop()
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
if anim then
anim.Disabled=true
end
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*20
so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*40
so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*60
so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
for i=0,1,0.05 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*80
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
for i=0,1,0.005 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*100
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
end
--dmgstop()
Humanoid.WalkSpeed=12
attack=false
con1:disconnect()
con2:disconnect()
if anim then
anim.Disabled=false
end
if TrailDeb == true then
TrailDeb = false
end
end
function Push()
attack=true
mana=mana-20
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle2.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle2.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
end
--dmgstop()
attack=false
con1:disconnect()
con2:disconnect()
if TrailDeb == true then
TrailDeb = false
end
end
function Clap()
attack=true
mana=mana-20
if TrailDeb == false then
TrailDeb = true
end
coroutine.wrap(function()
local Old = Handle2.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle2.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
coroutine.wrap(function()
local Old = Handle.CFrame.p
while wait()do
if not TrailDeb then break end
local New = Handle.CFrame.p
local Mag =(Old -New).magnitude
local Dis =(Old +New)/2
local Trail = Instance.new("Part",Character)
Trail.Material = "Neon"
Trail.Anchored = true
Trail.CanCollide = false
Trail.BrickColor = TorsoColor
Trail.Size = Vector3.new(0.2,Mag,0.2)
Trail.TopSurface = 0
Trail.BottomSurface = 0
Trail.formFactor = "Custom"
Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
local ms = Instance.new("BlockMesh",Trail)
ms.Scale = Vector3.new(1,1,1)
local TM = Instance.new("CylinderMesh",Trail)
TM.Scale = Vector3.new(1,1,1)
Old = New
coroutine.wrap(function()
for i = 1,0,-0.1 do
wait()
TM.Scale = TM.Scale * Vector3.new(i,1,i)
end
Trail:remove()
end)()
coroutine.wrap(function()
for i = 1,10 do
wait()
Trail.Transparency = Trail.Transparency +0.1
end end)()end end)()
con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
for i=0,1,0.08 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
for i=0,1,0.08 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
end
--dmgstop()
attack=false
con1:disconnect()
con2:disconnect()
if TrailDeb == true then
TrailDeb = false
end
end
function Hai()
attack=true
Humanoid.WalkSpeed=0
so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
end
so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
for i=0,1,0.1 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
end
--dmgstop()
Humanoid.WalkSpeed=12
attack=false
end
function Die()
attack=true
Footsteps:Stop()
Footsteps2:Stop()
local Fire = it("Sound",Character.Torso)
Fire.SoundId = "rbxassetid://192104941"
Fire.Looped = true
Fire.Pitch = 1
Fire.Volume = 1
local Fire2 = it("Sound",Handle2)
Fire2.SoundId = "rbxassetid://192104941"
Fire2.Looped = true
Fire2.Pitch = 1
Fire2.Volume = 1
local Fire3 = it("Sound",Handle)
Fire3.SoundId = "rbxassetid://192104941"
Fire3.Looped = true
Fire3.Pitch = 1
Fire3.Volume = 1
local Fire4 = it("Sound",handle)
Fire4.SoundId = "rbxassetid://192104941"
Fire4.Looped = true
Fire4.Pitch = 1
Fire4.Volume = 1
local fire = Instance.new("ParticleEmitter", Character.Torso)
fire.Lifetime = NumberRange.new(0.5)
fire.Speed = NumberRange.new(1, 3)
fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
fire.Rate = 0
fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
fire.LightEmission = 0.6
fire.Texture = "http://www.roblox.com/asset/?id=242911609"
fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
local fire2 = Instance.new("ParticleEmitter", Handle)
fire2.Lifetime = NumberRange.new(0.5)
fire2.Speed = NumberRange.new(1, 3)
fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
fire2.Rate = 0
fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
fire2.LightEmission = 0.6
fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
local fire3 = Instance.new("ParticleEmitter", Handle2)
fire3.Lifetime = NumberRange.new(0.5)
fire3.Speed = NumberRange.new(1, 3)
fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
fire3.Rate = 0
fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
fire3.LightEmission = 0.6
fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
local fire4 = Instance.new("ParticleEmitter", handle)
fire4.Lifetime = NumberRange.new(0.5)
fire4.Speed = NumberRange.new(1, 3)
fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
fire4.Rate = 0
fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
fire4.LightEmission = 0.6
fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
Humanoid.WalkSpeed = 0
so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
for i=0,1,0.08 do
swait()
Torso.Velocity=RootPart.CFrame.lookVector*-30
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
end
for i=0,1,0.005 do
swait()
moosick.Volume=1-2*i
light.Range=15-10*i
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
end
light.Range=0
for i=0,1,0.01 do
swait()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
end
so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
fire.Rate = 1000
fire2.Rate = 1000
fire3.Rate = 1000
fire4.Rate = 1000
Fire:Play()
Fire2:Play()
Fire3:Play()
Fire4:Play()
for i=0,1,0.005 do
swait()
Character.Head.face.Transparency = 0+1*i
LeftArm.Transparency=0+1*i
RightArm.Transparency=0+1*i
LeftLeg.Transparency=0+1*i
RightLeg.Transparency=0+1*i
Head.Transparency=0+1*i
Torso.Transparency=0+1*i
for _,v in pairs(Character:children()) do
if v:IsA("Hat") then
v.Handle.Transparency = 0+1*i
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
end
end
--dmgstop()
end
Humanoid.Health = 0
end
equipanim()
local sine = 0
local change = 1
local val = 0
local mananum=0
while true do
swait()
sine = sine + change
local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
local velderp=RootPart.Velocity.y
hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
if equipped==true or equipped==false then
if Anim=="Idle" and attack==false then
idle=idle+1
else
idle=0
end
if Humanoid.Health <=20 then
if attack == false then
Humanoid.Health = math.huge
Die()
end
end
if idle>=1000 then
if attack==false then
--Sheath()
end
end
if RootPart.Velocity.y > 1 and hitfloor==nil then
Anim="Jump"
if attack==false then
Footsteps:Stop()
Footsteps2:Stop()
Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
end
elseif RootPart.Velocity.y < -1 and hitfloor==nil then
Anim="Fall"
if attack==false then
Footsteps:Stop()
Footsteps2:Stop()
Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
end
elseif torvel<1 and hitfloor~=nil then
Anim="Idle"
change=0.5
if idle>=1000 then
if attack==false then
Footsteps:Stop()
Footsteps2:Stop()
Humanoid.WalkSpeed=12
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
end
else
if attack==false then
Footsteps:Stop()
Footsteps2:Stop()
Humanoid.WalkSpeed=12
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
end
end
elseif torvel>2 and torvel<22 and hitfloor~=nil then
Anim="Walk"
if attack==false then
change=0.8
--[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
--Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
--RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
RH.C0=clerp(RH.C0,RHC0,.3)
LH.C0=clerp(LH.C0,LHC0,.3)
Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
]]--
Footsteps:Play()
Footsteps2:Stop()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
end
elseif torvel>=22 and hitfloor~=nil then
Anim="Run"
change=1
if attack==false then
Footsteps:Stop()
Footsteps2:Play()
RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
end
end
end
fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
if mana>=100 then
mana=100
else
if mananum<=8 then
mananum=mananum+1
else
mananum=0
mana=mana+1
end
end
end
-- ~CLarramorefd or filtering disabled