Run it
Copy the script and paste it into your executor.
Meshes = {
Blast = ,
Crown = ,
Ring = ,
Claw = ,
Crystal = ,
Coil = ,
Cloud = ,
}
clangsounds = {
,
,
,
,
}
hitsounds = {
,
,
,
,
,
}
blocksounds = {
,
}
armorsounds = {
,
,
,
,
}
woosh = {
Heavy1 = ,
Heavy2 = ,
Heavy3 = ,
Heavy4 = ,
Heavy5 = ,
Heavy6 = ,
Heavy7 = ,
Light1 = ,
Light2 = ,
Light3 = ,
Light4 = ,
Light5 = ,
Light6 = ,
Light7 = ,
Medium1 = ,
Medium2 = ,
Medium3 = ,
Medium4 =
}
music = {
Breaking = ,
FinalReckoning = ,
NotDeadYet = ,
Intense = ,
JumpP1 = ,
JumpP2 = ,
SonsOfWar = ,
WrathOfSea = ,
ProtecTorsofEarth = ,
SkyTitans = ,
ArchAngel = ,
Anticipation = ,
TheMartyred = ,
AwakeP1 = ,
AwakeP2 = ,
ReadyAimFireP1 = ,
ReadyAimFireP2 = ,
DarkLordP1 = ,
DarkLordP2 = ,
BloodDrainP1 = ,
BloodDrainP2 = ,
DanceOfSwords = ,
Opal = ,
Calamity = ,
Hypnotica = ,
Nemisis = ,
Breathe = ,
GateToTheRift = ,
InfernalBeserking = ,
Trust = ,
AwakeningTheProject = ,
BloodPain = ,
Chaos = ,
NightmareFictionHighStake = ,
TheWhiteWeapon = ,
Gale = ,
ImperialCode = ,
Blitzkrieg = ,
RhapsodyRage = ,
TheGodFist = ,
BattleForSoul = ,
TheDarkColossus = ,
EmpireOfAngels = ,
Kronos = ,
Exorcist = ,
CrimsonFlames = ,
UltimatePower = ,
DrivingInTheDark = ,
AscendToPower = ,
GodOfTheSun = ,
DarkRider = ,
Vengeance = ,
SoundOfWar = ,
HellsCrusaders = ,
Legend = ,
RisingSouls =
}
misc = {
GroundSlam = ,
LaserSlash = ,
RailGunFire = ,
Charge1 = ,
Charge2 = ,
Charge3 = ,
EmptyGun = ,
GunShoot = ,
Stomp1 = ,
Stomp2 = ,
TelsaCannonCharge = ,
TelsaCannonShoot = ,
AncientHymm =
}
()
Player = .Players.localPlayer
Character = Player.Character
Humanoid = Character.Humanoid
mouse = Player:()
m = .(, Character)
m.Name =
Effects = {}
LeftArm = Character[]
RightArm = Character[]
LeftLeg = Character[]
RightLeg = Character[]
Head = Character.Head
Torso = Character.Torso
cam = .Workspace.CurrentCamera
RootPart = Character.HumanoidRootPart
RootJoint = RootPart.RootJoint
equipped =
attack =
Anim =
idle =
sprint =
battlestance =
attacktype =
state =
Torsovelocity = (RootPart.Velocity * .(, , )).magnitude
velocity = RootPart.Velocity.y
sine =
change =
on =
grabbed =
skill1 =
skill2 =
skill3 =
skill4 =
cooldown1 =
cooldown2 =
cooldown3 =
cooldown4 =
co1 =
co2 =
co3 =
co4 =
inputserv = :()
typing =
crit =
critchance =
critdamageaddmin =
critdamageaddmax =
maxstamina =
stamina =
skill1stam =
skill2stam =
skill3stam =
skill4stam =
recoverEnergy =
defensevalue =
speedvalue =
mindamage =
maxdamage =
damagevalue =
cn = .new
mr = .rad
angles = .Angles
ud = .new
c3 = .new
skillcolorscheme = (, , )
NeckCF = (, , , -, -, -, , , , , , )
Humanoid.Animator:()
Character.Animate:()
RootCF = .(-, , )
RSH, LSH = ,
RHS, LHS = ,
RW = .()
LW = .()
RH = .()
LH = .()
Player = Player
ch = Character
LHS = Torso[]
RHS = Torso[]
RSH = ch.Torso[]
LSH = ch.Torso[]
RSH.Parent =
LSH.Parent =
LHS.Parent =
RHS.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
LH.Name =
LH.Part0 = ch.Torso
LH.C0 = (-, -, )
LH.Part1 = ch[]
LH.Parent = ch.Torso
RH.Name =
RH.Part0 = ch.Torso
RH.C0 = (, -, )
RH.Part1 = ch[]
RH.Parent = ch.Torso
scrn = .(, Player.PlayerGui)
(par, trans, pos, size, color)
frame = .(, par)
frame.BackgroundTransparency = trans
frame.BorderSizePixel =
frame.Position = pos
frame.Size = size
frame.BackgroundColor3 = color
frame
(par, text)
label = .(, par)
label.BackgroundTransparency =
label.Size = (, , , )
label.Position = (, , , )
label.TextColor3 = (, , )
label.TextStrokeTransparency =
label.FontSize = .FontSize.Size32
label.Font = .Font.SourceSansBold
label.BorderSizePixel =
label.TextScaled =
label.Text = text
framesk1 = (scrn, , (, , , ), (, , , ), skillcolorscheme)
framesk2 = (scrn, , (, , , ), (, , , ), skillcolorscheme)
framesk3 = (scrn, , (, , , ), (, , , ), skillcolorscheme)
framesk4 = (scrn, , (, , , ), (, , , ), skillcolorscheme)
bar1 = (framesk1, , (, , , ), (, , , ), skillcolorscheme)
bar2 = (framesk2, , (, , , ), (, , , ), skillcolorscheme)
bar3 = (framesk3, , (, , , ), (, , , ), skillcolorscheme)
bar4 = (framesk4, , (, , , ), (, , , ), skillcolorscheme)
text1 = (framesk1, )
text2 = (framesk2, )
text3 = (framesk3, )
text4 = (framesk4, )
staminabar = (scrn, , (, , , ), (, , , ), BrickColor.().Color)
staminacover = (staminabar, , (, , , ), (, , , ), BrickColor.().Color)
staminatext = (staminabar, )
healthbar = (scrn, , (, , , ), (, , , ), (, , ))
healthcover = (healthbar, , (, , , ), (, , , ), BrickColor.().Color)
healthtext = (healthbar, )
stats = .(, Character)
stats.Name =
block = .(, stats)
block.Name =
block.Value =
stun = .(, stats)
stun.Name =
stun.Value =
defense = .(, stats)
defense.Name =
defense.Value = defensevalue
speed = .(, stats)
speed.Name =
speed.Value = speedvalue
damagea = .(, stats)
damagea.Name =
damagea.Value = damagevalue
gyro = .()
gyro.Parent =
gyro.P =
gyro.D =
gyro.MaxTorque = .(,,)
(s, e)
.(.(()
attacktype = e
()
attacktype = s
))
()
.(.(()
crit =
()
crit =
))
(k)
stamina >= k
stamina = stamina - k
(a, b, t)
a:(b, t)
(percent)
randomized = .(, )
randomized <= percent
randomized >= percent
RbxUtility = ()
Create = RbxUtility.Create
(part)
part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = , , , , ,
(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
Part = (){
formFactor = FormFactor,
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = ,
Locked = ,
BrickColor = BrickColor.((BColor)),
Name = Name,
Size = Size,
Material = Material,
}
(Part)
Part
(Mesh, Part, MeshType, MeshId, OffSet, Scale)
Msh = (Mesh){
Parent = Part,
Offset = OffSet,
Scale = Scale,
}
Mesh ==
Msh.MeshType = MeshType
Msh.MeshId = MeshId
Msh
(Parent, Part0, Part1, C0, C1)
Weld = (){
Parent = Parent,
Part0 = Part0,
Part1 = Part1,
C0 = C0,
C1 = C1,
}
Weld
(pos, dir, maxl, ignore)
:():(Ray.(pos, dir.unit * (maxl )), ignore)
(par, size, pos1, trans, trans1, howmuch, delay1, id, )
p = .(, par )
p.CFrame = pos1
p.Anchored =
p.Material =
p.CanCollide =
p.TopSurface =
p.Size = .(, , )
p.BottomSurface =
p.Transparency = trans
p.FormFactor =
(p)
mesh = .(, p)
mesh.Scale = size
id ~= ==
mesh.MeshId = ..id
id == ~=
mesh.MeshType =
id == ==
mesh.MeshType =
.(()
i = , delay1,
()
p.CFrame = p.CFrame
mesh.Scale = mesh.Scale + howmuch
p.Transparency = p.Transparency + trans1
p:()
)()
p
(cframe)
()
clang = {}
dis =
part = .(, )
part.CFrame = cframe
part.Anchored =
part.CanCollide =
part.BrickColor = BrickColor.()
part.FormFactor =
part.Name =
part.Size = .(, , )
part.TopSurface =
part.BottomSurface =
part.RightSurface =
part.LeftSurface =
part.BackSurface =
part.FrontSurface =
part:()
mesh = .(, part)
.(()
i = ,
()
dis = dis +
partc = part:()
partc.Parent =
partc.CFrame = part.CFrame * .(dis, , )
partc.CFrame = partc.CFrame * .(, dis, )
.(clang, partc)
i, v (clang)
.(()
i = ,
()
v.Transparency = v.Transparency +
v:()
)()
)()
(color, pos1)
p = .(, m)
p.BrickColor = BrickColor.(color)
p.CFrame = pos1
p.Anchored =
p.Material =
p.CanCollide =
p.TopSurface =
p.Size = .(, , )
p.BottomSurface =
p.Transparency =
p.FormFactor =
mesh = .(, p)
mesh.Scale = .(, , )
.(()
i = , ,
()
p.CFrame = p.CFrame
mesh.Scale = mesh.Scale + .(, , )
p.Transparency = p.Transparency +
p:()
)()
(color, pos1)
p = .(, m)
p.BrickColor = BrickColor.(color)
p.CFrame = pos1
p.Anchored =
p.Material =
p.CanCollide =
p.TopSurface =
p.Size = .(, , )
p.BottomSurface =
p.Transparency =
p.FormFactor =
mesh = .(, p)
mesh.Scale = .(, , )
.(()
i = , ,
()
p.CFrame = p.CFrame * .(, , )
mesh.Scale = mesh.Scale - .(, , )
p.Transparency = p.Transparency +
p:()
)()
(tablesa)
randomized = tablesa[.(, #tablesa)]
randomized
(id, pitch, volume, par, last)
s = .(, par Torso)
s.SoundId = ..id
s.Pitch = pitch
s.Volume = volume
()
s:()
.Debris:(s, last )
(cframe)
()
clang = {}
dis =
part = .(, )
part.CFrame = cframe
part.Anchored =
part.CanCollide =
part.BrickColor = BrickColor.()
part.FormFactor =
part.Name =
part.Size = .(, , )
part.TopSurface =
part.BottomSurface =
part.RightSurface =
part.LeftSurface =
part.BackSurface =
part.FrontSurface =
part:()
mesh = .(, part)
.(()
i = ,
()
dis = dis +
partc = part:()
partc.Parent =
partc.CFrame = part.CFrame * .(dis, , )
partc.CFrame = partc.CFrame * .(, dis, )
.(clang, partc)
i, v (clang)
.(()
i = ,
()
v.Transparency = v.Transparency +
v:()
)()
)()
so = (id, par, vol, pit)
.(.(()
sou = .(, par )
sou.Volume = vol
sou.Pitch = pit
sou.SoundId = id
()
sou:()
:():(sou, )
))
(obj, distance)
last, lastx = distance +
i, v (:())
v: v ~= Character v:() v:() v:().Health >
t = v.Torso
dist = (t.Position - obj.Position).magnitude
dist <= distance
dist < last
last = dist
lastx = v
lastx
(cframe, text)
a = .(-, ) /
c = .()
c.Transparency =
.().Parent = c
c.Parent = m
c.CFrame = .(cframe.p + .(, , ))
f = .()
f.P =
f.D =
f.maxForce = .(.huge, .huge, .huge)
f.position = c.Position + .(, , )
f.Parent = c
:():(c, + )
c.CanCollide =
c.CanCollide =
bg = .(, m)
bg.Adornee = c
bg.Size = .(, , , )
bg.StudsOffset = .(, , )
bg.AlwaysOnTop =
tl = .(, bg)
tl.BackgroundTransparency =
tl.Size = .(, , , )
tl.Text = text
tl.Font =
tl.FontSize =
crit ==
tl.TextColor3 = .( / , , )
tl.TextColor3 = .(, / , / )
tl.TextStrokeTransparency =
tl.TextScaled =
tl.TextWrapped =
.(()
()
i = ,
()
tl.TextTransparency = tl.TextTransparency +
)()
(hum, Player)
creator = .(, hum)
creator.Value = Player
creator.Name =
(hum)
hum ~=
tag = hum:()
tag ~=
tag.Parent =
(h)
.(()
(h, Player)
()
(h)
)()
(Obj,Dist)
_,v (:())
v:() v:() v ~= Character
DistFromTorso = (v.Torso.Position - Obj.Position).magnitude
DistFromTorso < Dist
v
(hit, mind, maxd, knock, , prop)
hit.Name:() ==
pos = .(, , -)
((clangsounds), .(, ) / , , Torso, )
.(()
i = ,
(Torso.CFrame * pos * .(, .(.(, )), ))
)()
hit.Parent ==
h = hit.Parent:()
i, v (hit.Parent:())
v:()
h = v
hit.Parent.Parent:() ~=
h = hit.Parent.Parent:()
hit.Parent:()
hit = hit.Parent.Parent:()
D = .(mind, maxd) * damagea.Value
h
h.Parent:()
D=D/h.Parent:().Defence.Value
h.Parent:()
D=D
h
(h.Parent.Head.CFrame, (.(D + )))
h ~= hit.Parent.Name ~= Character.Name hit.Parent:() ~=
==
(h)
asd = (critchance)
asd ==
()
crit ==
h.Health = h.Health - D
h.Health = h.Health - (D + .(critdamageaddmin, critdamageaddmax))
(, hit, , .(, ) / )
vp = .()
vp.P =
vp.maxForce = .(.huge, , .huge)
vp.velocity = prop.CFrame.lookVector * knock + prop.Velocity /
knock >
vp.Parent = hit.Parent.Torso
:():(vp, )
==
(, hit, , .(, ) / )
asd = (critchance)
asd ==
()
crit ==
h.Health = h.Health - D
h.Health = h.Health - (D + .(critdamageaddmin, critdamageaddmax))
(h)
==
(h)
asd = (critchance)
asd ==
()
crit ==
h.Health = h.Health - D
h.Health = h.Health - (D + .(critdamageaddmin, critdamageaddmax))
Character.Humanoid.Health = Character.Humanoid.Health + D /
(, hit, , )
i = ,
(, hit.CFrame * .(.(, ), .(, ), .(, )))
==
h.Health = h.Health + D
(, hit, , )
(, h.Parent.Torso.CFrame * .(, -, ))
(k)
stamina >= k
stamina = stamina - k
HandleA=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
HandleAweld=(m,Character[],HandleA,.(, , , , , , , , , , , ),.(-, -, , , -, , , , , -, , ))
(,HandleA,,,.(, , ),.(, , ))
HandleB=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
HandleBweld=(m,Character[],HandleB,.(, , , , , , , , , , , ),.(-, -, , , -, , , , , -, , ))
(,HandleB,,,.(, , ),.(, , ))
FakeHandleA=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
FakeHandleAweld=(m,HandleA,FakeHandleA,.(, , , , , , , , , , , ),.(, -, , , , , , , , , , ))
(,FakeHandleA,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, , , -, -, -, -, -, , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, , -, , -, -, -, , -, , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, , , -, , , , -, , , , ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, , , -, , , , -, , , , ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, , , , , , -, , , , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , , , -, -, , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, , -, -, -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, , , -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, , , -, -, , -, , , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Symmetric,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Symmetric,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, -, -, -, -, ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , , , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, , -, -, , , -, -, , , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, , , , -, , -, -, -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, , , -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, , , , -, -, , , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, , -, , , , , -, , , -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, , -, , -, , -, -, , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Symmetric,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, , , -, , -, -, -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, , , -, -, -, , -, , -, -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, , , -, -, -, , -, , -, -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, , , -, , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, , , -, -, -, , -, , -, -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, , , -, , -, -, -, , , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, , , , -, -, , , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Symmetric,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, , -, , , -, -, -, , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, , , , -, -, , , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, , , -, , -, -, -, , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, , , -, , -, -, -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, , -, , , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, , -, , -, , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, , -, -, , -, , -, , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, , -, -, -, , -, , , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, , -, -, , -, -, -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, , , -, -, -, , -, , -, -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, , , , , -, , , , , -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, , -, , -, , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, , -, , -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, -, , , -, , -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleA,Part,.(, , , , , , , , , , , ),.(-, -, -, -, -, , -, , -, , -, -))
(,Part,,,.(, , ),.(, , ))
BarrelA=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
BarrelAweld=(m,FakeHandleA,BarrelA,.(, , , , , , , , , , , ),.(-, -, -, , -, , , -, -, , , ))
(,BarrelA,.MeshType.FileMesh,,.(, , ),.(, , ))
FakeHandleB=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
FakeHandleBweld=(m,HandleB,FakeHandleB,.(, , , , , , , , , , , ),.(, , , , -, , -, , , , , ))
(,FakeHandleB,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, , , -, -, -, -, -, , ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(-, -, , -, , -, -, -, , -, , ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, , , -, , , , -, , , , ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, , , -, , , , -, , , , ))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, , , , , , -, , , , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , , , -, -, , -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(-, -, , , -, -, , , -, , -, ))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(-, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, , -, -, -, -))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.Neon,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, , -, -, -, , , -, , -, -))
(,Part,.MeshType.FileMesh,,.(, , ),.(, , ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(-, , , -, -, , -, , , -, -, -))
(,Part,.MeshType.Wedge,,.(, , ),.(, , ))
Part=(.FormFactor.Symmetric,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, -, -, , -, -, -, , -, ))
Part=(.FormFactor.Custom,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -, -, -, -, -, ))
(,Part,,,.(, , ),.(, , ))
Part=(.FormFactor.Symmetric,m,.Material.SmoothPlastic,,,,,.(, , ))
Partweld=(m,FakeHandleB,Part,.(, , , , , , , , , , , ),.(, -, -, -, , , -e-007, -1.72481072e-012, -1, -2.10332684e-012, -0.999999523, 1.13974021e-012))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77489591, -0.0646619797, 0.446767896, 0.999992132, -1.47525031e-006, -1.80026205e-007, 1.4752394e-006, 0.999999523, 1.4759812e-008, 1.8003314e-007, -1.47594861e-008, 1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.069406271, 0.577923179, -1.12559754e-007, -0.999999523, 4.43629311e-008, 0.999992132, -1.12560592e-007, -1.3411244e-007, 1.34119745e-007, 4.43634747e-008, 1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952959061, -0.594092369, 0.0781444907, 4.17223703e-007, 1, -1.04824346e-006, 1, -4.17224214e-007, -5.03528042e-007, -5.03528497e-007, -1.04824335e-006, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.229600906, -0.325974405, 0.126894355, -1, -2.91118322e-005, -0.000387890788, 0.000387889944, 2.88337451e-005, -1, 2.91230135e-005, -1, -2.88224492e-005))
CreateMesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.118097998, 0.118097998, 0.459269375))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.249317944, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0810451508, -0.130914927, -0.000957846642, 0.707105875, 1.57924535e-006, 0.707106233, -0.707109392, -3.81509153e-006, 0.707109034, 3.81436735e-006, -1, -1.58096793e-006))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000948429108, 0.0531208515, -0.659636974, 5.96029182e-008, 0.999999523, 1.09855129e-007, 5.97946098e-007, -1.09854533e-007, 1, 0.999992132, -5.96032947e-008, -5.9794246e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000953197479, 0.0694093704, -0.577948451, 5.12381426e-008, -0.999999523, 1.78379249e-008, -0.999992132, -5.12385121e-008, 2.5332173e-007, -2.53328068e-007, -1.78385147e-008, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.524879932, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381076962, -1.18432021, -0.000951766968, -4.61942591e-007, -4.89190355e-011, -1, 0.999992132, 7.56278113e-012, -4.61937873e-007, 7.56273516e-012, -0.999999523, 4.83339826e-011))
CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000945448875, -0.725324035, -0.053067863, 1.03413258e-005, 0.999999523, -1.3563623e-006, 0.999992132, -1.03414031e-005, -5.86404383e-007, -5.86422175e-007, -1.35635628e-006, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.195877314, 0.315567106, 1.77491331, -2.98756218e-013, -0.999999523, -4.63664264e-007, 5.03129854e-007, -4.63663469e-007, 1, -0.999992132, 6.54619384e-014, 5.03125477e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439966, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.64354384, -0.381081581, -0.000951766968, -0.999992132, 5.69671263e-014, 5.21542518e-007, -5.21546724e-007, -1.37326636e-010, -1, -5.69069531e-014, -0.999999523, 1.36741632e-010))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.262439996, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77477098, -0.381083727, -0.000951647758, -0.999992132, 5.6906411e-014, 5.21542518e-007, -5.21546724e-007, -1.45938026e-010, -1, -5.68417451e-014, -0.999999523, 1.45353021e-010))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 1, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, 0.184345931, 1.77488852, -2.98793217e-013, -0.999999523, -4.63661593e-007, 5.03129854e-007, -4.63660797e-007, 1, -0.999992132, 6.55001024e-014, 5.03125477e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381089836, -0.856280804, -0.000952005386, -4.61942562e-007, -5.10294133e-011, -1, 0.999992132, 8.24417357e-012, -4.61937844e-007, 8.244125e-012, -0.999999523, 5.0444364e-011))
CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77489245, -0.0646588802, -0.31554237, -0.999992132, -1.13818612e-012, 5.39959558e-007, -8.72651452e-013, 0.999999523, 4.91726496e-007, -5.39963651e-007, 4.917257e-007, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.524879932, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, 0.0531313121, 1.6436727, -2.98866156e-013, -0.999999523, -4.63665486e-007, 5.03129854e-007, -4.63664691e-007, 1, -0.999992132, 6.55707923e-014, 5.03125477e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952959061, -0.577952385, 0.193134546, 2.79130136e-010, -0.999999523, 4.63188996e-007, -5.03130252e-007, -4.63189366e-007, -1, 0.999992132, 2.78899154e-010, -5.03125875e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439996, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.266266823, -0.577865839, -0.000952482224, -0.999992132, 4.90718091e-011, 5.21542461e-007, -5.21546724e-007, -1.56813909e-010, -1, -4.90713789e-011, -0.999999523, 1.56228946e-010))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.465830922, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0548336506, -0.318395734, -0.000958323479, 0.707105875, 1.57925228e-006, 0.707106233, -0.707109392, -3.81509062e-006, 0.707109034, 3.81437167e-006, -1, -1.58096236e-006))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.656099856, 0.393659979, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200448036, -0.315522313, -0.000952363014, -0.999992132, -2.27365869e-013, 5.21542461e-007, -5.21546724e-007, -6.72415856e-012, -1, 2.27355651e-013, -0.999999523, 6.13908924e-012))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.77488089, -0.0665599108, 0.446766585, -0.999992132, 3.95272495e-011, 5.0312542e-007, -3.9760268e-011, -0.999999523, -4.63689361e-007, 5.03129854e-007, -4.63688565e-007, 1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.656099916, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.382884026, -0.0559498072, -0.000958442688, 0.70710665, 1.57925615e-006, 0.707107008, -0.707107008, -3.81507789e-006, 0.70710665, 3.8143703e-006, -1, -1.58096373e-006))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.951344788, 1, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25007939, -0.315561235, -0.197780728, -0.999992132, -6.25213856e-013, 5.21542461e-007, -5.21546724e-007, -5.85120234e-012, -1, 6.25200358e-013, -0.999999523, 5.26613258e-012))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.77488446, -0.0665627718, -0.315546811, 0.999992132, 1.47522906e-006, -8.63058801e-007, 1.47521814e-006, -0.999999523, -5.96147274e-008, -8.6306045e-007, 5.96128444e-008, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952959061, -0.0692336559, -0.0530753434, 4.17206678e-007, 0.999999523, -1.24864869e-006, 0.999992132, -4.17210515e-007, -6.0446564e-007, -6.04469733e-007, -1.24864869e-006, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594279528, -0.577865899, -0.000952363014, -0.999992132, 4.86700541e-011, 5.21542461e-007, -5.21546724e-007, -1.55773255e-010, -1, -4.86696274e-011, -0.999999523, 1.55188293e-010))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952839851, -0.061965704, -0.0530880094, -4.01770336e-007, -0.999999523, 1.08025915e-006, -0.999992132, 4.0177386e-007, 5.21542518e-007, -5.21547179e-007, -1.08025915e-006, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.324369669, -0.446746528, -0.000952601433, -0.999992132, -2.28737904e-010, 5.21542461e-007, -5.21546724e-007, 3.90042887e-010, -1, 2.28737695e-010, -0.999999523, -3.90628141e-010))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381086797, -1.51237679, -0.000951766968, -4.61942562e-007, -5.10293613e-011, -1, 0.999992132, 8.24414408e-012, -4.61937844e-007, 8.24409551e-012, -0.999999523, 5.04443119e-011))
CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70929945, -0.446754336, 0.195877552, -0.999992132, 5.69068447e-014, 5.21542461e-007, -5.21546724e-007, 3.55547189e-011, -1, -5.69368364e-014, -0.999999523, -3.61398099e-011))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000952720642, 0.331609011, -0.0531049073, -4.01785996e-007, -0.999999523, 1.0803011e-006, -0.999992132, 4.01789521e-007, 5.21542518e-007, -5.21547236e-007, -1.0803011e-006, -1))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.918540061, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.25007296, -0.315559149, 0.195877194, -0.999992132, -6.25237275e-013, 5.21542461e-007, -5.21546724e-007, -6.61044526e-012, -1, 6.25224156e-013, -0.999999523, 6.02537551e-012))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.197781563, 0.315561146, 1.77490151, -2.98711766e-013, -0.999999523, -4.63686263e-007, 5.03129854e-007, -4.63685438e-007, 1, -0.999992132, 6.54063189e-014, 5.03125477e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262439966, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000952243805, 0.446721435, 0.193157434, 4.75553064e-009, 0.999999523, -1.86242642e-006, 5.20050321e-007, 1.86242619e-006, 1, 0.999992132, -4.75653428e-009, -5.20046058e-007))
CreateMesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.262439996))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.193185091, -0.315557897, -0.000952482224, -0.999992132, -1.3114748e-012, 5.21542461e-007, -5.21546724e-007, 1.62533511e-011, -1, 1.31144477e-012, -0.999999523, -1.683843e-011))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.200000003, 0.200000003, 0.262439966))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.594074965, -0.0531003177, -0.000952243805, -1, 4.97786491e-014, 5.21546554e-007, -5.21546554e-007, -3.0692675e-012, -1, -4.97770262e-014, -1, 3.0692675e-012))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 1))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Hot pink","Part",Vector3.new(0.262440026, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.70932782, -0.44676286, -0.197781324, -0.999992132, 5.68986048e-014, 5.21542461e-007, -5.21546724e-007, 4.87655437e-011, -1, -5.6935488e-014, -0.999999523, -4.93506416e-011))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.381075472, -1.78137565, -0.000952839851, -4.61942591e-007, -4.99045215e-011, -1, 0.999992132, 8.10165563e-012, -4.61937873e-007, 8.10160619e-012, -0.999999523, 4.93194721e-011))
CreateMesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.656099916, 0.656099916, 0.656099916))
Part=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.262439966, 0.200000003, 0.262439996))
Partweld=CreateWeld(m,FakeHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.258816719, -0.184331298, -0.000952482224, -0.999992132, -8.72896373e-013, 5.21542461e-007, -5.21546724e-007, 1.59087344e-011, -1, 8.72869593e-013, -0.999999523, -1.64938133e-011))
CreateMesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.656099916, 1))
BarrelB=CreatePart(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Hot pink","BarrelB",Vector3.new(0.200000003, 0.200000003, 0.512000024))
BarrelBweld=CreateWeld(m,FakeHandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00648140907, -0.375403613, -1.62292969, 4.16028452e-005, -1, 4.46680346e-008, 4.43528563e-007, -4.46495818e-008, -1, 1, 4.16028452e-005, 4.43526744e-007))
CreateMesh("SpecialMesh",BarrelB,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18430887",Vector3.new(0, 0, 0),Vector3.new(0.153600022, 0.140799999, 0.447999448))
local lasrs = {}
local lasrspd = 5
local maxTravelDistance = 300
local maxRebounds = 2
function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
collidedlist = collidedlist or {Character}
startpos = startpos or pos
distleft = distleft or dir.unit * dir.magnitude
endpos = endpos or pos + distleft
local ray = Ray.new(pos, distleft)
local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
if hitz.CanCollide == false then
table.insert(collidedlist, hitz)
local newpos = enz
local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
if newdistleft then
return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
end
end
end
return hitz, enz, ray
end
function FindSurface(part, position)
local obj = part.CFrame:pointToObjectSpace(position)
local siz = part.Size/2
for i,v in pairs(Enum.NormalId:GetEnumItems()) do
local vec = Vector3.FromNormalId(v)
local wvec = part.CFrame:vectorToWorldSpace(vec)
local vz = (obj)/(siz*vec)
if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then
return wvec,vec
end
end
if part.className == "WedgePart" then
local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
return wvec,vec
elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
end
end
function Reflect(direction, normal)
return direction - 2 * normal:Dot(direction) * normal
end
function ReflectShot(mouse,asd)
local dir = (mouse.Hit.p - Torso.Position).unit
local tabl
local tablnum = 0
for i, v in pairs(lasrs) do
if not v[1] then
tabl = v
tablnum = i
break
end
end
if not tabl then
tablnum = #lasrs + 1
tabl = {false,nil,nil,0,0,1,{},{},{},{}}
for i = 1, 2 do
for j = 1, 6 do
local p = Instance.new("Part")
p.FormFactor = "Custom"
p.CanCollide = false
p.Anchored = true
p.Locked = true
p.BrickColor = BarrelA.BrickColor
p.TopSurface = 10
p.BottomSurface = 10
p.RightSurface = 10
p.LeftSurface = 10
p.FrontSurface = 10
p.BackSurface = 10
p.Size = Vector3.new(.5,.5,.5)
p.Material = "Neon"
p.Transparency = i == 1 and 0 or 0.6
local mesh = Instance.new("CylinderMesh",p)
table.insert(tabl[6+i],p)
table.insert(tabl[8+i],mesh)
end
end
table.insert(lasrs,tabl)
end
-- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
tabl[4],tabl[5] = 0,0
tabl[3] = asd.Position
tabl[2] = dir
tabl[1] = true
end
gun = false
shoot = false
gunidle = false
local GunA = true
local GunB = false
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(3, Character, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.1, 0.1, 0.1))
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 5)
Effects[#Effects + 1] = {
prt,
"Cylinder",
delay,
x3,
y3,
z3
} --part, type, delay
end
function Shoot(asd, spread1, spread2)
local MainPos = asd.Position
local MainPos2 = mouse.Hit.p
local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
local MouseLook = cn((MainPos + MainPos2) / 2, MainPos2 + spread)
num = 30
coroutine.resume(coroutine.create(function(Spreaded)
repeat
wait()
local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RootPart.Parent)
local TheHit = mouse.Hit.p
local mag = (MainPos - pos).magnitude
CylinderEffect(BrickColor.new(asd.BrickColor.Color), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
MainPos = MainPos + (MouseLook.lookVector * 10)
num = num - 1
if hit ~= nil then
num = 0
damage(hit.Parent:WaitForChild("Torso"), math.random(5,8), math.random(8,10), 5, 1, RootPart)
end
until num <= 0
end))
end
function Attackone()
attack = true
Con1 = LeftLeg.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end)
for i = 0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(5)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-30), math.rad(-5)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
end
so("http://roblox.com/asset/?id=320557413",LeftLeg,1,1)
for i = 0,1,0.15 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(10), math.rad(30)), .5)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .5)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-20)), .5)
RH.C0 = clerp(RH.C0, cn(0.55, -2, .5) * angles(math.rad(-30), math.rad(30), math.rad(10)), .5)
LH.C0 = clerp(LH.C0, cn(-1.3, -1, -1.3) * angles(math.rad(80), math.rad(-10), math.rad(-30)), .5)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
end
attack = false
Con1:disconnect()
end
function Attacktwo()
attack = true
Con1 = LeftArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end)
for i = 0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(10), math.rad(50)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(20)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3)
RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(30), math.rad(10)), .3)
LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(0), math.rad(30), math.rad(-10)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(70), math.rad(0)), .4)
end
so("http://roblox.com/asset/?id=320557413",LeftArm,1,1.2)
for i = 0,1,0.15 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .35)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(-5), math.rad(-80)), .35)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(50), math.rad(20), math.rad(30)), .35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(-90)), .35)
RH.C0 = clerp(RH.C0, cn(0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(10)), .35)
LH.C0 = clerp(LH.C0, cn(-0.8, -2, 0) * angles(math.rad(-10), math.rad(-40), math.rad(-10)), .35)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-90), math.rad(0)), .3)
end
attack = false
Con1:disconnect()
end
function Attackthree()
attack = true
Con1 = RightArm.Touched:connect(function(hit) damage(hit, math.random(5,6), math.random(6,10), 1, 1, RootPart) Con1:disconnect() end)
for i = 0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(70)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, 0) * angles(math.rad(160), math.rad(0), math.rad(20)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(0), math.rad(-150), math.rad(-90)), .3)
RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(7)), .3)
LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(40), math.rad(-7)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, -.1) * angles(math.rad(0), math.rad(150), math.rad(0)), .4)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
end
so("http://roblox.com/asset/?id=320557413",RightArm,1,1.3)
for i = 0,1,0.13 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(70)), .35)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-5), math.rad(-70)), .35)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.3) * angles(math.rad(30), math.rad(-50), math.rad(-20)), .35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), .35)
RH.C0 = clerp(RH.C0, cn(0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(7)), .35)
LH.C0 = clerp(LH.C0, cn(-0.57, -2, 0) * angles(math.rad(0), math.rad(-40), math.rad(-7)), .35)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .4)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .4)
end
attack = false
Con1:disconnect()
end
function Attackfour()
attack = true
for i = 0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(3), math.rad(70)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3)
RH.C0 = clerp(RH.C0, cn(0.7, -2, .3) * angles(math.rad(3), math.rad(70), math.rad(5)), .3)
LH.C0 = clerp(LH.C0, cn(-0.7, -2, -.3) * angles(math.rad(3), math.rad(70), math.rad(-5)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
end
so("http://roblox.com/asset/?id=320557413",LeftArm,1,0.9)
for i = 0,1,0.15 do
wait()
so("http://roblox.com/asset/?id=199145534",BarrelA,.5,math.random(150,200)/100)
OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1)
Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),.3,.3,.3,.3,.3,.3,0.1)
local target=CheckClose(BarrelA,5)
if target then
damage(target.Torso, math.random(1,2), math.random(2,3), 1, 1, RootPart)
end
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .35)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(-3), math.rad(-100)), .35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(60), math.rad(70)), .35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .35)
RH.C0 = clerp(RH.C0, cn(0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(8)), .35)
LH.C0 = clerp(LH.C0, cn(-0.58, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-8)), .35)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
end
attack = false
end
function GunStance()
attack=true
gun=true
speedvalue = 1
gyro.Parent = RootPart
if GunA == true then
for i=0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-90)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(30), math.rad(90)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), .25)
RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
end
for i=0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-10)), .25)
RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
end
elseif GunB == true then
for i=0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(90)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(10)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(-30), math.rad(-90)), .25)
RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), 5*i, math.rad(0)), .75)
end
for i=0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25)
RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
end
end
local offset = nil
gunidle=true
while gun==true do
wait()
local gunpos = Vector3.new(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
offset = (Torso.Position.y - mouse.Hit.p.y) / 60
local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
offset = offset / mag
if GunA == true and GunB == false then
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
elseif GunB == true and GunA == false then
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(offset, 0, 0), .5)
end
end
if shoot==true then
gunidle=false
if GunA == true then
so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
GunA = false
Shoot(BarrelA, 0, 0)
for i=0,1,0.15 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(80)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(5), math.rad(-80)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(90), math.rad(60), math.rad(80)), .55)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(-15)), .3)
RH.C0 = clerp(RH.C0, cn(0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
end
GunB = true
elseif GunB == true then
so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
GunB = false
Shoot(BarrelB, 0, 0)
for i=0,1,0.15 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55)
RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
end
GunA = true
end
end
gyro.Parent = nil
speedvalue = 2.5
gun=false
gunidle=false
shoot=false
attack=false
end
function EchoBarrage()
attack = true
gyro.Parent = RootPart
speedvalue = 1
for i = 0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), 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)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
end
for i = 1,2 do
for i = 0,1,0.3 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
ReflectShot(mouse,BarrelA)
so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
--so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
for i = 0,1,0.35 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
for i = 0,1,0.3 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.2) * angles(math.rad(90), math.rad(0), math.rad(0)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
ReflectShot(mouse,BarrelB)
so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
--so("http://www.roblox.com/asset/?id=360087120", Torso, .5, 1)
for i = 0,1,0.35 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
end
gyro.Parent = nil
attack = false
speedvalue = 2.5
end
function LucentScatter()
attack = true
gyro.Parent = RootPart
speedvalue = 1
for i = 0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-70)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(70)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(120), math.rad(0), math.rad(40)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
end
for i = 0,1,0.2 do
wait()
Shoot(BarrelA, 0, 0)
so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
end
for i=0,1,0.3 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .25)
RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
end
for i = 1,5 do
Shoot(BarrelB, 0, 0)
so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
for i=0,1,0.3 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), .5)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-5), math.rad(80)), .5)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50), math.rad(0), math.rad(15)), .5)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(90), math.rad(-60), math.rad(-80)), .55)
RH.C0 = clerp(RH.C0, cn(0.6, -2, .1) * angles(math.rad(-5), math.rad(0), math.rad(3)), .5)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, -.1) * angles(math.rad(5), math.rad(0), math.rad(-3)), .5)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(30), math.rad(0)), .3)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(20), math.rad(0)), .75)
end
for i=0,1,0.3 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), .8)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), .8)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-90)), .8)
RH.C0 = clerp(RH.C0, cn(0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .5)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .5)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .5)
end
end
gyro.Parent = nil
attack = false
speedvalue = 2.5
end
function OrbEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2, delay)
local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CanCollide=false
prt.CFrame = cframe*cn(0,-1,0)*angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90)))
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
coroutine.resume(coroutine.create(function(Part, Mesh)
for i = 0, 1, delay do
wait(0)
Part.CFrame = Part.CFrame
Part.Transparency = i
Mesh.Scale = Mesh.Scale + Vector3.new(x2, y2, z2)
end
Part.Parent = nil
end), prt, msh)
end
function Shockwave(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CFrame = cframe*cn(0,-1,0)
--prt.Material = "Neon"
local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
coroutine.resume(coroutine.create(function(Part, Mesh)
for i = 0, 1, delay do
wait(0)
Part.CFrame = Part.CFrame
Part.Transparency = i
Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
end
Part.Parent = nil
end), prt, msh)
end
function Reflex()
attack = true
gyro.Parent = RootPart
speedvalue = 1
for i = 0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.55) * angles(math.rad(5), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.2) * angles(math.rad(0), math.rad(100), math.rad(50)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.2) * angles(math.rad(0), math.rad(-100), math.rad(-50)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -1.5, .5) * angles(math.rad(-60), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(-5), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
so("http://roblox.com/asset/?id=199145534",BarrelA,1,math.random(150,200)/100)
for i=1,math.random(3,6) do
OrbEffect(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025)
Shockwave(BarrelA.BrickColor,cn(BarrelA.Position),1,1,1,1,1,1,0.025)
end
local target=CheckClose(BarrelA,30)
if target then
damage(target.Torso, 5, math.random(15,20), math.random(15,16), 1, RootPart)
end
Humanoid.Jump=true
Torso.Velocity=Vector3.new(0,7.5,0)
Torso.Velocity=RootPart.CFrame.lookVector*-100
Humanoid.WalkSpeed = 16*speed.Value
for i = 0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(-6*i, math.rad(0), math.rad(0)), .4)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .4)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(130)), .4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(-30), math.rad(0), math.rad(-130)), .4)
RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .4)
LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .4)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-150), math.rad(0)), .25)
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
end
gyro.Parent = nil
attack = false
speedvalue = 2.5
end
function Luxuriance()
attack = true
gyro.Parent = RootPart
for i = 0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.5) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -1.7, .4) * angles(math.rad(-20), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -1.45, -.5) * angles(math.rad(5), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
end
for i = 0,1,0.3 do
wait()
ReflectShot(mouse,BarrelA)
so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(100)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-100)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(130), math.rad(50), math.rad(30)), .2)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(-70), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
end
for i = 0,1,0.2 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(70)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(-70)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
end
for i = 0,1,0.3 do
wait()
ReflectShot(mouse,BarrelB)
so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(-100)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(100)), .3)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.3) * angles(math.rad(-20), math.rad(0), math.rad(-40)), .2)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -.5) * angles(math.rad(130), math.rad(-50), math.rad(-30)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(70), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(-130), math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .7)
end
for i = 0,1,0.1 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), 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)), .3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), .3)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(3)), .3)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(3), math.rad(0), math.rad(-3)), .3)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 10*i, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), -10*i, math.rad(0)), .7)
end
for i = 1,5 do
Shoot(BarrelA, 0, 0)
so("http://www.roblox.com/asset/?id=199144089", BarrelA, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelA, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelA, 1, 1.5)
for i = 0,1,0.35 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), .4)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(20)), .4)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(-20)), .4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(3)), .4)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(20), math.rad(-3)), .4)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
Shoot(BarrelB, 0, 0)
so("http://www.roblox.com/asset/?id=199144089", BarrelB, 1, .9)
so("http://www.roblox.com/asset/?id=200633327", BarrelB, 1, 1.2)
so("http://www.roblox.com/asset/?id=200633780", BarrelB, 1, 1.5)
for i = 0,1,0.35 do
wait()
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), .4)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-20)), .4)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -.4) * angles(math.rad(90), math.rad(0), math.rad(0)), .4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -.4) * angles(math.rad(150), math.rad(0), math.rad(20)), .4)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(3)), .4)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, 0) * angles(math.rad(0), math.rad(-20), math.rad(-3)), .4)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), 0, math.rad(0)), .7)
end
end
gyro.Parent = nil
attack = false
end
mouse.Button1Down:connect(function()
if gun==true and shoot==false then
shoot=true
gun=false
end
if attack == false and attacktype == 1 then
Attackone()
attacktype = 2
elseif attack == false and attacktype == 2 then
Attacktwo()
attacktype = 3
elseif attack == false and attacktype == 3 then
Attackthree()
attacktype = 4
elseif attack == false and attacktype == 4 then
Attackfour()
attacktype = 1
end
end)
mouse.KeyDown:connect(function(k)
k = k:lower()
if k=='e' and gun==false and shoot==false and attack==false then
GunStance()
end
if k=='e'and shoot==false then
if gun==true then
gun=false
end
end
if k=='q' and gun==false and shoot==false and attack==false and cooldown1 >= co1 and stamina>=skill1stam then
cooldown1=0
subtractstamina(skill1stam)
EchoBarrage()
end
if k=='r' and gun==false and shoot==false and attack==false and cooldown2 >= co2 and stamina>=skill2stam then
cooldown2=0
subtractstamina(skill2stam)
LucentScatter()
end
if k=='t' and gun==false and shoot==false and attack==false and cooldown3 >= co3 and stamina>=skill3stam then
cooldown3=0
subtractstamina(skill3stam)
Reflex()
end
if k=='f' and gun==false and shoot==false and attack==false and cooldown4 >= co4 and stamina>=skill4stam then
cooldown4=0
subtractstamina(skill4stam)
Luxuriance()
end
end)
inputserv.InputBegan:connect(function(k)
if k.KeyCode == Enum.KeyCode.One and typing == false and cooldown3 >= co1 and stamina >= skill1stam then
elseif k.KeyCode == Enum.KeyCode.Two and typing == false and cooldown3 >= co2 and stamina >= skill2stam then
elseif k.KeyCode == Enum.KeyCode.Three and typing == false and cooldown3 >= co3 and stamina >= skill3stam then
elseif k.KeyCode == Enum.KeyCode.Four and typing == false and cooldown3 >= co4 and stamina >= skill4stam then
end
end)
inputserv.InputBegan:connect(function(k)
if k.KeyCode == Enum.KeyCode.Slash then
local fin = nil
typing = true
fin = inputserv.InputBegan:connect(function(k)
if k.KeyCode == Enum.KeyCode.Return or k.UserInputType == Enum.UserInputType.MouseButton1 then
typing = false
fin:disconnect()
end
end)
end
end)
local ReboundCount = 0
function updateskills()
if cooldown1 <= co1 then
cooldown1 = cooldown1 + 1
end
if cooldown2 <= co2 then
cooldown2 = cooldown2 + 1
end
if cooldown3 <= co3 then
cooldown3 = cooldown3 + 1
end
if cooldown4 <= co4 then
cooldown4 = cooldown4 + 1
end
if stamina <= maxstamina then
stamina = stamina + recoverEnergy
end
end
game:GetService'RunService'.Heartbeat:connect(function()
updateskills()
gyro.CFrame = CFrame.new(Vector3.new(),(mouse.Hit.p -RootPart.CFrame.p).unit * 100)
healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), 'Out', 'Quad', .5)
staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), 'Out', 'Quad', .5)
bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), 'Out', 'Quad', .5)
bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), 'Out', 'Quad', .5)
bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), 'Out', 'Quad', .5)
bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), 'Out', 'Quad', .5)
Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
velocity = RootPart.Velocity.y
sine = sine + change
local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
Character.Humanoid.WalkSpeed = 16 * speed.Value
if equipped == true or equipped == false then
if RootPart.Velocity.y > 1 and hit == nil and stun.Value ~= true then
Anim = "Jump"
if attack == false then
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(50)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), .25)
RH.C0 = clerp(RH.C0, cn(0.4, -1.5, -.5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -2, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
end
elseif RootPart.Velocity.y < -1 and hit == nil and stun.Value ~= true then
Anim = "Fall"
if attack == false then
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(70)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-70)), .25)
RH.C0 = clerp(RH.C0, cn(0.6, -1.5, -.3) * angles(math.rad(0), math.rad(0), math.rad(5)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -1.8, -.2) * angles(math.rad(0), math.rad(0), math.rad(-5)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
end
elseif Torsovelocity < 1 and hit ~= nil and stun.Value ~= true then
Anim = "Idle"
if attack == false then
change = 1
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, -0.1+0.1*math.cos(sine/25), -0.1+0.05*math.cos(sine/25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10+5*math.cos(sine/25)), math.rad(0), math.rad(30)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(10)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.4, -.2) * angles(math.rad(50-5*math.cos(sine/25)), math.rad(0), math.rad(-10)), .25)
RH.C0 = clerp(RH.C0, cn(0.7, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(5))* angles(math.rad(-5+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
LH.C0 = clerp(LH.C0, cn(-0.6, -1.9-.05*math.cos(sine/25), 0) * angles(math.rad(0), math.rad(30), math.rad(-3))* angles(math.rad(-3+1*math.cos(sine/25)), math.rad(0), math.rad(0)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
end
elseif Torsovelocity > 2 and hit ~= nil and stun.Value ~= true then
Anim = "Walk"
if attack == false then
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(20+1*math.cos(sine/5)), math.rad(0), math.rad(5*math.cos(sine/4.5))), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-5*math.cos(sine/4.5))), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(20+1*math.cos(sine/5))), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20+1*math.cos(sine/5))), .25)
RH.C0 = clerp(RH.C0, cn(0.55, -2, 1*math.cos(sine/4.5)) * angles(math.rad(-50*math.cos(sine/4.5)), math.rad(0), math.rad(3)), .25)
LH.C0 = clerp(LH.C0, cn(-0.55, -2, -1*math.cos(sine/4.5)) * angles(math.rad(50*math.cos(sine/4.5)), math.rad(0), math.rad(-3)), .25)
FakeHandleAweld.C0 = clerp(FakeHandleAweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
FakeHandleBweld.C0 = clerp(FakeHandleBweld.C0, cn(0, 0, .8) * angles(math.rad(0), math.rad(-170), math.rad(0)), .25)
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
end
elseif stun.Value == true then
if attack == false then
Character.Humanoid.WalkSpeed = 0
RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
RH.C0 = clerp(RH.C0, cn(0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
LH.C0 = clerp(LH.C0, cn(-0.5, -2, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .25)
RW.C1 = clerp(RW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
LW.C1 = clerp(LW.C1, cn(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0), .3)
end
end
end
if #Effects > 0 then
for e = 1, #Effects do
if Effects[e] ~= nil then
local Thing = Effects[e]
if Thing ~= nil then
local Part = Thing[1]
local Mode = Thing[2]
local Delay = Thing[3]
local IncX = Thing[4]
local IncY = Thing[5]
local IncZ = Thing[6]
if Thing[1].Transparency <= 1 then
if Thing[2] == "Block1" then
Thing[1].CFrame = Thing[1].CFrame * CFrame.FromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
local Mesh = Thing[1].Mesh
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
elseif Thing[2] == "Cylinder" then
local Mesh = Thing[1].Mesh
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
elseif Thing[2] == "Blood" then
local Mesh = Thing[7]
Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, .5, 0)
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
elseif Thing[2] == "Elec" then
local Mesh = Thing[1].Mesh
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
elseif Thing[2] == "Disappear" then
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
end
else
Part.Parent = nil
table.remove(Effects, e)
end
end
end
end
end
for _, lasr in pairs(lasrs) do
for i, v in pairs(lasr[9]) do
if lasr[7][i].Parent then
v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1)
lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1)
if v.Scale.x < 0.1 then
lasr[7][i].Parent = nil
lasr[8][i].Parent = nil
end
end
end
if lasr[1] then
local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd)
lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
lasr[7][lasr[6]].Parent = m
lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0)
lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7)
lasr[8][lasr[6]].Parent = m
lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3)
lasr[3] = enz
lasr[6] = lasr[6]%#lasr[7] + 1
if hitz then
lasr[4] = lasr[4] + 1
if lasr[4] == maxRebounds then
lasr[1] = false
so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
print(ReboundCount)
else
local norm = FindSurface(hitz,enz)
lasr[2] = Reflect(lasr[2],norm)
so("http://www.roblox.com/asset/?id=200633327", hitz, 1, 2)
damage(hitz.Parent:WaitForChild("Torso"), math.random(5,10), math.random(10,20), 5, 1, RootPart)
print(ReboundCount)
end
end
if lasr[5] > maxTravelDistance then
lasr[1] = false
end
end
end
end)fd or filtering disabled

Universal