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=
attackmode=
idle=
Anim=
Effects={}
gun=
shoot=
player=
mana=
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
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
(num)
num== num==
:.Heartbeat:()
i=,num
:.Heartbeat:()
(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
(at, top, back)
right = top:(back)
.(at.x, at.y, at.z,
right.x, top.x, back.x,
right.y, top.y, back.y,
right.z, top.z, back.z)
(a, b, c)
edg1 = (c-a):((b-a).unit)
edg2 = (a-b):((c-b).unit)
edg3 = (b-c):((a-c).unit)
edg1 <= (b-a).magnitude edg1 >=
a, b, c = a, b, c
edg2 <= (c-b).magnitude edg2 >=
a, b, c = b, c, a
edg3 <= (a-c).magnitude edg3 >=
a, b, c = c, a, b
(, )
len1 = (c-a):((b-a).unit)
len2 = (b-a).magnitude - len1
width = (a + (b-a).unit*len1 - c).magnitude
maincf = (a, (b-a):(c-b).unit, -(b-a).unit)
list = {}
Color = BrickColor.()
len1 >
w1 = .(, m)
:():(w1,)
w1.Material =
w1.FormFactor =
w1.BrickColor = BrickColor.(Color)
w1.Transparency =
w1.Reflectance =
w1.Material =
w1.CanCollide =
(w1)
sz = .(, width, len1)
w1.Size = sz
sp = .(,w1)
sp.MeshType =
sp.Scale = .(,,) * sz/w1.Size
w1:()
w1.Anchored =
w1.Parent =
w1.Transparency =
.(Effects,{w1,,})
w1.CFrame = maincf*.(.pi,,.pi/)*.(,width/,len1/)
.(list,w1)
len2 >
w2 = .(, m)
:():(w2,)
w2.Material =
w2.FormFactor =
w2.BrickColor = BrickColor.(Color)
w2.Transparency =
w2.Reflectance =
w2.Material =
w2.CanCollide =
(w2)
sz = .(, width, len2)
w2.Size = sz
sp = .(,w2)
sp.MeshType =
sp.Scale = .(,,) * sz/w2.Size
w2:()
w2.Anchored =
w2.Parent =
w2.Transparency =
.(Effects,{w2,,})
w2.CFrame = maincf*.(.pi,.pi,-.pi/)*.(,width/,-len1 - len2/)
.(list,w2)
(list)
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)
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,,BrickColor.())
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=Color
c.Name=
c.TopSurface=
c.BottomSurface=
c.formFactor=
c.Size=.(,,)
ms=.()
ms.Scale=.(,,)
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=
handle=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
handleweld=(m,Character[],handle,.(, , , , , , , , , , , ),.(-, -, -, -, , , -, , -, -, -, ))
Barrel=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Barrelweld=(m,handle,Barrel,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, -, , , -))
(,Barrel,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , -, , -, , , , , , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, , , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, -, , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, -, , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , , , -, -, -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , , , -, -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
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.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, -, , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, -, , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , , , -, , -, -, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, , , , , -, , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , -, , , -, -, -, , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , -, -, -, -, -, , -, , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, -, -, , , , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, , , -, , -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, -, -, , , -, -, , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , , -, , -, -, -, -, -, -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , , -, -, -, -, , -, , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, -, , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, , , , -, -, , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , -, -, -, -, -, , , , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, , , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , -, -, -, -, -, , -, , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, -, , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, , -, , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , , , , , -, -, , , -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , , , -, -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , , , -, -, -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , -, , -, -, -, -, -, , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, , , , , -, , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , , , -, , -, -, , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, , -, , -, -, -, , -, , , -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , , , , , -, -, , , -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, , , , , , -, , -, -, , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, -, , -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -, , , -, -, , , -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,handle,Part,.(, , , , , , , , , , , ),.(, -568, 0.153038025, -0.000204231794, -0.000346210145, -0.999999762, 5.26828226e-005, 0.99999994, -0.000346334535, 1.00000012, -5.27524389e-005, -0.000204205135))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.392933369, 0.392933667, 1.57173264))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00835418701, -1.05312347, -2.88107395, 1.00000358, -0.000387099804, -0.00121744454, 0.000387104694, 1.00000381, -5.40847395e-007, 0.00121751497, 3.37186066e-008, 0.999998927))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.392933369, 0.200000003, 1.08056641))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00281524658, -0.366123199, -3.02898932, 1.00000608, -0.000498470152, -0.00156922941, 0.000498481328, 1.0000062, -1.05474646e-006, 0.0015693194, 1.44375008e-007, 0.999998748))
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.982334375, 1))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Navy blue","Part",Vector3.new(0.594311714, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00565338135, -0.758876801, -1.26295125, 0.999998748, -0.000511135673, -0.00159841403, 0.000511136372, 1, -7.38335075e-007, 0.00159841857, -6.43813109e-008, 0.999998569))
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.982334137, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.491166174))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00144958496, -1.29763031, -4.20536757, 1.00000739, -0.000419238117, -0.00131797371, 0.000419243239, 1.00000584, -8.37620973e-007, 0.00131808035, 2.58100044e-007, 0.999999583))
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.982333481, 0.491167068, 1))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0881729126, 0.412960052, -3.76232553, -0.999789953, 0.000419552438, -0.020719137, -0.00041887071, -1.00000381, -3.75584641e-005, -0.0207191855, -2.88946485e-005, 0.999785244))
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.982333481, 0.491167068, 0.982331276))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.76012516, 0.412151337, 0.238075256, 0.0207212772, 6.74803596e-005, -0.999785125, 0.00654910225, -0.999982655, 6.80589292e-005, -0.999768555, -0.00654910877, -0.0207212307))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.982334077, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.49116683, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.205369, 0.412963867, 0.0523452759, -0.0207207073, -2.90410189e-005, 0.999785721, -0.000413767062, -1.00000501, -3.75807649e-005, 0.999792337, -0.000414452516, 0.0207206365))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.49116683, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.20324612, -1.29775238, 0.139373779, -0.00131877232, -3.85029489e-005, -0.999999523, -0.00654961355, 0.999983668, -2.99067415e-005, 0.99998492, 0.0065495586, -0.00131890492))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(0.392933369, 0.200000003, 0.491166592))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00339508057, 3.91188478, -0.61145401, 1.00000215, -0.000409059459, -0.00127747073, -0.00127751508, -9.17134457e-009, -0.999999404, 0.00040906202, 1.00000226, -5.96075552e-007))
mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.491167068, 1))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.49116683, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.20645714, -1.29798126, 0.14629364, 0.0013188537, -1.66272002e-007, 0.999999583, 0.000414166367, 1.00000584, -4.06869731e-007, -1.00000739, 0.000414160546, 0.00131874683))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.76342535, 0.412586212, 0.0627746582, -0.0207211263, -2.88857063e-005, 0.999785125, -0.000413808972, -1.00000393, -3.74646552e-005, 0.999789953, -0.000414489768, 0.0207210779))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.982333839, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.491166174))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0953521729, 0.413311005, -4.20429516, -0.999792337, 0.000419603195, -0.0207197089, -0.000418920768, -1.00000501, -3.74905794e-005, -0.0207197778, -2.88444462e-005, 0.999785662))
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.982333481, 0.491167068, 1))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.76440763, -1.29795837, 0.149528503, 0.00131875218, 1.35669325e-007, 0.999998987, 0.000414157286, 1.00000381, -5.31716069e-007, -1.00000346, 0.000414151466, 0.00131867884))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.982333839, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.76118898, -1.29774475, 0.139381409, -0.00131885556, -3.8700382e-005, -0.999999225, -0.00654953765, 0.999978364, -3.00336596e-005, 0.999977827, 0.00654949201, -0.00131907722))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.982334077, 0.491167068, 0.491166562))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00144195557, -1.29759598, -3.76330638, 0.999999166, -0.000419241842, -0.00131810969, 0.000419241609, 0.999999762, -5.86760507e-007, 0.00131811528, 1.03913408e-007, 0.999999106))
mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.982333481, 0.491167068, 0.982331276))
Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.49116683, 0.200000003, 0.200000003))
Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.20210361, 0.412452698, 0.245223999, 0.0207206346, 6.75759875e-005, -0.999785721, 0.00654929597, -0.999983668, 6.81862584e-005, -0.999771059, -0.00654929224, -0.020720575))
mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.491167068, 0.491166562))
function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
local fp = it("Part")
fp.formFactor = formfactor
fp.Parent = parent
fp.Reflectance = reflectance
fp.Transparency = transparency
fp.CanCollide = false
fp.Locked=true
fp.BrickColor = brickcolor
fp.Name = name
fp.Size = size
fp.Position = Torso.Position
NoOutline(fp)
fp.Material="SmoothPlastic"
fp:BreakJoints()
return fp
end
function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
prt.Anchored=true
prt.CFrame=cframe
msh=mesh("SpecialMesh",prt,"Head","",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 MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
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 LaserBarrage(Prt,Parent)
attack=true
--so("BeamLockon",Prt,1,1)
local efprt=part(3,Parent,0,0.5,BrickColor.new("Really black"),"Effect",vt(0.2,0.2,0.2))
efprt.Anchored=true
local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100
--spread=vt(0,0,0)
coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded)
game:GetService("Debris"):AddItem(Part,6)
local TheHit=Mouse.Hit.p
local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded)
local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
so("Elec",Prt,0.2,1)
local tefprt=part(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
tefprt.CFrame=cf(pos)
MagicCircle(BrickColor.new("Really black"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
so("Elec",tefprt,0.3,1)
game:GetService("Debris"):AddItem(tefprt,3)
Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
if(hit.Parent:findFirstChild("Humanoid")~= nil)then
if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
hit.Parent.Humanoid:TakeDamage(15)
end
end
local mag=(Prt.Position-pos).magnitude
MagicCylinder(BrickColor.new("Really black"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
Part.Parent=nil
end),efprt,efmsh,spread)
end
ready = false
function shoot()
if attack==true and ready==true then
ready=false
attack=true
so("http://www.roblox.com/asset/?id=138083993",Barrel,1,1)
for i=0,3,0.3 do
LaserBarrage(Barrel,m)
end
for i=0,3,0.3 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 *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, 0.2) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(140), math.rad(0), math.rad(40)), 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(-10)),.3)
handleweld.C0=clerp(handleweld.C0,cf(-.1,.1,.1)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
end
for i=0,3,0.3 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 *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.2) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(90), math.rad(0), math.rad(40)), 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(-10)),.3)
handleweld.C0=clerp(handleweld.C0,cf(-.1,.1,.1)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
end
for i=0,3,0.3 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 *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-10)), 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(1,-1,.5)*angles(math.rad(0),math.rad(-20),math.rad(-70)),.3)
end
so("http://www.roblox.com/asset/?id=131072992",Barrel,1,.8)
for i=0,3,0.3 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 *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(20)), 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(1,-1,.5)*angles(math.rad(0),math.rad(-20),math.rad(-70)),.3)
end
for i=0,3,0.3 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 *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-20)), 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(1,-1,.5)*angles(math.rad(0),math.rad(-20),math.rad(-70)),.3)
end
attack=false
end
end
mouse.Button1Down:connect(function()
pcall(function()
shoot()
end)
end)
mouse.KeyDown:connect(function(k)
k=k:lower()
if k=='f' then
if ready==false then
ready=true
attack=true
elseif ready==true then
ready=false
attack=false
end
end
end)
local sine = 0
local change = 1
local val = 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 attack==false then
idle=idle+1
else
idle=0
end
if idle>=500 then
if attack==false then
--Sheath()
end
end
if RootPart.Velocity.y > 1 and hitfloor==nil then
Anim="Jump"
if attack==false then
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-15)),.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(15)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(15)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1.5)*angles(math.rad(180),math.rad(0),math.rad(0)),.3)
end
elseif RootPart.Velocity.y < -1 and hitfloor==nil then
Anim="Fall"
if attack==false then
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-15)),.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(15)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(15)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-30)), 0.3)
RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20)),.3)
LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1.5)*angles(math.rad(180),math.rad(0),math.rad(0)),.3)
end
elseif torvel<1 and hitfloor~=nil then
Anim="Idle"
if attack==false then
RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-15)),.3)
Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(15)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-10)), 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(-75),math.rad(-10)),.3)
handleweld.C0=clerp(handleweld.C0,cf(0,0,-1.5)*angles(math.rad(180),math.rad(0),math.rad(0)),.3)
end
elseif torvel>2 and hitfloor~=nil then
Anim="Walk"
if attack==false then
change=3
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 *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(10)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30*math.cos(sine/15)), math.rad(0), math.rad(-10)), 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,-1.5)*angles(math.rad(180),math.rad(0),math.rad(0)),.3)
end
end
end
if ready==true then
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 *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, 0.2) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(90), math.rad(0), math.rad(40)), 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(-10)),.3)
handleweld.C0=clerp(handleweld.C0,cf(-.1,.1,.1)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
end
endThis scrpit gives you a Barricade Shotgun. to shot press F. If the scrpit dosen't work. coment!

Universal