Thanos
Thanos
local p = game:GetService("Players").LocalPlayer
local plr = game:GetService("Players").LocalPlayer
local player = game:GetService("Players").LocalPlayer
local char = p.Character
local mouse = p:GetMouse()
local larm = char:WaitForChild("Left Arm")
local rarm = char:WaitForChild("Right Arm")
local lleg = char:WaitForChild("Left Leg")
local rleg = char:WaitForChild("Right Leg")
local hed = char:WaitForChild("Head")
local torso = char:WaitForChild("Torso")
local root = char:WaitForChild("HumanoidRootPart")
local hum = char:FindFirstChildOfClass("Humanoid")
local debris = game:GetService("Debris")
local run = game:GetService("RunService")
local rs = run.RenderStepped
local cam = workspace.CurrentCamera
local movement = 4
local change = 0.4
local DebrisModel = Instance.new("Model",char)
local stealth = false
local debounce = false
-------------------------------------------------------
local Player_Size = 4
if Player_Size ~= 4 then
root.Size = root.Size * Player_Size
torso.Size = torso.Size * Player_Size
hed.Size = hed.Size * Player_Size
rarm.Size = rarm.Size * Player_Size
larm.Size = larm.Size * Player_Size
rleg.Size = rleg.Size * Player_Size
lleg.Size = lleg.Size * Player_Size
end
----------------------------------------------------------------------------------
it = Instance.new
hum.MaxHealth = 500000000000000000000000000000000000000000000000
hum.Health = hum.MaxHealth
themeid = 0
themepitch = 1
TorsoColor = torso.BrickColor
RightLeg = CFrame.new(0.5,-1,0)
LeftLeg = CFrame.new(-0.5,-1,0)
RunService = game:service'RunService'
lefth = (torso.CFrame*LeftLeg)
righth = (torso.CFrame*RightLeg)
speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
local Lighty = game:GetService"Lighting"
EffectModel = Instance.new("Model", char)
Effects = {
Block = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0,
brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("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
})
else
table.insert(Effects, {
prt,
"Block3",
delay,
x3,
y3,
z3,
msh
})
end
end
},
Sphere = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor,
"Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("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
},
Cylinder = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0,
brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("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
},
Wave = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor,
"Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh",
"rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 /
60))
game:GetService("Debris"):AddItem(prt, 10)
table.insert(Effects, {
prt,
"Cylinder",
delay,
x3 / 60,
y3 / 60,
z3 / 60,
msh
})
end
},
Ring = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0,
brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh",
"rbxassetid://3270017", 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
},
Break = {
Create = function(brickcolor, cframe, x1, y1, z1)
local prt = CFuncs.Part.Create(EffectModel, "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 = CFuncs.Mesh.Create("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
},
Spiral = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0,
brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh",
"rbxassetid://1051557", 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
},
Push = {
Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0,
brickcolor, "Effect", Vector3.new())
prt.Anchored = true
prt.CFrame = cframe
local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh",
"rbxassetid://437347603", 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
}
}
local NeckS = Instance.new("Part",char)
NeckS.Size = Vector3.new(1.2,1,1.2)
NeckS.Material = "SmoothPlastic"
NeckS.BrickColor = BrickColor.new("Bright yellow")
NeckS.CanCollide = false
local Neck3 = Instance.new("Weld",NeckS)
Neck3.Part0 = larm
Neck3.Part1 = NeckS
Neck3.C0 = CFrame.new(0,-0.62,0)*CFrame.Angles(math.rad(0),math.rad(-
180),math.rad(0))
local Black = Instance.new("Part",NeckS)--First Stone, Yellow
Black.Size = Vector3.new(0.3,0.3,0.3)
Black.Material = "Neon"
Black.BrickColor = BrickColor.new("New Yeller")
Black.CanCollide = false
local BlackM = Instance.new("SpecialMesh",Black)
BlackM.MeshType = 3
local Black1 = Instance.new("Weld",Black)
Black1.Part0 = NeckS
Black1.Part1 = Black
Black1.C0 = CFrame.new(0.54,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
local Stone2 = Instance.new("Part",NeckS)--First Circle
Stone2.Size = Vector3.new(0.2,0.2,0.2)
Stone2.Material = "Neon"
Stone2.BrickColor = BrickColor.new("Magenta")
Stone2.CanCollide = false
local Stone22 = Instance.new("SpecialMesh",Stone2)
Stone22.MeshType = 3
local Stone222 = Instance.new("Weld",Stone2)
Stone222.Part0 = NeckS
Stone222.Part1 = Stone2
Stone222.C0 = CFrame.new(0.23,-
0.47,0.4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
local Stone3 = Instance.new("Part",NeckS)--First Circle
Stone3.Size = Vector3.new(0.2,0.2,0.2)
Stone3.Material = "Neon"
Stone3.BrickColor = BrickColor.new("Lapis")
Stone3.CanCollide = false
local Stone33 = Instance.new("SpecialMesh",Stone3)
Stone33.MeshType = 3
local Stone333 = Instance.new("Weld",Stone3)
Stone333.Part0 = NeckS
Stone333.Part1 = Stone3
Stone333.C0 = CFrame.new(0.23,-
0.47,0.08)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
local Stone4 = Instance.new("Part",NeckS)--First Circle
Stone4.Size = Vector3.new(0.2,0.2,0.2)
Stone4.Material = "Neon"
Stone4.BrickColor = BrickColor.new("Really red")
Stone4.CanCollide = false
local Stone44 = Instance.new("SpecialMesh",Stone4)
Stone44.MeshType = 3
local Stone444 = Instance.new("Weld",Stone4)
Stone444.Part0 = NeckS
Stone444.Part1 = Stone4
Stone444.C0 = CFrame.new(0.23,-0.47,-
0.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
local Stone5 = Instance.new("Part",NeckS)--First Circle
Stone5.Size = Vector3.new(0.2,0.2,0.2)
Stone5.Material = "Neon"
Stone5.BrickColor = BrickColor.new("CGA brown")
Stone5.CanCollide = false
local Stone55 = Instance.new("SpecialMesh",Stone5)
Stone55.MeshType = 3
local Stone555 = Instance.new("Weld",Stone5)
Stone555.Part0 = NeckS
Stone555.Part1 = Stone5
Stone555.C0 = CFrame.new(0.23,-0.47,-
0.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
function RemoveOutlines(part)
part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface,
part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
end
CFuncs = {
Part = {
Create = function(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;
};
Mesh = {
Create = function(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;
};
Weld = {
Create = function(Parent, Part0, Part1, C0, C1)
local Weld = Create("Weld"){
Parent = Parent,
Part0 = Part0,
Part1 = Part1,
C0 = C0,
C1 = C1,
}
return Weld
end;
};
Sound = {
Create = function(id, par, vol, pit)
local Sound = Create("Sound"){
Volume = vol,
Pitch = pit or 1,
SoundId = "rbxassetid://" .. id,
Parent = par or workspace,
}
Sound:play()
return Sound
end;
};
Decal = {
Create = function(Color, Texture, Transparency, Name, Parent)
local Decal = Create("Decal"){
Color3 = Color,
Texture = "rbxassetid://" .. Texture,
Transparency = Transparency,
Name = Name,
Parent = Parent,
}
return Decal
end;
};
BillboardGui = {
Create = function(Parent, Image, Position, Size)
local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1,
BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
BillPar.CFrame = CFrame.new(Position)
local Bill = Create("BillboardGui"){
Parent = BillPar,
Adornee = BillPar,
Size = UDim2.new(1, 0, 1, 0),
SizeOffset = Vector2.new(Size, Size),
}
local d = Create("ImageLabel", Bill){
Parent = Bill,
BackgroundTransparency = 1,
Size = UDim2.new(1, 0, 1, 0),
Image = "rbxassetid://" .. Image,
}
return BillPar
end
};
ParticleEmitter = {
Create = function(Parent, Color1, Color2, LightEmission, Size, Texture,
Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance,
EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed,
VelocitySpread)
local Particle = Create("ParticleEmitter"){
Parent = Parent,
Color = ColorSequence.new(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,
}
return Particle
end;
};
CreateTemplate = {
};
}
NewInstance = function(instance,parent,properties)
local inst = Instance.new(instance)
inst.Parent = parent
if(properties)then
for i,v in next, properties do
pcall(function() inst[i] = v end)
end
end
return inst;
end
ACOS = math.acos
ang = CFrame.Angles
SIN = math.sin
cf = CFrame.new
COS = math.cos
rd = math.rad
rd2 = math.random
Heartbeat = Instance.new("BindableEvent")
Heartbeat.Name = "Heartbeat"
Heartbeat.Parent = script
local LeftShoulder = torso["Left Shoulder"]
local Left_Hip = torso["Left Hip"]
local RightShoulder = torso["Right Shoulder"]
local Right_Hip = torso["Right Hip"]
function QuaternionFromCFrame(cf)
local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 =
cf:components()
local trace = m00 + m11 + m22
if trace > 0 then
local s = math.sqrt(1 + trace)
local recip = 0.5 / s
return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s
* 0.5
else
local i = 0
if m11 > m00 then
i = 1
end
if m22 > (i == 0 and m00 or m11) then
i = 2
end
if i == 0 then
local s = math.sqrt(m00 - m11 - m22 + 1)
local recip = 0.5 / s
return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 -
m12) * recip
elseif i == 1 then
local s = math.sqrt(m11 - m22 - m00 + 1)
local recip = 0.5 / s
return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 -
m20) * recip
elseif i == 2 then
local s = math.sqrt(m22 - m00 - m11 + 1)
local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) *
recip, 0.5 * s, (m10 - m01) * recip
end
end
end
function QuaternionSlerp(a, b, t)
local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
local startInterp, finishInterp;
if cosTheta >= 0.0001 then
if (1 - cosTheta) > 0.0001 then
local theta = ACOS(cosTheta)
local invSinTheta = 1 / SIN(theta)
startInterp = SIN((1 - t) * theta) * invSinTheta
finishInterp = SIN(t * theta) * invSinTheta
else
startInterp = 1 - t
finishInterp = t
end
else
if (1 + cosTheta) > 0.0001 then
local theta = ACOS(-cosTheta)
local invSinTheta = 1 / SIN(theta)
startInterp = SIN((t - 1) * theta) * invSinTheta
finishInterp = SIN(t * theta) * invSinTheta
else
startInterp = t - 1
finishInterp = t
end
end
return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] *
finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] *
finishInterp
end
function Clerp(a, b, t)
local qa = {QuaternionFromCFrame(a)}
local qb = {QuaternionFromCFrame(b)}
local ax, ay, az = a.x, a.y, a.z
local bx, by, bz = b.x, b.y, b.z
local _t = 1 - t
return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t *
bz, QuaternionSlerp(qa, qb, t))
end
end
end)
----------------------------------------------------------------------------
no_anim = false
attack = false
attacking = false
canjump = true
aiming_anim = false
animid = math.random(0,1)
timer = 0
bg = Instance.new("BodyGyro",root)
bg.P = 100000
bg.D = 100
----------------------------------------------------------------------------
----
function rswait(value)
if value ~= nil and value ~= 0 then
for i=1,value do
rs:wait()
end
else
rs:wait()
end
end
----
local maincolor = BrickColor.new("Really red")
function Eviscerate(dude)
if dude.Name ~= char then
if v:IsA("CharacterMesh") then
v:Destroy()
end
if v:IsA("Model") then
v:Destroy()
end
if v:IsA("Part") or v:IsA("MeshPart") then
for x, o in pairs(v:GetChildren()) do
if o:IsA("Decal") then
o:Destroy()
end
end
coroutine.resume(coroutine.create(function()
v.Material = "Grass"
v.CanCollide = false
coroutine.resume(coroutine.create(function()
for i = 1,45 do
v.Transparency = v.Transparency + 0.04
wait(0.00000000001)
end
end))
wait(1.3)
Aura.Enabled = false
wait(1.5)
v:Destroy()
dude:Destroy()
end))
end
end
end))
end)
ds()
end
end
function Snap(dude)
if dude.Name ~= char then
local bgf = Instance.new("BodyGyro", dude.Head)
bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(rd(-90), 0, 0)
local val = Instance.new("BoolValue", dude)
val.Name = "IsHit"
local ds = coroutine.wrap(function()
dude:BreakJoints()
wait(0)
coroutine.resume(coroutine.create(function()
for i, v in pairs(dude:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
if v:IsA("CharacterMesh") then
v:Destroy()
end
if v:IsA("Model") then
v:Destroy()
end
if v:IsA("Part") or v:IsA("MeshPart") then
for x, o in pairs(v:GetChildren()) do
if o:IsA("Decal") then
o:Destroy()
end
end
coroutine.resume(coroutine.create(function()
v.Material = "Neon"
local PartEmmit1 =
Instance.new("ParticleEmitter", v)
PartEmmit1.LightEmission = 1
PartEmmit1.Texture =
"rbxassetid://520049620"
PartEmmit1.Color =
ColorSequence.new(maincolor.Color)
PartEmmit1.Rate = 150
PartEmmit1.Lifetime = NumberRange.new(1)
PartEmmit1.Size = NumberSequence.new({
NumberSequenceKeypoint.new(0, 0.75,
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(-
500, 500)
PartEmmit1.RotSpeed = NumberRange.new(-
500, 500)
local BodPoss =
Instance.new("BodyPosition", v)
BodPoss.P = 3000
BodPoss.D = 1000
BodPoss.maxForce = Vector3.new(200000,
200000, 200000)
BodPoss.position = v.Position +
Vector3.new(rd2(-1, 1), rd2(-1, 1), rd2(-1, 1))
v.BrickColor = BrickColor.new("Really
red")
coroutine.resume(coroutine.create(function()
for i = 0, 49 do
swait(1)
end
wait(0.5)
PartEmmit1.Enabled = false
wait(3)
v:Destroy()
dude:Destroy()
end))
end))
end
end
end))
end)
ds()
end
end
function Rock(stone)
if stone.Name ~= char then
coroutine.resume(coroutine.create(function()
for i, v in pairs(stone:GetChildren()) do
if v:IsA("Accessory") then
v:Destroy()
end
if v:IsA("CharacterMesh") then
v:Destroy()
end
if v:IsA("Model") then
v:Destroy()
end
if v:IsA("Part") or v:IsA("MeshPart") then
for x, o in pairs(v:GetChildren()) do
if o:IsA("Decal") then
o:Destroy()
end
end
coroutine.resume(coroutine.create(function()
v.Material = "Slate"
v.CanCollide = true
local BodPoss = Instance.new("BodyPosition", v)
BodPoss.P = 3000
BodPoss.D = 1000
BodPoss.maxForce = Vector3.new(500, 5000,
500)
BodPoss.position = v.Position +
Vector3.new(rd2(-5, 5), rd2(-0, 0), rd2(-0, 0))
coroutine.resume(coroutine.create(function()
for i = 0, 49 do
swait(1)
end
wait(0.5)
wait(3)
end))
end))
end
end
end))
end)
ds()
end
end
----------------------------------------------------------------------------
local instinct = true
---
Instance.new("ForceField",char).Visible = false
hum:SetStateEnabled("Dead",false)
hum:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
---
---
max = 0
function music(id,pitch)
max = 0
if id == "Stop" then
if not torso:FindFirstChild("MusicRuin") then
soundz = Instance.new("Sound",torso)
end
soundz:Stop()
else
if not torso:FindFirstChild("MusicRuin") then
soundz = Instance.new("Sound",torso)
end
soundz.MaxDistance = 150*5
soundz.EmitterSize = 150/5
soundz.Volume = 10
soundz.Name = "MusicRuin"
soundz.Looped = true
soundz.PlaybackSpeed = pitch
soundz.SoundId = "rbxassetid://"..id
soundz:Stop()
soundz:Play()
end
end
----------------------------------------------------------------------------
function lerp(a, b, t)
return a + (b - a)*t
end
----------------------------------------------------------------------------
function Lerp(c1,c2,al)
local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
for i,v in pairs(com1) do
com1[i] = v+(com2[i]-v)*al
end
return CFrame.new(com1[1],com1[2],com1[3]) *
CFrame.Angles(select(4,unpack(com1)))
end
----------------------------------------------------------------------------
function slerp(a, b, t)
dot = a:Dot(b)
if dot > 0.99999 or dot < -0.99999 then
return t <= 0.5 and a or b
else
r = math.acos(dot)
return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
end
end
----------------------------------------------------------------------------
function clerp(c1,c2,al)
end
return CFrame.new(com1[1],com1[2],com1[3]) *
CFrame.Angles(select(4,unpack(com1)))
end
----------------------------------------------------------------------------
-------------------
function findAllNearestTorso(pos,dist)
local list = game.Workspace:children()
local torso = {}
local temp = nil
local human = nil
local temp2 = nil
for x = 1, #list do
temp2 = list[x]
if (temp2.className == "Model") and (temp2 ~= char) then
local nayem = "Torso"
if temp2:findFirstChild("UpperTorso") then nayem = "UpperTorso" end
temp = temp2:findFirstChild(nayem)
human = temp2:findFirstChildOfClass("Humanoid")
if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
if (temp.Position - pos).magnitude < dist then
table.insert(torso,temp)
dist = (temp.Position - pos).magnitude
end
end
end
end
return torso
end
----------------------------------------------------------------------------
local isAPlayer
function checkIfNotPlayer(model)
coroutine.resume(coroutine.create(function()
if model ~= char and model.Parent ~= char and model.Parent.Parent ~= char and
model.Parent ~= DebrisModel and model.Parent.Parent ~= DebrisModel and
model.Parent.Parent.Parent ~= DebrisModel then
isAPlayer = true
else
isAPlayer = false
end
end))
return isAPlayer
end
----------------------------------------------------------------------------
function computeDirection(vec)
local lenSquared = vec.magnitude * vec.magnitude
local invSqrt = 1 / math.sqrt(lenSquared)
return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
end
----------------------------------------------------------------------------
wld.Part0 = wp0
wld.Part1 = wp1
return wld
end
----------------------------------------------------------------------------
function weld(model)
local parts,last = {}
local function scan(parent)
for _,v in pairs(parent:GetChildren()) do
if (v:IsA("BasePart")) then
if (last) then
local w = Instance.new("Weld")
w.Name = ("%s_Weld"):format(v.Name)
w.Part0,w.Part1 = last,v
w.C0 = last.CFrame:inverse()
w.C1 = v.CFrame:inverse()
w.Parent = last
end
last = v
table.insert(parts,v)
end
scan(v)
end
end
scan(model)
for _,v in pairs(parts) do
v.Anchored = false
v.Locked = true
end
end
----------------------------------------------------------------------------
function sound(id,position,vol,pitch,dist,start,finish)
coroutine.resume(coroutine.create(function()
soundasd.SoundId = "rbxassetid://"..id
soundasd:Play()
end))
return soundasd
end
function createsound(id,parent)
soundz.SoundId = "rbxassetid://"..id
return soundz
end
function playsound(sond,vol,pitch,start)
sond:Play()
end
----------------------------------------------------------------------------
eColors={"Really red","Really black"}
function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans)
local magz = (Part0 - Part1).magnitude
local curpos = Part0
local trz = {-Offset,Offset}
for i=1,Times do
local li = Instance.new("Part", DebrisModel)
li.TopSurface =0
li.Material = Enum.Material.Neon
li.BottomSurface = 0
li.Anchored = true
li.Locked = true
li.Transparency = Trans or 0.4
li.BrickColor = BrickColor.new(Color)
li.formFactor = "Custom"
li.CanCollide = false
li.Size = Vector3.new(Thickness,Thickness,magz/Times)
local lim = Instance.new("BlockMesh",li)
local Offzet =
Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
local trolpos =
CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
if Times == i then
local magz2 = (curpos - Part1).magnitude
li.Size = Vector3.new(Thickness,Thickness,magz2)
li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
else
li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
end
curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
li.Name = "LIGHTNING"
end
end
----------------------------------------------------------------------------
function bigboomrektxd()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
sound(1050751126,Position,10,math.random(10,12)/10,50)
sound(explosionid[math.random(1,#explosionid)],Part0.Position,5,math.random(6,9)/
10,80)
for i,v in pairs(findAllNearestTorso(Part0.Position,5)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClas
s("Humanoid").MaxHealth/(math.random(50,60)/10))
end
local Position = Part0.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
for i=1,14,2 do for x=1,math.random(0,1) do rs:wait() end
for z=1,math.random(2,3) do
local asdf = math.random(-5,5)*10-(i/20)*8
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("Gold")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = i*0.5
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-
2,2)*a,math.random(-10,10),math.random(-2,2)*a))
Part1.Name = "EXPLOSION"
end
end
end
end)
end))
end
function WhiteBall()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
sound(1050751126,Position,10,math.random(4,5)/10,100)
sound(explosionid[math.random(1,#explosionid)],Part0.Position,10,math.random(3,5)/
10,500)
for i,v in pairs(findAllNearestTorso(Part0.Position,160)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent:BreakJoints()
end
local Position = Part0.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
for z=1,math.random(2,3) do
local asdf = math.random(-5,5)*10-(i/20)*12
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = i*5
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-
2,2)*a,math.random(-30,30),math.random(-2,2)*a))
Part1.Name = "EXPLOSION4"
end
end
end
end)
end))
end
function AirPunch()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
local Sound2 = Instance.new("Sound",hed)
Sound2.SoundId = "rbxassetid://138137702"
Sound2.Volume = 5
Sound2.Pitch = 1
Sound2.Looped = false
Sound2:Play()
coroutine.resume(coroutine.create(function()
for i = 1,100 do
Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
wait(0.00000000001)
end
end))
wait(0.3)
end
end))
wait(0.00000000001)
end
end))
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
FZcharge3.Texture = "rbxassetid://174073769"
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
FZcharge3.EmissionDirection = "Top"
FZcharge3.Speed = NumberRange.new(5)
FZcharge3.Size = NumberSequence.new(10,0)
FZcharge3.Transparency = NumberSequence.new(0,1)
FZcharge3.Drag = 1.2
FZcharge3.LockedToPart = false
FZcharge3.Lifetime = NumberRange.new(2)
FZcharge3.Rate = 105
FZcharge3.LightEmission = 0.8
FZcharge3.Rotation = NumberRange.new(-360,360)
FZcharge3.VelocitySpread = 100
FZcharge3.ZOffset = 1
coroutine.resume(coroutine.create(function()
for i = 1,3 do
local HQ = Instance.new("Part",Part0)
HQ.Size = Vector3.new(1,1,1)
HQ.BrickColor = BrickColor.new("White")
HQ.Material = "Neon"
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0
HQ.CFrame =
Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(1,1,1)
local ZQW = Instance.new("Part",Part0)
ZQW.Size = Vector3.new(1,1,1)
ZQW.BrickColor = BrickColor.new("White")
ZQW.Material = "Neon"
ZQW.Transparency = 1
ZQW.Anchored = true
ZQW.CanCollide = false
ZQW.CFrame = Part0.CFrame*CFrame.new(0,0,0)
local ZQW2 = Instance.new("SpecialMesh",ZQW)
ZQW2.MeshType = "Sphere"
ZQW2.Scale = Vector3.new(1,1,1)
local H = Instance.new("Part",Part0)
H.Size = Vector3.new(1,1,1)
H.BrickColor = BrickColor.new("White")
H.CanCollide = false
H.Anchored = true
H.CFrame = Part0.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
local H2 = Instance.new("SpecialMesh",H)
H2.MeshId = "rbxassetid://3270017"
coroutine.resume(coroutine.create(function()
for i = 3,90 do
ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
ZQW.Transparency = ZQW.Transparency + 0.06
HQ2.Scale = HQ2.Scale + Vector3.new(3.2,3.2,3.2)
HQ.Transparency = HQ.Transparency + 0.05
H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
H.Transparency = H.Transparency + 0.05
wait(0.00000000001)
end
HQ:Destroy()
H2:Destroy()
H:Destroy()
HQ2:Destroy()
ZQW:Destroy()
ZQW2:Destroy()
end))
wait(0.3)
end
end))
local asd = nil
local loop = nil
delay(2, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
loop = rs:connect(function()
local asdf = math.random(100,1000)/1000
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Transparency = 0.9
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Part0.Position +
Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-
1000,1000)/750))
Part1.Name = "SMOKE"
end)
asd = Part0.Touched:connect(function(ht)
local hit=ht.Parent
end
local Position = Part0.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
end)
end))
end
function DetroitSmash()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
sound(1050751126,Position,10,math.random(4,5)/10,100)
sound(punch[math.random(1,#punch)],Part1.Position,500,math.random(3,5)/5,50)
for i,v in pairs(findAllNearestTorso(Part1.Position,100)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent.Humanoid:TakeDamage(100000000000000)
end
local Position = Part1.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (50 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
for i=1,14,2 do for x=1,math.random(1,2) do rs:wait() end
for z=1,math.random(1,2) do
local asdf = math.random(-5,5)*3-(i/20)*10
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.SmoothPlastic
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("Institutional white")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.Transparency = 0.3
local a = i*0.9
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-
1,1)*a,math.random(-1,1),math.random(-1,1)*a))
Part1.Name = "EXPLOSION4"
end
end
end))
end
function DelawareSmash()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
local Sound2 = Instance.new("Sound",hed)
Sound2.SoundId = "rbxassetid://138137702"
Sound2.Volume = 5
Sound2.Pitch = 0.9
Sound2.Looped = false
Sound2:Play()
Music:Play()
coroutine.resume(coroutine.create(function()
for i = 3,3 do
coroutine.resume(coroutine.create(function()
for i = 1,400 do
Part0.CFrame = Part0.CFrame*CFrame.Angles(0,0,-0.2)
wait()
end
end))
wait(0.3)
end
end))
coroutine.resume(coroutine.create(function()
for i = 3,300 do
Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame *
CFrame.new(0, 0, -18), 0.4)
wait()
end
end))
local FZcharge3 = Instance.new("ParticleEmitter",Part0)
FZcharge3.Texture = "rbxassetid://174073769"
FZcharge3.Color = ColorSequence.new(BrickColor.new("White").Color)
FZcharge3.EmissionDirection = "Top"
FZcharge3.Speed = NumberRange.new(5)
FZcharge3.Size = NumberSequence.new(40,0)
FZcharge3.Transparency = NumberSequence.new(0,1)
FZcharge3.Drag = 1.2
FZcharge3.LockedToPart = false
FZcharge3.Lifetime = NumberRange.new(3)
FZcharge3.Rate = 105
FZcharge3.LightEmission = 0.8
FZcharge3.Rotation = NumberRange.new(-360,360)
FZcharge3.VelocitySpread = 100
FZcharge3.ZOffset = 1
local FlyAt = Instance.new("Attachment",Part0)FlyAt.Position = Vector3.new(0,0.1,0)
local FlyAt2 = Instance.new("Attachment",Part0)FlyAt2.Position = Vector3.new(0,-
15.5,0)
local Speed = Instance.new("Trail",Part0)Speed.Attachment0 = FlyAt
Speed.Attachment1 = FlyAt2
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 2.1 Speed.Transparency =
NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,
1,0)})
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission
= 5
coroutine.resume(coroutine.create(function()
for i = 1,60 do
local HQ = Instance.new("Part",Part0)
HQ.Size = Vector3.new(1,1,1)
HQ.BrickColor = BrickColor.new("White")
HQ.Material = Enum.Material.Glass
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0
HQ.CFrame = Part0.CFrame*CFrame.new(0,0,-
20)*CFrame.Angles(1.55,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(14.5,14.5,14.5)
local ZQW = Instance.new("Part",Part0)
ZQW.Size = Vector3.new(1,1,1)
ZQW.BrickColor = BrickColor.new("White")
ZQW.Material = Enum.Material.Glass
ZQW.Transparency = 1
ZQW.Anchored = true
ZQW.CanCollide = false
ZQW.CFrame = Part0.CFrame*CFrame.new(-40,0,0)
local ZQW2 = Instance.new("SpecialMesh",ZQW)
ZQW2.MeshType = "Sphere"
ZQW2.Scale = Vector3.new(14.5,14.5,2.5)
local H = Instance.new("Part",Part0)
H.Size = Vector3.new(1,1,1)
H.BrickColor = BrickColor.new("White")
H.CanCollide = false
H.Anchored = true
H.CFrame = Part0.CFrame*CFrame.new(0,0,-40)*CFrame.Angles(0,0,0)
local H2 = Instance.new("SpecialMesh",H)
H2.MeshId = "rbxassetid://3270017"
H2.Scale = Vector3.new(14.5,14.5,2.5)
coroutine.resume(coroutine.create(function()
for i = 1,90 do
ZQW2.Scale = ZQW2.Scale + Vector3.new(6.2,6.2,6.2)
ZQW.Transparency = ZQW.Transparency + 0.06
HQ2.Scale = HQ2.Scale + Vector3.new(3.2,8.2,3.2)
HQ.Transparency = HQ.Transparency + 0.05
H2.Scale = H2.Scale + Vector3.new(6.2,6.2,6.2)
H.Transparency = H.Transparency + 0.05
wait(0.00000000001)
end
HQ:Destroy()
H2:Destroy()
H:Destroy()
HQ2:Destroy()
ZQW:Destroy()
ZQW2:Destroy()
end))
wait(0.1)
end
end))
local asd = nil
local loop = nil
delay(7, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
loop = rs:connect(function()
local asdf = math.random(100,1000)/1000
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.Transparency = 0.9
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = (Part0.Size*0.6) + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Part0.Position +
Vector3.new(math.random(-1000,1000)/80,math.random(-1000,1000)/80,math.random(-
1000,1000)/750))
Part1.Name = "SMOKE"
end)
asd = Part0.Touched:connect(function(ht)
local hit=ht.Parent
end
end)
end))
end
function unused()
coroutine.resume(coroutine.create(function()
local magnitude = nil
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.Position
end
--sound(743499393,Position,10,math.random(6,8)/10)
sound(1050751126,Position,10,math.random(4,5)/10,100)
sound(punch[math.random(1,#punch)],Part0.Position,10,math.random(3,5)/5,50)
for i,v in pairs(findAllNearestTorso(Part0.Position,35)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent:BreakJoints()
local Fl = Instance.new("BodyVelocity",v.Parent.Head)
Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
Fl.velocity = Part0.CFrame.lookVector*395
wait(0.05)
Fl:remove()
end
local Position = Part0.Position
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (120 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
for i=1,10,0.5 do for x=1,math.random(0,1) do rs:wait() end
for z=1,math.random(2,3) do
local asdf = math.random(-5,5)*2-(i/2)*10
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshType = Enum.MeshType.Sphere
mesh2.Scale = Vector3.new(0,0,0)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = i*0.7
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-
2,2)*a,math.random(-4,4),math.random(-2,2)*a))
Part1.Name = "EXPLOSION4"
end
end
end
end)
end))
end
end
AirPunchStrong()
wait(0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
wait(0.5)
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(10)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
AirPunchStrong()
wait(0.2)
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(70),math.rad(0)), 0.8)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(-80),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(10)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-20)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
wait(0.5)
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(-50),math.rad(0)), 0.8)--
head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(50),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
AirPunchStrong()
wait(0.2)
no_anim = false
instinct = true
end
end)
local attacktype = 1
mouse.Button1Down:connect(function()
if attack == false and attacktype == 1 and MUI == false then
Hit()
attacktype = 2
elseif attack == false and attacktype == 2 and MUI == false then
Hit2()
attacktype = 1
end
end)
mouse.Button1Down:connect(function()
if attack == false and attacktype == 1 and MUI == true then
HitFC()
attacktype = 2
elseif attack == false and attacktype == 2 and MUI == true then
HitFC2()
attacktype = 1
end
end)
function Hit()
if not D then D = true
animid = 5
no_anim = true
hit.Parent.Humanoid:TakeDamage(5000000000000000)
local Smash = Instance.new("Part",char)
Smash.Size = Vector3.new(30,30,30)
Smash.BrickColor = BrickColor.new("New Yeller")
Smash.CanCollide = false
Smash.Anchored = true
Smash.Transparency = 0.1
Smash.CFrame =
root.CFrame*CFrame.new(0,0,20)*CFrame.Angles(0,0,1.55)
local Smash2 = Instance.new("SpecialMesh",Smash)
Smash2.MeshId = "rbxassetid://437347603"
Smash2.Scale = Vector3.new(2.8,2.8,2.94)
local Sound2 = Instance.new("Sound",Smash)
Sound2.SoundId = "rbxassetid://138137702"
Sound2.Volume = 0.9
Sound2.Pitch = 1
Sound2.Looped = false
Sound2:Play()
local Sound = Instance.new("Sound",torso)
Sound.SoundId = "rbxassetid://0"
Sound.Volume = 7
Sound.Pitch = 1
Sound.Looped = false
Sound:Play()
coroutine.resume(coroutine.create(function()
for i = 3,100 do
Smash.CFrame = Smash.CFrame*CFrame.Angles(0,0,-0.1)
Smash.CFrame = Smash.CFrame:lerp(Smash.CFrame *
CFrame.new(0, 0, -11), 0.4)
wait(0.00000000001)
end
Smash:Destroy()
end))
coroutine.resume(coroutine.create(function()
for i = 1,3 do
local HQ = Instance.new("Part",root)
HQ.Size = Vector3.new(1,1,1)
HQ.BrickColor = BrickColor.new("Medium stone grey")
HQ.Material = "Neon"
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0
HQ.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,-
2,0)*CFrame.Angles(0,0,1.55)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://3270017"
HQ2.Scale = Vector3.new(1,1,1)
local ZQW = Instance.new("Part",root)
ZQW.Size = Vector3.new(1,1,1)
ZQW.BrickColor = BrickColor.new("Medium stone grey")
ZQW.Material = "Neon"
ZQW.Transparency = 1
ZQW.Anchored = true
ZQW.CanCollide = false
ZQW.CFrame = hit.Parent.Head.CFrame*CFrame.new(0,0,0)
local ZQW2 = Instance.new("SpecialMesh",ZQW)
ZQW2.MeshType = "Sphere"
ZQW2.Scale = Vector3.new(1,1,1)
local H = Instance.new("Part",root)
H.Size = Vector3.new(1,1,1)
H.BrickColor = BrickColor.new("Medium stone grey")
H.CanCollide = false
H.Anchored = true
H.CFrame =
hit.Parent.Head.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,1.55)
local H2 = Instance.new("SpecialMesh",H)
H2.MeshId = "rbxassetid://3270017"
coroutine.resume(coroutine.create(function()
for i = 3,90 do
ZQW2.Scale = ZQW2.Scale + Vector3.new(2.2,2.2,2.2)
ZQW.Transparency = ZQW.Transparency + 0.06
HQ2.Scale = HQ2.Scale + Vector3.new(3,3,3.2)
HQ.Transparency = HQ.Transparency + 0.05
H2.Scale = H2.Scale + Vector3.new(2.2,2.2,2.2)
H.Transparency = H.Transparency + 0.05
wait(0.00000000001)
end
HQ:Destroy()
H2:Destroy()
H:Destroy()
HQ2:Destroy()
ZQW:Destroy()
ZQW2:Destroy()
end))
wait(0.3)
end
end))
local Spinn = Instance.new("Part",char)
Spinn.Size = Vector3.new(1,1,1)
Spinn.BrickColor = BrickColor.new("New Yeller")
Spinn.CanCollide = false
Spinn.Transparency = 0.1
Spinn.Anchored = true
Spinn.Material = "Neon"
Spinn.CFrame =
root.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
local Spinn2 = Instance.new("SpecialMesh",Spinn)
Spinn2.MeshId = "rbxassetid://881809484"
Spinn2.Scale = Vector3.new(20,20,20)
coroutine.resume(coroutine.create(function()
for i = 3,300 do
Spinn.Transparency = Spinn.Transparency + 0.05
Spinn.CFrame =
Spinn.CFrame*CFrame.Angles(0.2,0.2,0.2)
wait(0.00000000001)
end
end))
wait(0.00000000001)
end
end))
end
SFXZ:Destroy()
end)
for i= 1,5 do
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--
arm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-
0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) *
CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
wait()
end
coroutine.resume(coroutine.create(function()
wait(0.5)
Grab:remove()
end))
no_anim = false
Grab:Destroy()
wait(0)
D = false
end
end
function Hit2()
if not D then D = true
no_anim = true
local Grab = Instance.new("Part",rarm)
Grab.Size = Vector3.new(4,4,4)
Grab.CanCollide = false
Grab.BrickColor = BrickColor.new("Deep orange")
Grab.Transparency = math.huge
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = rarm
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,-1.1,0)
local SFXZ = Instance.new("Sound",torso)
SFXZ.SoundId = "rbxassetid://169259383"
SFXZ.Volume = 1
SFXZ.Pitch = 1
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and
hit.Parent.Name ~= plr.Character.Name then
Grab:Destroy()
SFXZ:Destroy()
hit.Parent.Humanoid:TakeDamage(50)
local Cloud3 = Instance.new("Part",char)
Cloud3.Size = Vector3.new(1,1,1)
Cloud3.BrickColor = BrickColor.new("Medium stone grey")
Cloud3.Anchored = true
Cloud3.Material = "Neon"
Cloud3.CanCollide = false
Cloud3.CFrame =
rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
local Cloud4 = Instance.new("SpecialMesh",Cloud3)
Cloud4.MeshId = "rbxassetid://3270017"
Cloud4.Scale = Vector3.new(1,1,0.4)
coroutine.resume(coroutine.create(function()
for i = 3,650 do
end
SFXZ:Destroy()
end)
for i = 1, 5 do
wait()
coroutine.resume(coroutine.create(function()
wait(0.5)
Grab:remove()
end))
no_anim = false
Grab:Destroy()
wait(0)
D = false
end
end
function HitFC()
if not D then D = true
animid = 5
no_anim = true
local Grab = Instance.new("Part",larm)
Grab.Size = Vector3.new(3,3,3)
Grab.CanCollide = false
Grab.BrickColor = BrickColor.new("Deep orange")
Grab.Transparency = math.huge
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = larm
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,-1.1,0)
local SFXZ = Instance.new("Sound",torso)
SFXZ.SoundId = "rbxassetid://169259383"
SFXZ.Volume = 1
SFXZ.Pitch = 1.5
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and
hit.Parent.Name ~= plr.Character.Name then
Grab:Destroy()
SFXZ:Destroy()
hit.Parent.Humanoid:TakeDamage(250)
local Cloud3 = Instance.new("Part",char)
Cloud3.Size = Vector3.new(1,1,1)
Cloud3.BrickColor = BrickColor.new("Medium stone grey")
Cloud3.Anchored = true
Cloud3.Material = "Neon"
Cloud3.CanCollide = false
Cloud3.CFrame =
larm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
local Cloud4 = Instance.new("SpecialMesh",Cloud3)
Cloud4.MeshId = "rbxassetid://3270017"
Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
coroutine.resume(coroutine.create(function()
for i = 3,650 do
wait(0.00000000001)
end
end))
local SFXZ = Instance.new("Sound",hed)
SFXZ.SoundId = "rbxassetid://260430060"
SFXZ.Volume = 3
SFXZ.Pitch = 1
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
end
SFXZ:Destroy()
end)
for i = 1, 2 do
wait()
coroutine.resume(coroutine.create(function()
wait(0.5)
Grab:remove()
end))
no_anim = false
Grab:Destroy()
wait(0)
D = false
end
end
function HitFC2()
if not D then D = true
no_anim = true
local Grab = Instance.new("Part",rarm)
Grab.Size = Vector3.new(3,3,3)
Grab.CanCollide = false
Grab.BrickColor = BrickColor.new("Deep orange")
Grab.Transparency = math.huge
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = rarm
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,-1.1,0)
local SFXZ = Instance.new("Sound",torso)
SFXZ.SoundId = "rbxassetid://169259383"
SFXZ.Volume = 1
SFXZ.Pitch = 1
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and
hit.Parent.Name ~= plr.Character.Name then
Grab:Destroy()
SFXZ:Destroy()
hit.Parent.Humanoid:TakeDamage(250)
local Cloud3 = Instance.new("Part",char)
Cloud3.Size = Vector3.new(1,1,1)
Cloud3.BrickColor = BrickColor.new("Medium stone grey")
Cloud3.Anchored = true
Cloud3.Material = "Neon"
Cloud3.CanCollide = false
Cloud3.CFrame =
rarm.CFrame*CFrame.new(0,0,0)*CFrame.Angles(-1.55,0,0)
local Cloud4 = Instance.new("SpecialMesh",Cloud3)
Cloud4.MeshId = "rbxassetid://3270017"
Cloud4.Scale = Vector3.new(1.6,1.6,0.4)
coroutine.resume(coroutine.create(function()
for i = 3,650 do
wait(0.00000000001)
end
end))
local SFXZ = Instance.new("Sound",hed)
SFXZ.SoundId = "rbxassetid://260430060"
SFXZ.Volume = 3
SFXZ.Pitch = 1.2
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
end
SFXZ:Destroy()
end)
for i = 1, 2 do
wait()
coroutine.resume(coroutine.create(function()
wait(0.5)
Grab:remove()
end))
no_anim = false
Grab:Destroy()
wait(0)
D = false
end
end
mouse.KeyDown:connect(function(key)
if key == '1' then
no_anim = true
local Aura = Instance.new("ParticleEmitter",Stone4)
Aura.Texture = "rbxassetid://271370648"
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
Aura.EmissionDirection = "Top"
Aura.Speed = NumberRange.new(0)
Aura.Size = NumberSequence.new(2.5)
Aura.Transparency = NumberSequence.new(0,1)
Aura.Drag = 0.4
Aura.LightInfluence = 0
Aura.LockedToPart = true
Aura.Lifetime = NumberRange.new(0.9)
Aura.Rate = 60
Aura.LightEmission = 0.6
Aura.Rotation = NumberRange.new(-360,360)
Aura.VelocitySpread = 0
Aura.Acceleration = Vector3.new(0,0,0)
Aura.ZOffset = 0.2
LockOn()
for i = 1, 20 do
wait()
mouse.KeyDown:connect(function(key)
if key == '2' then
Bring()
end
end)
function LockOn()
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and
mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
TargetSelect(mouse.Target.Parent)
Rock(mouse.Target.Parent)
end
end
function Bring()
if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and
mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
TargetSelect(mouse.Target.Parent)
end
end
function swait(num)
if num == 0 or num == nil then
ArtificialHB.Event:wait()
else
for i = 0, num do
ArtificialHB.Event:wait()
end
end
end
script:WaitForChild("Heartbeat")
function TargetSelect(person)
local dd=coroutine.wrap(function()
if targetted ~= person then
targetted = person
for i = 0, 2, 0.1 do
swait()
end
end
end)
dd()
end
local RbxUtility = LoadLibrary("RbxUtility")
local Create = RbxUtility.Create
function HomingAttack()
end
end
mouse.KeyDown:connect(function(key)
if key == '3' then
HomingAttack()
end
end)
function laz0r()
clashpart = Instance.new("Part",DebrisModel)
clashpart.Size = Vector3.new(50,50,50)
clashpart.CanCollide = false
clashpart.Anchored = true
clashpart.Transparency = 1
clashpart.BrickColor = BrickColor.new("Magenta")
clashpart.Name = "StarLightClash"
clashpart.CFrame = CFrame.new(endPoint, mouse.Hit.p)
local z = 10
for i = 1,100 do rs:wait()
if animid == 0 then
root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X,
mouse.Hit.p.Y, mouse.Hit.p.Z))
Position = root.Position
else
root.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.p.X,
mouse.Hit.p.Y, mouse.Hit.p.Z))
Position = root.Position
end
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local ray = Ray.new(Position, (Target-Position).unit*1048)
local part, endPoint = workspace:FindPartOnRay(ray, char)
Part0.Size = Vector3.new(5-((i/100)*5),1,5-((i/100)*5))
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
mesh.Offset = Vector3.new(math.random(-10000,10000)/20000,math.random(-
10000,10000)/20000,0)
local pos = Position + (direction * (mesh.Scale.Y/0))
Part0.CFrame = CFrame.new(pos, pos + direction) *
CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
clashpart.CFrame = CFrame.new(endPoint, root.Position)
if i >= z then z = i + 10
sound(explosionid[math.random(1,#explosionid)],endPoint,10,math.random(6,9)/10,200)
end
Part1 = Part0:Clone()
Part1.Parent = DebrisModel
Part1.BrickColor = BrickColor.new("Magenta")
Part1.Name = "SMOKE2"
end
clashpart:Destroy()
Part0:Destroy()
wait(0.3)
aiming_anim = false
delay(0.3,function() debounce = false end)
end
mouse.KeyDown:connect(function(k)
if k == "u" and Mode == false then
animid = 5
no_anim = true
hum.WalkSpeed = 0
for i = 1, 30 do
wait()
wait(2.2)
FZcharge3.Rate = 195
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
end
end)
-------------------------------------------------------
mouse.KeyDown:connect(function(k)
if k == "z" then
local FZcharge3 = Instance.new("ParticleEmitter",Stone6)
FZcharge3.Texture = "rbxassetid://165211997"
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
FZcharge3.EmissionDirection = "Top"
FZcharge3.Speed = NumberRange.new(8)
FZcharge3.Size = NumberSequence.new(0.5,0)
FZcharge3.Transparency = NumberSequence.new(0,1)
FZcharge3.Drag = 1.2
FZcharge3.LockedToPart = false
FZcharge3.Lifetime = NumberRange.new(0.5)
FZcharge3.Rate = 195
FZcharge3.LightEmission = 1
FZcharge3.VelocitySpread = 100
FZcharge3.Rotation = NumberRange.new(-360,360)
FZcharge3.VelocitySpread = 100.2
FZcharge3.ZOffset = 1
local CHAINLINKS = {}
local POS = mouse.Hit.p
local CHAINS = false
local CHAINLINKS = {}
local A = Instance.new("Attachment",NeckS)
A.Position = Vector3.new(0.3,0,0)*Player_Size
A.Orientation = Vector3.new(-90, -89.982, 0)
local B = Instance.new("Attachment",NeckS)
B.Position = Vector3.new(-0.3,0,0)*Player_Size
B.Orientation = Vector3.new(-90, 89.988, 0)
local C = Instance.new("Attachment",NeckS)
C.Position = Vector3.new(0.3,-0.1,0)*Player_Size
C.Orientation = Vector3.new(-90, -89.982, 0)
local D = Instance.new("Attachment",NeckS)
D.Position = Vector3.new(-0.3,-0.3,0)*Player_Size
D.Orientation = Vector3.new(-90, 89.988, 0)
local LIGHT = Instance.new("Attachment",NeckS)
LIGHT.Position = Vector3.new(0.3,-0,0)*Player_Size
local LIGHT2 = Instance.new("PointLight",larm)
LIGHT2.Range = 6
LIGHT2.Brightness = 20
LIGHT2.Color = Color3.new(0, 255, 0)
for i = 1, 2 do
local TWIST = -2
local START = A
local END = B
if i == 1 then
START = B
END = A
end
local ChainLink = Instance.new("Beam",torso)
ChainLink.Texture = "rbxassetid://165211997"
ChainLink.Color = ColorSequence.new(Color3.fromRGB(0, 255, 0))
ChainLink.TextureSpeed = 5
ChainLink.Width0 = 1
ChainLink.Width1 = 1
ChainLink.TextureLength = 1.5
ChainLink.Attachment0 = START
ChainLink.Attachment1 = END
ChainLink.CurveSize0 = TWIST
ChainLink.CurveSize1 = TWIST
--ChainLink.FaceCamera = true
ChainLink.Segments = 45
ChainLink.Transparency = NumberSequence.new(0)
table.insert(CHAINLINKS,ChainLink)
end
coroutine.resume(coroutine.create(function()
for i = 3,80000000000000000000000000000 do
hum.Health = hum.MaxHealth
coroutine.resume(coroutine.create(function()
for i = 1,15 do
wait(0.00000000001)
end
end))
wait(0.06)
end
end))
end
end)
mouse.KeyDown:connect(function(k)
if k == "k" then
no_anim = true
local FlyAt = Instance.new("Attachment",NeckS)FlyAt.Position =
Vector3.new(0,0.5,0)
local FlyAt2 = Instance.new("Attachment",NeckS)FlyAt2.Position = Vector3.new(0,-
0.5,0)
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1
= FlyAt2
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency =
NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,
1,0)})
Speed.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0)) Speed.LightEmission =
5
for i = 1,7 do
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(10), math.rad(20), math.rad(0)), .5)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), .5)--
arm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(0)), .5)--arm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) *
CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), .5)--leg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),.5)--leg
wait()
end
wait(0.7)
local Grab = Instance.new("Part",NeckS)
Grab.Size = Vector3.new(4,4,4)
Grab.CanCollide = false
Grab.BrickColor = BrickColor.new("Deep orange")
Grab.Transparency = math.huge
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = larm
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,-0.1,0)
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and
hit.Parent.Name ~= player.Character.Name then
Grab:Destroy()
no_anim = true
local SFXZ = Instance.new("Sound",root)
SFXZ.SoundId = "rbxassetid://1699290293"
SFXZ.Volume = 7
SFXZ.Pitch = 1
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
hit.Parent:BreakJoints()
Snap(hit.Parent)
end
end)
for i= 1,10 do
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), .5)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(-5), math.rad(-70), math.rad(0)), .5)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), .5)--
arm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.0,0.5,-
0.8)*CFrame.Angles(math.rad(160),math.rad(70),math.rad(10)), .5)--arm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) *
CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .5)--leg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),.5)--leg
wait()
end
FlyAt:Destroy()
no_anim = false
end
end)
mouse.KeyDown:connect(function(k)
if k == "y" then
instinct = false
animid = 5
no_anim = true
coroutine.resume(coroutine.create(function()
for i = 1,15 do
Ball2.Scale = Ball2.Scale + Vector3.new(19.4,19.4,19.4)
Ball.Transparency = Ball.Transparency + 0.06
wait(0.00000000001)
end
Ball:Destroy()
end))
wait(0.06)
end
end))
root.Anchored = true
g = Instance.new("Explosion")
g.Parent = workspace
g.Position = root.Position
g.BlastRadius = 90
g.BlastPressure = 4000200
g.Visible = false
for i = 1, 70 do
wait()
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.8)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(50)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,1,0)*CFrame.Angles(math.rad(90),math.rad(50),math.rad(-50)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(5)), 0.8)--rleg
end
wait(0.2)
sbs:Destroy()
no_anim = false
root.Anchored = false
end
end)
local deb = false
function smooth(obj)
local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
for i,v in pairs(sides) do
obj[v.."Surface"] = "SmoothNoOutlines"
end
end
local multiplier =
1000000000000000000000000000000000000000000000000000000000000000000000000000000000
function hurt(hit, dmg)
if hit.Parent then
if hit.Parent.Name == "box" then print("bocks!11") hit.Parent:Destroy()
end
local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
if hum then
if hum.Parent.Name ~= plr.Name then
if dmg == "Kill" or hum.Health > 100000 then
hit.Parent:BreakJoints()
return true
else
if math.random(0, 100) == 50 then
hit.Parent:BreakJoints()
else
hit.Parent:BreakJoints()
end
return true
end
end
end
end
end
local push = 100
local huge = Vector3.new(math.huge,math.huge,math.huge)
function gethum(obj)
if obj.Parent then
if obj.Parent:FindFirstChild("Humanoid") then
if obj.Parent.Name ~= plr.Name then
return obj.Parent:FindFirstChildOfClass("Humanoid")
end
end
end
end
mouse.KeyDown:connect(function(key)
if key == "p" and not deb and not attacking then
deb = true
no_anim = true
for i = 1, 10 do
wait()
for i = 0, 10 do
spawn(function()
local p = Instance.new("Part")
p.Anchored = true
p.CanCollide = false
p.CFrame = char.Torso.CFrame *CFrame.new(math.random(-
12,12),-10,math.random(-12,12))
smooth(p)
p.BrickColor = BrickColor.DarkGray()
p.Material = Enum.Material.Slate
p.Size = Vector3.new(9,9,9)
p.Transparency = 0
p.Parent = workspace
local FlyAt = Instance.new("Attachment",p)FlyAt.Position =
Vector3.new(0,2.5,0)
local FlyAt2 = Instance.new("Attachment",p)FlyAt2.Position = Vector3.new(0,-2.5,0)
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1
= FlyAt2
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency =
NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,
1,0)})
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission
= 5
local endcf = p.CFrame *CFrame.new(0,30,0)
for i = 0, 20 do
p.CFrame = p.CFrame:Lerp(endcf, 0.3)
wait()
end
local z = Instance.new("Part")
z.CFrame = p.CFrame
z.CFrame = CFrame.new(z.Position, mouse.Hit.p)
local bv = Instance.new("BodyVelocity", p)
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = z.CFrame.lookVector*140
p.Anchored = false
z:Destroy()
p.CanCollide = false
local connection
spawn(function()
local angle = CFrame.Angles(math.rad(math.random(-
10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10)))
repeat wait()
p.CFrame = p.CFrame *angle
until not p or p.CanCollide
end)
connection = p.Touched:connect(function(hit)
hurt(hit, math.random(5,5))
if not hit.Anchored and hit.Parent.Name ~= plr.Name
and hit.Parent.ClassName ~= "Accessory" then
p.CanCollide = true
end
end)
game.Debris:AddItem(p, 5)
end)
wait()
deb = false
no_anim = false
end
end
end)
function
doBrick(parent,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
local
p=Instance.new('Part',parent);p.BrickColor=colour;p.Material=material;p.Transparenc
y=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.Bac
kSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=r
s;p.TopSurface=ts;p.Position=pos;p.CFrame=p.CFrame*cf;
return p
end
function doMesh(parent,meshType,meshId,scale)
local
m=Instance.new('SpecialMesh',parent);m.MeshType=meshType;m.MeshId=meshId;m.Scale=sc
ale
return m
end
local EP=Instance.new("Model",char)
function
magicBrick(pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts,meshTyp
e,meshId,scale,scaleAdd,loop,loopTransparency,repeatloop,repeatLoopWait,loopCFrame)
local cw1=coroutine.wrap(function()
for i=1,repeatloop do
local
x=doBrick(EP,pos,cf,size,colour,material,transparency,a,cc,bs,bts,fs,ls,rs,ts)
local z=doMesh(x,meshType,meshId,scale)
local cw2=coroutine.wrap(function()
for i=1,loop do
if loopTransparency then
x.Transparency=i/loop
z.Scale=z.Scale+scaleAdd
x.CFrame=x.CFrame*loopCFrame
wait()
else
z.Scale=z.Scale+scaleAdd
x.CFrame=x.CFrame*loopCFrame
end
end
x:Destroy()
end)
cw2()
swait(repeatLoopWait)
end
end)
cw1()
end
if MUI == true then
speed=0.15
sound(438666277,2,1.5,torso)
coroutine.resume(coroutine.create(function()
for i=1,20 do
magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.Angles(math.random(1,50),math.ran
dom(1,50),math.random(1,50)),Vector3.new(1,1,1),BrickColor.new("Institutional
white"),"Neon",0,true,false,10,10,10,10,10,10,"FileMesh","http://www.roblox.com/
asset/?
id=3270017",Vector3.new(math.random(10,15),math.random(20,30),0.2),Vector3.new(-2,-
2,0),16,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0))
swait(3)
end
end))
for i=0,1,0.1*speed do
if lastAnim~=thisAnim then break end
swait()
end
doingMove=true
coroutine.resume(coroutine.create(function()
for i=1,200 do
magicBrick(Vector3.new(0,0,0),torso.CFrame*CFrame.new(0,0,0)*CFrame.new(math.random
(1,5),math.random(1,5),math.random(1,5))*CFrame.new(-5/2,-5/2,-
5/2),Vector3.new(1,1,1),BrickColor.new("Institutional
white"),"Neon",0,true,false,10,10,10,10,10,10,"Brick","",Vector3.new(1,1,1),Vector3
.new(-0.2,-0.2,-0.2),15,true,1,0,CFrame.new(0,-
1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
swait()
end
end))
local beam=Instance.new("Part",char)
beam.Anchored=true
beam.CanCollide=false
beam.BrickColor=BrickColor.new("Institutional white")
beam.Material="Neon"
beam.Transparency=0.5
sound(415700134,1.75,0.85,torso)
coroutine.resume(coroutine.create(function()
while true do
if not doingMove then break end
local dis=(torso.Position-mouse.Hit.p).magnitude
beam.Size=Vector3.new(2,2,dis)
beam.CFrame=CFrame.new(torso.CFrame.p,mouse.Hit.p)*CFrame.new(0,0,-dis/2)
swait()
end
end))
coroutine.resume(coroutine.create(function()
for i=1,20 do
if not doingMove then break end
magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),Bri
ckColor.new("Deep
orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vecto
r3.new(2,6,2),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.Angles(0,0,0),Vector3.new(1,1,1),Bri
ckColor.new("Really
red"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.
new(3,3,3),8,true,1,0,CFrame.new(0,0,0)*CFrame.Angles(0,0,0))
coroutine.resume(coroutine.create(function()
for i=1,7 do
magicBrick(Vector3.new(0,0,0),mouse.Hit*CFrame.new(0,0,0)*CFrame.new(math.random(1,
15),math.random(1,15),math.random(1,15))*CFrame.new(-15/2,-15/2,-
15/2),Vector3.new(1,1,1),BrickColor.new("Really
black"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(4,4,4),Vector
3.new(1,1,1),12,true,1,0,CFrame.new(0,-
1,0)*CFrame.Angles(math.random(),math.random(),math.random()))
end
end))
for i,v in pairs(workspace:GetChildren()) do
if v:findFirstChild("Humanoid")~=nil and
v~=char then
if (v:WaitForChild("Torso").Position-
mouse.Hit.p).magnitude<=10 then
v:WaitForChild("Humanoid"):TakeDamage(v:WaitForChild("Humanoid").MaxHealth/
20)
end
end
end
swait(10)
end
end))
for i=0,2,0.1*speed do
if lastAnim~=thisAnim then break end
swait()
end
beam:Destroy()
lastAnim=nil
lastPriority=0
doingMove=false
end
function chestBeam()
MUI = true
end
mouse.KeyDown:connect(function(k)
if k == "n" then
chestBeam()
end
end)
mouse.KeyDown:connect(function(k)
if k == "v" then
UltimateBattle:Stop()
Mode = true
local SFXZ = Instance.new("Sound",torso)
SFXZ.SoundId = "rbxassetid://316675316"
SFXZ.Volume = 8
SFXZ.Pitch = 1
SFXZ.Looped = true
wait(0.01)
SFXZ:Play()
local Wind = Instance.new("Sound",torso)
Wind.SoundId = "rbxassetid://142840797"
Wind.Volume = 0.5
Wind.Pitch = 1
Wind.Looped = true
wait(0.01)
Wind:Play()
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and
hit.Parent.Name ~= p.Character.Name then
hit.Parent:BreakJoints()
wait(0.2)
hit.Parent:Destroy()
end
end)
hum.WalkSpeed = 55
coroutine.resume(coroutine.create(function()
for i = 1,200 do
wait(0.00000000001)
end
HQG:Destroy()
HQG2:Destroy()
end))
wait(0.3)
end
end))
end
end)
mouse.KeyDown:connect(function(k)
if k == "j" then
animid = 5
no_anim = true
for i = 1, 30 do
wait()
local HQ = Instance.new("Part",char)
HQ.Size = Vector3.new(1,0,1)
HQ.BrickColor = BrickColor.new("Grey")
HQ.Material = "Neon"
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0.7
HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(1,1,1)
coroutine.resume(coroutine.create(function()
for i = 1,200 do
HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
HQ.Transparency = HQ.Transparency + 0.01
HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
wait(0.00000000001)
end
HQ:Destroy()
HQ2:Destroy()
HQG:Destroy()
HQG2:Destroy()
end))
laz0r()
wait(0.5)
no_anim = false
Aura.Rate = 0
instinct = true
end
end)
mouse.KeyDown:connect(function(key)
if key == "r" then
local Aura = Instance.new('ParticleEmitter',Stone3)
Aura.Texture = "rbxassetid://271370648"
Aura.Color = ColorSequence.new(BrickColor.new("Lapis").Color)
Aura.EmissionDirection = "Top"
Aura.Speed = NumberRange.new(0)
Aura.Size = NumberSequence.new(2.5)
Aura.Transparency = NumberSequence.new(0,1)
Aura.Drag = 0.4
Aura.LightInfluence = 0
Aura.LockedToPart = true
Aura.Lifetime = NumberRange.new(0.9)
Aura.Rate = 60
Aura.LightEmission = 0.6
Aura.Rotation = NumberRange.new(-360,360)
Aura.VelocitySpread = 0
Aura.Acceleration = Vector3.new(0,0,0)
Aura.ZOffset = 0.2
no_anim = true
for i = 1, 15 do
wait()
hit.Anchored = false
local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
Fl.velocity = root.CFrame.lookVector*340
wait(0.05)
Fl:remove()
end
end)
end
end)
mouse.KeyUp:connect(function(key)
if key == "r" then
for i, v in pairs(root:GetChildren()) do
if v:IsA("Part")then
v:Remove()
end
end
for i, v in pairs(Stone3:GetChildren()) do
if v:IsA('ParticleEmitter')then
v.Rate = 0
end
end
no_anim = false
end
end)
mouse.KeyDown:connect(function(key)
if key == "n" then
end
end)
mouse.KeyDown:connect(function(key)
if key == "t" then
local Aura = Instance.new("ParticleEmitter",Stone4)
Aura.Texture = "rbxassetid://271370648"
Aura.Color = ColorSequence.new(BrickColor.new("Really red").Color)
Aura.EmissionDirection = "Top"
Aura.Speed = NumberRange.new(0)
Aura.Size = NumberSequence.new(2.5)
Aura.Transparency = NumberSequence.new(0,1)
Aura.Drag = 0.4
Aura.LightInfluence = 0
Aura.LockedToPart = true
Aura.Lifetime = NumberRange.new(0.9)
Aura.Rate = 60
Aura.LightEmission = 0.6
Aura.Rotation = NumberRange.new(-360,360)
Aura.VelocitySpread = 0
Aura.Acceleration = Vector3.new(0,0,0)
Aura.ZOffset = 0.2
no_anim = true
for i = 1, 15 do
wait()
Snap(hit.Parent)
local Fl = Instance.new("BodyVelocity",hit.Parent.Head)
Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
Fl.velocity = root.CFrame.lookVector*340
wait(0.05)
Fl:remove()
end
end)
end
end)
mouse.KeyUp:connect(function(key)
if key == "t" then
for i, v in pairs(root:GetChildren()) do
if v:IsA("Part")then
v:Remove()
end
end
for i, v in pairs(Stone4:GetChildren()) do
if v:IsA("ParticleEmitter")then
v.Rate = 0
end
end
no_anim = false
end
end)
mouse.KeyDown:connect(function(k)
if k == "e" and MUI == false then --highjump
animid = 5
no_anim = true
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
local HQ = Instance.new("Part",char)
HQ.Size = Vector3.new(1,0,1)
HQ.BrickColor = BrickColor.new("New Yeller")
HQ.Material = "Neon"
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0.7
HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(1,50,1)
coroutine.resume(coroutine.create(function()
for i = 1,500 do
HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
HQ.Transparency = HQ.Transparency + 0.005
HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
wait(0.00000000001)
end
HQ:Destroy()
HQ2:Destroy()
HQG:Destroy()
HQG2:Destroy()
end))
wait(0.5)
sbs:Destroy()
FlyAt:Destroy()
wait(0.2)
no_anim = false
instinct = true
end
end)
mouse.KeyDown:connect(function(k)
if k == "e" and MUI == true then --highjump
animid = 5
no_anim = true
hum.WalkSpeed = 60
local sbs = Instance.new("BodyPosition", torso)
sbs.P = 9000
sbs.D = 1000
sbs.maxForce = Vector3.new(900000, 9000000000, 900000)
sbs.position = torso.CFrame.p + Vector3.new(0, 120, 0)
local FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,2,0)
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-
2.5,0)
local Speed = Instance.new("Trail",char)Speed.Attachment0 = FlyAt Speed.Attachment1
= FlyAt2
Speed.Texture = "rbxassetid://22636887" Speed.Lifetime = 0.3 Speed.Transparency =
NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,
1,0)})
Speed.Color = ColorSequence.new(Color3.fromRGB(248, 248, 248)) Speed.LightEmission
= 5
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-60),math.rad(0),math.rad(0)), 0.8)--
rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -
1, 0) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(-50),math.rad(0),math.rad(5)), 0.8)--rleg
local HQ = Instance.new("Part",char)
HQ.Size = Vector3.new(1,0,1)
HQ.BrickColor = BrickColor.new("Grey")
HQ.Material = "Neon"
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0.7
HQ.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(1,1,1)
coroutine.resume(coroutine.create(function()
for i = 1,200 do
HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
HQ.Transparency = HQ.Transparency + 0.01
HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
wait(0.00000000001)
end
HQ:Destroy()
HQ2:Destroy()
HQG:Destroy()
HQG2:Destroy()
end))
wait(0.5)
sbs:Destroy()
hum.WalkSpeed = 260
FlyAt:Destroy()
wait(0.2)
hum.WalkSpeed = 16
no_anim = false
instinct = true
end
end)
mouse.KeyDown:connect(function(k)
if k == "q" and MUI == false then --highjump
animid = 5
no_anim = true
hed.Weld.C0 = Lerp(hed.Weld.C0,
CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.1)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) *
CFrame.Angles(math.rad(-80), math.rad(0), math.rad(0)), 0.1)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0,
CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(15)), 0.1)--
arm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-
1.5,0.5,0)*CFrame.Angles(math.rad(-30),math.rad(0),math.rad(-15)), 0.1)--arm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) *
CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.1)--leg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) *
CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.1)--leg
end
wait(0.5)
bv:Destroy()
wait(0.2)
FlyAt:Destroy()
no_anim = false
end
end)
holdclick=false
mouse.KeyDown:connect(function(k)
if k == "q" and MUI == true then --highjump
animid = 5
no_anim = true
hum.WalkSpeed = 60
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = root.CFrame.lookVector*190
bv.Parent = root
local HQ = Instance.new("Part",char)
HQ.Size = Vector3.new(1,0,1)
HQ.BrickColor = BrickColor.new("Grey")
HQ.Material = "Neon"
HQ.Anchored = true
HQ.CanCollide = false
HQ.Transparency = 0.7
HQ.CFrame = root.CFrame*CFrame.new(0,-
2,0)*CFrame.Angles(1.55,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(1,1,1)
coroutine.resume(coroutine.create(function()
for i = 1,200 do
HQ2.Scale = HQ2.Scale + Vector3.new(1.5,0.3,1.5)
HQ.Transparency = HQ.Transparency + 0.01
HQ.CFrame = HQ.CFrame*CFrame.Angles(0,0,0)
wait()
end
HQ:Destroy()
HQ2:Destroy()
HQG:Destroy()
HQG2:Destroy()
end))
wait(0.5)
bv:Destroy()
hum.WalkSpeed = 60
wait(0.2)
hum.WalkSpeed = 16
FlyAt:Destroy()
no_anim = false
instinct = true
end
end)
mouse.KeyDown:connect(function(k)
if k == "l" then
animid = 5
no_anim = true
UltimateBattle:Stop()
for i = 1, 10 do
wait()
for i = 1, 10 do
wait()
coroutine.resume(coroutine.create(function()
for i = 3,80 do
local Ball = Instance.new("Part",char)
Ball.Size = Vector3.new(0,0,0)
Ball.BrickColor = BrickColor.new("White")
Ball.Material = "Neon"
Ball.Anchored = true
Ball.CanCollide = false
Ball.Transparency = 0
Ball.CFrame = torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
local Ball2 = Instance.new("SpecialMesh",Ball)
Ball2.MeshType = 3
Ball2.Scale = Vector3.new(0.4,0.4,0.4)
coroutine.resume(coroutine.create(function()
for i = 1,15 do
Ball2.Scale = Ball2.Scale + Vector3.new(1980.4,1980.4,1980.4)
Ball.Transparency = Ball.Transparency + 0.06
wait(0.00000000001)
end
Ball:Destroy()
end))
wait(0.02)
end
end))
wait(5)
coroutine.wrap(function()
for i,v in next, workspace:children() do
if v:IsA"Model" or v:IsA"Part" then
if v:FindFirstChildOfClass"Humanoid" and v ~= char then
Eviscerate(v)
if v:FindFirstChildOfClass"Humanoid" then Eviscerate(v)
end
wait(.15)
end
end
end
end)()
wait(10)
no_anim = false
end
end)
mouse.KeyDown:connect(function(key)
if debounce == false then
if key == "=" and MUI == true then
dashasdf()
elseif key == "=" and cooldownult == false then
cooldownult = true
if animid == 0 then
animid = 1
else
animid = 0
end
debounce = true
holdr = true
aiming_anim = true
wait(0.2)
repeat
rs:wait()
timer = 150
until holdr == false
nukewelpo()
aiming_anim = false
delay(5,function() cooldownult = false end)
delay(1,function() debounce = false end)
end
end
end)
mouse.KeyUp:connect(function(key)
if key == "=" then
holdq = false
elseif key == "=" then
holdr = false
end
end)
--
hum.Name = 'Goku'
----------------------------------------------------------------------------
music(themeid,themepitch)
velocityYFall=0
velocityYFall2=0
velocityYFall3=0
velocityYFall4=0
neckrotY=0
neckrotY2=0
torsorotY=0
torsorotY2=0
torsoY=0
torsoY2=0
sine = 0
newWeld(torso, larm, -1.5, 0.5, 0)
larm.Weld.C1 = CFrame.new(0, 0.5, 0)
newWeld(torso, rarm, 1.5, 0.5, 0)
rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
newWeld(torso, hed, 0, 1.5, 0)
newWeld(torso, lleg, -0.5, -1, 0)
lleg.Weld.C1 = CFrame.new(0, 1, 0)
newWeld(torso, rleg, 0.5, -1, 0)
rleg.Weld.C1 = CFrame.new(0, 1, 0)
newWeld(root, torso, 0, -1, 0)
torso.Weld.C1 = CFrame.new(0, -1, 0)
rs:connect(function()
bg.MaxTorque = Vector3.new(0,0,0)
end
end
local SINE = 0
local jumped = false
local ray1 = Ray.new(root.Position+Vector3.new(1,0,0),Vector3.new(0, -6, 0))
local part1, endPoint = workspace:FindPartOnRay(ray1, char)
local ray2 = Ray.new(root.Position-Vector3.new(1,0,0),Vector3.new(0, -6, 0))
local part2, endPoint = workspace:FindPartOnRay(ray2, char)
local ray3 = Ray.new(root.Position+Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
local part3, endPoint = workspace:FindPartOnRay(ray3, char)
local ray4 = Ray.new(root.Position-Vector3.new(0,0,0.5),Vector3.new(0, -6, 0))
local part4, endPoint = workspace:FindPartOnRay(ray4, char)
if part1 or part2 or part3 or part4 then jumped = false else endPoint = 0 jumped =
true end