Please consider supporting us with disabling your AdBlock software and to gain access to thousands of free content!
Not sure how to disable AdBLock? Follow this tutorial: How to disable AdBlock
Get the Thanos Gauntlet
The Thanos Gauntlet code is below. Copy & inject it into the game. Enjoy!
wait(2)
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))
local Stone6 = Instance.new("Part",NeckS)--First Circle
Stone6.Size = Vector3.new(0.2,0.2,0.2)
Stone6.Material = "Neon"
Stone6.BrickColor = BrickColor.new("Lime green")
Stone6.CanCollide = false
local Stone66 = Instance.new("SpecialMesh",Stone6)
Stone66.MeshType = 3
local Stone666 = Instance.new("Weld",Stone6)
Stone666.Part0 = NeckS
Stone666.Part1 = Stone6
Stone666.C0 = CFrame.new(0,-0.3,0.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))
local Grab = Instance.new("Part",hed)
Grab.Size = Vector3.new(4.9,5,4.9)
Grab.CanCollide = false
Grab.BrickColor = BrickColor.new("Deep orange")
Grab.Transparency = 1
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = hed
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,-1.5,0)
local AuraB = Instance.new("Part",hed)
AuraB.Size = Vector3.new(2,1,2)
AuraB.CanCollide = false
AuraB.BrickColor = BrickColor.new("Deep orange")
AuraB.Transparency = 1
local AuraBo = Instance.new("Weld",AuraB)
AuraBo.Part0 = hed
AuraBo.Part1 = AuraB
AuraBo.C0 = CFrame.new(0,-3.6,0)
local FZcharge3 = Instance.new("ParticleEmitter",Grab)
FZcharge3.Texture = "rbxassetid://249481494"
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
FZcharge3.EmissionDirection = "Top"
FZcharge3.Speed = NumberRange.new(8)
FZcharge3.Size = NumberSequence.new(8,0)
FZcharge3.Transparency = NumberSequence.new(0,1)
FZcharge3.Drag = 1.2
FZcharge3.LockedToPart = true
FZcharge3.Lifetime = NumberRange.new(1)
FZcharge3.Rate = 195
FZcharge3.LightEmission = 0
FZcharge3.Rotation = NumberRange.new(-360,360)
FZcharge3.VelocitySpread = 100.2
FZcharge3.ZOffset = 2.5
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
wait(0.001)
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
for i,v in pairs(char:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 1
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 1
end
end
end
for i,v in pairs(NeckS:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 1
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 1
end
end
end
wait(5)
FZcharge3.Rate = 0
for i,v in pairs(char:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 0
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 0
end
end
end
for i,v in pairs(NeckS:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 0
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 0
end
end
end
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
local SFXZ = Instance.new("Sound",torso)
SFXZ.SoundId = "rbxassetid://915686003"
SFXZ.Volume = 3
SFXZ.Pitch = 1
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
nooutline = function(part)
part.TopSurface = 10
end
local Mode = false
part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
local fp = it("Part")
fp.formFactor = formfactor
fp.Parent = parent
fp.Reflectance = reflectance
fp.Transparency = transparency
fp.CanCollide = false
fp.Locked = true
fp.BrickColor = BrickColor.new(tostring(brickcolor))
fp.Name = name
fp.Size = size
fp.Position = char.Torso.Position
nooutline(fp)
fp.Material = material
fp:BreakJoints()
return fp
end
mesh = function(Mesh, part, meshtype, meshid, offset, scale)
local mesh = it(Mesh)
mesh.Parent = part
if Mesh == "SpecialMesh" then
mesh.MeshType = meshtype
mesh.MeshId = meshid
end
mesh.Offset = offset
mesh.Scale = scale
return mesh
end
weld = function(parent, part0, part1, c0, c1)
local weld = it("Weld")
weld.Parent = parent
weld.Part0 = part0
weld.Part1 = part1
weld.C0 = c0
weld.C1 = c1
return weld
end
local Create = LoadLibrary("RbxUtility").Create
ArtificialHB = Create("BindableEvent", script){
Parent = script,
Name = "Heartbeat",
}
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
function rayCast(Position, Direction, Range, Ignore)
return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
end
local m = Create("Model"){
Parent = char,
Name = "WeaponModel",
}
HandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HandleL", Vector3.new(0.403949469, 0.000020112, 0.425030977))
HandleLWeld = CFuncs.Weld.Create(m, char["Left Arm"], HandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.637853563, -0.00000000000, 0.00182324648, 0, -1, 0, 1, 0, 0, 0, -0, 1))
HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Bright yellow", "HitboxL", Vector3.new(1.00394952, 0.05222011, 1.02503109))
HitboxLWeld = CFuncs.Weld.Create(m, HandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999999642, 3.81469727e-006, 5.96046448e-008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.401974738, 1.08532834, 0.40197292))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.098050952, 0.00573730469, 0.171247482, 1, 0, 0, 0, 0, -1, 0, 1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335890889, -0.251642227, 0.414461493, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0, 0, 0))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, -0.548431277, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.281382293, 0.206172079, 0.281381041))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.171247482, 0.536894917, 0.098050952, 0, 1, 0, 0, 0, 1, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.194969907, 1))
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.52296257, -0.166549563, 0.881902456, 0, 1, 0, 0, 0, 1, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.502866745, -0.447936893, 0.208598971, 0, 1, 0, 0, 0, 1, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.335906148, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.5229702, -0.155028343, 0.881904364, 0, -1, -0, 0, 0, -1, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.389939725, 0.389939249))
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part", Vector3.new(1.01297641, 0.562762797, 0.361775607))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00271511078, -0.231538773, 0.72112453, 0, 0, 1, 0, -1, -0, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
Part = CFuncs.Part.Create(m, Enum.Material.Metal, 0, 0, "Gold", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251642227, 0.404413581, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.974852681, 0.974849463, 0.194969654))
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.50287056, -0.436416715, 0.208604693, 0, -1, -0, 0, 0, -1, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.292455852, 0.974849463, 0.877363384))
Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part", Vector3.new(1.0853318, 0.206172079, 0.261282384))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.0196914673, -0.273781061, 0, 0, -1, 0, 1, 0, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part", Vector3.new(0.206172049, 0.206172079, 0.206172064))
PartWeld = CFuncs.Weld.Create(m, HandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.347427249, -0.251634598, 0.414469123, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.779882133, 0.77987963, 0.292454481))
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.638334274, 0.120502472, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501613617, -0.377654195, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201816559, -0.377624631, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.252237976))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, 0.383117557, 1, 0, 0, 0, -1, -0, 0, 0, -1))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part2", Vector3.new(0.803949475, 0.452220112, 1.02503097))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.500019014, 0.275951385, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.401974738, 0.572812021, 0.258267611))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.339231372, -0.236558914, -0.374602437, 1, 0, 0, 0, -1, -0, 0, 0, -1))
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.63834095, 0.120515823, 0.384124637, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364218116, -0.110958099, -0.496704191, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.562762797, 0.206172064))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.364216208, -0.11095047, 0.508239627, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("CylinderMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969654))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.206172079, 1.0049324))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.374262214, 0.100086212, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.0974852666, 0.682394505, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.39466095, -0.0201721191, 0.384109378, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part2", Vector3.new(0.206172049, 0.683354914, 0.254247904))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.516500473, 0.0501708984, 0.384094119, 0.866025984, 0.499998987, 0, 0.499998987, -0.866025984, 0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389941067, 1, 1))
Part2 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part2", Vector3.new(0.663258314, 0.643157542, 1.04512966))
Part2Weld = CFuncs.Weld.Create(m, HandleL, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0325930119, -0.151147842, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357483745, -0.5254879, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.361777306, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.062738657, -0.505384445, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, -0.335906148, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.643156648))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.50538826, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455524, 0.316826075, 1))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 1.0049336, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.364208579, 0.00576782227, 0.17042923, -1, 0, -0, 0, 0, -1, 0, -1, -0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256168, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508239627, 0.0325796604, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.80495441, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.520616472, -0.525484085, 0.00572109222, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.779878199))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515432358, 0.00573730469, -0.120672107, 0, 1, 0, 0, 0, -1, -1, 0, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.414312303, 0.779879749, 0.414309978))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.663256109, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496704191, 0.0325872898, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.255522728, -0.409584224, -0.512922287, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.409576595, -0.502866745, 0.357467532, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.267042994, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.261283636, 0.462269485, 1.08532703))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.273779154, -0.241586685, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.357467532, -0.522974014, -0.640716434, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.401973516, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.512922287, 0.00572109222, -0.118150592, 0, 1, 0, 0, 0, -1, -1, 0, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 1, 0.389938712))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508209109, -0.0779570341, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.723554611, 0.206172079, 0.40197283))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.479927242, -0.512914658, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.389939815, 1))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, 0.364208579, 0.17042923, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("SpecialMesh", Part3, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 0.194969699, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.52296257, -0.640722156, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367318, 0.0974849537, 0.877362907))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part3", Vector3.new(0.206172049, 0.442170709, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.496718496, -0.0779646635, -0.472719193, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.436416715, -0.40958041, -0.512926102, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.683353961))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.208598971, -0.502866745, 0.00576782227, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.877367556, 0.292454839, 1))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.206172079, 0.241183683))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.881908178, -0.512926102, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.389940947, 0.389939815, 1))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.522567213, 0.206172079, 1.08532703))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143131495, -0.502866745, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 1))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.206172049, 0.502466798, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.447936893, -0.409574687, -0.512914658, 0, 0, 1, -1, 0, -0, 0, -1, 0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.194970533, 1, 0.194969684))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, 0.357513309, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
Part3 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Bright yellow", "Part3", Vector3.new(0.462270945, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.40957278, -0.502866745, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.292454839, 0.877363086))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.354666114, -0.435037613, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.944640577, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.168390095, -0.50538826, -0.345976949, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.316826075, 0.292454064))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.35468328, -0.435037613, 0.347427249, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.492300361, 0.999220669, 0.38993907))
Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, "New Yeller", "Part3", Vector3.new(0.206172049, 0.206172079, 0.206172064))
Part3Weld = CFuncs.Weld.Create(m, HandleL, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.345976949, -0.525484085, -0.640727878, 0, 0, -1, 0, -1, -0, -1, 0, -0))
CFuncs.Mesh.Create("CylinderMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.292455643, 0.121856183, 0.292453945))
Part4 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part4", Vector3.new(1.04513443, 0.206172079, 0.206172064))
Part4Weld = CFuncs.Weld.Create(m, HandleL, Part4, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00573730469, -0.120185852, 0.349273562, 0, 0, -1, 0, 1, 0, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part4, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
Part5 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part5", Vector3.new(1.04513443, 0.206172079, 0.206172064))
Part5Weld = CFuncs.Weld.Create(m, HandleL, Part5, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00573730469, -0.42247963, 0.349279284, 0, 0, 1, 0, -1, -0, 1, 0, 0))
CFuncs.Mesh.Create("SpecialMesh", Part5, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.487424731, 0.487424105))
Part6 = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 0, "Gold", "Part6", Vector3.new(0.206172049, 0.442170829, 1.04512966))
Part6Weld = CFuncs.Weld.Create(m, HandleL, Part6, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.349294543, -0.151140213, 0.00573730469, 1, 0, 0, 0, -1, -0, 0, 0, -1))
CFuncs.Mesh.Create("BlockMesh", Part6, "", "", Vector3.new(0, 0, 0), Vector3.new(0.48742649, 1, 1))
sref = CFuncs.Part.Create(char, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
sref.Anchored = true
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"]
RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
RS = torso:FindFirstChild("Right Shoulder")
LS = torso:FindFirstChild("Left Shoulder")
RH = torso:FindFirstChild("Right Hip")
LH = torso:FindFirstChild("Left Hip")
RJ = root:FindFirstChild("RootJoint")
N = torso:FindFirstChild("Neck")
local UltimateBattle = Instance.new("Sound",hed)
UltimateBattle.SoundId = "rbxassetid://1333021608"
UltimateBattle.Pitch = 1
UltimateBattle.Looped = true
UltimateBattle.Volume = 5
UltimateBattle:Play()
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 QuaternionToCFrame(px, py, pz, x, y, z, w)
local xs, ys, zs = x + x, y + y, z + z
local wx, wy, wz = w * xs, w * ys, w * zs
local xx = x * xs
local xy = x * ys
local xz = x * zs
local yy = y * ys
local yz = y * zs
local zz = z * zs
return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
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
main = {r = 0;g = 100;b = 255;v = 1}
if p:FindFirstChild("rcolor") then main.r = p.rcolor.Value else local string = Instance.new("StringValue",p) string.Name = "rcolor" end
if p:FindFirstChild("gcolor") then main.g = p.gcolor.Value else local string = Instance.new("StringValue",p) string.Name = "gcolor" end
if p:FindFirstChild("bcolor") then main.b = p.bcolor.Value else local string = Instance.new("StringValue",p) string.Name = "bcolor" end
if p:FindFirstChild("vcolor") then main.v = p.vcolor.Value else local string = Instance.new("StringValue",p) string.Name = "vcolor" end
if p:FindFirstChild("idtheme") then themeid = p.idtheme.Value else local string = Instance.new("StringValue",p) string.Name = "idtheme" end
if p:FindFirstChild("pitchtheme") then themepitch = p.pitchtheme.Value else local string = Instance.new("StringValue",p) string.Name = "pitchtheme" end
pr = p:FindFirstChild("rcolor")
pg = p:FindFirstChild("gcolor")
pb = p:FindFirstChild("bcolor")
pv = p:FindFirstChild("vcolor")
idth = p:FindFirstChild("idtheme")
pith = p:FindFirstChild("pitchtheme")
main_color = Color3.fromRGB(main.r,main.g,main.b)
explosionid = {144699494,144699494}
punch = {545219984}
--919941001
Prefix = "/"
p.Chatted:connect(function(msg)
if msg:lower():sub(1,#Prefix+#'color r ')==Prefix..'color r ' then
local v = tonumber(msg:sub(#Prefix+#'color r '+1))
main.r = v
elseif msg:lower():sub(1,#Prefix+#'color g ')==Prefix..'color g ' then
local v = tonumber(msg:sub(#Prefix+#'color g '+1))
main.g = v
elseif msg:lower():sub(1,#Prefix+#'color b ')==Prefix..'color b ' then
local v = tonumber(msg:sub(#Prefix+#'color b '+1))
main.b = v
elseif msg:lower():sub(1,#Prefix+#'color v ')==Prefix..'color v ' then
local v = tonumber(msg:sub(#Prefix+#'color v '+1))
if v > 1 then main.v = 1 elseif v < -1 then main.v = -1 else main.v = v end
elseif msg:lower():sub(1,#Prefix+#'theme ')==Prefix..'theme ' then
local v = tonumber(msg:sub(#Prefix+#'theme '+1))
themeid = v
music(themeid,themepitch)
elseif msg:lower():sub(1,#Prefix+#'pitch ')==Prefix..'pitch ' then
local v = tonumber(msg:sub(#Prefix+#'pitch '+1))
themepitch = v
music(themeid,themepitch)
elseif msg:lower():sub(1,#Prefix+#'prefix ')==Prefix..'prefix ' then
local v = msg:sub(#Prefix+#'prefix '+1)
Prefix = v
elseif msg:lower():sub(1,#Prefix+#'reset')==Prefix..'reset' then
main.r = 0
main.g = 100
main.b = 255
main.v = 1
themeid = 556122490
themepitch = 1
music(themeid,themepitch)
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
local val = Instance.new("BoolValue", dude)
val.Name = "IsHit"
local ds = coroutine.wrap(function()
dude:BreakJoints()
wait(0)
local Vanish = Instance.new("Sound",dude)
Vanish.SoundId = "rbxassetid://427025525"
Vanish.Volume = 0.5
Vanish.Pitch = 0.6
Vanish.Looped = false
wait(0.01)
Vanish:Play()
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 = "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))
local Aura = Instance.new("ParticleEmitter",v)
Aura.Texture = "rbxassetid://1084976679"
Aura.Color = ColorSequence.new(BrickColor.new("Dirt brown").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 = 260
Aura.LightEmission = 1
Aura.Rotation = NumberRange.new(-360,360)
Aura.VelocitySpread = 0
Aura.Acceleration = Vector3.new(0,10,0)
Aura.ZOffset = 0.2
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(-2, 0), rd2(-0, 0), rd2(-0, 0))
v.BrickColor = BrickColor.new("Dirt brown")
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
local val = Instance.new("BoolValue", stone)
val.Name = "IsHit"
local ds = coroutine.wrap(function()
stone:BreakJoints()
wait(0)
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))
v.BrickColor = BrickColor.new("Dark stone grey")
wait(0.1)
BodPoss:Destroy()
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)
---
---
local MUI = 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)
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] = lerp(v,com2[i],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 xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed soundasd.SoundId = "rbxassetid://" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed soundz.SoundId = "rbxassetid://" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed eColors={ xss=removed xss=removed xss=removed i=1,Times xss=removed li.TopSurface =0 xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed li.formFactor = "Custom" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed li.Name = "LIGHTNING" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed HName.Font = "Code" xss=removed xss=removed xss=removed xss=removed xss=removed HName.TextYAlignment = "Bottom" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed HName.Font = "Code" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed HName.TextYAlignment = "Bottom" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed mesh2.MeshId = "rbxassetid://559831844" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed Part1.Name = "EXPLOSION2" xss=removed xss=removed Part0.Name = "Bullet" xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed Part1.Name = "SMOKE" xss=removed hit=ht.Parent xss=removed xss=removed>= 9e+99 then
v:Destroy()
else
v.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(v.Parent:FindFirstChildOfClass("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)
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
local PointLight2 = Instance.new("PointLight")
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.BrickColor = BrickColor.new("White")
Part0.Anchored = false
Part0.Size = Vector3.new(5, 5, 5)
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshType = Enum.MeshType.Sphere
mesh.Scale = Vector3.new(3,3,3)
local bforce = Instance.new("BodyForce",Part0)
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
Part0.CanCollide = false
PointLight2.Parent = Part0
PointLight2.Color = Part0.Color
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
Part0.Velocity = direction * 150
local asd = nil
local loop = nil
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
loop = rs:connect(function()
local asdf = math.random(500,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.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-3000,3000)/750,math.random(-3000,3000)/750,math.random(-3000,3000)/750))
Part1.Name = "SMOKE"
end)
asd = Part0.Touched:connect(function(ht)
local hit=ht.Parent
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
asd:disconnect()
loop:disconnect()
Part0:Destroy()
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()
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
local PointLight2 = Instance.new("PointLight")
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.BrickColor = BrickColor.new("White")
Part0.Anchored = false
Part0.Size = Vector3.new(20,20,20)
Part0.Transparency = 0.5
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshId = "rbxassetid://437347603"
mesh.Scale = Vector3.new(2.3,2.3,2.7)
coroutine.resume(coroutine.create(function()
for i = 3,3 do
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))
local bforce = Instance.new("BodyForce",Part0)
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
Part0.CanCollide = false
PointLight2.Parent = Part0
PointLight2.Color = Part0.Color
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
coroutine.resume(coroutine.create(function()
for i = 3,300 do
Part0.CFrame = Part0.CFrame:lerp(Part0.CFrame * CFrame.new(0, 0, -13), 0.4)
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
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent.Humanoid:TakeDamage(100000)
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)
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
local asd = nil
local loop = nil
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("Institutional white")
Part1.Parent = DebrisModel
Part1.Size = (Part1.Size*0.9) + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(torso.Position + Vector3.new(math.random(-1000,1000)/10,math.random(-1000,1000)/10,math.random(-1000,1000)/750))
Part1.Name = "SMOKE"
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()
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
local PointLight2 = Instance.new("PointLight")
PointLight2.Brightness = 100
PointLight2.Range = 40
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Glass
Part0.BrickColor = BrickColor.new("White")
Part0.Anchored = false
Part0.Size = Vector3.new(20,20,20)
Part0.Transparency = 0.5
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshId = "rbxassetid://437347603"
mesh.Scale = Vector3.new(4.3,4.3,6.7)
local Music = Instance.new("Sound",Part0)
Music.SoundId = "rbxassetid://362395087"
Music.Pitch = 0.8
Music.Looped = true
Music.Volume = 5
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))
local bforce = Instance.new("BodyForce",Part0)
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
Part0.CanCollide = false
PointLight2.Parent = Part0
PointLight2.Color = Part0.Color
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
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
for i,v in pairs(findAllNearestTorso(Part0.Position,50)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 9e+99 then
v:Destroy()
else
v.Parent.Humanoid:TakeDamage(1000)
v.Velocity = Part0.CFrame.lookVector * 100
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 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)
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position,mouse.Hit.p)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
local PointLight2 = Instance.new("PointLight")
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.BrickColor = BrickColor.new("White")
Part0.Anchored = false
Part0.Size = Vector3.new(1,1,1)
Part0.Transparency = 0.5
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshId = "rbxassetid://437347603"
mesh.Scale = Vector3.new(1.3,1.3,4.4)
local bforce = Instance.new("BodyForce",Part0)
bforce.force = Vector3.new(0, ((bforce.Parent:getMass())*workspace.Gravity), 0)
Part0.CanCollide = false
PointLight2.Parent = Part0
PointLight2.Color = Part0.Color
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local pos = Position + (direction * 2)
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(0,0,1.55)
Part0.Velocity = direction * 750
local asd = nil
local loop = nil
delay(5, function() Part0:Destroy() loop:disconnect() asd:disconnect() end)
loop = rs:connect(function()
local asdf = math.random(500,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.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = (Part0.Size*3) + Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Part0.Position + Vector3.new(math.random(-1000,1000)/750,math.random(-1000,1000)/750,math.random(-1000,1000)/750))
Part1.Name = "SMOKE"
end)
asd = Part0.Touched:connect(function(ht)
local hit=ht.Parent
if checkIfNotPlayer(ht) == true and ht.CanCollide == true then
asd:disconnect()
loop:disconnect()
Part0:Destroy()
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
function lerpz(joint, prop, cfrmz, alp)
joint[prop] = joint[prop]:lerp(cfrmz, alp)
end
function resetlerp()
RJ.C0 = RJC0
RJ.C1 = RJC1
N.C0 = NC0
N.C1 = NC1
RS.C0 = RSC0
RS.C1 = RSC1
LS.C0 = LSC0
LS.C1 = LSC1
RH.C0 = RHC0
RH.C1 = RHC1
LH.C0 = LHC0
end
function swait(num)
if num == 0 or num == nil then
Heartbeat.Event:wait()
else
for i = 1, num do
Heartbeat.Event:wait()
end
end
end
mouse.KeyDown:connect(function(k)
if k == "=" and MUI == true then
instinct = false
animid = 5
no_anim = true
for _ = 1, 45 do
swait()
lerpz(RJ, "C0", RJC0 * cf(0, 0.8, -0.2) * ang(rd(10), rd(0), rd(-70)), 0.2)
lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(6), rd(2), rd(68)), 0.2)
lerpz(RS, "C0", RSC0 * cf(rd2(-1, 1) / 10, rd2(-1, 1) / 10, rd2(-1, 1) / 10) * ang(rd(rd2(25, 35)), rd(rd2(-15, -5)), rd(rd2(80, 90))), 0.2)
lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
lerpz(LS, "C0", LSC0 * cf(-0.15, -0.4, 0.5) * ang(rd(-10), rd(60), rd(-86)), 0.2)
lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(80), rd(0)), 0.2)
lerpz(RH, "C0", RHC0 * cf(0, 0.1, 0) * ang(rd(-6), rd(-29), rd(-2)), 0.2)
lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
lerpz(LH, "C0", LHC0 * cf(0.4, 0.2, -0.2) * ang(rd(-6), rd(80), rd(-10)), 0.2)
lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.2)
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
local Grab = Instance.new("Part",larm)
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,-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(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)
Smash.Transparency = Smash.Transparency + 0.09
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))
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,-10)*CFrame.Angles(0,0,0)
local Spinn2 = Instance.new("SpecialMesh",Spinn)
Spinn2.MeshType = 3
Spinn2.Scale = Vector3.new(6,6,35)
coroutine.resume(coroutine.create(function()
for i = 3,300 do
Spinn.Transparency = Spinn.Transparency + 0.05
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,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
Cloud3.Transparency = Cloud3.Transparency + 0.03
Cloud4.Scale = Cloud4.Scale + Vector3.new(0.2,0.2,0.2)
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, 5 do
wait()
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
end
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
Cloud3.Transparency = Cloud3.Transparency + 0.03
Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.5)
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()
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
end
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
Cloud3.Transparency = Cloud3.Transparency + 0.03
Cloud4.Scale = Cloud4.Scale + Vector3.new(0.5,0.5,0.2)
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()
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
end
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()
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.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 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
end
no_anim = false
Aura.Rate = 0
end
end)
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
ArtificialHB = Instance.new("BindableEvent", script)
ArtificialHB.Name = "Heartbeat"
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()
if targetted == nil then
end
targetted.Head.CFrame = root.CFrame * CFrame.new(0,1.5,-3.1)
end
mouse.KeyDown:connect(function(key)
if key == '3' then
HomingAttack()
end
end)
function laz0r()
local Position = nil
if animid == 0 then
Position = NeckS.Position
else
Position = NeckS.Position
end
local Part1 = Instance.new("Part")
local mesh2 = Instance.new("SpecialMesh",Part1)
mesh2.MeshId = "rbxassetid://559831844"
mesh2.Scale = Vector3.new(0,0,0.4)
Part1.Material = Enum.Material.Neon
Part1.CanCollide = false
Part1.BrickColor = BrickColor.new("White")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(0,0,0)
Part1.Anchored = true
Part1.CFrame = CFrame.new(Position)
Part1.Name = "EXPLOSION3"
local Part0 = Instance.new("Part",DebrisModel)
Part0.Name = "Bullet"
Part0.Material = Enum.Material.Neon
Part0.BrickColor = BrickColor.new("Magenta")
Part0.Anchored = true
local mesh = Instance.new("SpecialMesh",Part0)
mesh.MeshType = Enum.MeshType.Sphere
Part0.CanCollide = false
local Target = mouse.Hit.p
local direction = Target - Position
local direction = computeDirection(direction)
local ray = Ray.new(Position, (Target).unit*1048)
local part, endPoint = workspace:FindPartOnRay(ray, char)
Part0.Size = Vector3.new(9,1,9)
mesh.Scale = Vector3.new(1,(Position-endPoint).magnitude,1)
local pos = Position + (direction * (mesh.Scale.Y/2))
Part0.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
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)
local Position = mouse.Hit.p
local Target = root.Position
local direction = Target - Position
local direction = computeDirection(direction)
root.Velocity = direction * 5
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"
if part ~= nil then
if part.Name == "StarLightClash" then
local asdf = math.random(0,5)*20
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("Magenta")
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = 1.5
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
Part1.Name = "EXPLOSION"
else
local asdf = math.random(0,5)*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("Magenta")
Part1.Parent = DebrisModel
Part1.Size = Vector3.new(asdf,asdf,asdf)
Part1.Anchored = true
local a = 1.5
Part1.CFrame = CFrame.new(endPoint + Vector3.new(math.random(-2,2)*a,math.random(-4,4),math.random(-2,2)*a))
Part1.Name = "EXPLOSION"
end
end
for i,v in pairs(findAllNearestTorso(endPoint,50)) do
if v.Parent:FindFirstChildOfClass("Humanoid").MaxHealth >= 100000000000000000000000000000000000 then
v:Destroy()
else
v.Parent:BreakJoints()
end
local Position = mouse.Hit.p
local Target = v.Position
local direction = Target - Position
local direction = computeDirection(direction)
local bv = Instance.new("BodyVelocity",v)
bv.Velocity = direction * (10 - ((Position - Target).magnitude/2))
debris:AddItem(bv,1)
end
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()
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.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 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
end
wait(2)
local Grab = Instance.new("Part",hed)
Grab.Size = Vector3.new(3.9,5,3.9)
Grab.CanCollide = false
Grab.BrickColor = BrickColor.new("Deep orange")
Grab.Transparency = 1
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = hed
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,-1.5,0)
local AuraB = Instance.new("Part",hed)
AuraB.Size = Vector3.new(2,1,2)
AuraB.CanCollide = false
AuraB.BrickColor = BrickColor.new("Deep orange")
AuraB.Transparency = 1
local AuraBo = Instance.new("Weld",AuraB)
AuraBo.Part0 = hed
AuraBo.Part1 = AuraB
AuraBo.C0 = CFrame.new(0,-3.6,0)
local FZcharge3 = Instance.new("ParticleEmitter",Grab)
FZcharge3.Texture = "rbxassetid://249481494"
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(0, 0, 255))
FZcharge3.EmissionDirection = "Top"
FZcharge3.Speed = NumberRange.new(2)
FZcharge3.Size = NumberSequence.new(4,0)
FZcharge3.Transparency = NumberSequence.new(0,1)
FZcharge3.Drag = 1.2
FZcharge3.LockedToPart = true
FZcharge3.Lifetime = NumberRange.new(1)
FZcharge3.Rate = 195
FZcharge3.LightEmission = 0.3
FZcharge3.Rotation = NumberRange.new(-360,360)
FZcharge3.VelocitySpread = 0.2
FZcharge3.ZOffset = 2.5
wait(1)
FZcharge3.Rate = 0
UltimateBattle.Volume = 0
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://"
for i,v in pairs(char:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 1
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 1
end
end
end
for i,v in pairs(NeckS:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 1
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 1
end
end
end
wait(2.2)
FZcharge3.Rate = 195
root.CFrame = mouse.Hit * CFrame.new(0, 3, 0)
for i,v in pairs(char:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 0
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 0
end
end
end
for i,v in pairs(NeckS:GetChildren()) do
if v ~= root then
if v:IsA("Part") then
v.Transparency = 0
elseif v:IsA("Accoutrement") then
v:FindFirstChildOfClass("Part").Transparency = 0
end
end
end
hed:FindFirstChildOfClass("Decal").Texture = "rbxassetid://254640655"
wait(1)
UltimateBattle.Volume = 5
FZcharge3.Rate = 0
hum.WalkSpeed = 16
wait(1)
Grab:Destroy()
no_anim = false
end
end)
mouse.KeyDown:connect(function(k)
if k == "u" and Mode == true then
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
local sbs = Instance.new("BodyPosition", torso)
sbs.P = 9000
sbs.D = 1000
sbs.maxForce = Vector3.new(900000, 900000000, 900000)
sbs.position = torso.CFrame.p + Vector3.new(0, 10, 0)
for i = 1, 20 do
wait()
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-40),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(90),math.rad(-20),math.rad(-50)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(20),math.rad(50)), 0.8)--larm
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-30),math.rad(0),math.rad(0)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-50),math.rad(0),math.rad(0)), 0.8)--rleg
end
coroutine.resume(coroutine.create(function()
for i = 3,8 do
local Ball = Instance.new("Part",char)
Ball.Size = Vector3.new(1,1,1)
Ball.BrickColor = BrickColor.new("Magenta")
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(2,2,2)
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
local Aura = Instance.new("ParticleEmitter",Stone2)
Aura.Texture = "rbxassetid://271370648"
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").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
for i = 1, 10 do
wait()
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.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(150),math.rad(-50),math.rad(0)), 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
end
Aura.Rate = 0
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.Transparency=transparency;p.Anchored=a;p.CanCollide=cc;p.FormFactor="Custom";p.Size=size;p.BackSurface=bs;p.BottomSurface=bts;p.FrontSurface=fs;p.LeftSurface=ls;p.RightSurface=rs;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=scale
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,meshType,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.random(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),BrickColor.new("Deep orange"),"Neon",0,true,false,10,10,10,10,10,10,"Sphere","",Vector3.new(3,3,3),Vector3.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),BrickColor.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),Vector3.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
local FZcharge3 = Instance.new("ParticleEmitter",NeckS)
FZcharge3.Texture = "rbxassetid://37329477"
FZcharge3.Color = ColorSequence.new(Color3.fromRGB(255, 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 StoneEf2 = Instance.new("ParticleEmitter",Stone4)
StoneEf2.Texture = "rbxassetid://37329477"
StoneEf2.Color = ColorSequence.new(Color3.fromRGB(255, 0, 0))
StoneEf2.EmissionDirection = "Top"
StoneEf2.Speed = NumberRange.new(8)
StoneEf2.Size = NumberSequence.new(0.5,0)
StoneEf2.Transparency = NumberSequence.new(0,1)
StoneEf2.LockedToPart = false
StoneEf2.Lifetime = NumberRange.new(0.5)
StoneEf2.Rate = 195
StoneEf2.LightEmission = 1
StoneEf2.VelocitySpread = 100
StoneEf2.Rotation = NumberRange.new(-360,360)
StoneEf2.VelocitySpread = 100.2
StoneEf2.ZOffset = 1
local StoneEf3 = Instance.new("ParticleEmitter",Stone3)
StoneEf3.Texture = "rbxassetid://74675986"
StoneEf3.Color = ColorSequence.new(Color3.fromRGB(9, 137, 207))
StoneEf3.EmissionDirection = "Top"
StoneEf3.Speed = NumberRange.new(8)
StoneEf3.Size = NumberSequence.new(0.5,0)
StoneEf3.Transparency = NumberSequence.new(0,1)
StoneEf3.LockedToPart = false
StoneEf3.Lifetime = NumberRange.new(0.5)
StoneEf3.Rate = 195
StoneEf3.LightEmission = 1
StoneEf3.VelocitySpread = 100
StoneEf3.Rotation = NumberRange.new(-360,360)
StoneEf3.VelocitySpread = 100.2
StoneEf3.ZOffset = 1
local StoneEf5 = Instance.new("ParticleEmitter",Stone5)
StoneEf5.Texture = "rbxassetid://73229113"
StoneEf5.Color = ColorSequence.new(Color3.fromRGB(255, 176, 0))
StoneEf5.EmissionDirection = "Top"
StoneEf5.Speed = NumberRange.new(8)
StoneEf5.Size = NumberSequence.new(0.5,0)
StoneEf5.Transparency = NumberSequence.new(0,1)
StoneEf5.LockedToPart = false
StoneEf5.Lifetime = NumberRange.new(0.5)
StoneEf5.Rate = 195
StoneEf5.LightEmission = 1
StoneEf5.VelocitySpread = 100
StoneEf5.Rotation = NumberRange.new(-360,360)
StoneEf5.VelocitySpread = 100.2
StoneEf5.ZOffset = 1
local CHAINLINKS = {}
local POS = mouse.Hit.p
local CHAINS = false
local CHAINLINKS = {}
local A = Instance.new("Attachment",root)
A.Position = Vector3.new(0.5,0,0)*Player_Size
A.Orientation = Vector3.new(-90, -89.982, 0)
local B = Instance.new("Attachment",root)
B.Position = Vector3.new(-0.5,0,0)*Player_Size
B.Orientation = Vector3.new(-90, 89.988, 0)
local C = Instance.new("Attachment",root)
C.Position = Vector3.new(0.5,-0.1,0)*Player_Size
C.Orientation = Vector3.new(-90, -89.982, 0)
local D = Instance.new("Attachment",root)
D.Position = Vector3.new(-0.5,-0.3,0)*Player_Size
D.Orientation = Vector3.new(-90, 89.988, 0)
local LIGHT = Instance.new("Attachment",root)
LIGHT.Position = Vector3.new(0.5,-0,0)*Player_Size
local LIGHT2 = Instance.new("PointLight",larm)
LIGHT2.Range = 6
LIGHT2.Brightness = 20
LIGHT2.Color = Color3.new(255, 255, 0)
for i = 1, 2 do
local TWIST = -1
local START = A
local END = B
if i == 1 then
START = B
END = A
end
local ChainLink = Instance.new("Beam",torso)
ChainLink.Texture = "rbxassetid://37329477"
ChainLink.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0))
ChainLink.TextureSpeed = 5
ChainLink.Width0 = 1
ChainLink.Width1 = 1
ChainLink.TextureLength = 2.5
ChainLink.Attachment0 = START
ChainLink.Attachment1 = END
ChainLink.CurveSize0 = TWIST
ChainLink.CurveSize1 = TWIST
--ChainLink.FaceCamera = true
ChainLink.Segments = 85
ChainLink.Transparency = NumberSequence.new(0)
table.insert(CHAINLINKS,ChainLink)
end
coroutine.resume(coroutine.create(function()
for i = 3,60060 do
local HQG = Instance.new("Part",char)
HQG.Size = Vector3.new(1,0,1)
HQG.BrickColor = BrickColor.new("Ghost grey")
HQG.Material = "Neon"
HQG.Anchored = true
HQG.CanCollide = false
HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQG2 = Instance.new("SpecialMesh",HQG)
HQG2.MeshId = "rbxassetid://1726537151"
HQG2.Scale = Vector3.new(0.01,0.01,0.01)
coroutine.resume(coroutine.create(function()
for i = 1,200 do
HQG2.Scale = HQG2.Scale + Vector3.new(0.01,0.03,0.01)
HQG.Transparency = HQG.Transparency + 0.07
HQG.CFrame = HQG.CFrame*CFrame.Angles(0,-0.3,0)
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
local Aura = Instance.new("ParticleEmitter",Stone2)
Aura.Texture = "rbxassetid://271370648"
Aura.Color = ColorSequence.new(BrickColor.new("Magenta").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
for i = 1, 30 do
wait()
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.5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(90),math.rad(-50),math.rad(0)), 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
end
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)
local HQG = Instance.new("Part",char)
HQG.Size = Vector3.new(1,0,1)
HQG.BrickColor = BrickColor.new("Grey")
HQG.Material = "Neon"
HQG.Anchored = true
HQG.Transparency = 0.7
HQG.CanCollide = false
HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQG2 = Instance.new("SpecialMesh",HQG)
HQG2.MeshId = "rbxassetid://20329976"
HQG2.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)
HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
HQG.Transparency = HQG.Transparency + 0.01
HQG.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()
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
end
local Grab = Instance.new("Part",root)
Grab.Size = Vector3.new(5.2,5.8,3.9)
Grab.CanCollide = true
Grab.Material = "Neon"
Grab.BrickColor = BrickColor.new("Cyan")
Grab.Transparency = 0.5
local Hat2 = Instance.new("SpecialMesh",Grab)
Hat2.MeshType = 3
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = root
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,0.3,-6.8)
local AuraB = Instance.new("Part",root)
AuraB.Size = Vector3.new(2,1,2)
AuraB.CanCollide = false
AuraB.BrickColor = BrickColor.new("Deep orange")
AuraB.Transparency = 1
local AuraBo = Instance.new("Weld",AuraB)
AuraBo.Part0 = root
AuraBo.Part1 = AuraB
AuraBo.C0 = CFrame.new(0,-0.6,0)
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
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()
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
end
local Grab = Instance.new("Part",root)
Grab.Size = Vector3.new(5.2,5.8,3.9)
Grab.CanCollide = false
Grab.Material = "Neon"
Grab.BrickColor = BrickColor.new("Really red")
Grab.Transparency = 0.5
local Hat2 = Instance.new("SpecialMesh",Grab)
Hat2.MeshType = 3
Hat2.Scale = Vector3.new(3.35,3.15,0.95)
local Grabo = Instance.new("Weld",Grab)
Grabo.Part0 = root
Grabo.Part1 = Grab
Grabo.C0 = CFrame.new(0,0.3,-6.8)
local AuraB = Instance.new("Part",root)
AuraB.Size = Vector3.new(2,1,2)
AuraB.CanCollide = false
AuraB.BrickColor = BrickColor.new("Deep orange")
AuraB.Transparency = 1
local AuraBo = Instance.new("Weld",AuraB)
AuraBo.Part0 = root
AuraBo.Part1 = AuraB
AuraBo.C0 = CFrame.new(0,-0.6,0)
Grab.Touched:connect(function(hit)
if hit.Parent:FindFirstChildOfClass("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= p.Character.Name then
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
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, 150, 0)
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
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)
local HQG = Instance.new("Part",char)
HQG.Size = Vector3.new(1,0,1)
HQG.BrickColor = BrickColor.new("Grey")
HQG.Material = "Neon"
HQG.Anchored = true
HQG.Transparency = 0.7
HQG.CanCollide = false
HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQG2 = Instance.new("SpecialMesh",HQG)
HQG2.MeshId = "rbxassetid://20329976"
HQG2.Scale = Vector3.new(1,1,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)
HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
HQG.Transparency = HQG.Transparency + 0.005
HQG.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)
local HQG = Instance.new("Part",char)
HQG.Size = Vector3.new(1,0,1)
HQG.BrickColor = BrickColor.new("Grey")
HQG.Material = "Neon"
HQG.Anchored = true
HQG.Transparency = 0.7
HQG.CanCollide = false
HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,0,0)
local HQG2 = Instance.new("SpecialMesh",HQG)
HQG2.MeshId = "rbxassetid://20329976"
HQG2.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)
HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
HQG.Transparency = HQG.Transparency + 0.01
HQG.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
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
local bv = Instance.new("BodyVelocity")
bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
bv.velocity = root.CFrame.lookVector*200
bv.Parent = root
for i = 1, 30 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.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 FlyAt = Instance.new("Attachment",torso)FlyAt.Position = Vector3.new(0,1,0)
local FlyAt2 = Instance.new("Attachment",torso)FlyAt2.Position = Vector3.new(0,-1,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(4, 175, 236)) Speed.LightEmission = 5
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10),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(-80),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(-85),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(-60),math.rad(0),math.rad(-10)), 0.8)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.3, -1) * 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(1.55,0,0)
local HQ2 = Instance.new("SpecialMesh",HQ)
HQ2.MeshId = "rbxassetid://20329976"
HQ2.Scale = Vector3.new(1,1,1)
local HQG = Instance.new("Part",char)
HQG.Size = Vector3.new(1,0,1)
HQG.BrickColor = BrickColor.new("Grey")
HQG.Material = "Neon"
HQG.Anchored = true
HQG.Transparency = 0.7
HQG.CanCollide = false
HQG.CFrame = root.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(1.55,0,0)
local HQG2 = Instance.new("SpecialMesh",HQG)
HQG2.MeshId = "rbxassetid://20329976"
HQG2.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)
HQG2.Scale = HQG2.Scale + Vector3.new(1,0.5,1)
HQG.Transparency = HQG.Transparency + 0.01
HQG.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()
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.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),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(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
end
wait(2)
local SFXZ = Instance.new("Sound",char)
SFXZ.SoundId = "rbxassetid://242076158"
SFXZ.Volume = 10
SFXZ.Pitch = 1
SFXZ.Looped = false
wait(0.01)
SFXZ:Play()
for i = 1, 10 do
wait()
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.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,-0.5)*CFrame.Angles(math.rad(120),math.rad(30),math.rad(0)), 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
end
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()
local Position = mouse.Hit.p
local Target = root.Position
local direction = Target - Position
local direction = computeDirection(direction)
root.Velocity = direction * 300
aiming_anim = false
delay(5,function() cooldownult = false end)
delay(1,function() debounce = false end)
elseif key == "=" then
debounce = true
if animid == 0 then
animid = 1
else
animid = 0
end
holdq = true
attack = true
repeat rs:wait() timer = 150 until holdq == false
laz0r()
attack = false
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)
for i,v in pairs(DebrisModel:GetChildren()) do
if v.Name == "EXPLOSION" then
local change = 0.04-(v.Transparency*0.02)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,change)
v.Transparency = v.Transparency + 0.02
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "EXPLOSION2" then
local change = 0.04-(v.Transparency*0.04)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,0)
v.Transparency = v.Transparency + 0.025
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "EXPLOSION3" then
local change = 0.5-(v.Transparency*0.5)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,0)
v.Transparency = v.Transparency + 0.1
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "EXPLOSION4" then
local change = 0.15-(v.Transparency*0.125)
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale + Vector3.new(change,change,change)
v.Transparency = v.Transparency + 0.01
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "SMOKE" then
local vm = v:FindFirstChildOfClass("SpecialMesh")
vm.Scale = vm.Scale - Vector3.new(0.075,0.075,0.075)
if vm.Scale.X <= 0 then
v:Destroy()
end
elseif v.Name == "SMOKE2" then
local change = 2-(v.Transparency*2)
local vm = v:FindFirstChildOfClass("SpecialMesh")
local Position = nil
if animid == 0 then
Position = larm.Position
else
Position = rarm.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)
vm.Scale = Vector3.new(vm.Scale.X,(Position-endPoint).magnitude,vm.Scale.Z) + Vector3.new(change,0,change)
local pos = Position + (direction * (vm.Scale.Y/2))
v.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles((math.pi/2)+math.rad(180), 0, 0)
vm.Offset = Vector3.new(math.random(-10000,10000)/10000,math.random(-10000,10000)/10000,0)
v.Transparency = v.Transparency + 0.1
if v.Transparency >= 1 then
v:Destroy()
end
elseif v.Name == "LIGHTNING" then
local vm = v:FindFirstChildOfClass("BlockMesh")
vm.Scale = vm.Scale - Vector3.new(0.1,0.1,0)
if vm.Scale.X <= 0 then
v:Destroy()
end
end
end
if -root.Velocity.Y/1.5 > 0 and -root.Velocity.Y/1.5 < 160 xss=removed> 0 and -root.Velocity.Y/180 < 1 xss=removed> -5 and -root.Velocity.Y/1.5 < 50 xss=removed> -50 and -root.Velocity.Y/1.5 < 20 xss=removed> -1 then
neckrotY = root.RotVelocity.Y/6
end
if root.RotVelocity.Y/8 < 0> -0.6 then
neckrotY2 = root.RotVelocity.Y/8
end
if root.RotVelocity.Y/6 < 0> -0.2 then
torsorotY = root.RotVelocity.Y/6
end
if root.RotVelocity.Y/8 < 0> -0.2 then
torsorotY2 = root.RotVelocity.Y/8
end
torsoY = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/20
torsoY2 = -(torso.Velocity*Vector3.new(1, 0, 1)).magnitude/36
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
local rlegray = Ray.new(rleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
local rlegpart, rlegendPoint = workspace:FindPartOnRay(rlegray, char)
local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
local llegray = Ray.new(lleg.Position+Vector3.new(0,0.5,0),Vector3.new(0, -1.75, 0))
local llegpart, llegendPoint = workspace:FindPartOnRay(llegray, char)
local sizem = 1
if no_anim == false then
if hum.Health > 0 then
if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude >= 5 and jumped == false then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-10),0,0),0.1)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62-(movement/30)*math.cos(sine/4)/2,(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5-(movement*2)*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62+(movement/30)*math.cos(sine/4)/2,-(movement/50)*math.cos(sine/4))*CFrame.Angles(math.rad(-5+(movement*2)*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0-(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+(movement/20)*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-(change*20)-4*math.cos(sine/2)), torsorotY2+math.rad(0-4*math.cos(sine/4)), torsorotY2+math.rad(0-1*math.cos(sine/4))), 0.1)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.85-(movement/10)*math.cos(sine/4)/2,-0.1+(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)-movement*math.cos(sine/4))+ -(movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,-0.85+(movement/10)*math.cos(sine/4)/2,-0.1-(movement/15)*math.cos(sine/4))*CFrame.Angles(math.rad(-10+(change*5)+movement*math.cos(sine/4))+ (movement/10)*math.sin(sine/4),math.rad(0+(movement*2)*math.cos(sine/4)),math.rad(0)), 0.2)
elseif jumped == true then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(0,0,0),0.1)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-50-1*math.cos(sine/8))), 0.2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,1-0.1*math.cos(sine/16)/2,0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(50+1*math.cos(sine/8))), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5,-0.925+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(-35-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5,0+0.1*math.cos(sine/16),-0.8)*CFrame.Angles(math.rad(-25+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 5 then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.1)*CFrame.Angles(math.rad(-18),math.rad(0+math.rad(0+2*math.cos(sine/2))),0), 0.1)
hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.Angles(math.rad(-15),0,0),0.1)
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(-5-1*math.cos(sine/8))), 0.2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(0-1*math.cos(sine/16)),math.rad(5+1*math.cos(sine/8))), 0.2)
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(0), math.rad(0-1*math.cos(sine/32))), 0.1)
lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0,llegendPoint.Y-lleg.Position.Y,0)*CFrame.new(-0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0-1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(-2-0.5*math.cos(sine/8))), 0.2)
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0,rlegendPoint.Y-rleg.Position.Y,0)*CFrame.new(0.5,0+0.1*math.cos(sine/16),0)*CFrame.Angles(math.rad(0+1*math.cos(sine/16)),math.rad(0-1*math.cos(sine/16)),math.rad(2+0.5*math.cos(sine/8))), 0.2)
end
for i=1,5 do
if aiming_anim == true then
bg.MaxTorque = Vector3.new(9e9,9e9,9e9)
if jumped == false then
bg.CFrame = CFrame.new(root.Position,Vector3.new(mouse.Hit.x,root.Position.Y,mouse.Hit.z))
else
bg.CFrame = CFrame.new(root.Position,mouse.Hit.p)
end
if animid == 0 then
hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(-80),0),0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(-80), math.rad(0-1*math.cos(sine/32))),0.2)
larm.Weld.C0 = Lerp(larm.Weld.C0,CFrame.new(-1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(-10-1*math.cos(sine/16)),math.rad(-90-1*math.cos(sine/8))),0.4)
else
if animid == 5 then
hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(85),math.rad(0)), 1)--head
torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-85), math.rad(0)), 1)--torso
rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,0)*CFrame.Angles(math.rad(30),math.rad(-40),math.rad(-10)), 1)--rarm
larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,0.2,-0.2)*CFrame.Angles(math.rad(30),math.rad(40),math.rad(40)), 1)--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)), 1)--lleg
rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 1)--rleg
else
hed.Weld.C1 = Lerp(hed.Weld.C1,CFrame.Angles(0,math.rad(80),0),0.4)
torso.Weld.C0 = Lerp(torso.Weld.C0,CFrame.new(0, -1.1-0.1*math.cos(sine/16), 0) * CFrame.Angles(math.rad(0-2*math.cos(sine/16)),math.rad(80), math.rad(0-1*math.cos(sine/32))),0.2)
rarm.Weld.C0 = Lerp(rarm.Weld.C0,CFrame.new(1.5,0.55-0.1*math.cos(sine/16)/2,-0.1*math.cos(sine/16))*CFrame.Angles(math.rad(0),math.rad(10-1*math.cos(sine/16)),math.rad(90+1*math.cos(sine/8))),0.4)
end
end
else
if timer <= 0 then
animid = math.random(0,1)
else
timer = timer - 1
end
end
end
end
end
main_color = Color3.fromRGB(main.r,main.g,main.b)
pr.Value = main.r
pg.Value = main.g
pb.Value = main.b
pv.Value = main.v
idth.Value = themeid
pith.Value = themepitch
HName.TextStrokeColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v/2)
HName.TextColor3 = Color3.fromHSV(Color3.toHSV(main_color),1,main.v)
sine = sine + change
if hum.Health <= 0 then
debounce = true
end
end)