Run it
Copy the script and paste it into your executor.
(a)
t = {}
=
=
=
=
=
=
=
=
=
=
assert = assert
StringBuilder = {
buffer = {}
}
StringBuilder:()
o = {}
(o, self)
self.__index = self
o.buffer = {}
o
StringBuilder:(s)
self.buffer[#self.buffer+] = s
StringBuilder:()
.(self.buffer)
JsonWriter = {
backslashes = {
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
[] =
}
}
JsonWriter:()
o = {}
o.writer = StringBuilder:()
(o, self)
self.__index = self
o
JsonWriter:(s)
self.writer:(s)
JsonWriter:()
self.writer:()
JsonWriter:(o)
t = (o)
t ==
self:()
t ==
self:(o)
t ==
self:(o)
t ==
self:(o)
t ==
self:(o)
t ==
self:(o)
t ==
self:(o)
t ==
self:(o)
JsonWriter:()
self:()
JsonWriter:(o)
self:((o))
JsonWriter:(s)
self:()
self:(.(s, , (n)
c = self.backslashes[n]
c c
.(, .(n))
))
self:()
JsonWriter:(t)
count =
isindex = (k)
(k) == k >
.(k) == k
k,v (t)
(k)
, ,
count = .(count, k)
, , , count
JsonWriter:(t)
ba, st, et, n = self:(t)
self:(st)
ba
i = , n
self:(t[i])
i < n
self:()
first = ;
k, v (t)
first
self:()
first = ;
self:(k)
self:()
self:(v)
self:(et)
JsonWriter:(o)
(.(
,
(o)))
JsonWriter:(o)
o == Null
self:()
self:(o)
StringReader = {
s = ,
i =
}
StringReader:(s)
o = {}
(o, self)
self.__index = self
o.s = s o.s
o
StringReader:()
i = self.i +
i <= #self.s
.(self.s, i, i)
StringReader:()
self.i = self.i+
self.i <= #self.s
.(self.s, self.i, self.i)
StringReader:()
self.s
JsonReader = {
escapes = {
[] = ,
[] = ,
[] = ,
[] = ,
[] = ,
}
}
JsonReader:(s)
o = {}
o.reader = StringReader:(s)
(o, self)
self.__index = self
o;
JsonReader:()
self:()
peek = self:()
peek ==
(.(
,
self:()))
peek ==
self:()
peek ==
self:()
peek ==
self:()
.(peek, )
self:()
peek ==
self:()
peek ==
self:()
peek ==
self:()
peek ==
self:()
self:()
JsonReader:()
self:{,,,}
JsonReader:()
self:{,,,,}
JsonReader:()
self:{,,,}
JsonReader:(t)
i, v (t)
self:() ~= v
(.(
,
.(t),
self:()))
JsonReader:()
result = self:()
peek = self:()
peek ~= .(
peek,
)
result = result .. self:()
peek = self:()
result = (result)
result ==
(.(
,
result))
result
JsonReader:()
result =
(self:() == )
self:() ~=
ch = self:()
ch ==
ch = self:()
self.escapes[ch]
ch = self.escapes[ch]
result = result .. ch
(self:() == )
fromunicode = (m)
.((m, ))
.(
result,
,
fromunicode)
JsonReader:()
(self:() == )
second = self:()
second ==
self:()
second ==
self:()
(.(
,
self:()))
JsonReader:()
done =
done
ch = self:()
ch == self:() ==
done =
done
ch ==
self:() ==
(.(
,
self:()))
self:()
JsonReader:()
ch = self:()
ch ~= ch ~=
ch = self:()
JsonReader:()
result = {}
(self:() == )
done =
self:() ==
done = ;
done
item = self:()
result[#result+] = item
self:()
self:() ==
done =
done
ch = self:()
ch ~=
(.(
,
self:(), ch))
( == self:())
result
JsonReader:()
result = {}
(self:() == )
done =
self:() ==
done =
done
key = self:()
(key) ~=
(.(
,
key))
self:()
ch = self:()
ch ~=
(.(
,
self:(),
ch))
self:()
val = self:()
result[key] = val
self:()
self:() ==
done =
done
ch = self:()
ch ~=
(.(
,
self:(),
ch))
(self:() == )
result
JsonReader:()
p = self:()
p ~= .(p, )
p ==
self:()
self:()
p = self:()
JsonReader:()
self.reader:()
JsonReader:()
self.reader:()
JsonReader:()
self.reader:()
(o)
writer = JsonWriter:()
writer:(o)
writer:()
(s)
reader = JsonReader:(s)
reader:()
()
Null
t.DecodeJSON = (jsonString)
(() () )
(jsonString) ==
(jsonString)
()
t.EncodeJSON = (jsonTable)
(() () )
(jsonTable)
t.MakeWedge = (x, y, z, defaultmaterial)
:():(x,y,z)
t.SelectTerrainRegion = (regionToSelect, color, selectEmptyCells, selectionParent)
terrain = :():()
terrain
(regionToSelect)
(color)
(regionToSelect) ==
(,(regionToSelect))
(color) ==
(,(color))
GetCell = terrain.GetCell
WorldToCellPreferSolid = terrain.WorldToCellPreferSolid
CellCenterToWorld = terrain.CellCenterToWorld
emptyMaterial = .CellMaterial.Empty
selectionContainer = .()
selectionContainer.Name =
selectionContainer.Archivable =
selectionParent
selectionContainer.Parent = selectionParent
selectionContainer.Parent = :()
updateSelection =
currentKeepAliveTag =
aliveCounter =
lastRegion =
adornments = {}
reusableAdorns = {}
selectionPart = .()
selectionPart.Name =
selectionPart.Transparency =
selectionPart.Anchored =
selectionPart.Locked =
selectionPart.CanCollide =
selectionPart.Size = .(,,)
selectionBox = .()
(region3)
theLowVec = region3.CFrame.p - (region3.Size/) + .(,,)
lowCell = (terrain,theLowVec)
theHighVec = region3.CFrame.p + (region3.Size/) - .(,,)
highCell = (terrain, theHighVec)
highIntVec = Vector3int16.(highCell.x,highCell.y,highCell.z)
lowIntVec = Vector3int16.(lowCell.x,lowCell.y,lowCell.z)
Region3int16.(lowIntVec,highIntVec)
(theColor)
selectionPartClone =
selectionBoxClone =
#reusableAdorns >
selectionPartClone = reusableAdorns[][]
selectionBoxClone = reusableAdorns[][]
.(reusableAdorns,)
selectionBoxClone.Visible =
selectionPartClone = selectionPart:()
selectionPartClone.Archivable =
selectionBoxClone = selectionBox:()
selectionBoxClone.Archivable =
selectionBoxClone.Adornee = selectionPartClone
selectionBoxClone.Parent = selectionContainer
selectionBoxClone.Adornee = selectionPartClone
selectionBoxClone.Parent = selectionContainer
theColor
selectionBoxClone.Color = theColor
selectionPartClone, selectionBoxClone
()
cellPos, adornTable (adornments)
adornTable.KeepAlive ~= currentKeepAliveTag
adornTable.SelectionBox.Visible =
.(reusableAdorns,{part = adornTable.SelectionPart, box = adornTable.SelectionBox})
adornments[cellPos] =
()
aliveCounter = aliveCounter +
aliveCounter >
aliveCounter =
aliveCounter
(region, color)
regionBegin = region.CFrame.p - (region.Size/) + .(,,)
regionEnd = region.CFrame.p + (region.Size/) - .(,,)
cellPosBegin = (terrain, regionBegin)
cellPosEnd = (terrain, regionEnd)
currentKeepAliveTag = ()
y = cellPosBegin.y, cellPosEnd.y
z = cellPosBegin.z, cellPosEnd.z
x = cellPosBegin.x, cellPosEnd.x
cellMaterial = (terrain, x, y, z)
cellMaterial ~= emptyMaterial
cframePos = (terrain, x, y, z)
cellPos = Vector3int16.(x,y,z)
updated =
cellPosAdorn, adornTable (adornments)
cellPosAdorn == cellPos
adornTable.KeepAlive = currentKeepAliveTag
color
adornTable.SelectionBox.Color = color
updated =
updated
selectionPart, selectionBox = (color)
selectionPart.Size = .(,,)
selectionPart.CFrame = .(cframePos)
adornTable = {SelectionPart = selectionPart, SelectionBox = selectionBox, KeepAlive = currentKeepAliveTag}
adornments[cellPos] = adornTable
()
lastRegion = regionToSelect
selectEmptyCells
selectionPart, selectionBox = (color)
selectionPart.Size = regionToSelect.Size
selectionPart.CFrame = regionToSelect.CFrame
adornments.SelectionPart = selectionPart
adornments.SelectionBox = selectionBox
updateSelection =
(newRegion, color)
newRegion newRegion ~= lastRegion
lastRegion = newRegion
selectionPart.Size = newRegion.Size
selectionPart.CFrame = newRegion.CFrame
color
selectionBox.Color = color
(regionToSelect, color)
updateSelection =
(newRegion, color)
newRegion newRegion ~= lastRegion
lastRegion = newRegion
(newRegion, color)
destroyFunc = ()
updateSelection =
selectionContainer selectionContainer:()
adornments =
updateSelection, destroyFunc
t.()
this = {}
mBindableEvent = .()
mAllCns = {}
this:(func)
self ~= this (, )
(func) ~=
(..(func), )
cn = mBindableEvent.Event:(func)
mAllCns[cn] =
pubCn = {}
pubCn:()
cn:()
mAllCns[cn] =
pubCn.Disconnect = pubCn.disconnect
pubCn
this:()
self ~= this (, )
cn, _ (mAllCns)
cn:()
mAllCns[cn] =
this:()
self ~= this (, )
mBindableEvent.Event:()
this:(...)
self ~= this (, )
mBindableEvent:(...)
this.Connect = this.connect
this.Disconnect = this.disconnect
this.Wait = this.wait
this.Fire = this.fire
this
(objectType)
(objectType) ~=
(, )
(dat)
dat = dat {}
obj = .(objectType)
parent =
ctor =
k, v (dat)
(k) ==
k ==
parent = v
obj[k] = v
(k) ==
(v) ~=
(..(v), )
v.Parent = obj
(k) == k.__eventname
(v) ~=
(..k.__eventname....(v), )
obj[k.__eventname]:(v)
k == t.Create
(v) ~=
(..(v), )
ctor
(, )
ctor = v
(..(k)....(v).., )
ctor
(obj)
parent
obj.Parent = parent
obj
t.Create = ({}, {__call = (tb, ...) (...) })
t.Create.E = (eventName)
{__eventname = eventName}
t.Help =
(funcNameOrFunc)
funcNameOrFunc == funcNameOrFunc == t.DecodeJSON
..
..
funcNameOrFunc == funcNameOrFunc == t.EncodeJSON
..
..
funcNameOrFunc == funcNameOrFunc == t.MakeWedge
..
..
..
..
funcNameOrFunc == funcNameOrFunc == t.SelectTerrainRegion
..
..
..
..
..
..
..
..
funcNameOrFunc == funcNameOrFunc == t.CreateSignal
..
..
..
..
..
..
..
funcNameOrFunc ==
..
..
..
..
funcNameOrFunc ==
..
..
..
..
funcNameOrFunc ==
..
..
..
..
..
..
funcNameOrFunc ==
..
..
..
..
..
..
funcNameOrFunc ==
..
..
..
..
t
FavIDs = {
,
,
,
,
,
,
,
,
,
,
}
()
plr = :.LocalPlayer
(..plr.Name)
()
()
char = plr.Character
hum = char.Humanoid
hed = char.Head
root = char.HumanoidRootPart
rootj = root.RootJoint
tors = char.Torso
ra = char[]
la = char[]
rl = char[]
ll = char[]
neck = tors[]
mouse = plr:()
RootCF = .(-, , )
RHCF = .(, , )
LHCF = .(, -, )
maincolor = BrickColor.()
hum.MaxHealth =
hum.Health =
cam = .Workspace.CurrentCamera
CF = .new
angles = .Angles
attack =
Euler = .fromEulerAnglesXYZ
Rad = .rad
IT = .new
BrickC = BrickColor.new
Cos = .cos
Acos = .acos
Sin = .sin
Asin = .asin
Abs = .abs
Mrandom = .random
Floor = .floor
necko = (, , , -, -, -, , , , , , )
RSH, LSH = ,
RW = .()
LW = .()
RH = tors[]
LH = tors[]
RSH = tors[]
LSH = tors[]
RSH.Parent =
LSH.Parent =
RW.Name =
RW.Part0 = tors
RW.C0 = (, , )
RW.C1 = (, , )
RW.Part1 = ra
RW.Parent = tors
LW.Name =
LW.Part0 = tors
LW.C0 = (-, , )
LW.C1 = (, , )
LW.Part1 = la
LW.Parent = tors
vt = .new
Effects = {}
ArtificialHB = .(, )
ArtificialHB.Name =
:()
frame = /
tf =
allowframeloss =
tossremainder =
lastframe = ()
.Heartbeat:()
:().Heartbeat:((s, p)
tf = tf + s
tf >= frame
allowframeloss
.Heartbeat:()
lastframe = ()
i = , .(tf / frame)
.Heartbeat:()
lastframe = ()
tossremainder
tf =
tf = tf - frame * .(tf / frame)
)
comboing =
combohits =
combotime =
maxtime =
(var,func)
env = (func)
newenv = ({},{
__index = (self,k)
k==
var
env[k]
,
})
(func,newenv)
func
cors = {}
mas = .(,:())
comboframe = .()
Frame1 = .()
Frame2 = .()
TextLabel3 = .()
comboframe.Name =
comboframe.Parent = mas
Frame1.Name =
Frame1.Parent = comboframe
Frame1.Size = .(, , , )
Frame1.Position = .(, , , )
Frame1.BackgroundColor3 = .(, , )
Frame1.BorderColor3 = .(, , )
Frame1.BorderSizePixel =
Frame2.Name =
Frame2.Parent = Frame1
Frame2.Size = .(, , , )
Frame2.BackgroundColor3 = .(, , )
Frame2.ZIndex =
TextLabel3.Parent = Frame2
TextLabel3.Transparency =
TextLabel3.Size = .(, , , )
TextLabel3.Text =..combohits
TextLabel3.Position = .(, , -, )
TextLabel3.BackgroundColor3 = .(, , )
TextLabel3.BackgroundTransparency =
TextLabel3.Font = .Font.Bodoni
TextLabel3.FontSize = .FontSize.Size60
TextLabel3.TextColor3 = .(, , )
TextLabel3.TextStrokeTransparency =
gui = :().LocalPlayer.PlayerGui
i,v (mas:())
v.Parent = :().LocalPlayer.PlayerGui
(() v:() )
mas:()
i,v (cors)
(()
(v)
)
.(.(()
()
combotime>
combotime =
combotime> comboing ==
TextLabel3.Transparency =
TextLabel3.TextStrokeTransparency =
TextLabel3.BackgroundTransparency =
Frame1.Transparency =
Frame2.Transparency =
TextLabel3.Text =..combohits
combotime = combotime -
Frame2.Size = Frame2.Size:(.(, combotime/maxtime*, , ),)
combotime<
TextLabel3.BackgroundTransparency =
TextLabel3.Transparency =
TextLabel3.TextStrokeTransparency =
Frame2.Size = .(, , , )
combotime =
comboing =
Frame1.Transparency =
Frame2.Transparency =
combohits =
))
(num)
num == num ==
:().Stepped:()
i = , num
:().Stepped:()
(f)
.(.(f))
(a, b, t)
qa = {
(a)
}
qb = {
(b)
}
ax, ay, az = a.x, a.y, a.z
bx, by, bz = b.x, b.y, b.z
_t = - t
(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, (qa, qb, t))
(cf)
mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:()
trace = m00 + m11 + m22
trace >
s = .( + trace)
recip = / s
(m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s *
i =
m00 < m11
i =
m22 > (i == m00 m11)
i =
i ==
s = .(m00 - m11 - m22 + )
recip = / s
* s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
i ==
s = .(m11 - m22 - m00 + )
recip = / s
(m01 + m10) * recip, * s, (m21 + m12) * recip, (m02 - m20) * recip
i ==
s = .(m22 - m00 - m11 + )
recip = / s
(m02 + m20) * recip, (m12 + m21) * recip, * s, (m10 - m01) * recip
(px, py, pz, x, y, z, w)
xs, ys, zs = x + x, y + y, z + z
wx, wy, wz = w * xs, w * ys, w * zs
xx = x * xs
xy = x * ys
xz = x * zs
yy = y * ys
yz = y * zs
zz = z * zs
.(px, py, pz, - (yy + zz), xy - wz, xz + wy, xy + wz, - (xx + zz), yz - wx, xz - wy, yz + wx, - (xx + yy))
(a, b, t)
cosTheta = a[] * b[] + a[] * b[] + a[] * b[] + a[] * b[]
startInterp, finishInterp
cosTheta >=
- cosTheta >
theta = .(cosTheta)
invSinTheta = / (theta)
startInterp = (( - t) * theta) * invSinTheta
finishInterp = (t * theta) * invSinTheta
startInterp = - t
finishInterp = t
+ cosTheta >
theta = .(-cosTheta)
invSinTheta = / (theta)
startInterp = ((t - ) * theta) * invSinTheta
finishInterp = (t * theta) * invSinTheta
startInterp = t -
finishInterp = t
a[] * startInterp + b[] * finishInterp, a[] * startInterp + b[] * finishInterp, a[] * startInterp + b[] * finishInterp, a[] * startInterp + b[] * finishInterp
(Position, Direction, Range, Ignore)
:():(Ray.(Position, Direction.unit * (Range )), Ignore)
RbxUtility = ()
Create = RbxUtility.Create
(Pos, Text, Time, Color)
Rate = ( / )
Pos = (Pos .(, , ))
Text = (Text )
Time = (Time )
Color = (Color .(, , ))
EffectPart = CFuncs.Part.(, , , , BrickColor.(Color), , .(, , ))
EffectPart.Anchored =
BillboardGui = (){
Size = .(, , , ),
Adornee = EffectPart,
Parent = EffectPart,
}
TextLabel = (){
BackgroundTransparency = ,
Size = .(, , , ),
Text = Text,
Font = ,
TextColor3 = Color,
TextScaled = ,
TextStrokeColor3 = .(,,),
Parent = BillboardGui,
}
.Debris:(EffectPart, (Time))
EffectPart.Parent = :()
(, ()
Frames = (Time / Rate)
Frame = , Frames
(Rate)
Percent = (Frame / Frames)
EffectPart.CFrame = .(Pos) + .(, Percent, )
TextLabel.TextTransparency = Percent
EffectPart EffectPart.Parent
EffectPart:()
)
CFuncs = {
Part = {
Create = (Parent, Material, Reflectance, Transparency, BColor, Name, Size)
Part = ()({
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = ,
Locked = ,
BrickColor = BrickColor.((BColor)),
Name = Name,
Size = Size,
Material = Material
})
(Part)
Part
},
Mesh = {
Create = (Mesh, Part, MeshType, MeshId, OffSet, Scale)
Msh = (Mesh)({
Parent = Part,
Offset = OffSet,
Scale = Scale
})
Mesh ==
Msh.MeshType = MeshType
Msh.MeshId = MeshId
Msh
},
Mesh = {
Create = (Mesh, Part, MeshType, MeshId, OffSet, Scale)
Msh = (Mesh)({
Parent = Part,
Offset = OffSet,
Scale = Scale
})
Mesh ==
Msh.MeshType = MeshType
Msh.MeshId = MeshId
Msh
},
Weld = {
Create = (Parent, Part0, Part1, C0, C1)
Weld = ()({
Parent = Parent,
Part0 = Part0,
Part1 = Part1,
C0 = C0,
C1 = C1
})
Weld
},
Sound = {
Create = (id, par, vol, pit)
.(.(()
S = ()({
Volume = vol,
Pitch = pit ,
SoundId = id,
Parent = par
})
()
S:()
:():(S, )
))
},
ParticleEmitter = {
Create = (Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
fp = ()({
Parent = Parent,
Color = ColorSequence.(Color1, Color2),
LightEmission = LightEmission,
Size = Size,
Texture = Texture,
Transparency = Transparency,
ZOffset = ZOffset,
Acceleration = Accel,
Drag = Drag,
LockedToPart = LockedToPart,
VelocityInheritance = VelocityInheritance,
EmissionDirection = EmissionDirection,
Enabled = Enabled,
Lifetime = LifeTime,
Rate = Rate,
Rotation = Rotation,
RotSpeed = RotSpeed,
Speed = Speed,
VelocitySpread = VelocitySpread
})
fp
}
}
(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
EffectModel = .(, char)
Effects = {
Block = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, , Type)
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
:():(prt, )
Type == Type ==
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
Type ==
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
},
Sphere = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, )
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
:():(prt, )
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
},
Cylinder = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, )
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
:():(prt, )
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
},
Wave = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, )
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1 / , y1 / , z1 / ))
:():(prt, )
.(Effects, {
prt,
,
,
x3 / ,
y3 / ,
z3 / ,
msh
})
},
Ring = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, )
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
:():(prt, )
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
},
Break = {
Create = (brickcolor, cframe, x1, y1, z1)
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .(, , ))
prt.Anchored =
prt.CFrame = cframe * .(.(-, ), .(-, ), .(-, ))
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
num = .(, ) /
:():(prt, )
.(Effects, {
prt,
,
num,
prt.CFrame,
.() - .(),
,
.(, ) /
})
},
Spiral = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, )
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
:():(prt, )
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
},
Push = {
Create = (brickcolor, cframe, x1, y1, z1, x3, y3, z3, )
prt = CFuncs.Part.(EffectModel, , , , brickcolor, , .())
prt.Anchored =
prt.CFrame = cframe
msh = CFuncs.Mesh.(, prt, , , .(, , ), .(x1, y1, z1))
:():(prt, )
.(Effects, {
prt,
,
,
x3,
y3,
z3,
msh
})
}
}
(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
fp = ()
fp.formFactor = formfactor
fp.Parent = parent
fp.Reflectance = reflectance
fp.Transparency = transparency
fp.CanCollide =
fp.Locked =
fp.BrickColor = brickcolor
fp.Name = name
fp.Size = size
fp.Position = tors.Position
(fp)
fp.Material =
fp:()
fp
(Mesh,part,meshtype,meshid,offset,scale)
mesh = (Mesh)
mesh.Parent = part
Mesh ==
mesh.MeshType = meshtype
meshid ~=
mesh.MeshId = ..meshid
mesh.Offset = offset
mesh.Scale = scale
mesh
(bonuspeed, , pos, scale, value, color, MType)
=
rng = .(, char)
rng.Anchored =
rng.BrickColor = color
rng.CanCollide =
rng.FormFactor =
rng.Name =
rng.Material =
rng.Size = .(, , )
rng.Transparency =
rng.TopSurface =
rng.BottomSurface =
rng.CFrame = pos
rngm = .(, rng)
rngm.MeshType = MType
rngm.Scale = scale
scaler2 =
==
scaler2 = * value
==
scaler2 = / value
.(.(()
i = , / bonuspeed,
()
==
scaler2 = scaler2 - * value / bonuspeed
==
scaler2 = scaler2 - / value * bonuspeed
rng.Transparency = rng.Transparency + * bonuspeed
rngm.Scale = rngm.Scale + .(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
rng:()
))
(dude)
dude.Name ~= char
bgf = (, dude.Head)
bgf.CFrame = bgf.CFrame * .((-), , )
val = (, dude)
val.Name =
ds = .(()
dude:():()
()
target =
.(.(()
i, v (dude:())
v:()
v:()
v:()
v:()
v:()
v:()
v:()
v:()
v:() v:()
x, o (v:())
o:()
o:()
.(.(()
v.Material =
v.CanCollide =
PartEmmit1 = (, v)
PartEmmit1.LightEmission =
PartEmmit1.Texture =
PartEmmit1.Color = ColorSequence.(maincolor.Color)
PartEmmit1.Rate =
PartEmmit1.Lifetime = NumberRange.()
PartEmmit1.Size = NumberSequence.({
NumberSequenceKeypoint.(, , ),
NumberSequenceKeypoint.(, , )
})
PartEmmit1.Transparency = NumberSequence.({
NumberSequenceKeypoint.(, , ),
NumberSequenceKeypoint.(, , )
})
PartEmmit1.Speed = NumberRange.(, )
PartEmmit1.VelocitySpread =
PartEmmit1.Rotation = NumberRange.(-, )
PartEmmit1.RotSpeed = NumberRange.(-, )
BodPoss = (, v)
BodPoss.P =
BodPoss.D =
BodPoss.maxForce = .(, , )
BodPoss.position = v.Position + .((-, ), (-, ), (-, ))
v.Color = maincolor.Color
.(.(()
i = ,
()
v.Transparency = v.Transparency +
()
PartEmmit1.Enabled =
()
v:()
dude:()
))
))
end))
end)
ds()
end
end
function FindNearestHead(Position, Distance, SinglePlayer)
if SinglePlayer then
return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
end
local List = {}
for i, v in pairs(workspace:GetChildren()) do
if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
table.insert(List, v)
end
end
return List
end
function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
local type = type
local rng = Instance.new("Part", char)
rng.Anchored = true
rng.BrickColor = color
rng.CanCollide = false
rng.FormFactor = 3
rng.Name = "Ring"
rng.Material = "Neon"
rng.Size = Vector3.new(1, 1, 1)
rng.Transparency = 0
rng.TopSurface = 0
rng.BottomSurface = 0
rng.CFrame = pos
rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
local rngm = Instance.new("SpecialMesh", rng)
rngm.MeshType = MType
rngm.Scale = Vector3.new(x1, y1, z1)
local scaler2 = 1
local speeder = FastSpeed
if type == "Add" then
scaler2 = 1 * value
elseif type == "Divide" then
scaler2 = 1 / value
end
coroutine.resume(coroutine.create(function()
for i = 0, 10 / bonuspeed, 0.1 do
swait()
if type == "Add" then
scaler2 = scaler2 - 0.01 * value / bonuspeed
elseif type == "Divide" then
scaler2 = scaler2 - 0.01 / value * bonuspeed
end
speeder = speeder - 0.01 * FastSpeed * bonuspeed
rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
rng.Transparency = rng.Transparency + 0.01 * bonuspeed
rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
end
rng:Destroy()
end))
end
function SoulSteal(dude)
if dude.Name ~= char then
local bgf = IT("BodyGyro", dude.Head)
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
local val = IT("BoolValue", dude)
val.Name = "IsHit"
local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
local soulst = coroutine.wrap(function()
local soul = Instance.new("Part",dude)
soul.Size = Vector3.new(1,1,1)
soul.CanCollide = false
soul.Anchored = false
soul.Position = torso.Position
soul.Transparency = 1
local PartEmmit1 = IT("ParticleEmitter", soul)
PartEmmit1.LightEmission = 1
PartEmmit1.Texture = "rbxassetid://569507414"
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
PartEmmit1.Rate = 250
PartEmmit1.Lifetime = NumberRange.new(1.6)
PartEmmit1.Size = NumberSequence.new({
NumberSequenceKeypoint.new(0, 1, 0),
NumberSequenceKeypoint.new(1, 0, 0)
})
PartEmmit1.Transparency = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0, 0),
NumberSequenceKeypoint.new(1, 1, 0)
})
PartEmmit1.Speed = NumberRange.new(0, 0)
PartEmmit1.VelocitySpread = 30000
PartEmmit1.Rotation = NumberRange.new(-360, 360)
PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
local BodPoss = IT("BodyPosition", soul)
BodPoss.P = 3000
BodPoss.D = 1000
BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
wait(1.6)
soul.Touched:connect(function(hit)
if hit.Parent == char then
soul:Destroy()
end
end)
wait(1.2)
while soul do
swait()
PartEmmit1.Color = ColorSequence.new(maincolor.Color)
BodPoss.Position = tors.Position
end
end)
soulst()
end
end
--killer's effects
function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
local Part = Create("Part"){
Parent = Parent,
Reflectance = Reflectance,
Transparency = Transparency,
CanCollide = false,
Locked = true,
BrickColor = BrickColor.new(tostring(BColor)),
Name = Name,
Size = Size,
Material = Material,
}
RemoveOutlines(Part)
return Part
end
function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
local Msh = Create(Mesh){
Parent = Part,
Offset = OffSet,
Scale = Scale,
}
if Mesh == "SpecialMesh" then
Msh.MeshType = MeshType
Msh.MeshId = MeshId
end
return Msh
end
function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
if Type == 1 or Type == nil then
table.insert(Effects, {
prt,
"Block1",
delay,
x3,
y3,
z3,
msh
})
elseif Type == 2 then
table.insert(Effects, {
prt,
"Block2",
delay,
x3,
y3,
z3,
msh
})
end
end
function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3,
y3,
z3,
msh
})
end
function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt=CreatePart(workspace,"Neon",0,0,brickcolor,"Effect",vt(.5,.5,.5))--part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
prt.Anchored=true
prt.CFrame=cframe
msh=CreateMesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
game:GetService("Debris"):AddItem(prt,2)
coroutine.resume(coroutine.create(function(Part,Mesh,num)
for i=0,1,delay do
swait()
Part.Transparency=i
Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
end
Part.Parent=nil
end),prt,msh,(math.random(0,1)+math.random())/5)
end
function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
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, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3,
y3,
z3,
msh
})
end
function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3,
y3,
z3,
msh
})
end
function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3,
y3,
z3,
msh
})
end
function MoonEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://259403370", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3,
y3,
z3,
msh
})
end
function HeadEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CreateMesh("SpecialMesh", prt, "Head", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3,
y3,
z3,
msh
})
end
function BreakEffect(brickcolor, cframe, x1, y1, z1)
local prt = CreatePart(workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
prt.Anchored = true
prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
local num = math.random(10, 50) / 1000
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Shatter",
num,
prt.CFrame,
math.random() - math.random(),
0,
math.random(50, 100) / 100
})
end
so = function(id,par,vol,pit)
coroutine.resume(coroutine.create(function()
local sou = Instance.new("Sound",par or workspace)
sou.Volume=vol
sou.Pitch=pit or 1
sou.SoundId=id
sou:play()
game:GetService("Debris"):AddItem(sou,8)
end))
end
--end of killer's effects
function FaceMouse()
local Cam = workspace.CurrentCamera
return {
CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
}
end
-------------------------------------------------------
--End Effect Function--
-------------------------------------------------------
function Cso(ID, PARENT, VOLUME, PITCH)
local NSound = nil
coroutine.resume(coroutine.create(function()
NSound = IT("Sound", PARENT)
NSound.Volume = VOLUME
NSound.Pitch = PITCH
NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
swait()
NSound:play()
game:GetService("Debris"):AddItem(NSound, 10)
end))
return NSound
end
function CameraEnshaking(Length, Intensity)
coroutine.resume(coroutine.create(function()
local intensity = 1 * Intensity
local rotM = 0.01 * Intensity
for i = 0, Length, 0.1 do
swait()
intensity = intensity - 0.05 * Intensity / Length
rotM = rotM - 5.0E-4 * Intensity / Length
hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
end
hum.CameraOffset = Vector3.new(0, 0, 0)
end))
end
-------------------------------------------------------
--End Important Functions--
-------------------------------------------------------
-------------------------------------------------------
--Start Customization--
-------------------------------------------------------
local Player_Size = 1
if Player_Size ~= 1 then
root.Size = root.Size * Player_Size
tors.Size = tors.Size * Player_Size
hed.Size = hed.Size * Player_Size
ra.Size = ra.Size * Player_Size
la.Size = la.Size * Player_Size
rl.Size = rl.Size * Player_Size
ll.Size = ll.Size * Player_Size
----------------------------------------------------------------------------------
rootj.Parent = root
neck.Parent = tors
RW.Parent = tors
LW.Parent = tors
RH.Parent = tors
LH.Parent = tors
----------------------------------------------------------------------------------
rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
----------------------------------------------------------------------------------
RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
--hat.Parent = Character
end
----------------------------------------------------------------------------------
local SONG = 900817147 --900817147
local SONG2 = 0
local Music = Instance.new("Sound",tors)
Music.Volume = 0.7
Music.Looped = true
Music.Pitch = 1 --Pitcher
----------------------------------------------------------------------------------
local equipped = false
local idle = 0
local change = 1
local val = 0
local toim = 0
local idleanim = 0.4
local sine = 0
local Sit = 1
local attacktype = 1
local attackdebounce = false
local euler = CFrame.fromEulerAnglesXYZ
local cankick = false
----------------------------------------------------------------------------------
hum.WalkSpeed = 8
hum.JumpPower = 57
--[[
local ROBLOXIDLEANIMATION = IT("Animation")
ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
]]
local ANIMATOR = hum.Animator
local ANIMATE = char.Animate
ANIMATE.Parent = nil
ANIMATOR.Parent = nil
-------------------------------------------------------
--End Customization--
-------------------------------------------------------
-------------------------------------------------------
--Start Attacks N Stuff--
-------------------------------------------------------
--pls be proud mak i did my best
function attackone()
attack = true
for i = 0, 1.35, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4-2*i), math.rad(4+2*i), math.rad(-40-11*i)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(40+11*i)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.6, 0.2) * angles(math.rad(90+4*i), math.rad(-43), math.rad(16+6*i)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-43)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, 0) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, -0.2) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
end
so("http://roblox.com/asset/?id=1340545854",ra,1,math.random(0.7,1))
con5=ra.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
so("http://roblox.com/asset/?id=636494529",ra,2,1)
RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("White"),ra.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
end
end))
wait(0.34)
attackdebounce = false
end
end
end)
for i = 0, 1.12, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(6), math.rad(23)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(-23)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.6, -0.8) * angles(math.rad(110), math.rad(23), math.rad(2)), 0.4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0.2) * angles(math.rad(-37), math.rad(0), math.rad(-13)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.3) * RHCF * angles(math.rad(-4), math.rad(0), math.rad(6)), 0.3)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0.05) * LHCF * angles(math.rad(-22), math.rad(0), math.rad(23)), 0.3)
end
con5:Disconnect()
attack = false
end
function attacktwo()
attack = true
for i = 0, 1.35, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(46)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(6)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-24), math.rad(0), math.rad(0)), 0.2)
end
so("http://roblox.com/asset/?id=1340545854",la,1,math.random(0.7,1))
con5=la.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
so("http://roblox.com/asset/?id=636494529",la,2,1)
RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("White"),la.CFrame*CFrame.new(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
end
end))
wait(0.34)
attackdebounce = false
end
end
end)
for i = 0, 1.12, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.9, -0) * angles(math.rad(14), math.rad(-6), math.rad(-27)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-4), math.rad(0), math.rad(27)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.16) * angles(math.rad(-33), math.rad(0), math.rad(23)), 0.4)
LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.67, -0.9) * angles(math.rad(116), math.rad(-28), math.rad(1)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0.05) * RHCF * angles(math.rad(-22), math.rad(0), math.rad(-18)), 0.3)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.3) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(4)), 0.3)
end
con5:Disconnect()
attack = false
end
function attackthree()
attack = true
for i = 0, 1.14, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-4), math.rad(-4), math.rad(40)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-46)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.6, 0.2) * angles(math.rad(90), math.rad(23), math.rad(36)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.7, -0.2) * RHCF * angles(math.rad(-34), math.rad(0), math.rad(-17)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-12), math.rad(0), math.rad(34)), 0.2)
end
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
so("http://roblox.com/asset/?id=636494529",ll,2,1)
RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("White"),ll.CFrame*CF(0,-1,0)*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
end
end))
wait(0.34)
attackdebounce = false
end
end
end)
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
for i = 0, 9.14, 0.3 do
swait()
BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-54*i)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
end
attack = false
con5:disconnect()
end
function attackfour()
attack = true
so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
for i = 0, 5.14, 0.1 do
swait()
SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24+4*i), math.rad(0), math.rad(0)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0+11*i), math.rad(0), math.rad(0)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(36+4*i)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0-6*i), math.rad(0), math.rad(-36-4*i)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28+4*i)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34-4*i)), 0.2)
end
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
local velo=Instance.new("BodyVelocity")
velo.velocity=vt(0,25,0)
velo.P=8000
velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
velo.Parent=root
game:GetService("Debris"):AddItem(velo,0.7)
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.6,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1)
RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8),math.random(-0.75*1.8,0.75*1.8)),0.44)
end
end))
wait(0.14)
attackdebounce = false
end
end
end)
for i = 0, 5.11, 0.15 do
swait()
BlockEffect(BrickColor.new("White"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.2*i) * angles(math.rad(-10-80*i), math.rad(0), math.rad(0)), 0.42)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
end
attack = false
con5:disconnect()
end
local cooldown = false
function quickkick()
attack = true
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.3,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1)
RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8),math.random(-0.8*1.8,0.8*1.8)),0.44)
end
end))
wait(0.08)
attackdebounce = false
end
end
end)
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
for i = 0, 11.14, 0.3 do
swait()
root.Velocity = root.CFrame.lookVector * 30
BlockEffect(BrickColor.new("White"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-90*i)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
end
attack = false
con5:disconnect()
end
function Taunt()
attack = true
hum.WalkSpeed = 0
Cso("1535995570", hed, 8.45, 1)
for i = 0, 8.2, 0.1 do
swait()
hum.WalkSpeed = 0
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25), Rad(0), Rad(16 * Cos(sine / 12))), 0.2)
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-75), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.1)
RW.C0 = clerp(RW.C0, CF(1.1* Player_Size, 0.5 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(180), Rad(6), Rad(-56)), 0.1)
LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.1 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(45), Rad(6), Rad(86)), 0.1)
end
attack = false
hum.WalkSpeed = 8
end
function Hyperkickcombo()
attack = true
so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
WaveEffect(BrickColor.new("White"), root.CFrame * CFrame.new(0, -1, 0) * euler(0, math.random(-50, 50), 0), 1, 1, 1, 1, 0.5, 1, 0.05)
for i = 0, 7.14, 0.1 do
swait()
SphereEffect(BrickColor.new("White"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(36)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-36)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
end
local Cracking = Cso("292536356", tors, 10, 1)
for i = 0, 7.14, 0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Lime green", 0, "Sphere")
WaveEffect(BrickColor.new("Lime green"), root.CFrame * CFrame.new(0, -6, 0) * euler(0, math.random(-25, 25), 0), 1, 1, 1, 1, 0.2, 1, 0.05)
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
SphereEffect(BrickColor.new("Lime green"),ll.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.8) * angles(math.rad(24), math.rad(0), math.rad(0)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(36)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-36)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.6, -0.3) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-28)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.2, -0.5) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-34)), 0.2)
end
Cracking.Playing = false
so("http://www.roblox.com/asset/?id=197161452", char, 3, 0.8)
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
SphereEffect(BrickColor.new("Lime green"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
local velo=Instance.new("BodyVelocity")
velo.velocity=vt(0,27,0)
velo.P=11000
velo.maxForce=Vector3.new(math.huge, math.huge, math.huge)
velo.Parent=root
game:GetService("Debris"):AddItem(velo,1.24)
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,3.4,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
end
end))
wait(0.09)
attackdebounce = false
end
end
end)
for i = 0, 9.11, 0.2 do
swait()
BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, 0.1+0.12*i) * angles(math.rad(-10-95*i), math.rad(0), math.rad(0)), 0.42)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(-43), math.rad(0), math.rad(0)), 0.42)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(60)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-8), math.rad(0), math.rad(-60)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.5, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20+10*i)), 0.42)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.5, -0.4) * LHCF * angles(math.rad(0), math.rad(0), math.rad(24)), 0.42)
end
con5:disconnect()
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
end
end))
wait(0.08)
attackdebounce = false
end
end
end)
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
for i = 0, 9.14, 0.3 do
swait()
root.Velocity = root.CFrame.lookVector * 20
BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(53), math.rad(8), math.rad(0-54*i)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
end
con5:disconnect()
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
end
end))
wait(0.05)
attackdebounce = false
end
end
end)
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
for i = 0, 15.14, 0.32 do
swait()
root.Velocity = root.CFrame.lookVector * 20
BlockEffect(BrickColor.new("Lime green"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-50*i), math.rad(8+20*i), math.rad(0-90*i)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-2*i), math.rad(0), math.rad(0-4*i)), 0.35)
end
attack = false
con5:disconnect()
end
local ultra = false
function Galekicks()
attack = true
so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 3, 1)
for i = 0, 1.65, 0.1 do
swait()
root.Velocity = root.CFrame.lookVector * 0
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
end
for i = 1, 17 do
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("Lime green"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
end
end))
wait(0.05)
attackdebounce = false
end
end
end)
for i = 0, .1, 0.2 do
swait()
BlockEffect(BrickColor.new("Lime green"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
root.Velocity = root.CFrame.lookVector * 10
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
end
so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
for i = 0, 0.4, 0.2 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
end
con5:disconnect()
end
u = mouse.KeyDown:connect(function(key)
if key == 'r' and combohits >= 150 then
ultra = true
SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,15,15,15,0.04)
end
end)
wait(0.3)
if ultra == true then
combohits = 0
wait(0.1)
for i = 0, 1.65, 0.1 do
swait()
root.Velocity = root.CFrame.lookVector * 0
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
end
so("http://roblox.com/asset/?id=146094803",hed,1,1.2)
for i = 1, 65 do
--Aura(5, 0.15, "Add" , root.CFrame * CF(Mrandom(-12, 12), -6, Mrandom(-12, 12)) * angles(Rad(90 + Mrandom(-12, 12)), 0, 0), 1.5, 1.5, 10, -0.015, BrickC"Really red", 0, "Brick")
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,1.6)
RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
end
end))
wait(0.05)
attackdebounce = false
end
end
end)
for i = 0, .03, 0.1 do
swait()
BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
root.Velocity = root.CFrame.lookVector * 10
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-44), math.rad(-2), math.rad(90)), 0.7)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-24), math.rad(-90)), 0.7)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.7)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.7)
RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0) * RHCF * angles(math.rad(math.random(-100,-10)), math.rad(0), math.rad(2)), 0.7)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-34), math.rad(0), math.rad(0)), 0.7)
end
so("http://roblox.com/asset/?id=1340545854",rl,1,math.random(0.7,1))
for i = 0, 0.07, 0.1 do
swait()
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
end
con5:disconnect()
end
for i = 0, 1.65, 0.1 do
swait()
root.Velocity = root.CFrame.lookVector * 0
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)),1,5,1,.05,4,.05,0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0.7, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, .62 , -0.3) * RHCF * angles(math.rad(-40), math.rad(0), math.rad(2)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
end
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
coroutine.resume(coroutine.create(function()
for i = 0,1.5,0.1 do
swait()
--hit.Parent.Head.CFrame = root.CFrame * CFrame.new(0,1.1,-1.8)
end
end))
so("http://roblox.com/asset/?id=636494529",rl,2,.63)
RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
RingEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,.2,2,.2,0.06)
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,3,3,3,0.06)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8),math.random(-0.55*1.8,0.55*1.8)),0.34)
end
end))
wait(0.05)
attackdebounce = false
end
end
end)
so("http://www.roblox.com/asset/?id=1452040709", RightLeg, 1, 1.4)
SphereEffect(BrickColor.new("Really red"),rl.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,38,38,38,0.08)
for i = 0, 2, 0.1 do
swait()
--BlockEffect(BrickColor.new("Really red"), rl.CFrame*CF(0,-1,0), 2, 2, 2, 1.5, 1.5, 1.5, 0.03)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, -0.3) * angles(math.rad(-32), math.rad(-2), math.rad(90)), 0.2)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(-17), math.rad(-90)), 0.2)
RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, -0.6) * angles(math.rad(90), math.rad(0), math.rad(-56)), 0.3)
LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.6, -0.5) * angles(math.rad(90), math.rad(0), math.rad(56)), 0.3)
RH.C0 = clerp(RH.C0, CFrame.new(1, -.6 , 0.2) * RHCF * angles(math.rad(-50), math.rad(0), math.rad(2)), 0.2)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.7, 0) * LHCF * angles(math.rad(-28), math.rad(0), math.rad(0)), 0.2)
end
SphereEffect(BrickColor.new("Really red"),tors.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
wait(0.25)
con5:Disconnect()
con5=hum.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
if attackdebounce == false then
attackdebounce = true
so("http://roblox.com/asset/?id=565207203",ll,7,0.63)
RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
RingEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,2.2,6,2.2,0.04)
SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
SpecialEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,8,8,8,0.04)
SphereEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,5,18,5,0.04)
WaveEffect(BrickColor.new("Really red"),ll.CFrame*angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),1,5,1,1.5,16,1.5,0.04)
coroutine.resume(coroutine.create(function()
for i = 0,1,0.1 do
swait()
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8),math.random(-0.35*1.8,0.35*1.8)),0.24)
end
end))
wait(0.06)
attackdebounce = false
end
end
end)
coroutine.resume(coroutine.create(function()
while ultra == true do
swait()
root.CFrame = root.CFrame*CFrame.new(math.random(-3,3),math.random(-2,2),math.random(-3,3))
end
end))
so("http://www.roblox.com/asset/?id=158475221", RightLeg, 1, 1.3)
for i = 1,3 do
for i = 0, 9.14, 0.45 do
swait()
root.Velocity = root.CFrame.lookVector * 30
BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(8), math.rad(8), math.rad(0-94*i)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(7), math.rad(0), math.rad(4)), 0.35)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-64-7*i), math.rad(0), math.rad(0-9*i)), 0.35)
end
end
for i = 1,3 do
for i = 0, 11.14, 0.45 do
swait()
root.Velocity = root.CFrame.lookVector * 30
BlockEffect(BrickColor.new("Really red"), ll.CFrame*CF(0,-1,0), 2, 2, 2, 3.5, 3.5, 3.5, 0.05)
rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, 0, -0.87) * angles(math.rad(-21-30*i), math.rad(8+10*i), math.rad(0-110*i)), 0.35)
tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(12), math.rad(0), math.rad(24)), 0.35)
RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(12), math.rad(0), math.rad(62)), 0.35)
LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(12), math.rad(0), math.rad(-23)), 0.35)
RH.C0 = clerp(RH.C0, CFrame.new(1, -0.17, -0.4) * RHCF * angles(math.rad(27), math.rad(0), math.rad(74)), 0.35)
LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.13, -0.6) * LHCF * angles(math.rad(-34-2*i), math.rad(0), math.rad(0-9*i)), 0.35)
end
end
so("http://www.roblox.com/asset/?id=197161452", char, 0.5, 0.8)
con5:disconnect()
end -- combo hit end
attack = false
ultra = false
u:disconnect()
end
-------------------------------------------------------
--End Attacks N Stuff--
-------------------------------------------------------
mouse.KeyDown:connect(function(key)
if string.byte(key) == 48 then
Swing = 2
hum.WalkSpeed = 24.82
end
end)
mouse.KeyUp:connect(function(key)
if string.byte(key) == 48 then
Swing = 1
hum.WalkSpeed = 8
end
end)
mouse.Button1Down:connect(function()
if attack==false then
if attacktype==1 then
attack=true
attacktype=2
attackone()
elseif attacktype==2 then
attack=true
attacktype=3
attacktwo()
elseif attacktype==3 then
attack=true
attacktype=4
attackthree()
elseif attacktype==4 then
attack=true
attacktype=1
attackfour()
end
end
end)
mouse.KeyDown:connect(function(key)
if key == 'e' and attack == false and cankick == true and cooldown == false then
quickkick()
cooldown = true
coroutine.resume(coroutine.create(function()
wait(2)
cooldown = false
end))
end
end)
mouse.KeyDown:connect(function(key)
if attack == false then
if key == 't' then
Taunt()
elseif key == 'f' then
Hyperkickcombo()
elseif key == 'r' then
Galekicks()
end
end
end)
-------------------------------------------------------
--Start Animations--
-------------------------------------------------------
print("By Makhail07 and KillerDarkness0105")
print("Basic Animations by Makhail07")
print("Attack Animations by KillerDarkness0105")
print("This is pretty much our final script together")
print("--------------------------------")
print("Attacks")
print("E in air: Quick Kicks")
print("Left Mouse: 4 click combo")
print("F: Hyper Kicks")
print("R: Gale Kicks, Spam R if your combo is over 150 to do an ultra combo")
print("--------------------------------")
while true do
swait()
sine = sine + change
local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
local velderp = root.Velocity.y
hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
if hitfloor == nil then
cankick = true
else
cankick = false
end
if equipped == true or equipped == false then
if attack == false then
idle = idle + 1
else
idle = 0
end
if 1 < root.Velocity.y and hitfloor == nil then
Anim = "Jump"
if attack == false then
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
end
elseif -1 > root.Velocity.y and hitfloor == nil then
Anim = "Fall"
if attack == false then
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.1)
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
end
elseif torvel < 1 and hitfloor ~= nil then
Anim = "Idle"
change = 1
if attack == false then
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 12)) * angles(Rad(0), Rad(0), Rad(20)), 0.1)
tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-6.5 * Sin(sine / 12)), Rad(0), Rad(-20)), 0.1)
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(75), Rad(0)) * angles(Rad(-12.5), Rad(0), Rad(0)), 0.1)
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 12)* Player_Size, -0.2* Player_Size) * angles(Rad(0), Rad(-65), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(6)), 0.1)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, 0* Player_Size) * angles(Rad(110), Rad(6 + 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
LW.C0 = clerp(LW.C0, CF(-1.3* Player_Size, 0.2 + 0.05 * Sin(sine / 12)* Player_Size, -0.5* Player_Size) * angles(Rad(110), Rad(6 - 6.5 * Sin(sine / 12)), Rad(25)), 0.1)
end
elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
Anim = "Walk"
change = 1
if attack == false then
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1)
LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
end
elseif torvel >= 22 and hitfloor ~= nil then
Anim = "Sprint"
change = 1.35
if attack == false then
hum.CameraOffset = hum.CameraOffset:lerp(Vector3.new(0,0,0),0.15)
rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-8.5 - 2 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15)
RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-65) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
end
end
end
Music.SoundId = "rbxassetid://"..SONG
Music.Looped = true
Music.Pitch = 1
Music.Volume = 0.7
Music.Parent = tors
Music:Resume()
if 0 < #Effects 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 1 >= Thing[1].Transparency 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] == "Block2" then
Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
local Mesh = Thing[7]
Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
elseif Thing[2] == "Block3" then
Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
local Mesh = Thing[7]
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 * Vector3.new(0, 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]
elseif Thing[2] == "Shatter" then
Thing[1].Transparency = Thing[1].Transparency + Thing[3]
Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
Thing[6] = Thing[6] + Thing[5]
end
else
Part.Parent = nil
table.remove(Effects, e)
end
end
end
end
end
end
-------------------------------------------------------
--End Animations And Script--
-------------------------------------------------------literally just gale fighter without require() (you need a reanimate for fe anims)