Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- math.randomseed(os.time())
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- --------------------------------------------------------------------
- hed.face.Texture = "rbxassetid://362505168"
- ----------------------------------------------------
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- ----------------------------------------------------
- char["Body Colors"].HeadColor = BrickColor.new("Pastel brown")
- char["Body Colors"].TorsoColor = BrickColor.new("Really red")
- char["Body Colors"].LeftArmColor = BrickColor.new("Pastel brown")
- char["Body Colors"].RightArmColor = BrickColor.new("Pastel brown")
- ----------------------------------------------------
- ----------------------------------------------------------------
- ---------------------------- SHIRT AND PANTS --
- --------------------------------
- shirt = Instance.new("Shirt", char)
- shirt.Name = "Shirt"
- pants = Instance.new("Pants", char)
- pants.Name = "Pants"
- char.Shirt.ShirtTemplate = "rbxassetid://607785311"
- char.Pants.PantsTemplate = "rbxassetid://382538502"
- ---------------------------------------------------------
- --------------
- purple = Color3.new(1, 1, 1)
- local player = "LocalPlayer"
- local Character = game.Players[player].Character
- it = Instance.new
- vt = Vector3.new
- bc = BrickColor.new
- cf = CFrame.new
- local hed = Character.Head
- local ultcooldown = 99999
- paly = game.Players.LocalPlayer
- p = game.Players.LocalPlayer
- char = paly.Character
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- local mouse = Player:GetMouse()
- Character = Player.Character
- tors = Character.Torso
- lleg = Character["Left Leg"]
- root = Character.HumanoidRootPart
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- local Effects = {}
- function ExplodeMass(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- local plode = Instance.new("Sound",workspace)
- plode.SoundId = "rbxassetid://579687077"
- plode.Volume = 1
- plode.Pitch = 0.85
- plode.Looped = false
- plode:Play()
- local plodez = Instance.new("Sound",workspace)
- plodez.SoundId = "rbxassetid://288641686"
- plodez.Volume = 1
- plodez.Pitch = 0.75
- plodez.Looped = false
- plodez:Play()
- local plodeza = Instance.new("Sound",workspace)
- plodeza.SoundId = "rbxassetid://197161452"
- plodeza.Volume = 0.85
- plodeza.Pitch = 0.65
- plodeza.Looped = false
- plodeza:Play()
- local plodezar = Instance.new("Sound",workspace)
- plodezar.SoundId = "rbxassetid://197161452"
- plodezar.Volume = 0.85
- plodezar.Pitch = 0.25
- plodezar.Looped = false
- plodezar:Play()
- local s3 = Instance.new("Sound",workspace)
- s3.SoundId = "rbxassetid://268931189"
- s3.Pitch = 1
- s3.Volume = 1
- s3.Looped = false
- s3:Play()
- xay = Instance.new("Sound",workspace)
- xay.SoundId = "rbxassetid://419447292"
- xay.Pitch = 1
- xay.Volume = 2.5
- xay:Play()
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("White")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = Character.Torso.BrickColor
- expart2.CFrame = par.CFrame
- local value = 1*rad/10
- par:Destroy()
- for i = 0, 300 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.0175*rad/10
- if value <= 0 then
- expart.Transparency = expart.Transparency + 0.0125
- expart2.Transparency = expart2.Transparency + 0.0125
- value = 0.25
- end
- wait()
- end
- plode.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- function ExplodeMass2(rad,par)
- local expart = Instance.new("Part",script.Parent)
- local expart2 = Instance.new("Part",script.Parent)
- local partMesh = Instance.new("SpecialMesh",expart)
- partMesh.MeshType = "Sphere"
- local partMesh2 = Instance.new("SpecialMesh",expart2)
- partMesh2.MeshType = "Sphere"
- local expld = Instance.new("Explosion", script.Parent)
- local plode = Instance.new("Sound",workspace)
- plode.SoundId = "rbxassetid://579687077"
- plode.Volume = 1
- plode.Pitch = 0.8
- plode.Looped = false
- plode:Play()
- local plodez = Instance.new("Sound",workspace)
- plodez.SoundId = "rbxassetid://288641686"
- plodez.Volume = 1
- plodez.Pitch = 0.7
- plodez.Looped = false
- plodez:Play()
- local plodeza = Instance.new("Sound",workspace)
- plodeza.SoundId = "rbxassetid://197161452"
- plodeza.Volume = 0.85
- plodeza.Pitch = 0.6
- plodeza.Looped = false
- plodeza:Play()
- local plodezar = Instance.new("Sound",workspace)
- plodezar.SoundId = "rbxassetid://197161452"
- plodezar.Volume = 0.85
- plodezar.Pitch = 0.2
- plodezar.Looped = false
- plodezar:Play()
- local s3 = Instance.new("Sound",workspace)
- s3.SoundId = "rbxassetid://268931189"
- s3.Pitch = 0.85
- s3.Volume = 1
- s3.Looped = false
- s3:Play()
- xay = Instance.new("Sound",workspace)
- xay.SoundId = "rbxassetid://419447292"
- xay.Pitch = 1
- xay.Volume = 3.5
- xay:Play()
- expld.BlastRadius = rad
- expld.Position = par.Position
- partMesh.Scale = vt(rad,rad,rad)
- expart.Size = vt(1,1,1)*1.5
- expart.Transparency = 0
- expart.Anchored = true
- expart.Material = "Neon"
- expart.BrickColor = bc("Really black")
- expart.CFrame = par.CFrame
- partMesh2.Scale = vt(rad,rad,rad)
- expart2.Size = vt(1.15,1.15,1.15)*1.5
- expart2.Transparency = 0.5
- expart2.Anchored = true
- expart2.Material = "Neon"
- expart2.BrickColor = Character.Torso.BrickColor
- expart2.CFrame = par.CFrame
- local value = 1*rad/10
- par:Destroy()
- for i = 0, 300 do
- partMesh.Scale = partMesh.Scale + vt(value,value,value)
- expart.CFrame = expart.CFrame
- partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
- expart2.CFrame = expart.CFrame
- value = value - 0.0175*rad/10
- if value <= 0 then
- expart.Transparency = expart.Transparency + 0.0125
- expart2.Transparency = expart2.Transparency + 0.0125
- value = 0.25
- end
- wait()
- end
- plode.Parent = nil
- expart.Parent = nil
- expart2.Parent = nil
- expld.Parent = nil
- end
- function Blaze2()
- if ultcooldown >= 30 then
- ultcooldown = ultcooldown - 30
- wit = Character.Torso.BrickColor.Color
- local sloc = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",sloc)
- msh.MeshType = "Sphere"
- sloc.Size = vt(1,1,1)
- sloc.Transparency = 1
- sloc.BrickColor = Character.Torso.BrickColor
- sloc.Position = hed.Position + vt(0,0,0)
- sloc.CanCollide = false
- sloc.Shape = "Ball"
- sloc.Anchored = true
- sloc.Material = "Neon"
- local forcefield = Instance.new("ForceField",Character)
- local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
- kolor.TintColor = Character.Torso.BrickColor.Color
- local glowz = Instance.new("ParticleEmitter")
- glowz.LightEmission = 0
- glowz.Parent = sloc
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(15)
- glowz.Speed = NumberRange.new(100,250)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50
- glowz.VelocitySpread = 9001
- local s = Instance.new("Sound",workspace)
- s.SoundId = "rbxassetid://331888777"
- s.Pitch = 0.45
- s.Volume = 1.5
- s.Looped = false
- s:Play()
- local s2 = Instance.new("Sound",workspace)
- s2.SoundId = "rbxassetid://331888777"
- s2.Pitch = 0.5
- s2.Volume = 1.5
- s2.Looped = false
- s2:Play()
- local val = 1*5
- for i = 0 , 20 do
- sloc.Transparency = sloc.Transparency - 0.055
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*5
- kolor.Brightness = kolor.Brightness - 0.1
- kolor.Contrast = kolor.Contrast + 0.1
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val + 0.05*5
- kolor.Brightness = kolor.Brightness + 0.5
- kolor.Contrast = kolor.Contrast - 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*5
- kolor.Brightness = kolor.Brightness - 0.5
- kolor.Contrast = kolor.Contrast + 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val + 0.05*10
- kolor.Brightness = kolor.Brightness + 0.5
- kolor.Contrast = kolor.Contrast - 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*10
- kolor.Brightness = kolor.Brightness - 0.5
- kolor.Contrast = kolor.Contrast + 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val + 0.05*20
- kolor.Brightness = kolor.Brightness + 0.5
- kolor.Contrast = kolor.Contrast - 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*20
- kolor.Brightness = kolor.Brightness - 0.5
- kolor.Contrast = kolor.Contrast + 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val + 0.05*40
- kolor.Brightness = kolor.Brightness + 0.5
- kolor.Contrast = kolor.Contrast - 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*40
- kolor.Brightness = kolor.Brightness - 0.5
- kolor.Contrast = kolor.Contrast + 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val + 0.05*45
- kolor.Brightness = kolor.Brightness + 0.5
- kolor.Contrast = kolor.Contrast - 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*45
- kolor.Brightness = kolor.Brightness - 0.5
- kolor.Contrast = kolor.Contrast + 0.5
- wait()
- end
- for i = 0 , 5 do
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val + 0.05*50
- kolor.Brightness = kolor.Brightness + 0.5
- kolor.Contrast = kolor.Contrast - 0.5
- wait()
- end
- for i = 0 , 20 do
- sloc.Transparency = sloc.Transparency + 0.055
- msh.Scale = msh.Scale + vt(val,val,val)
- val = val - 0.05*50
- wait()
- end
- kolor:Destroy()
- ExplodeMass2(125,sloc)
- sloc:Destroy()
- forcefield:Destroy()
- end
- if ultcooldown < 1 then
- for i = 0, 29 do
- ultcooldown = ultcooldown + 1
- wait(1)
- end
- end
- end
- function Blaze()
- if ultcooldown >= 30 then
- local kolor = Instance.new("ColorCorrectionEffect",game.Lighting)
- local see = Instance.new("Sound",workspace)
- see.SoundId = "rbxassetid://21420962"
- see.Pitch = 1
- see.Volume = 2.75
- see.Looped = false
- see:Play()
- kolor.Brightness = -1
- kolor.Contrast = -1
- kolor.TintColor = Character.Torso.BrickColor.Color
- wait(0.1)
- for i = 0, 9 do
- kolor.Brightness = kolor.Brightness + 0.35
- kolor.Contrast = kolor.Contrast + 0.35
- wait(0.05)
- end
- for i = 0, 9 do
- kolor.Brightness = kolor.Brightness - 0.35
- kolor.Contrast = kolor.Contrast - 0.35
- wait(0.05)
- end
- kolor:Destroy()
- local sloc = Instance.new("Part",workspace)
- local msh = Instance.new("SpecialMesh",sloc)
- msh.MeshType = "Sphere"
- sloc.Size = vt(1,1,1)
- sloc.Transparency = 1
- sloc.BrickColor = Character.Torso.BrickColor
- sloc.Position = hed.Position + vt(0,5,0)
- sloc.CanCollide = false
- sloc.Shape = "Ball"
- sloc.Anchored = true
- sloc.Material = "Neon"
- local s = Instance.new("Sound",workspace)
- s.SoundId = "rbxassetid://342793847"
- s.Pitch = 1
- s.Volume = 1
- s.Looped = false
- s:Play()
- local s2 = Instance.new("Sound",workspace)
- s2.SoundId = "rbxassetid://137463716"
- s2.Pitch = 0.25
- s2.Volume = 1
- s2.Looped = false
- s2:Play()
- local val = 0.65*5
- for i = 0 , 75 do
- sloc.Transparency = sloc.Transparency - 0.035
- msh.Scale = msh.Scale + vt(val,val,val)
- sloc.Position = sloc.Position + vt(0,val,0)
- val = val - 0.0075*5
- wait()
- end
- msh.Scale = msh.Scale - vt(1,1,1)
- sloc.Transparency = sloc.Transparency + 0.015
- local spart = Instance.new("Part",workspace)
- local msh2 = Instance.new("SpecialMesh",spart)
- msh2.MeshType = "Sphere"
- spart.Size = vt(2,2,2)
- spart.Shape = "Ball"
- spart.BrickColor = Character.Torso.BrickColor
- spart.Material = "Neon"
- spart.Transparency = 0
- spart.Anchored = false
- msh2.Scale = msh.Scale/2
- spart.Rotation = hed.Rotation
- spart.CanCollide = false
- spart.Position = sloc.Position + vt(math.random(-0,0),math.random(-0,0),math.random(-0,0))
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = spart.CFrame.lookVector*75
- bv.Parent = spart
- local tick = Instance.new("Sound",workspace)
- tick.SoundId = "rbxassetid://203691467"
- tick.Volume = 2
- tick.Pitch = 0.75
- tick:Play()
- sloc:Destroy()
- wait(0.00001)
- pewdiepie=spart.Touched:connect(function(hit)
- ExplodeMass(100,spart)
- end)
- sloc:Destroy()
- end
- if ultcooldown < 1 then
- for i = 0, 29 do
- ultcooldown = ultcooldown + 1
- wait(1)
- end
- end
- end
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- mr = math.rad
- local Weapon = {}
- local p = game.Players.LocalPlayer
- local char = p.Character
- local mouse = p:GetMouse()
- local larm = char["Left Arm"]
- local rarm = char["Right Arm"]
- local lleg = char["Left Leg"]
- local rleg = char["Right Leg"]
- local hed = char.Head
- local torso = char.Torso
- local hum = char.Humanoid
- local cam = game.Workspace.CurrentCamera
- local root = char.HumanoidRootPart
- local deb = false
- local shot = 0
- local debris=game:service"Debris"
- local l = game:GetService("Lighting")
- local rs = game:GetService("RunService").RenderStepped
- ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
- math.randomseed(os.time())
- for i,v in pairs (hed:GetChildren()) do
- if v:IsA("Sound") then
- v:Destroy()
- end
- end
- wait(0.016666666666667)
- script.Archivable = false
- Effects = {}
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local mouse = Player:GetMouse()
- local m = Instance.new("Model", Character)
- m.Name = "WeaponModel"
- local effect = Instance.new("Model", Character)
- effect.Name = "effecsfsafzx"
- local demon = Instance.new("Model", Character)
- demon.Name = "demdemd"
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local do2target = nil
- local Head = Character.Head
- local Torso = Character.Torso
- TorsoColor = Torso.BrickColor
- z = Instance.new("Sound", Torso)
- z.SoundId = "rbxassetid://0" -- Put Music ID Here.
- z.Looped = true
- z.Pitch = 0
- z.Volume = 0
- wait(.1)
- z:Play()
- local cam = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local equipped = false
- local attack = false
- local Anim = "Idle"
- local idle = 0
- local attacktype = 1
- local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local mana = 0
- local it = Instance.new
- vt = Vector3.new
- local grabbed = false
- local cf = CFrame.new
- local mr = math.rad
- local angles = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- Humanoid.Animator:Destroy()
- Character.Animate:Destroy()
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
- RSH = nil
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = Torso["Right Hip"]
- LH = Torso["Left Hip"]
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "RW"
- RW.Part0 = Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = RightArm
- RW.Parent = Torso
- LW.Name = "LW"
- LW.Part0 = Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = LeftArm
- LW.Parent = Torso
- clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- RemoveOutlines = function(part)
- part.TopSurface = 10
- end
- CreatePart = 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
- CreateMesh = 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
- local co1 = 3
- local co2 = 10
- local co3 = 15
- local co4 = 30
- local cooldown1 = 0
- local cooldown2 = 0
- local cooldown3 = 0
- local cooldown4 = 0
- local maxEnergy = 100
- local Energy = 0
- local skill1stam = 1000
- local skill2stam = 1000
- local skill3stam = 1000
- local skill4stam = 1000
- local recovermana = 5
- local skillcolorscheme = BrickColor.new("White").Color
- local scrn = Instance.new("ScreenGui", Player.PlayerGui)
- makeframe = function(par, trans, pos, size, color)
- local frame = Instance.new("Frame", par)
- frame.BackgroundTransparency = trans
- frame.BorderSizePixel = 0
- frame.Position = pos
- frame.Size = size
- frame.BackgroundColor3 = color
- return frame
- end
- makelabel = function(par, text)
- local label = Instance.new("TextLabel", par)
- label.BackgroundTransparency = 1
- label.Size = UDim2.new(1, 0, 1, 0)
- label.Position = UDim2.new(0, 0, 0, 0)
- label.TextColor3 = Color3.new(255, 255, 255)
- label.TextStrokeTransparency = 0
- label.FontSize = Enum.FontSize.Size32
- label.Font = Enum.Font.SourceSansLight
- label.BorderSizePixel = 0
- label.TextScaled = true
- label.Text = text
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.033333333333333
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- swait = function(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- CreateWeld = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
- return Weld
- end
- rayCast = function(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- CreateSound = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = id
- swait()
- sou:play()
- game:GetService("Debris"):AddItem(sou, 6)
- end
- ))
- end
- local getclosest = function(obj, distance)
- local last, lastx = distance + 1, nil
- for i,v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
- local t = v.Torso
- local dist = t.Position - obj.Position.magnitude
- if dist <= distance and dist < last then
- last = dist
- lastx = v
- end
- end
- end
- return lastx
- end
- CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size)
- if PartType == "Part" then
- 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
- else
- do
- if PartType == "WedgePart" then
- local Part = Create("WedgePart")({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
- end
- end
- end
- for _,c in pairs(m:children()) do
- if c.className == "Weld" then
- table.insert(CBladeWelds, R67_PC6072)
- print(R66_PC6093)
- end
- end
- -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg'
- -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg'
- --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5))
- -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg'
- -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg'
- HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0))
- CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
- FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013))
- FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
- PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
- Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
- PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
- CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
- TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Really black", "TornadoHat", Vector3.new(3, 0.400000006, 3))
- TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0))
- CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
- local DBlade = {}
- local DBladeWelds = {}
- for _,c in pairs(demon:children()) do
- if c.className == "Part" then
- table.insert(DBlade, c)
- end
- end
- for _,c in pairs(demon:children()) do
- if c.className == "Weld" then
- table.insert(DBladeWelds, c)
- print(c)
- end
- end
- demon.Parent = nil
- Debounces = {
- CanAttack = true;
- NoIdl = false;
- Slashing = false;
- Slashed = false;
- RPunch = false;
- RPunched = false;
- LPunch = false;
- LPunched = false;
- }
- local Touche = {char.Name, }
- ----------------------------------------------------
- function lerp(a, b, t) -- Linear interpolation
- return a + (b - a)*t
- end
- function slerp(a, b, t) --Spherical interpolation
- 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 matrixInterpolate(a, b, t)
- local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
- local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
- local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
- local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
- local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
- local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
- local t = v1:Dot(v2)
- if not (t < 0 or t == 0 or t > 0) then -- Failsafe
- return CFrame.new()
- end
- return CFrame.new(
- v0.x, v0.y, v0.z,
- v1.x, v1.y, v1.z,
- v2.x, v2.y, v2.z,
- v3.x, v3.y, v3.z)
- end
- ----------------------------------------------------
- function genWeld(a,b)
- local w = Instance.new("Weld",a)
- w.Part0 = a
- w.Part1 = b
- return w
- end
- function weld(a, b)
- local weld = Instance.new("Weld")
- weld.Name = "W"
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- weld.Parent = a
- return weld;
- 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
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- function Tween(a,b,c)
- return a+(b-a)*c
- end
- ----------------------------------------------------
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- mod3 = Instance.new("Model",rleg)
- function Stomp()
- part=Instance.new('Part',mod3)
- part.Anchored=true
- part.CanCollide=false
- part.FormFactor='Custom'
- part.Size=Vector3.new(.2,.2,.2)
- part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
- part.Transparency=.7
- part.BrickColor=BrickColor.new('Bright green')
- mesh=Instance.new('SpecialMesh',part)
- mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
- mesh.Scale=Vector3.new(25,25,25)
- part2=part:clone()
- part2.Parent=mod3
- part2.BrickColor=BrickColor.new('Bright green')
- mesh2=mesh:clone()
- mesh2.Parent=part2
- mesh2.Scale=Vector3.new(15,15,15)
- part3=part:clone()
- part3.Parent=mod3
- part3.TopSurface=0
- part3.BottomSurface=0
- part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
- mesh3=Instance.new('SpecialMesh',part3)
- mesh3.MeshType = 3
- mesh3.Scale=Vector3.new(12,12,12)
- for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(20,60))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
- end
- end
- coroutine.resume(coroutine.create(function()
- for i=0,3.8,0.05 do
- wait()
- part.CFrame=part.CFrame
- part.Transparency=i
- mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
- part2.CFrame=part2.CFrame
- part2.Transparency=i
- mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
- part3.CFrame=part3.CFrame
- part3.Transparency=i
- mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
- end
- end))
- end
- ----------------------------------------------------
- function nwPrt(prnt,siz,cf,col)
- local prt=Instance.new("Part")
- prt.Parent=prnt
- prt.FormFactor=3
- prt.Name="Part"
- prt.Size=siz
- prt.CanCollide=false
- prt.Anchored=true
- prt.Locked=true
- prt.TopSurface=10
- prt.BottomSurface=10
- prt.FrontSurface=10
- prt.BackSurface=10
- prt.LeftSurface=10
- prt.RightSurface=10
- prt:BreakJoints()
- prt.CFrame=cf or CFrame.new(30,10,30)
- prt.Material="Neon"
- prt.BrickColor=TorsoColor
- m=Instance.new("SpecialMesh",prt)
- m.MeshType=6
- return prt
- end
- ----------------------------------------------------
- function nwSnd(prnt,pch,vol,id)
- local s=Instance.new("Sound",prnt)
- s.Pitch=pch
- s.Volume=vol
- s.SoundId="rbxassetid://"..id
- s.PlayOnRemove=true
- return s
- end
- ----------------------------------------------------
- function newRay(start,face,range,wat)
- local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
- hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
- return rey,hit,pos
- 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
- ----------------------------------------------------
- newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
- local wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- ----------------------------------------------------
- function weld5(part0, part1, c0, c1)
- weeld=Instance.new("Weld", part0)
- weeld.Part0=part0
- weeld.Part1=part1
- weeld.C0=c0
- weeld.C1=c1
- return weeld
- end
- ----------------------------------------------------
- function HasntTouched(plrname)
- local ret = true
- for _, v in pairs(Touche) do
- if v == plrname then
- ret = false
- end
- end
- return ret
- end
- ----------------------------------------------------
- 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)
- ----------------------------------------------------
- z = Instance.new("Sound", char)
- z.SoundId = "rbxassetid://157580176"--303570180
- z.Looped = true
- z.Pitch = 1
- z.Volume = 1.25
- wait(.1)
- z:Play()
- ----------------------------------------------------
- local Transforming = true
- hum.WalkSpeed = 0
- local fx = Instance.new("Part",torso)
- wit = torso.BrickColor.Color
- wit2 = Color3.new(0,0,0)
- local glowz = Instance.new("ParticleEmitter",fx)
- glowz.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(5)
- glowz.Speed = NumberRange.new(25,50)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50000
- glowz.VelocitySpread = 9001
- local glowz2 = Instance.new("ParticleEmitter",fx)
- glowz2.LightEmission = 0.5
- glowz.Texture = "rbxassetid://284205403"
- glowz2.Color = ColorSequence.new(wit2)
- glowz2.Size = NumberSequence.new(5)
- glowz2.Speed = NumberRange.new(25,50)
- glowz2.LockedToPart = false
- glowz2.Transparency = NumberSequence.new(0.75)
- glowz2.RotSpeed = NumberRange.new(-2000,2000)
- glowz2.Lifetime = NumberRange.new(1)
- glowz2.Rate = 50000
- glowz2.VelocitySpread = 9001
- fx.Anchored = true
- fx.Material = "Neon"
- fx.CanCollide = false
- fx.Locked = true
- fx.Transparency = 1
- fx.Material = "Neon"
- fx.Size = Vector3.new(1,1,1)
- fx.TopSurface = "SmoothNoOutlines"
- fx.BottomSurface = "SmoothNoOutlines"
- fx.BrickColor = BrickColor.new("Really black")
- fxm = Instance.new("SpecialMesh",fx)
- fxm.MeshType = "Sphere"
- local sa2 = Instance.new("Sound",torso)
- sa2.SoundId = "rbxassetid://93724183"
- sa2.Pitch = 0.5
- sa2.Volume = 5
- sa2.Looped = false
- sa2:Play()
- local value = 1
- fxm.Scale = Vector3.new(1,1,1)
- for i = 1, 20 do rs:wait()
- value = value - 0.05
- fx.Transparency = fx.Transparency - (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
- rs:wait()
- end
- ----------------------------------------------------
- GroundWave1 = function()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local Colors = {"White", "Really black"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 30, 1 do
- wm.Scale = Vector3.new(50, 50, 1 + i*50)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/30
- wait()
- end
- wait()
- wave:Destroy()
- end)()
- end
- ----------------------------------------------------
- GroundWave = function()
- if Transforming == true then
- local value = 5
- local value2 = 10
- local value3 = 20
- local sa2 = Instance.new("Sound",torso)
- sa2.SoundId = "rbxassetid://413682983"
- sa2.Pitch = 1
- sa2.Volume = 10
- sa2.Looped = false
- sa2:Play()
- local wave = Instance.new("Part", torso)
- local glowz = Instance.new("ParticleEmitter",wave)
- glowz.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz.Color = ColorSequence.new(wit)
- glowz.Size = NumberSequence.new(30)
- glowz.Speed = NumberRange.new(25,100)
- glowz.LockedToPart = false
- glowz.Transparency = NumberSequence.new(0.75)
- glowz.RotSpeed = NumberRange.new(-2000,2000)
- glowz.Lifetime = NumberRange.new(1)
- glowz.Rate = 50000
- glowz.VelocitySpread = 9001
- local glowz2 = Instance.new("ParticleEmitter",wave)
- glowz2.LightEmission = 1
- glowz.Texture = "rbxassetid://284205403"
- glowz2.Color = ColorSequence.new(wit)
- glowz2.Size = NumberSequence.new(30)
- glowz2.Speed = NumberRange.new(25,100)
- glowz2.LockedToPart = false
- glowz2.Transparency = NumberSequence.new(0.75)
- glowz2.RotSpeed = NumberRange.new(-2000,2000)
- glowz2.Lifetime = NumberRange.new(1)
- glowz2.Rate = 50000
- glowz2.VelocitySpread = 9001
- wave.BrickColor = TorsoColor
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = fx.CFrame
- wave.Material = "Neon"
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- local wave2 = Instance.new("Part", torso)
- wave2.BrickColor = TorsoColor
- wave2.Anchored = true
- wave2.CanCollide = false
- wave2.Locked = true
- wave2.Size = Vector3.new(1, 1, 1)
- wave2.TopSurface = "Smooth"
- wave2.BottomSurface = "Smooth"
- wave2.Transparency = 0.35
- wave2.CFrame = fx.CFrame
- wave2.Material = "Neon"
- wm2 = Instance.new("SpecialMesh", wave2)
- wm2.MeshType = "FileMesh"
- wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- wm2.Scale = Vector3.new(1,1,1)
- local wave3 = Instance.new("Part", torso)
- wave3.BrickColor = BrickColor.new("Really black")
- wave3.Anchored = true
- wave3.CanCollide = false
- wave3.Locked = true
- wave3.Size = Vector3.new(1, 1, 1)
- wave3.TopSurface = "Smooth"
- wave3.BottomSurface = "Smooth"
- wave3.Transparency = 0.35
- wave3.CFrame = fx.CFrame
- wave3.Material = "Neon"
- wm3 = Instance.new("SpecialMesh", wave3)
- wm3.MeshType = "FileMesh"
- wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
- wm3.Scale = Vector3.new(1,1,1)
- coroutine.wrap(function()
- for i = 1, 18, 1 do
- value = value - 0.5
- value2 = value2 - 0.75*1.5
- value3 = value3 - 0.475*1.5
- wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
- wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
- wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
- --wave.Size = wm.Scale
- wave.CFrame = fx.CFrame
- wave.Transparency = i/14
- --wave2.Size = wm2.Scale
- wave2.CFrame = fx.CFrame
- wave2.Rotation = Vector3.new(90, 0, 0)
- wave2.Transparency = i/14
- --wave3.Size = wm3.Scale
- wave3.CFrame = fx.CFrame
- wave3.Rotation = Vector3.new(90, 0, 0)
- wave3.Transparency = i/14
- wait()
- glowz.Rate = 0
- glowz2.Rate = 0
- end
- wait()
- wave:Destroy()
- wave2:Destroy()
- wave3:Destroy()
- end)()
- elseif Transforming == false then
- wait()
- end
- end
- for i = 1, 100 do rs:wait()
- fx.CFrame = torso.CFrame
- end
- Spawn(function()
- while wait(1) do
- GroundWave()
- end
- end)
- wait(4)
- Transforming = false
- local value2 = 1
- for i = 1, 20 do rs:wait()
- value2 = value2 - 0.05
- glowz.Rate = 0
- glowz2.Rate = 0
- fx.Transparency = fx.Transparency + (1/20)
- fx.CFrame = torso.CFrame
- fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
- rs:wait()
- end
- glowz:Destroy()
- glowz2:Destroy()
- local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- local valuer = 5
- local valuer2 = 10
- local valuer3 = 15
- local sa2 = Instance.new("Sound",torso)
- sa2.SoundId = "rbxassetid://130972023"
- sa2.Pitch = 1
- sa2.Volume = 5
- sa2.Looped = false
- sa2:Play()
- local sar2 = Instance.new("Sound",torso)
- sar2.SoundId = "rbxassetid://153274423"
- sar2.Pitch = 1
- sar2.Volume = 5
- sar2.Looped = false
- sar2:Play()
- local wave = Instance.new("Part", torso)
- wave.BrickColor = TorsoColor
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = HandCF
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshId = "rbxassetid://3270017"
- local wave2 = Instance.new("Part", torso)
- wave2.BrickColor = BrickColor.new("Really black")
- wave2.Anchored = true
- wave2.CanCollide = false
- wave2.Locked = true
- wave2.Size = Vector3.new(1, 1, 1)
- wave2.TopSurface = "Smooth"
- wave2.BottomSurface = "Smooth"
- wave2.Transparency = 0.35
- wave2.CFrame = HandCF
- wm2 = Instance.new("SpecialMesh", wave2)
- wm2.MeshId = "rbxassetid://3270017"
- local wave3 = Instance.new("Part", torso)
- wave3.BrickColor = TorsoColor
- wave3.Anchored = true
- wave3.CanCollide = false
- wave3.Locked = true
- wave3.Size = Vector3.new(1, 1, 1)
- wave3.TopSurface = "Smooth"
- wave3.BottomSurface = "Smooth"
- wave3.Transparency = 0.35
- wave3.CFrame = HandCF
- wm3 = Instance.new("SpecialMesh", wave3)
- wm3.MeshId = "rbxassetid://3270017"
- coroutine.wrap(function()
- for i = 1, 14, 1 do
- valuer = valuer - 0.35
- valuer2 = valuer - 0.45
- valuer3 = valuer3 - 0.475
- wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
- wave.Size = wm.Scale
- wave.CFrame = HandCF
- wave.Transparency = i/14
- wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
- wave2.Size = wm2.Scale
- wave2.CFrame = HandCF
- wave2.Transparency = i/14
- wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
- wave3.Size = wm2.Scale
- wave3.CFrame = HandCF
- wave3.Transparency = i/14
- wait()
- end
- wait()
- wave:Destroy()
- wave2:Destroy()
- end)()
- hum.WalkSpeed = 16
- ----------------------------------------------------
- local cor = Instance.new("Part", char)
- cor.Name = "Thingy"
- cor.Locked = true
- cor.BottomSurface = 0
- cor.CanCollide = false
- cor.Size = Vector3.new(1, 13, 1)
- cor.Transparency = 1
- cor.TopSurface = 0
- corw = Instance.new("Weld", cor)
- corw.Part0 = rarm
- corw.Part1 = cor
- corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- corw.C1 = CFrame.new(0, 0, 0)
- weld1 = Instance.new("Weld", char)
- weld1.Part0 = cor
- weld1.Part1 = p6
- weld1.C0 = CFrame.new(0, 0, 0)
- ----------------------------------------------------
- Blast = function()
- local Colors = {"Really black", "Really black"}
- local wave = Instance.new("Part", torso)
- wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
- wave.Anchored = true
- wave.CanCollide = false
- wave.Locked = true
- wave.Size = Vector3.new(1, 1, 1)
- wave.TopSurface = "Smooth"
- wave.BottomSurface = "Smooth"
- wave.Transparency = 0.35
- wave.CFrame = rarm.CFrame
- wm = Instance.new("SpecialMesh", wave)
- wm.MeshType = "Sphere"
- wm.Scale = Vector3.new(1,1,1)
- z = Instance.new("Sound",wave)
- z.SoundId = "rbxassetid://237035051"
- z.Volume = 1
- z.Pitch = .9
- z:Play()
- coroutine.wrap(function()
- for i = 1, 30, 1 do
- wave.Size = Vector3.new(1 + i*4, 1 + i*4, 1 + i*4)
- --wave.Size = wm.Scale
- wave.CFrame = rarm.CFrame
- wave.Transparency = (1/14)
- rs:wait()
- end
- rs:wait()
- wave:Destroy()
- z:Destroy()
- end)()
- end
- ----------------------------------------------------
- rarm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.RPunched = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.RPunched = false
- end
- end
- end
- end
- end)
- larm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
- if Debounces.ks2==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.LPunched = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
- if Debounces.ks2==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.LPunched = false
- end
- end
- end
- end
- end)
- ----------------------------------------------------
- mod4 = Instance.new("Model",char)
- ptez = {0.7, 0.8, 0.9, 1}
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- function Punch()
- part=Instance.new('Part',mod4)
- part.Anchored=true
- part.CanCollide=false
- part.FormFactor='Custom'
- part.Size=Vector3.new(.2,.2,.2)
- part.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(0),0,0)
- part.Transparency=.7
- part.BrickColor=BrickColor.new('Really black')
- mesh=Instance.new('SpecialMesh',part)
- mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
- mesh.Scale=Vector3.new(3,3,3)
- part2=Instance.new('Part',mod4)
- part2.Anchored=true
- part2.CanCollide=false
- part2.FormFactor='Custom'
- part2.Size=Vector3.new(.2,.2,.2)
- part2.CFrame=root.CFrame*CFrame.new(0,1.5,-2.4)*CFrame.Angles(math.rad(90),0,0)
- part2.Transparency=.7
- part2.BrickColor=BrickColor.new('Really black')
- mesh2=Instance.new('SpecialMesh',part2)
- mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
- mesh2.Scale=Vector3.new(3,1.5,3)
- for i,v in pairs(FindNearestTorso(torso.CFrame.p,4))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(2,6))
- end
- end
- coroutine.resume(coroutine.create(function()
- for i=0,0.62,0.4 do
- wait()
- part.CFrame=part.CFrame
- part.Transparency=i
- mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
- part2.CFrame=part2.CFrame
- part2.Transparency=i
- mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
- end
- part.Parent=nil
- part2.Parent=nil
- end))
- end
- ----------------------------------------------------
- rarm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.RPunched = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.RPunch == true and Debounces.RPunched == false then
- Debounces.RPunched = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.RPunched = false
- end
- end
- end
- end
- end)
- larm.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- if Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
- if Debounces.ks2==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.LPunched = false
- end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- if Debounces.LPunch == true and Debounces.LPunched == false then
- Debounces.LPunched = true
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
- if Debounces.ks2==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- end
- wait(.2)
- Debounces.LPunched = false
- end
- end
- end
- end
- end)
- ----------------------------------------------------
- local player = game.Players.LocalPlayer
- local pchar = player.Character
- local mouse = player:GetMouse()
- local cam = workspace.CurrentCamera
- local rad = math.rad
- local keysDown = {}
- local flySpeed = 0
- local MAX_FLY_SPEED = 3000
- local canFly = false
- local flyToggled = false
- local forward, side = 0, 0
- local lastForward, lastSide = 0, 0
- local floatBP = Instance.new("BodyPosition")
- floatBP.maxForce = Vector3.new(0, math.huge, 0)
- local flyBV = Instance.new("BodyVelocity")
- flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local turnBG = Instance.new("BodyGyro")
- turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- mouse.KeyDown:connect(function(key)
- keysDown[key] = true
- if key == "f" then
- flyToggled = not flyToggled
- if not flyToggled then
- stanceToggle = "Normal"
- floatBP.Parent = nil
- flyBV.Parent = nil
- turnBG.Parent = nil
- root.Velocity = Vector3.new()
- pchar.Humanoid.PlatformStand = false
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- keysDown[key] = nil
- end)
- local function updateFly()
- if not flyToggled then return end
- lastForward = forward
- lastSide = side
- forward = 0
- side = 0
- if keysDown.w then
- forward = forward + 1
- end
- if keysDown.s then
- forward = forward - 1
- end
- if keysDown.a then
- side = side - 1
- end
- if keysDown.d then
- side = side + 1
- end
- canFly = (forward ~= 0 or side ~= 0)
- if canFly then
- stanceToggle = "Floating"
- turnBG.Parent = root
- floatBP.Parent = nil
- flyBV.Parent = root
- flySpeed = flySpeed + 1 + (flySpeed / MAX_FLY_SPEED)
- if flySpeed > MAX_FLY_SPEED then flySpeed = MAX_FLY_SPEED end
- else
- floatBP.position = root.Position
- floatBP.Parent = root
- flySpeed = flySpeed - 1
- if flySpeed < 0 then flySpeed = 0 end
- end
- local camCF = cam.CoordinateFrame
- local in_forward = canFly and forward or lastForward
- local in_side = canFly and side or lastSide
- flyBV.velocity = ((camCF.lookVector * in_forward) + (camCF * CFrame.new(in_side,
- in_forward * 0.2, 0).p) - camCF.p) * flySpeed
- turnBG.cframe = camCF * CFrame.Angles(-rad(forward * (flySpeed / MAX_FLY_SPEED)), 0,
- 0)
- end
- game:service'RunService'.RenderStepped:connect(function()
- if flyToggled then
- pchar.Humanoid.PlatformStand = true
- end
- updateFly()
- end)
- -------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- z = Instance.new("Sound",workspace)
- z.SoundId = "rbxassetid://232213955"
- z.Pitch = 0.75
- z.Volume = 5
- wait(0.2)
- z:Play()
- sp = Instance.new("Part",rarm)
- sp.Anchored = true
- sp.CanCollide = false
- sp.Locked = true
- sp.Transparency = 0
- sp.Material = "Neon"
- sp.Size = Vector3.new(2,2,2)
- sp.TopSurface = "SmoothNoOutlines"
- sp.BottomSurface = "SmoothNoOutlines"
- sp.BrickColor = TorsoColor
- spm = Instance.new("SpecialMesh",sp)
- spm.MeshType = "Sphere"
- spm.Scale = Vector3.new(42,42,42)
- sp2 = Instance.new("Part", rarm)
- sp2.Name = "Energy"
- sp2.BrickColor = TorsoColor
- sp2.Size = Vector3.new(1, 1, 1)
- sp2.Shape = "Ball"
- sp2.CanCollide = false
- sp2.Anchored = true
- sp2.Locked = true
- sp2.TopSurface = 0
- sp2.BottomSurface = 0
- sp2.Transparency = 1
- spm2 = Instance.new("SpecialMesh",sp2)
- spm2.MeshId = "rbxassetid://9982590"
- spm2.Scale = Vector3.new(4,4,4)
- sp3 = Instance.new("Part", rarm)
- sp3.Name = "Energy"
- sp3.BrickColor = TorsoColor
- sp3.Size = Vector3.new(1, 1, 1)
- sp3.Shape = "Ball"
- sp3.CanCollide = false
- sp3.Anchored = true
- sp3.Locked = true
- sp3.TopSurface = 0
- sp3.BottomSurface = 0
- sp3.Transparency = 1
- spm3 = Instance.new("SpecialMesh",sp2)
- spm3.MeshId = "rbxassetid://9982590"
- spm3.Scale = Vector3.new(8,8,8)
- for i = 1, 20 do
- spm.Scale = spm.Scale - Vector3.new(2,2,2)
- sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1, 100, 20 do rs:wait()
- sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
- end
- for i = 1, 20 do
- sp.CFrame = root.CFrame*CFrame.new(0,1,-2)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(10),math.rad(-30),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- sp.Transparency = 1
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- wait(1)
- sp.Transparency = 0
- sp2.Transparency = 0.84
- for i = 1, 20 do
- --spm.Scale = spm.Scale - Vector3.new(1,1,1)
- sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
- sp2.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
- sp3.CFrame = sp.CFrame * CFrame.new(0,0,0) * CFrame.Angles(math.rad(-i), math.rad(-i), math.rad(i))
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1, 2880, 50 do
- rs:wait()
- sp.CFrame = rarm.CFrame*CFrame.new(0,-1,0)
- sp2.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
- sp3.CFrame = rarm.CFrame * CFrame.new(0,-1,0) * CFrame.Angles(math.rad(-i/-10), math.rad(-i/-10), math.rad(i/-10))
- rs:wait()
- end
- sp:Destroy()
- sp2:Destroy()
- sp3:Destroy()
- local X = Instance.new("Part",char)
- local O = Instance.new("ObjectValue",X)
- O.Name = "creator"
- X.Locked = true
- X.Name = "Shell"
- X.Anchored = false
- X.CanCollide = false
- X.Transparency = 0
- X.Reflectance = 0
- X.BottomSurface = 0
- X.TopSurface = 0
- X.Shape = 0
- local V = Instance.new("ObjectValue",X)
- V.Value = char
- V.Name = "creator"
- X.BrickColor = TorsoColor
- X.Size = Vector3.new(2,2,2)
- X.Material = "Neon"
- local Z = Instance.new("SpecialMesh",X)
- Z.MeshType = "Sphere"
- Z.Scale = Vector3.new(0.5,0.5,1)
- X.CFrame = rarm.CFrame*CFrame.new(-3,0,0)
- local bv = Instance.new("BodyVelocity",X)
- bv.maxForce = Vector3.new(99999,99999,99999)
- X.CFrame = CFrame.new(X.Position,mouse.Hit.p)
- bv.velocity = X.CFrame.lookVector*75
- Explode = X.Touched:connect(function(hit)
- if hit ~= char and hit.Name ~= "Shell" then
- local cf = X.CFrame
- bv:Destroy()
- X.Anchored = true
- Z:Remove()
- Explode:disconnect()
- X.Size = Vector3.new(6,6,6)
- X.Touched:connect(function(hit) end)
- X.CanCollide = false
- local part3 = Instance.new("Part", rarm)
- part3.Anchored=true
- part3.CanCollide=false
- part3.Locked = true
- part3.TopSurface = "SmoothNoOutlines"
- part3.BottomSurface = "SmoothNoOutlines"
- part3.FormFactor='Custom'
- part3.Size=Vector3.new(2,2, 2)
- part3.CFrame=X.CFrame
- part3.Transparency=0
- part3.BrickColor=TorsoColor
- local mesh3 = Instance.new("SpecialMesh",part3)
- mesh3.MeshType = "Sphere"
- mesh3.Scale = Vector3.new(2,2,2)
- --debris:AddItem(X,8)
- local part4 = Instance.new("Part", rarm)
- part4.Material = "Neon"
- part4.Anchored=true
- part4.CanCollide=false
- part4.Locked = true
- part4.TopSurface = "SmoothNoOutlines"
- part4.BottomSurface = "SmoothNoOutlines"
- part4.FormFactor='Custom'
- part4.Size=Vector3.new(2,2, 2)
- part4.CFrame=X.CFrame
- part4.Transparency=0
- part4.BrickColor=BrickColor.new("Black")
- local mesh4 = Instance.new("SpecialMesh",part4)
- mesh4.MeshType = "Sphere"
- mesh4.Scale = Vector3.new(1,1,1)
- local part7 = Instance.new("Part", rarm)
- part7.Material = "Neon"
- part7.Anchored=true
- part7.CanCollide=false
- part7.Locked = true
- part7.TopSurface = "SmoothNoOutlines"
- part7.BottomSurface = "SmoothNoOutlines"
- part7.FormFactor='Custom'
- part7.Size=Vector3.new(2,2, 2)
- part7.CFrame=X.CFrame
- part7.Transparency=0
- part7.BrickColor=BrickColor.new("Really black")
- local mesh7 = Instance.new("SpecialMesh",part7)
- mesh7.MeshType = "Sphere"
- mesh7.Scale = Vector3.new(0.2, 0.2, 0.2)
- --[[X.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- end
- end)
- part3.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,6))
- wait(.3)
- end
- end
- end
- end)]]--
- for i,v in pairs(FindNearestTorso(X.CFrame.p,140))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(60,90))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
- end
- end
- local acos = math.acos
- local sqrt = math.sqrt
- local Vec3 = Vector3.new
- local fromAxisAngle = CFrame.fromAxisAngle
- local function toAxisAngle(CFr)
- local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
- local Angle = math.acos((R00+R11+R22-1)/2)
- local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- A = A == 0 and 0.00001 or A
- local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- B = B == 0 and 0.00001 or B
- local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
- C = C == 0 and 0.00001 or C
- local x = (R21-R12)/sqrt(A)
- local y = (R02-R20)/sqrt(B)
- local z = (R10-R01)/sqrt(C)
- return Vec3(x,y,z),Angle
- end
- function ApplyTrig(Num,Func)
- local Min,Max = Func(0),Func(1)
- local i = Func(Num)
- return (i-Min)/(Max-Min)
- end
- function LerpCFrame(CFrame1,CFrame2,Num)
- local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
- return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
- end
- function Crater(Torso,Radius)
- Spawn(function()
- local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
- if Hit == nil then return end
- local Parts = {}
- for i = 1,360,10 do
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(10,20,20)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
- if math.random(0,5) == 0 then -- rubble
- local P = Instance.new("Part",Torso.Parent)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(4,4,4)*(math.random(80,100)/100)
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
- Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
- end
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
- end
- wait(0.02)
- end
- for i,v in pairs(Parts) do
- if v[1].Size.X > 2.1 then
- v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
- end
- v[1].Anchored = false
- end
- for i = 0,1,0.05 do
- for i2,v in pairs(Parts) do
- v[1].Transparency = i
- if i == 1 then
- v[1]:Destroy()
- elseif i >= 0.25 then
- v[1].CanCollide = false
- end
- end
- wait(0.02)
- end
- Parts = nil
- end)
- end
- ROW = function(out, trans, s, wt, t, ang, plus)
- for i = 1, 360, 360/t do
- local c = Instance.new("Part", game.Workspace)
- c.FormFactor = 3
- c.TopSurface = 0
- c.BottomSurface = 0
- c.Size = s
- c.Anchored = true
- c.CanCollide = wt
- c.Material=workspace.Base.Material
- c.Transparency = trans
- c.BrickColor = workspace.Base.BrickColor
- c.CFrame = CFrame.new(X.CFrame.x,0,X.CFrame.z) * CFrame.Angles(0, math.rad(i + plus), 0) * CFrame.new(0, 0, out) * ang
- c.Locked=true
- game.Debris:AddItem(c,15)
- end
- end
- Part = function(x,y,z,color,tr,cc,an,parent)
- local p = Instance.new('Part',parent or Weapon)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(x,y,z)
- p.BrickColor = BrickColor.new(color)
- p.CanCollide = cc
- p.Transparency = tr
- p.Anchored = an
- p.TopSurface,p.BottomSurface = 0,0
- p.Locked=true
- p:BreakJoints()
- return p end
- Mesh = function(par,num,x,y,z)
- local msh = _
- if num == 1 then msh = Instance.new("CylinderMesh",par)
- elseif num == 2 then msh = Instance.new("SpecialMesh",par) msh.MeshType = 3
- elseif num == 3 then msh = Instance.new("BlockMesh",par)
- elseif num == 4 then msh = Instance.new("SpecialMesh",par) msh.MeshType = "Torso"
- elseif type(num) == 'string' then msh = Instance.new("SpecialMesh",par) msh.MeshId = num
- end msh.Scale = Vector3.new(x,y,z)
- return msh end
- function explosion(col1,col2,cfr,sz,rng,dmg)
- local a= Part(1,1,1,col1,.5,false,true,workspace)
- local a2= Part(1,1,1,col2,.5,false,true,workspace)
- local a3= Part(1,1,1,col2,.5,false,true,workspace)
- v1,v2,v3=sz.x,sz.y,sz.z
- local m= Mesh(a,'http://www.roblox.com/asset/?id=1185246',v1,v2,v3)
- local m2= Mesh(a2,3,v1/3,v2/3,v3/3)
- local m3= Mesh(a3,3,v1/3,v2/3,v3/3)
- a.CFrame=cfr
- a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
- a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
- Spawn(function()
- while wait() do
- if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
- m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
- m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
- m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
- a.Transparency=a.Transparency+0.05
- a2.Transparency=a2.Transparency+0.05
- a3.Transparency=a3.Transparency+0.05
- end
- end)
- end
- Crater(X,20)
- ROW(12, 0, Vector3.new(34.5, 30, 3), true, 8, CFrame.Angles(math.rad(math.random (30,60)), 0, math.rad (math.random(-30,30))), 0)
- z = Instance.new("Sound",workspace)
- z.SoundId = "rbxassetid://231917744"
- z.Pitch = .5
- z.Volume = 5
- z1 = Instance.new("Sound",workspace)
- z1.SoundId = "rbxassetid://231917744"
- z1.Pitch = .5
- z1.Volume = 5
- z2 = Instance.new("Sound",workspace)
- z2.SoundId = "rbxassetid://231917744"
- z2.Pitch = .5
- z2.Volume = 5
- z3 = Instance.new("Sound",workspace)
- z3.SoundId = "rbxassetid://245537790"
- z3.Pitch = .7
- z3.Volume = 5
- z4 = Instance.new("Sound",workspace)
- z4.SoundId = "rbxassetid://245537790"
- z4.Pitch = .7
- z4.Volume = 5
- z4a = Instance.new("Sound",workspace)
- z4a.SoundId = "rbxassetid://419447292"
- z4a.Pitch = 1
- z4a.Volume = 5
- z3a = Instance.new("Sound",workspace)
- z3a.SoundId = "rbxassetid://421328847"
- z3a.Pitch = 1
- z3a.Volume = 5
- wait(0.1)
- z:Play()
- z1:Play()
- z2:Play()
- z3:Play()
- z4:Play()
- z3a:Play()
- z4a:Play()
- local part=Instance.new('Part',rarm)
- part.Anchored=true
- part.CanCollide=false
- part.Locked = true
- part.FormFactor='Custom'
- part.Size=Vector3.new(2,2,2)
- part.CFrame=X.CFrame*CFrame.new(0,0,0)
- part.Transparency=0
- part.BrickColor=BrickColor.new('Really black')
- local mesh=Instance.new('SpecialMesh',part)
- mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
- mesh.Scale=Vector3.new(4,4,4)
- local part2=part:clone()
- part2.Parent = rarm
- part2.BrickColor=TorsoColor
- local part5=part:clone()
- part5.Parent = rarm
- part5.BrickColor=TorsoColor
- local part6=part:clone()
- part6.Parent = rarm
- part6.BrickColor=BrickColor.new("Black")
- local mesh2=mesh:clone()
- mesh2.Parent=part2
- mesh2.Scale=Vector3.new(6, 6, 6)
- local mesh5=mesh:clone()
- mesh5.Parent=part5
- mesh5.Scale=Vector3.new(6, 6, 6)
- local mesh6=mesh:clone()
- mesh6.Parent=part6
- mesh6.Scale=Vector3.new(6, 6, 6)
- local blast = Instance.new("Part", rarm)
- blast.BrickColor = BrickColor.new("Really black")
- blast.Anchored = true
- blast.CanCollide = false
- blast.Locked = true
- blast.Size = Vector3.new(2, 2, 2)
- blast.TopSurface = "Smooth"
- blast.BottomSurface = "Smooth"
- blast.Transparency = 0
- blast.CFrame = HandCF
- local bm = Instance.new("SpecialMesh", blast)
- bm.Scale = Vector3.new(10,2,10)
- bm.MeshId = "rbxassetid://3270017"
- local blast2 = Instance.new("Part", rarm)
- blast2.BrickColor = BrickColor.new("Really black")
- blast2.Anchored = true
- blast2.CanCollide = false
- blast2.Locked = true
- blast2.Size = Vector3.new(2, 2, 2)
- blast2.TopSurface = "Smooth"
- blast2.BottomSurface = "Smooth"
- blast2.Transparency = 0
- blast2.CFrame = HandCF
- local bm2 = Instance.new("SpecialMesh", blast2)
- bm2.Scale = Vector3.new(6,2,6)
- bm2.MeshId = "rbxassetid://3270017"
- local blast3 = Instance.new("Part", rarm)
- blast3.BrickColor = BrickColor.new("Really black")
- blast3.Anchored = true
- blast3.CanCollide = false
- blast3.Locked = true
- blast3.Size = Vector3.new(1, 1, 1)
- blast3.TopSurface = "Smooth"
- blast3.BottomSurface = "Smooth"
- blast3.Transparency = 0
- blast3.CFrame = HandCF
- local bm3 = Instance.new("SpecialMesh", blast3)
- bm3.Scale = Vector3.new(6,2,6)
- bm3.MeshId = "rbxassetid://3270017"
- for i = 1,120 do rs:wait()
- X.Transparency = X.Transparency + (1/120)
- part.Transparency = part.Transparency + (1/120)
- part2.Transparency = part2.Transparency + (1/120)
- part3.Transparency = part3.Transparency + (1/120)
- part4.Transparency = part4.Transparency + (1/120)
- part5.Transparency = part5.Transparency + (1/120)
- part6.Transparency = part6.Transparency + (1/120)
- part7.Transparency = part7.Transparency + (1/120)
- blast.Transparency = blast.Transparency + (1/120)
- blast2.Transparency = blast2.Transparency + (1/120)
- blast3.Transparency = blast3.Transparency + (1/120)
- X.Size = X.Size + Vector3.new(1.6,1.6,1.6)
- --part3.Size = part3.Size + Vector3.new(6,6,6)
- mesh.Scale = mesh.Scale + Vector3.new(2,.4,2)
- mesh2.Scale = mesh2.Scale + Vector3.new(2.2,.4,2.2)
- mesh3.Scale = mesh3.Scale + Vector3.new(6,6,6)
- mesh4.Scale = mesh4.Scale + Vector3.new(3.4,3.4,3.4)
- mesh5.Scale = mesh5.Scale + Vector3.new(3.2,.4,3.2)
- mesh6.Scale = mesh6.Scale + Vector3.new(4,.4,4)
- mesh7.Scale = mesh7.Scale + Vector3.new(8,8,8)
- bm.Scale = bm.Scale + Vector3.new(12,12,.4)
- bm2.Scale = bm2.Scale + Vector3.new(8,8,.4)
- bm3.Scale = bm3.Scale + Vector3.new(8,8,.4)
- X.CFrame = cf
- part.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2),0)
- part2.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2),0)
- part3.CFrame=X.CFrame
- part4.CFrame=X.CFrame
- part7.CFrame=X.CFrame
- part5.CFrame=X.CFrame * CFrame.Angles(0,math.rad(i*2.6),0)
- part6.CFrame=X.CFrame * CFrame.Angles(0,math.rad(-i*2.4),0)
- blast.CFrame=X.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
- blast2.CFrame=X.CFrame * CFrame.Angles(math.rad(-i*4), math.rad(i*4), math.rad(0))
- blast3.CFrame=X.CFrame * CFrame.Angles(math.rad(180+i*4), math.rad(90-i*4), math.rad(0))
- rs:wait()
- end
- X:Destroy()
- part:Destroy()
- part2:Destroy()
- part3:Destroy()
- part4:Destroy()
- part5:Destroy()
- part6:Destroy()
- blast:Destroy()
- blast2:Destroy()
- blast3:Destroy()
- z:Destroy()
- z1:Destroy()
- z2:Destroy()
- z3:Destroy()
- z4:Destroy()
- end
- end)
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- Blaze()
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "v" then
- Blaze2()
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "x" then
- hum.WalkSpeed = 0.01
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- for i = 1, 30 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- if Debounces.on == false then break end
- rs:wait(6)
- end
- v = Instance.new("Sound")
- v.SoundId = "rbxassetid://435742675"
- v.Parent = char
- v.Looped = false
- v.Pitch = 1
- v.Volume = 18
- wait(.01)
- v:Play()
- if Daytime == true then
- Daytime = false
- l.TimeOfDay = 00
- else
- Daytime = true
- l.TimeOfDay = 12
- l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
- end
- local Shockwave = function()
- local rng1 = Instance.new("Part", char)
- rng1.Anchored = true
- rng1.BrickColor = BrickColor.new("Really black")
- rng1.CanCollide = false
- rng1.FormFactor = 3
- rng1.Name = "Ring"
- rng1.Material = "Neon"
- rng1.Size = Vector3.new(1, 1, 1)
- rng1.Transparency = 0.35
- rng1.TopSurface = 0
- rng1.BottomSurface = 0
- local rngm1 = Instance.new("SpecialMesh", rng)
- rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm1.Scale = Vector3.new(10, 10, 1)
- rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
- local Wave = Instance.new("Part", game.Workspace--[[?]])
- Wave.Name = "Shockwave"
- Wave.BrickColor = BrickColor.new("Really black")
- Wave.Material = "Neon"
- Wave.Size = Vector3.new(1, 1, 1)
- Wave.Shape = "Ball"
- Wave.CanCollide = false
- Wave.Anchored = true
- Wave.TopSurface = 0
- Wave.BottomSurface = 0
- local Wave2 = Instance.new("Part", game.Workspace--[[?]])
- Wave2.Name = "Shockwave2"
- Wave2.BrickColor = TorsoColor
- Wave2.Material = "Neon"
- Wave2.Size = Vector3.new(1, 1, 1)
- Wave2.Shape = "Ball"
- Wave2.CanCollide = false
- Wave2.Anchored = true
- Wave2.TopSurface = 0
- Wave2.BottomSurface = 0
- Wave2.Touched:connect(function(hit)
- if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
- local Occlude = true
- local NotOccludes = {
- char.Name;
- "Wings";
- "Scythe";
- "Thingy";
- "Thingy2"; -- put all of the names in a table pls
- }
- for i,v in pairs(NotOccludes) do
- if hit.Parent.Name == v then
- Occlude = false
- end
- end
- --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
- if Occlude then
- hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
- hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
- end
- end
- end)
- Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
- coroutine.wrap(function()
- for i = 1, 20, 0.2 do
- rngm1.Scale = Vector3.new(10 + i*20, 10 + i*20, 20)
- rng1.Transparency = i/20
- wait()
- end
- wait()
- rng1:Destroy()
- end)()
- Delay(0, function()
- if Daytime == false then
- for i = 3, 50, 1 do
- Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3)
- Wave.CFrame = char.Torso.CFrame
- local t = i / 50
- Wave.Transparency = t
- Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5)
- Wave2.CFrame = char.Torso.CFrame
- local tq = i / 50
- Wave2.Transparency = tq
- wait()
- end
- else
- for i = 3, 50, 1 do
- Wave.Size = Vector3.new(0 + i*3, 0 + i*3, 0 + i*3)
- Wave.CFrame = char.Torso.CFrame
- local t = i / 50
- Wave.Transparency = t
- Wave2.Size = Vector3.new(1 + i*2.5, 1 + i*2.5, 1 + i*2.5)
- Wave2.CFrame = char.Torso.CFrame
- local tq = i / 50
- Wave2.Transparency = tq
- wait()
- end
- end
- Wave:Destroy()
- Wave2:Destroy()
- end)
- Delay(0, function()
- while wait() do
- if Wave ~= nil then
- Wave.CFrame = char.Torso.CFrame
- else
- break
- end
- end
- end)
- end
- Shockwave()
- for i = 1, 30 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- wait(2.4)
- Debounces.NoIdl = false
- hum.WalkSpeed = 16
- Debounces.on = false
- wait()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- v:Destroy()
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- pt = {1, 1.1, 1.2, 1.3, 1.4, 1.5}
- z = Instance.new("Sound", rarm)
- z.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
- z.Volume = 1.25
- z.Pitch = pt[math.random(1,#pt)]
- z.Looped = false
- z:Play()
- Debounces.RPunch = true
- Debounces.LPunch = true
- Debounces.ks = true
- Debounces.ks2 = true
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z2 = Instance.new("Sound", larm)
- z2.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z2.Volume = 1.25
- z2.Pitch = pt[math.random(1,#pt)]
- z2.Looped = false
- z2:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z3 = Instance.new("Sound", rarm)
- z3.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z3.Volume = 1.25
- z3.Pitch = pt[math.random(1,#pt)]
- z3.Looped = false
- z3:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z4 = Instance.new("Sound", larm)
- z4.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z4.Volume = 1.25
- z4.Pitch = pt[math.random(1,#pt)]
- z4.Looped = false
- z4:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z5 = Instance.new("Sound", rarm)
- z5.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z5.Volume = 1.25
- z5.Pitch = pt[math.random(1,#pt)]
- z5.Looped = false
- z5:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- z6 = Instance.new("Sound", larm)
- z6.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z6.Volume = 1.25
- z6.Pitch = pt[math.random(1,#pt)]
- z6.Looped = false
- z6:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z7 = Instance.new("Sound", rarm)
- z7.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
- z7.Volume = 1.25
- z7.Pitch = pt[math.random(1,#pt)]
- z7.Looped = false
- z7:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z8 = Instance.new("Sound", larm)
- z8.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z8.Volume = 1.25
- z8.Pitch = pt[math.random(1,#pt)]
- z8.Looped = false
- z8:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z9 = Instance.new("Sound", rarm)
- z9.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z9.Volume = 1.25
- z9.Pitch = pt[math.random(1,#pt)]
- z9.Looped = false
- z9:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z10 = Instance.new("Sound", larm)
- z10.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z10.Volume = 1.25
- z10.Pitch = pt[math.random(1,#pt)]
- z10.Looped = false
- z10:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z11 = Instance.new("Sound", rarm)
- z11.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z11.Volume = 1.25
- z11.Pitch = pt[math.random(1,#pt)]
- z11.Looped = false
- z11:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- z12 = Instance.new("Sound", larm)
- z12.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z12.Volume = 1.25
- z12.Pitch = pt[math.random(1,#pt)]
- z12.Looped = false
- z12:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z13 = Instance.new("Sound", rarm)
- z13.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z13.Volume = 1.25
- z13.Pitch = pt[math.random(1,#pt)]
- z13.Looped = false
- z13:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z14 = Instance.new("Sound", larm)
- z14.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z14.Volume = 1.25
- z14.Pitch = pt[math.random(1,#pt)]
- z14.Looped = false
- z14:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z15 = Instance.new("Sound", rarm)
- z15.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z15.Volume = 1.25
- z15.Pitch = pt[math.random(1,#pt)]
- z15.Looped = false
- z15:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(110),math.rad(30),math.rad(20)), 0.9)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.9)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.9)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.9)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.9)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.9)
- if Debounces.on == false then break end
- wait()
- end
- z16 = Instance.new("Sound", larm)
- z16.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z16.Volume = 1.25
- z16.Pitch = pt[math.random(1,#pt)]
- z16.Looped = false
- z16:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z17 = Instance.new("Sound", rarm)
- z17.SoundId = "http://www.roblox.com/asset/?id=200633148"--160867463, 161006212
- z17.Volume = 1.25
- z17.Pitch = pt[math.random(1,#pt)]
- z17.Looped = false
- z17:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z18 = Instance.new("Sound", larm)
- z18.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z18.Volume = 1.25
- z18.Pitch = pt[math.random(1,#pt)]
- z18.Looped = false
- z18:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z19 = Instance.new("Sound", rarm)
- z19.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z19.Volume = 1.25
- z19.Pitch = pt[math.random(1,#pt)]
- z19.Looped = false
- z19:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(-20),math.rad(20)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(50)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z20 = Instance.new("Sound", larm)
- z20.SoundId = "http://www.roblox.com/asset/?id=200633148"
- z20.Volume = 1.25
- z20.Pitch = pt[math.random(1,#pt)]
- z20.Looped = false
- z20:Play()
- for i = 1, 3 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(-20)), 0.92)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
- if Debounces.on == false then break end
- wait()
- end
- z:Destroy()
- z2:Destroy()
- z3:Destroy()
- z4:Destroy()
- z5:Destroy()
- z6:Destroy()
- z7:Destroy()
- z8:Destroy()
- z9:Destroy()
- z10:Destroy()
- z11:Destroy()
- z12:Destroy()
- z13:Destroy()
- z14:Destroy()
- z15:Destroy()
- z16:Destroy()
- z17:Destroy()
- z18:Destroy()
- z19:Destroy()
- z20:Destroy()
- Debounces.LPunch = false
- Debounces.RPunch = false
- Debounces.ks = false
- Debounces.ks2 = false
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.on = false
- Debounces.NoIdl = false
- end
- end
- end
- end)
- -------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "t" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- Debounces.ks = true
- kik = rleg.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- --[[if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true]]--
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Volume = 1
- z:Play()
- Debounces.ks=false
- end
- hit:FindFirstChild("Humanoid"):TakeDamage(2)
- hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
- --Debounces.Slashed = false
- --end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- --[[if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true]]--
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
- hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -300
- --Debounces.Slashed = false
- --end
- end
- end
- end
- end)
- for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(90), math.rad(90)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-90)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- kik:disconnect()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "y" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- for i = 1, 15 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,-0.25)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(-35),math.rad(-90)), 0.6)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait(2.7)
- end
- xa = Instance.new("Sound",char)
- xa.SoundId = "rbxassetid://419447292"
- xa.Pitch = 1
- xa.Volume = 2.5
- wait(.1)
- xa:Play()
- Debounces.on = false
- Debounces.Here = false
- shot = shot + 1
- local rng = Instance.new("Part", larm)
- rng.Anchored = true
- rng.BrickColor = TorsoColor
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0.35
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng2 = rng:clone()
- rng3 = rng2:clone()
- rng4 = rng2:clone()
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
- rngm.Scale = Vector3.new(10, 10, 1)
- rngm2 = rngm:clone()
- rngm2.Scale = Vector3.new(5, 5, 3)
- rngm3=rngm2:clone()
- rngm3.Parent = rng3
- rngm3.Scale = Vector3.new(8, 8, 1)
- rngm4 = rngm2:clone()
- rngm4.Parent = rng4
- rngm4.Scale = Vector3.new(6, 6, 1)
- local bem = Instance.new("Part", larm)
- bem.Anchored = true
- bem.BrickColor = BrickColor.new("Really black")
- bem.CanCollide = false
- bem.FormFactor = 3
- bem.Name = "Beam" .. shot
- bem.Size = Vector3.new(1, 1, 1)
- bem.Transparency = 0.35
- bem.Material = "Neon"
- bem.TopSurface = 0
- bem.BottomSurface = 0
- local bemm = Instance.new("SpecialMesh", bem)
- bemm.MeshType = 4
- bemm.Scale = Vector3.new(1, 50, 50)
- local out = Instance.new("Part", larm)
- out.Anchored = true
- out.BrickColor = BrickColor.new("Really black")
- out.CanCollide = false
- out.FormFactor = 3
- out.Name = "Out"
- out.Size = Vector3.new(8, 8, 8)
- out.Transparency = 0.35
- out.TopSurface = 0
- out.BottomSurface = 0
- local outm = Instance.new("SpecialMesh", out)
- outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
- outm.Scale = Vector3.new(12, 8, 12)
- local bnd = Instance.new("Part", larm)
- bnd.Anchored = true
- bnd.BrickColor = BrickColor.new("Really black")
- bnd.CanCollide = false
- bnd.FormFactor = 3
- bnd.Name = "Bend"
- bnd.Size = Vector3.new(1, 1, 1)
- bnd.Transparency = 1
- bnd.TopSurface = 0
- bnd.BottomSurface = 0
- local bndm = Instance.new("SpecialMesh", bnd)
- bndm.MeshType = 3
- bndm.Scale = Vector3.new(16, 16, 16)
- out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0)
- bem.CFrame = out.CFrame * CFrame.new(0, -50, 0) * CFrame.Angles(0, 0, math.rad(90))
- bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
- rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
- rng3.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
- rng4.CFrame = rng.CFrame * CFrame.new(0, -2, 0)
- Debounces.Shewt = true
- coroutine.wrap(function()
- for i = 1, 20, 0.2 do
- rngm.Scale = Vector3.new(20 + i*4, 20 + i*4, 2)
- rngm3.Scale = Vector3.new(16 + i*6, 16 + i*6, 2)
- rngm4.Scale = Vector3.new(12 + i*8, 12 + i*8, 2)
- rng.Transparency = i/20
- rng3.Transparency = 1/24
- rng4.Transparency = i/26
- wait()
- end
- wait()
- rng:Destroy()
- end)()
- if Debounces.Shewt == true then
- larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
- hit = ht.Parent
- if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
- if HasntTouched(hit.Name) == true and deb == false then
- deb = true
- coroutine.wrap(function()
- hit:FindFirstChild("Humanoid").PlatformStand = true
- hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
- end)()
- table.insert(Touche, hit.Name)
- deb = false
- end
- elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
- if HasntTouched(hit.Parent.Name) == true and deb == false then
- deb = true
- coroutine.wrap(function()
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
- hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 275
- wait(1)
- hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
- end)()
- table.insert(Touche, hit.Parent.Name)
- deb = false
- for i, v in pairs(Touche) do
- print(v)
- end
- end
- end
- end)
- end
- for i = 0, 260, 8 do
- bem.Size = Vector3.new(i, 30, 30)
- out.CFrame = larm.CFrame * CFrame.new(0, -5.4, 0)
- bem.CFrame = larm.CFrame * CFrame.new(0, -42 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
- bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
- bnd.Size = Vector3.new(2,2,2)
- bndm.Scale = Vector3.new(16,16,16)
- if i % 10 == 0 then
- local newRng = rng2:Clone()
- newRng.Parent = larm
- newRng.CFrame = larm.CFrame * CFrame.new(0, -8.4-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
- local newRngm = rngm2:clone()
- newRngm.Parent=newRng
- coroutine.wrap(function()
- for i = 1, 10, 0.2 do
- newRngm.Scale = Vector3.new(16 + i*4, 16 + i*4, 6)
- newRng.Transparency = i/10
- wait()
- end
- wait()
- newRng:Destroy()
- end)()
- end
- wait()
- end
- wait()
- Debounces.Shewt = false
- bem:Destroy()
- out:Destroy()
- bnd:Destroy()
- Debounces.Ready = false
- for i, v in pairs(Touche) do
- table.remove(Touche, i)
- end
- wait()
- table.insert(Touche, char.Name)
- Debounces.NoIdl = false
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "h" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.on = true
- Debounces.NoIdl = true
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
- if Debounces.on == false then break end
- rs:wait(2.6)
- end
- Spawn(function()
- local Parts = {}
- for Y = -5,5 do
- local P = Instance.new("Part",char)
- P.Anchored = true
- P.FormFactor = "Custom"
- P.CanCollide = false
- P.Size = Vector3.new(2,4,2)
- P.TopSurface = "SmoothNoOutlines"
- P.BottomSurface = "SmoothNoOutlines"
- P.Material = "Neon"
- P.BrickColor = BrickColor.new("Really black")
- P.Name = tostring(Y)
- local i = (Y+5)/(10)
- i = 1-math.cos(math.pi*i-(math.pi/2))
- P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
- --[[P.Touched:connect(function(ht)
- local hit = ht.Parent
- if hit:FindFirstChild("Humanoid") then
- hit.Humanoid:TakeDamage(math.random(20,50))
- end
- end)]]--
- s = Instance.new("Sound",P)
- s.SoundId = "rbxassetid://228343271"
- s.Volume = 1
- s.Pitch = 0.9
- s:Play()
- sa = Instance.new("Sound",P)
- sa.SoundId = "rbxassetid://419447292"
- sa.Volume = 1
- sa.Pitch = 1
- sa:Play()
- P.Touched:connect(function(ht)
- hit = ht.Parent
- if ht and hit:IsA("Model") then
- if hit:FindFirstChild("Humanoid") then
- if hit.Name ~= p.Name then
- --[[if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true]]--
- hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
- hit:FindFirstChild("Humanoid").PlatformStand = true
- wait(1)
- --Debounces.Slashed = false
- --end
- end
- end
- elseif ht and hit:IsA("Hat") then
- if hit.Parent.Name ~= p.Name then
- if hit.Parent:FindFirstChild("Humanoid") then
- --[[if Debounces.Slashing == true and Debounces.Slashed == false then
- Debounces.Slashed = true]]--
- hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
- hit:FindFirstChild("Humanoid").PlatformStand = true
- wait(1)
- --Debounces.Slashed = false
- --end
- end
- end
- end
- end)
- Parts[#Parts+1] = P
- end
- local BREAKIT = false
- local CParts = {}
- local Rocks = {}
- local LastPos = nil
- for i = 1,70 do
- for i2,v in pairs(Parts) do
- v.CFrame = v.CFrame*CFrame.new(0,0,-4)
- local cf = v.CFrame
- v.Size = v.Size+Vector3.new(0.4,0.35,0)
- v.CFrame = cf
- v.Transparency = v.Transparency+0.02
- if v.Transparency >= 0.975 then BREAKIT = true end
- if v.Name == "0" then
- local Ignore = {}
- for i,v in pairs(game:GetService("Players"):GetPlayers()) do
- if v.Character ~= nil then
- Ignore[#Ignore+1] = v.Character
- end
- end
- local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
- local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
- if Hit ~= nil then
- if #Rocks == 0 then
- for i = 1,5 do
- local P = Instance.new("Part",char)
- Rocks[#Rocks+1] = P
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(2,2,2)*(math.random(500,900)/100)
- end
- end
- for i,P in pairs(Rocks) do
- P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
- end
- local P = Instance.new("Part",char)
- CParts[#CParts+1] = {P,tick()}
- P.Anchored = true
- P.FormFactor = "Custom"
- P.BrickColor = Hit.BrickColor
- P.Material = Hit.Material
- P.TopSurface = "Smooth"
- P.BottomSurface = "Smooth"
- P.Size = Vector3.new(2,2,2)*(math.random(100,300)/100)
- Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
- Pos = Pos.p
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
- local P = P:Clone()
- CParts[#CParts+1] = {P,tick()}
- P.Parent = char
- Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
- Pos = Pos.p
- P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
- if LastPos ~= nil then
- local P = P:Clone()
- CParts[#CParts+1] = {P,tick()}
- P.Parent = char
- P.BrickColor = TorsoColor
- P.Material = "Neon"
- Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
- Pos = Pos.p
- local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
- P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
- --P.Velocity = Vector3.new(0,-1000,0)
- P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
- end
- LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
- end
- end
- end
- if BREAKIT then break end
- wait(0.002)
- end
- for i,v in pairs(Rocks) do
- CParts[#CParts+1] = {v,tick()}
- end
- for i,v in pairs(Parts) do
- v:Destroy()
- end
- Parts = nil
- while true do
- local t = tick()
- local p = nil
- for i,v in pairs(CParts) do
- if t-v[2] > 4 then
- v[1].Transparency = v[1].Transparency+0.05
- if v[1].Transparency >= 1 then
- v[1]:Destroy()
- CParts[i] = nil
- end
- end
- p = v
- end
- if p == nil then break end
- wait(0.002)
- end
- for i,v in pairs(CParts) do
- v:Destroy()
- end
- CParts = {}
- end)
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
- cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
- if Debounces.on == false then break end
- rs:wait(2)
- end
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.on = false
- Debounces.NoIdl = false
- end
- end
- end
- end)
- ----------------------------------------------------
- local orbt={}
- local stlt={}
- local chot={}
- local cfxt={}
- local pfxt={}
- local cns=0
- local cnOrb=nil
- mouse.KeyDown:connect(function(key)
- if key == "u" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- orbt={}
- stlt={}
- chot={}
- cfxt={}
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.6)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
- if Debounces.on == false then end
- rs:wait()
- end
- z2 = Instance.new("Sound",char)
- z2.SoundId = "rbxassetid://489657591"
- z2.Pitch = 1
- z2.Volume = 2
- wait(0.1)
- z2:Play()
- cnOrb=nwPrt(char,Vector3.new(1,1,1),larm.CFrame*CFrame.new(0,-3.4,-0.1),"White")
- debris:AddItem(cnOrb,50)
- cnOrb.Mesh.MeshType=3
- cnOrb.Transparency = 0.5
- table.insert(orbt,cnOrb)
- table.insert(stlt,cnOrb)
- local nt=0
- for i=0,14.75,0.02 do
- nt=nt+1
- cns=i
- if nt>=2 then
- nt=0
- local cho=nwPrt(mod3,Vector3.new(0.2,0.2,0.2),cnOrb.CFrame*CFrame.Angles(math.rad(math.random(-180,180)),math.rad(math.random(-180,180)),math.rad(math.random(-180,180)))*CFrame.new(0,5+cns,0),"White")
- debris:AddItem(cho,1)
- cho.Mesh.MeshType=3
- cho.Transparency = 1
- table.insert(chot,cho)
- end
- cnOrb.CFrame=larm.CFrame*CFrame.new(0,-3.4-(cns/2),-0.1)
- cnOrb.Mesh.Scale=Vector3.new(i,i,i)
- wait()
- end
- for i = 1, 14 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(110),math.rad(-6),math.rad(140)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(80),math.rad(6),math.rad(-40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(30),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.3)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(20), 0, math.rad(-14)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-16), 0, math.rad(8)), 0.2)
- if Debounces.on == false then end
- rs:wait()
- end
- coroutine.wrap(function()
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(70),math.rad(-6),math.rad(-20)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), 0, math.rad(-8)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-6), 0, math.rad(8)), 0.2)
- if Debounces.on == false then end
- rs:wait()
- end
- end)()
- wait(0.1)
- stlt={}
- local ry,ht,ps=newRay(root.CFrame*CFrame.new(0,0,-4),root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)*CFrame.new(0,0,-2),160,{char})
- cnOrb.CFrame=root.CFrame*CFrame.new(0,0,-4)*CFrame.Angles(math.rad(-5),0,0)
- local nt=0
- for i=0,160,3 do
- cnOrb.CFrame=cnOrb.CFrame*CFrame.new(0,0,-3)
- nt=nt+1
- if nt>=6 then
- nt=0
- local cfx=nwPrt(mod3,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,0),"Really black")
- cfx.Mesh.MeshId="rbxassetid://0"
- cfx.Transparency=0.4
- table.insert(cfxt,cfx)
- debris:AddItem(cfx,1)
- end
- if (cnOrb.Position-ps).magnitude<12 then
- break
- end
- wait()
- end
- orbt={}
- for i=0,1,0.1 do
- local cs=cnOrb.Mesh.Scale
- cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i))
- wait()
- end
- local ofx=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"Really black")
- ofx.Transparency=0.5
- ofx.Mesh.MeshType=3
- ofx.Mesh.Scale=Vector3.new(30,30,30)
- for _,v in pairs(game:service"Players":GetChildren()) do
- pcall(function()
- for _,c in pairs(v.Character:GetChildren()) do
- if v~=p and c:IsA("Part") and (cnOrb.CFrame.p-c.CFrame.p).magnitude<120 and (cnOrb.CFrame.p-c.CFrame.p).magnitude>50 then
- local hrp=v.Character:FindFirstChild("HumanoidRootPart")
- hrp.Velocity=CFrame.new(hrp.CFrame.p,(cnOrb.CFrame*CFrame.new(0,10,0)).p).lookVector*2500
- end
- end
- end)
- end
- for i=0,1,0.05 do
- local cs=cnOrb.Mesh.Scale
- cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,0.1,i),Tween(cs.Y,0.1,i),Tween(cs.Z,0.1,i))
- local ofs=ofx.Mesh.Scale
- ofx.Mesh.Scale=Vector3.new(Tween(ofs.X,0.1,i),Tween(ofs.Y,0.1,i),Tween(ofs.Z,0.1,i))
- ofx.Transparency=Tween(ofx.Transparency,1,i)
- wait()
- end
- ofx:Destroy()
- cnOrb.CFrame=CFrame.new(cnOrb.Position)*CFrame.new(0,10,0)
- local cnfx=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black")
- cnfx.Mesh.MeshType=3
- cnOrb.Transparency=0.5
- local cnr=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"Really black")
- cnr.Transparency=0.5
- cnr.Mesh.MeshType=3
- local rn1=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame*CFrame.Angles(math.rad(90),0,0),"White")
- rn1.Transparency=1
- rn1.Mesh.MeshId="rbxassetid://3270017"
- local rn2=nwPrt(cnOrb,Vector3.new(10,10,10),cnOrb.CFrame,"White")
- rn2.Transparency=1
- rn2.Mesh.MeshId="rbxassetid://3270017"
- local rn3=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame*CFrame.Angles(math.rad(-90),0,0),"White")
- rn3.Transparency=1
- rn3.Mesh.MeshId="rbxassetid://3270017"
- local rn4=nwPrt(cnOrb,Vector3.new(100,100,100),cnOrb.CFrame,"White")
- rn4.Transparency=1
- rn4.Mesh.MeshId="rbxassetid://3270017"
- local rn5=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White")
- rn5.Transparency=1
- rn5.Mesh.MeshId="rbxassetid://3270017"
- local rn6=nwPrt(cnOrb,Vector3.new(200,200,100),cnOrb.CFrame,"White")
- rn6.Transparency=1
- rn6.Mesh.MeshId="rbxassetid://3270017"
- local nt=0
- local cs=nil
- z4 = Instance.new("Sound",char)
- z4.SoundId = "rbxassetid://419447292"
- z4.Pitch = 1
- z4.Volume = 10
- wait(0.1)
- z4:Play()
- z3 = Instance.new("Sound",char)
- z3.SoundId = "rbxassetid://421328847"
- z3.Pitch = 1
- z3.Volume = 10
- wait(0.1)
- z3:Play()
- for i=0,1,0.05 do
- cs=cnOrb.Mesh.Scale
- cnOrb.Mesh.Scale=Vector3.new(Tween(cs.X,100,i),Tween(cs.Y,100,i),Tween(cs.Z,100,i))
- local fs=cnfx.Mesh.Scale
- cnfx.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,120,i))
- cnfx.Transparency=cnfx.Transparency+0.05
- rn1.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i))
- rn2.Mesh.Scale=Vector3.new(Tween(fs.X,120,i),Tween(fs.Y,120,i),Tween(fs.Z,60,i))
- rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3))
- rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(6),math.rad(3))
- rn1.Transparency=Tween(rn1.Transparency,0.8,i)
- rn2.Transparency=Tween(rn2.Transparency,0.8,i)
- rn3.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i))
- rn4.Mesh.Scale=Vector3.new(Tween(fs.X,1200,i),Tween(fs.Y,1200,i),Tween(fs.Z,600,i))
- rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3))
- rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-6),math.rad(-3))
- rn3.Transparency=Tween(rn1.Transparency,0.8,i)
- rn4.Transparency=Tween(rn2.Transparency,0.8,i)
- rn5.Transparency=Tween(rn2.Transparency,0.25,i)
- rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(-20),math.rad(-18),math.rad(-9))
- rn5.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i))
- rn6.Transparency=Tween(rn2.Transparency,0.25,i)
- rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(20),math.rad(18),math.rad(9))
- rn6.Mesh.Scale=Vector3.new(Tween(fs.X,2400,i),Tween(fs.Y,2400,i),Tween(fs.Z,1200,i))
- local rs=cnr.Mesh.Scale
- cnr.Mesh.Scale=Vector3.new(Tween(rs.X,10,i),Tween(rs.Y,10,i),Tween(rs.Z,10,i))
- nt=nt+1
- if nt>=6 then
- local pls={}
- for _,v in pairs(game.Players:GetChildren()) do
- table.insert(pls,v)
- end
- local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls)
- local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White")
- pffx.Mesh.MeshId="rbxassetid://0"
- pffx.Mesh.Scale=Vector3.new(cs.X,cs.Y/5,cs.Z)
- debris:AddItem(pffx,2)
- table.insert(pfxt,pffx)
- nt=0
- end
- wait()
- end
- local int=0
- coroutine.wrap(function()
- for i=1,500 do
- rn1.CFrame=rn1.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5))
- rn2.CFrame=rn2.CFrame*CFrame.Angles(math.rad(10),math.rad(5),math.rad(5))
- rn3.CFrame=rn3.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5))
- rn4.CFrame=rn4.CFrame*CFrame.Angles(math.rad(-10),math.rad(-5),math.rad(-5))
- rn5.CFrame=rn5.CFrame*CFrame.Angles(math.rad(5),math.rad(5),math.rad(5))
- rn6.CFrame=rn6.CFrame*CFrame.Angles(math.rad(-5),math.rad(-5),math.rad(-5))
- nt=nt+1
- int=int+1
- local htd={p}
- for _,v in pairs(game:service"Players":GetChildren()) do
- pcall(function()
- for _,c in pairs(v.Character:GetChildren()) do
- if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
- v.Character:FindFirstChild("Humanoid").Health=v.Character:FindFirstChild("Humanoid").Health-2
- v.Character:FindFirstChild("HumanoidRootPart").Velocity=Vector3.new(0,0,0)
- table.insert(htd,v)
- end
- end
- end)
- end
- htd={p}
- if int>=6 then
- for _,v in pairs(game:service"Players":GetChildren()) do
- pcall(function()
- for _,c in pairs(v.Character:GetChildren()) do
- if c:IsA("Part") and not inT(v,htd) and (cnOrb.CFrame.p-c.CFrame.p).magnitude<50 then
- table.insert(htd,v)
- local hfx=nwPrt(mod3,Vector3.new(1,1,1),c.CFrame*CFrame.new(math.random(-2,2),math.random(-2,2),math.random(-2,2)),"White")
- hfx.Mesh.Scale=Vector3.new(2,2,2)
- hfx.Mesh.MeshType=3
- debris:AddItem(hfx,2)
- coroutine.wrap(function()
- pcall(function()
- for i=0,1,0.05 do
- pcall(function()
- local hs=hfx.Mesh.Scale
- hfx.CFrame=Lerp(hfx.CFrame,cnOrb.CFrame,i)
- hfx.Mesh.Scale=Vector3.new(Tween(hs.X,0.1,i),Tween(hs.Y,0.1,i),Tween(hs.Z,0.1,i))
- end)
- wait()
- end
- hfx:Destroy()
- end)
- end)()
- end
- end
- end)
- end
- int=0
- end
- if nt>=4 then
- local pls={}
- for _,v in pairs(game.Players:GetChildren()) do
- table.insert(pls,v)
- end
- local ry2,ht2,ps2=newRay(cnOrb.CFrame,cnOrb.CFrame*CFrame.new(0,-1,0),1000,pls)
- local pffx=nwPrt(mod3,Vector3.new(1,1,1),CFrame.new(ps2)*CFrame.new(0,10,-12),"White")
- pffx.Transparency=0.4
- pffx.Mesh.MeshId="rbxassetid://0"
- pffx.Mesh.Scale=Vector3.new(cs.X-10,cs.Y/5,cs.Z-10)
- debris:AddItem(pffx,2)
- table.insert(pfxt,pffx)
- nt=0
- end
- wait()
- end
- cnOrb:Destroy()
- cnfx:Destroy()
- for _,v in pairs(mod3:GetChildren()) do
- v:Destroy()
- end
- orbt={}
- stlt={}
- chot={}
- cfxt={}
- pfxt={}
- end)()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- --[[mouse.KeyDown:connect(function(key)
- if key == "y" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- local shell = Instance.new("Part",torso)
- shell.BrickColor = TorsoColor
- shell.Anchored = false
- shell.CanCollide = false
- shell.Locked = true
- shell.TopSurface = "SmoothNoOutlines"
- shell.BottomSurface = "SmoothNoOutlines"
- shell.Size = Vector3.new(1.2,1.2,1.2)
- shell.FormFactor = 3
- local shellm = Instance.new("SpecialMesh",shell)
- shellm.MeshType = "Sphere"
- shellm.Scale = Vector3.new(1.2,1.2,1.2)
- Omega = function()
- local X = Instance.new("Part",char)
- local O = Instance.new("ObjectValue",X)
- O.Name = "creator"
- X.Locked = true
- X.Name = "Shell"
- X.Anchored = false
- X.CanCollide = false
- X.Transparency = 0.5
- X.Reflectance = 0
- X.BottomSurface = 0
- X.TopSurface = 0
- X.Shape = 0
- local V = Instance.new("ObjectValue",X)
- V.Value = char
- V.Name = "creator"
- X.BrickColor = TorsoColor
- X.Size = Vector3.new(40,40,40)
- --X.Material = "Neon"
- local Z = Instance.new("SpecialMesh",X)
- Z.MeshType = "Sphere"
- Z.Scale = Vector3.new(0.2,0.2,0.2)
- X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
- local bv = Instance.new("BodyVelocity",X)
- bv.maxForce = Vector3.new(99999,99999,99999)
- X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
- bv.velocity = root.CFrame.lookVector*10
- Explode = X.Touched:connect(function(hit)
- if hit ~= char and hit.Name ~= "Shell" and hit ~= X and hit:IsA("Part") or hit:IsA("BasePart}") then
- local cf = X.CFrame
- bv:Destroy()
- X.Anchored = true
- Z:Remove()
- Explode:disconnect()
- X.Size = Vector3.new(3,3,3)
- X.Touched:connect(function(hit) end)
- X.CanCollide = false
- for i,v in pairs(FindNearestTorso(X.CFrame.p,200))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(80,120))
- end
- end
- for i = 1, (40) do rs:wait()
- X.Transparency = X.Transparency + (1/40)
- X.Size = X.Size + Vector3.new(1,1,1)
- X.CFrame = root.CFrame * CFrame.new(0,0,-10)
- end
- X:Destroy()
- end
- end)
- end
- for i = 1,200 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.03)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1,30 do
- shell.CFrame = torso.CFrame * CFrame.new(0,8,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(170)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.62,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-170)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1,40 do
- shell.CFrame = torso.CFrame * CFrame.new(0,20,0)
- shell.Size = shell.Size + Vector3.new(1,1,1)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(100)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-100)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1,40 do
- shell.CFrame = torso.CFrame * CFrame.new(0,0,-30)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(20)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.6,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1,60 do
- shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-30)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- for i = 1,60 do
- shell.CFrame = torso.CFrame * CFrame.new(0,0,-60)
- shell.Size = shell.Size + Vector3.new(1,1,1)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(120)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.64,0)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-120)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(0)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)]]--
- ----------------------------------------------------
- Charging = false
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- if Charging == false then
- Charging = true
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.65,-.4)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, .4, -0.8) * CFrame.Angles(math.rad(-6), math.rad(0), math.rad(0)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- --[[for i = 1,20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(-20),math.rad(50)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(20),math.rad(-50)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(34),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(-10)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, math.rad(10)), 0.4)
- if Debounces.on == false then break end
- rs:wait()
- end]]--
- xay = Instance.new("Sound",char)
- xay.SoundId = "rbxassetid://419447292"
- xay.Pitch = 1
- xay.Volume = 2.5
- xay:Play()
- pt=Instance.new('Part',torso)
- pt.Anchored=true
- pt.CanCollide=false
- pt.Locked = true
- pt.FormFactor='Custom'
- pt.Size=Vector3.new(1,1,1)
- pt.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt.Transparency=.6
- pt.BrickColor=BrickColor.new('Really black')
- msh=Instance.new('SpecialMesh',pt)
- msh.MeshId='http://www.roblox.com/asset/?id=20329976'
- msh.Scale=Vector3.new(8,4,8)
- pt2=pt:clone()
- pt2.Parent = torso
- pt2.CFrame=root.CFrame*CFrame.new(0,-1,0)
- pt2.BrickColor=TorsoColor
- msh2=msh:clone()
- msh2.Parent=pt2
- msh2.Scale=Vector3.new(10,5,10)
- custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
- bl = Instance.new("Part", char)
- bl.Locked = true
- bl.Name = "Shell"
- bl.BrickColor = BrickColor.new("Really black")
- bl.Anchored = true
- bl.CanCollide = false
- bl.Transparency = 0
- bl.Reflectance = 0
- bl.BottomSurface = 0
- bl.TopSurface = 0
- bl.Shape = 0
- blm = Instance.new("SpecialMesh",bl)
- blm.MeshType = "Sphere"
- blm.Scale = Vector3.new(1,1,1)
- blm.MeshId = "rbxassetid://9982590"
- bl2 = Instance.new("Part", char)
- bl2.Locked = true
- bl2.Name = "Shella"
- bl2.BrickColor = BrickColor.new("Really black")
- bl2.Anchored = true
- bl2.CanCollide = false
- bl2.Transparency = 0
- bl2.Reflectance = 0
- bl2.BottomSurface = 0
- bl2.TopSurface = 0
- bl2.Shape = 0
- blm2 = Instance.new("SpecialMesh",bl2)
- blm2.MeshType = "Sphere"
- blm2.Scale = Vector3.new(1,1,1)
- blm2.MeshId = "rbxassetid://9982590"
- coroutine.resume(coroutine.create(function()
- for i=1, math.huge, 4 do
- if Charging == true then
- rs:wait()
- bl.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
- blm.Scale = blm.Scale + Vector3.new(15, 15, 15)
- bl.Transparency = bl.Transparency + 0.075
- bl2.CFrame = root.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i/10), math.rad(-i/10), math.rad(i/10))
- blm2.Scale = blm2.Scale + Vector3.new(5, 5, 5)
- bl2.Transparency = bl2.Transparency + 0.025
- pt.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(i*2),0)
- pt2.CFrame = root.CFrame*CFrame.new(0,-1,0) * CFrame.Angles(0,math.rad(-i*2),0)
- msh.Scale = msh.Scale + Vector3.new(5,2.5,5)
- msh2.Scale = msh2.Scale + Vector3.new(10,5,10)
- elseif Charging == false then break
- end
- end
- end))
- repeat
- local p = Instance.new('Part',torso)
- p.formFactor = 'Custom'
- p.Size = Vector3.new(1,1,1)
- p.BrickColor = workspace.Base.BrickColor
- p.CanCollide = false
- p.Transparency = 0
- p.Anchored = true
- p.Locked=true
- p.Material = workspace.Base.Material
- s = math.random(1,40)/10
- local m = Instance.new("BlockMesh",p)
- m.Scale = Vector3.new(s,s,s)
- p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
- --[[coroutine.wrap(function()
- wait(2)
- while Charging == true do
- wait(2)
- GroundWave1()
- wait(2)
- end
- end)()]]--
- Spawn(function()
- while rs:wait() do
- if Charging == true then
- rarm.Weld.C0 = CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(-30,-20)),math.rad(math.random(30,50)))
- larm.Weld.C0 = CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(math.random(-36,-20)),math.rad(math.random(20,30)),math.rad(math.random(-50,-30)))
- hed.Weld.C0 = CFrame.new(0,1.5,.1)*CFrame.Angles(math.rad(math.random(26,34)),math.rad(math.random(-5,5)),math.rad(0))
- torso.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), math.rad(math.random(-4,4)), math.rad(0))
- lleg.Weld.C0 = CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(10,20)), math.rad(math.random(-20,-10)))
- rleg.Weld.C0 = CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(math.random(-10,-6)), math.rad(math.random(-20,-10)), math.rad(math.random(10,20)))
- elseif Charging == false then break
- end
- end
- end)
- Spawn(function()
- while rs:wait() do
- if p.Transparency >= 1 then p:Destroy() break end
- p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
- p.Transparency = p.Transparency+0.01
- end
- end)
- wait(.3)
- until Charging == false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyUp:connect(function(key)
- if key == "r" then
- if Charging == true then
- Charging = false
- pt:Destroy()
- pt2:Destroy()
- bl:Destroy()
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if key == "g" then
- if Debounces.CanAttack == true then
- Debounces.CanAttack = false
- Debounces.NoIdl = true
- Debounces.on = true
- local shell = Instance.new("Part",torso)
- shell.BrickColor = TorsoColor
- shell.Anchored = true
- shell.CanCollide = false
- shell.Locked = true
- shell.TopSurface = "SmoothNoOutlines"
- shell.BottomSurface = "SmoothNoOutlines"
- shell.Size = Vector3.new(1,1,1)
- shellm = Instance.new("SpecialMesh",shell)
- shellm.MeshType = "Sphere"
- shellm.Scale = Vector3.new(1,1,1)
- local shell2 = Instance.new("Part",torso)
- shell2.BrickColor = TorsoColor
- shell2.Anchored = true
- shell2.CanCollide = false
- shell2.Locked = true
- shell2.TopSurface = "SmoothNoOutlines"
- shell2.BottomSurface = "SmoothNoOutlines"
- shell2.Size = Vector3.new(1,1,1)
- shellm2 = Instance.new("SpecialMesh",shell2)
- shellm2.MeshType = "Sphere"
- shellm2.Scale = Vector3.new(1,1,1)
- function FindNearestTorso(Position,Distance,SinglePlayer)
- if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
- local List = {}
- for i,v in pairs(workspace:GetChildren())do
- if v:IsA("Model")then
- if v:findFirstChild("Torso")then
- if v ~= char then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- end
- Shell = function()
- local X = Instance.new("Part",char)
- local O = Instance.new("ObjectValue",X)
- O.Name = "creator"
- X.Locked = true
- X.Name = "Shell"
- X.Anchored = false
- X.CanCollide = false
- X.Transparency = 0
- X.Reflectance = 0
- X.BottomSurface = 0
- X.TopSurface = 0
- X.Shape = 0
- local V = Instance.new("ObjectValue",X)
- V.Value = char
- V.Name = "creator"
- X.BrickColor = TorsoColor
- X.Size = Vector3.new(1,1,1)
- --X.Material = "Neon"
- local Z = Instance.new("SpecialMesh",X)
- Z.MeshType = "Sphere"
- Z.Scale = Vector3.new(1,1,1)
- X.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
- local bv = Instance.new("BodyVelocity",X)
- bv.maxForce = Vector3.new(99999,99999,99999)
- X.CFrame = CFrame.new(X.Position,root.CFrame.lookVector*10)
- bv.velocity = root.CFrame.lookVector*65
- Explode = X.Touched:connect(function(hit)
- if hit ~= char and hit.Name ~= "Shell" and hit:IsA("Part") or hit:IsA("BasePart}") then
- local cf = X.CFrame
- bv:Destroy()
- X.Anchored = true
- Z:Remove()
- Explode:disconnect()
- X.Size = Vector3.new(3,3,3)
- X.Touched:connect(function(hit) end)
- X.CanCollide = false
- for i,v in pairs(FindNearestTorso(X.CFrame.p,40))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(6,12))
- end
- end
- for i = 1, (40) do rs:wait()
- X.Transparency = X.Transparency + (1/40)
- X.Size = X.Size + Vector3.new(1,1,1)
- X.CFrame = cf
- end
- X:Destroy()
- end
- end)
- end
- Shell()
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 0
- shell2.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell2.Transparency = 0
- shell.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 0
- shell2.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell2.Transparency = 0
- shell.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 0
- shell2.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.5)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell2.Transparency = 0
- shell.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 0
- shell2.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell2.Transparency = 0
- shell.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 0
- shell2.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell2.Transparency = 0
- shell.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- Shell()
- shell.Transparency = 0
- shell2.Transparency = 1
- for i = 1, 10 do
- shell.CFrame = rarm.CFrame * CFrame.new(0,-1,0)
- shell2.CFrame = larm.CFrame * CFrame.new(0,-1,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(50),0), 0.7)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.7)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.7)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(20)), 0.7)
- if Debounces.on == false then break end
- rs:wait()
- end
- shell.Transparency = 1
- if Debounces.CanAttack == false then
- Debounces.CanAttack = true
- Debounces.NoIdl = false
- Debounces.on = false
- end
- end
- end
- end)
- ----------------------------------------------------
- Search = false
- mouse.KeyDown:connect(function(key)
- if key == "n" then
- if Search == false then
- Search = true
- for i,v in pairs(game.Players:getPlayers()) do
- if v.Name~=char.Name then
- for j,k in pairs(v.Character:GetChildren()) do
- if k:IsA("BasePart") and k.Transparency >= 1 then
- bawx=Instance.new("SelectionBox",cam)
- bawx.Color = BrickColor.new("Bright red")
- bawx.Transparency = .5
- bawx.Adornee = k
- end
- end
- end
- end
- elseif Search == true then
- Search = false
- for i, v in pairs(cam:GetChildren()) do
- if v:IsA("SelectionBox") then
- v:Destroy()
- end
- end
- end
- end
- end)
- ----------------------------------------------------
- Grab = false
- mouse.KeyDown:connect(function(key)
- if key == "z" then
- Debounces.on = true
- Debounces.NoIdl = true
- Debounces.ks = true
- if Grab == false then
- gp = nil
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(110)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-110)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- con1=larm.Touched:connect(function(hit) -- this is grab
- ht = hit.Parent
- hum1=ht:FindFirstChild('Humanoid')
- if hum1 ~= nil then
- if Debounces.ks==true then
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Volume = 1
- z:Play()
- Debounces.ks=false
- end
- hum1.PlatformStand=true
- gp = ht
- Grab = true
- asd=weld5(root,ht:FindFirstChild("Torso"),CFrame.new(0,0,-2.4),CFrame.new(0,0,0))
- asd.Parent = larm
- asd.Name = "asd"
- asd.C0=asd.C0*CFrame.Angles(math.rad(0),math.rad(180),0)
- --[[elseif hum1 == nil then
- con1:disconnect()
- wait() return]]--
- end
- end)
- for i = 1, 20 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.65,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(40)), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- if hum1 == nil then
- Debounces.on = false
- Debounces.NoIdl = false
- end
- con1:disconnect()
- elseif Grab == true then
- Grab = false
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.4,-.5)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-50)), 0.7)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-110)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.6)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- Punch()
- z = Instance.new("Sound",hed)
- z.SoundId = "rbxassetid://169380525"
- z.Pitch = ptz[math.random(1,#ptz)]
- z.Volume = 1
- z:Play()
- for i = 1, 10 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.7,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(110)), 0.6)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.7,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(20)), 0.7)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-90),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(90), 0), 0.65)
- 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.2)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
- if Debounces.on == false then break end
- rs:wait()
- end
- con1:disconnect()
- Debounces.on = false
- Debounces.NoIdl = false
- if gp ~= nil then
- gp:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 140
- for i,v in pairs(larm:GetChildren()) do
- if v.Name == "asd" and v:IsA("Weld") then
- v:Remove()
- end
- end
- --[[bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
- bv.maxForce = Vector3.new(400000, 400000, 400000)
- bv.P = 125000
- bv.velocity = char.Head.CFrame.lookVector * 200]]--
- hum1=nil
- ht=nil
- Debounces.on = false
- Debounces.NoIdl = false
- elseif ht == nil then wait()
- Grab = false
- Debounces.on = false
- Debounces.NoIdl = false
- end
- end
- end
- end)
- ----------------------------------------------------
- pr = Instance.new("Part",hed)
- pr.BrickColor = BrickColor.new("Dark grey")
- pr.Material = "Metal"
- pr.Reflectance = 0.04
- pr.Anchored = false
- pr.CanCollide = false
- pr.Archivable = false
- pr.Locked = true
- pr.Size = Vector3.new(2,0.8,1)
- prm = Instance.new("SpecialMesh",pr)
- prm.MeshType = "FileMesh"
- prm.MeshId = "rbxassetid://188004660"
- prm.Scale = Vector3.new(1,1,1)
- newWeld(hed, pr, 0, 0.35, 0)
- pr.Weld.C1 = CFrame.new(0,0,0)
- --Torso
- m3 = Instance.new("Model")
- m3.Name = "Torso"
- p1 = Instance.new("Part", m3)
- p1.BrickColor = BrickColor.new("Re")
- p1.Material = Enum.Material.Metal
- p1.Name = "TorsoPlate"
- p1.CFrame = CFrame.new(0, 3.10002589, 0.50000006, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- p1.CanCollide = false
- p1.Locked = true
- p1.FormFactor = Enum.FormFactor.Custom
- p1.Size = Vector3.new(0, 0, 0)
- p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b1 = Instance.new("SpecialMesh", p1)
- b1.MeshType = Enum.MeshType.Brick
- b1.Name = "Mesh"
- b1.Scale = Vector3.new(1, 1.01999998, 1.01999998)
- p2 = Instance.new("Part", m3)
- p2.BrickColor = BrickColor.new("Really black")
- p2.Material = Enum.Material.Metal
- p2.CFrame = CFrame.new(-0.450000942, 4.05002356, -0.100002818, -0.685070276, 0.686094284, 0.244853854, 0.616745472, 0.367372453, 0.696177125, 0.387690574, 0.627942622, -0.674821496)
- p2.CanCollide = false
- p2.Locked = true
- p2.FormFactor = Enum.FormFactor.Custom
- p2.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b2 = Instance.new("SpecialMesh", p2)
- b2.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b2.TextureId = ""
- b2.MeshType = Enum.MeshType.FileMesh
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p10 = Instance.new("Part", m3)
- p10.BrickColor = BrickColor.new("Black")
- p10.Material = Enum.Material.Metal
- p10.CFrame = CFrame.new(0, 2.05002642, 0.539999843, 1, 0, 0, 0, -4.37113883e-008, 1, 0, -1, -4.37113883e-008)
- p10.CanCollide = false
- p10.Locked = true
- p10.FormFactor = Enum.FormFactor.Custom
- p10.Size = Vector3.new(2, 1.0200001, 0.239999995)
- p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b10 = Instance.new("SpecialMesh", p10)
- b10.MeshType = Enum.MeshType.Brick
- b10.Name = "Mesh"
- b10.Scale = Vector3.new(1, 1.01999998, 1.01999998)
- p11 = Instance.new("Part", m3)
- p11.BrickColor = BrickColor.new("Really black")
- p11.Material = Enum.Material.Metal
- p11.CFrame = CFrame.new(0.499999523, 4.05002451, -0.0499982014, 1.00000024, -8.94069672e-008, -1.78813934e-007, -2.98023224e-008, 0.906307817, -0.422618449, -2.23517418e-007, 0.42261821, 0.906307697)
- p11.CanCollide = false
- p11.Locked = true
- p11.FormFactor = Enum.FormFactor.Custom
- p11.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b11 = Instance.new("SpecialMesh", p11)
- b11.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b11.TextureId = ""
- b11.MeshType = Enum.MeshType.FileMesh
- b11.Name = "Mesh"
- b11.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p12 = Instance.new("Part", m3)
- p12.BrickColor = BrickColor.new("Really black")
- p12.Material = Enum.Material.Metal
- p12.Transparency = 1
- p12.Name = "Chain2Torso"
- p12.CFrame = CFrame.new(0.0500000007, 3.35002589, 0.0200020671, -4.37113883e-008, -1, 0, -4.37113883e-008, 1.91068547e-015, -1, 1, -4.37113883e-008, -4.37113883e-008)
- p12.CanCollide = false
- p12.Locked = true
- p12.FormFactor = Enum.FormFactor.Custom
- p12.Size = Vector3.new(0.699999988, 0.300000012, 0.300000012)
- b12 = Instance.new("SpecialMesh", p12)
- b12.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b12.TextureId = ""
- b12.MeshType = Enum.MeshType.FileMesh
- b12.Name = "Mesh"
- b12.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p13 = Instance.new("Part", m3)
- p13.BrickColor = BrickColor.new("Really black")
- p13.Material = Enum.Material.Metal
- p13.CFrame = CFrame.new(-0.700000763, 4.25002289, 0.349998087, -0.606457233, -0.374239564, 0.70153743, -0.641863465, -0.290311694, -0.709739804, 0.469277143, -0.880717754, -0.0641489923)
- p13.CanCollide = false
- p13.Locked = true
- p13.FormFactor = Enum.FormFactor.Custom
- p13.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b13 = Instance.new("SpecialMesh", p13)
- b13.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b13.TextureId = ""
- b13.MeshType = Enum.MeshType.FileMesh
- b13.Name = "Mesh"
- b13.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p14 = Instance.new("Part", m3)
- p14.BrickColor = BrickColor.new("Really black")
- p14.Material = Enum.Material.Metal
- p14.CFrame = CFrame.new(-0.0500002243, 3.50002766, -0.150001988, -0.331867754, 0.457445055, -0.824989557, 0.877285957, -0.171802372, -0.448166817, -0.346746802, -0.87248385, -0.344294399)
- p14.CanCollide = false
- p14.Locked = true
- p14.FormFactor = Enum.FormFactor.Custom
- p14.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b14 = Instance.new("SpecialMesh", p14)
- b14.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b14.TextureId = ""
- b14.MeshType = Enum.MeshType.FileMesh
- b14.Name = "Mesh"
- b14.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p15 = Instance.new("Part", m3)
- p15.BrickColor = BrickColor.new("Really black")
- p15.Material = Enum.Material.Metal
- p15.CFrame = CFrame.new(0.199999034, 3.55002332, -0.150001839, -0.0627828911, -0.802308202, -0.593599737, 0.678633273, -0.470427632, 0.564052343, -0.731789052, -0.367423117, 0.57400763)
- p15.CanCollide = false
- p15.Locked = true
- p15.FormFactor = Enum.FormFactor.Custom
- p15.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b15 = Instance.new("SpecialMesh", p15)
- b15.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b15.TextureId = ""
- b15.MeshType = Enum.MeshType.FileMesh
- b15.Name = "Mesh"
- b15.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p16 = Instance.new("Part", m3)
- p16.BrickColor = BrickColor.new("Really black")
- p16.Material = Enum.Material.Metal
- p16.CFrame = CFrame.new(0.349999189, 3.70002842, -0.150001973, 0.994292557, 0.0709807873, 0.0796526894, -0.0587368309, 0.987431884, -0.146726117, -0.0890666768, 0.141209915, 0.985964835)
- p16.CanCollide = false
- p16.Locked = true
- p16.FormFactor = Enum.FormFactor.Custom
- p16.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b16 = Instance.new("SpecialMesh", p16)
- b16.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b16.TextureId = ""
- b16.MeshType = Enum.MeshType.FileMesh
- b16.Name = "Mesh"
- b16.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p17 = Instance.new("Part", m3)
- p17.BrickColor = BrickColor.new("Really black")
- p17.Material = Enum.Material.Metal
- p17.CFrame = CFrame.new(-0.200000346, 3.70002747, -0.150002211, 0.964791715, 0.0184034109, -0.262370646, -0.0587368906, 0.987431884, -0.146726027, 0.256372869, 0.156970888, 0.953746974)
- p17.CanCollide = false
- p17.Locked = true
- p17.FormFactor = Enum.FormFactor.Custom
- p17.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b17 = Instance.new("SpecialMesh", p17)
- b17.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b17.TextureId = ""
- b17.MeshType = Enum.MeshType.FileMesh
- b17.Name = "Mesh"
- b17.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p18 = Instance.new("Part", m3)
- p18.BrickColor = BrickColor.new("Really black")
- p18.Material = Enum.Material.Metal
- p18.CFrame = CFrame.new(-0.35000062, 3.85002661, -0.150002271, 0.407530367, -0.427938014, 0.806714416, 0.0989350602, 0.898891687, 0.426855773, -0.907816589, -0.0941444039, 0.40866372)
- p18.CanCollide = false
- p18.Locked = true
- p18.FormFactor = Enum.FormFactor.Custom
- p18.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b18 = Instance.new("SpecialMesh", p18)
- b18.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b18.TextureId = ""
- b18.MeshType = Enum.MeshType.FileMesh
- b18.Name = "Mesh"
- b18.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p19 = Instance.new("Part", m3)
- p19.BrickColor = BrickColor.new("Really black")
- p19.Material = Enum.Material.Metal
- p19.CFrame = CFrame.new(0.599999547, 4.25002337, 1.49011612e-008, 0.450589776, 0.596651912, -0.664060116, 0.322663993, 0.584720135, 0.744305372, 0.832379937, -0.549644768, 0.0709509254)
- p19.CanCollide = false
- p19.Locked = true
- p19.FormFactor = Enum.FormFactor.Custom
- p19.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b19 = Instance.new("SpecialMesh", p19)
- b19.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b19.TextureId = ""
- b19.MeshType = Enum.MeshType.FileMesh
- b19.Name = "Mesh"
- b19.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p20 = Instance.new("Part", m3)
- p20.BrickColor = BrickColor.new("Really black")
- p20.Material = Enum.Material.Metal
- p20.CFrame = CFrame.new(0.449999154, 3.90002728, -0.150000244, 0.148452312, 0.508259773, -0.848312676, -0.212012291, 0.85422945, 0.474703223, 0.965925753, 0.109381542, 0.234569833)
- p20.CanCollide = false
- p20.Locked = true
- p20.FormFactor = Enum.FormFactor.Custom
- p20.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b20 = Instance.new("SpecialMesh", p20)
- b20.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b20.TextureId = ""
- b20.MeshType = Enum.MeshType.FileMesh
- b20.Name = "Mesh"
- b20.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p21 = Instance.new("Part", m3)
- p21.BrickColor = BrickColor.new("Really black")
- p21.Material = Enum.Material.Metal
- p21.CFrame = CFrame.new(0.699999869, 4.25002337, 0.200001985, -0.0996009707, 0.981125295, 0.165750414, -0.142243966, -0.178907469, 0.973529041, 0.98480773, 0.0733870864, 0.157378286)
- p21.CanCollide = false
- p21.Locked = true
- p21.FormFactor = Enum.FormFactor.Custom
- p21.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b21 = Instance.new("SpecialMesh", p21)
- b21.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b21.TextureId = ""
- b21.MeshType = Enum.MeshType.FileMesh
- b21.Name = "Mesh"
- b21.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p22 = Instance.new("Part", m3)
- p22.BrickColor = BrickColor.new("Really black")
- p22.Material = Enum.Material.Metal
- p22.CFrame = CFrame.new(0.69999975, 4.25002289, 0.450001955, -0.167731196, 0.167446673, 0.971508265, 0.0449438766, -0.983146012, 0.17721194, 0.984807789, 0.0733873621, 0.157378122)
- p22.CanCollide = false
- p22.Locked = true
- p22.FormFactor = Enum.FormFactor.Custom
- p22.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b22 = Instance.new("SpecialMesh", p22)
- b22.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b22.TextureId = ""
- b22.MeshType = Enum.MeshType.FileMesh
- b22.Name = "Mesh"
- b22.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p23 = Instance.new("Part", m3)
- p23.BrickColor = BrickColor.new("Really black")
- p23.Material = Enum.Material.Metal
- p23.CFrame = CFrame.new(0.699999511, 4.25002289, 0.700001478, 0.0593914539, -0.993999004, 0.0918651819, 0.163175613, -0.0811224878, -0.98325628, 0.984807849, 0.0733875483, 0.157378405)
- p23.CanCollide = false
- p23.Locked = true
- p23.FormFactor = Enum.FormFactor.Custom
- p23.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b23 = Instance.new("SpecialMesh", p23)
- b23.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b23.TextureId = ""
- b23.MeshType = Enum.MeshType.FileMesh
- b23.Name = "Mesh"
- b23.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p24 = Instance.new("Part", m3)
- p24.BrickColor = BrickColor.new("Really black")
- p24.Material = Enum.Material.Metal
- p24.CFrame = CFrame.new(0.699999452, 4.25002289, 0.900001347, -0.197025463, -0.431517303, 0.880326331, 0.133022487, -0.90138948, -0.412070453, 0.971332312, 0.0359149873, 0.234997824)
- p24.CanCollide = false
- p24.Locked = true
- p24.FormFactor = Enum.FormFactor.Custom
- p24.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b24 = Instance.new("SpecialMesh", p24)
- b24.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b24.TextureId = ""
- b24.MeshType = Enum.MeshType.FileMesh
- b24.Name = "Mesh"
- b24.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p25 = Instance.new("Part", m3)
- p25.BrickColor = BrickColor.new("Really black")
- p25.Material = Enum.Material.Metal
- p25.CFrame = CFrame.new(0.599999249, 4.25002289, 1.05000341, -0.793593884, -0.433597952, 0.42685172, 0.426002622, 0.104941569, 0.898615122, -0.434431762, 0.894975305, 0.101432741)
- p25.CanCollide = false
- p25.Locked = true
- p25.FormFactor = Enum.FormFactor.Custom
- p25.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b25 = Instance.new("SpecialMesh", p25)
- b25.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b25.TextureId = ""
- b25.MeshType = Enum.MeshType.FileMesh
- b25.Name = "Mesh"
- b25.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p26 = Instance.new("Part", m3)
- p26.BrickColor = BrickColor.new("Really black")
- p26.Material = Enum.Material.Metal
- p26.CFrame = CFrame.new(0.399999261, 4.25002289, 1.09999716, 0.474074066, -0.73934859, 0.478140384, 0.876810074, 0.445984155, -0.17972827, -0.0803612769, 0.504442811, 0.859697402)
- p26.CanCollide = false
- p26.Locked = true
- p26.FormFactor = Enum.FormFactor.Custom
- p26.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b26 = Instance.new("SpecialMesh", p26)
- b26.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b26.TextureId = ""
- b26.MeshType = Enum.MeshType.FileMesh
- b26.Name = "Mesh"
- b26.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p27 = Instance.new("Part", m3)
- p27.BrickColor = BrickColor.new("Really black")
- p27.Material = Enum.Material.Metal
- p27.CFrame = CFrame.new(0.249999076, 4.25002289, 1.20000076, 0.524626255, -0.838181257, 0.149064019, -0.503709316, -0.446768612, -0.739374638, 0.686326742, 0.31281051, -0.656585932)
- p27.CanCollide = false
- p27.Locked = true
- p27.FormFactor = Enum.FormFactor.Custom
- p27.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b27 = Instance.new("SpecialMesh", p27)
- b27.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b27.TextureId = ""
- b27.MeshType = Enum.MeshType.FileMesh
- b27.Name = "Mesh"
- b27.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p28 = Instance.new("Part", m3)
- p28.BrickColor = BrickColor.new("Really black")
- p28.Material = Enum.Material.Metal
- p28.CFrame = CFrame.new(0.0499990731, 4.25002289, 1.20000088, 0.524626136, -0.838181317, 0.149063885, 0.588431716, 0.230477661, -0.775002301, 0.615236104, 0.494300276, 0.614126861)
- p28.CanCollide = false
- p28.Locked = true
- p28.FormFactor = Enum.FormFactor.Custom
- p28.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b28 = Instance.new("SpecialMesh", p28)
- b28.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b28.TextureId = ""
- b28.MeshType = Enum.MeshType.FileMesh
- b28.Name = "Mesh"
- b28.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p29 = Instance.new("Part", m3)
- p29.BrickColor = BrickColor.new("Really black")
- p29.Material = Enum.Material.Metal
- p29.CFrame = CFrame.new(-0.200000852, 4.25002289, 1.20000088, 0.524626195, -0.838181257, 0.149063647, 0.664180398, 0.512506962, 0.544243872, -0.532571197, -0.186519295, 0.825577736)
- p29.CanCollide = false
- p29.Locked = true
- p29.FormFactor = Enum.FormFactor.Custom
- p29.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b29 = Instance.new("SpecialMesh", p29)
- b29.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b29.TextureId = ""
- b29.MeshType = Enum.MeshType.FileMesh
- b29.Name = "Mesh"
- b29.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p30 = Instance.new("Part", m3)
- p30.BrickColor = BrickColor.new("Really black")
- p30.Material = Enum.Material.Metal
- p30.CFrame = CFrame.new(-0.400000989, 4.25002289, 1.15000105, -0.205189675, -0.942334533, -0.264392197, 0.472657442, 0.141141802, -0.869870245, 0.857025325, -0.303455055, 0.416440606)
- p30.CanCollide = false
- p30.Locked = true
- p30.FormFactor = Enum.FormFactor.Custom
- p30.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b30 = Instance.new("SpecialMesh", p30)
- b30.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b30.TextureId = ""
- b30.MeshType = Enum.MeshType.FileMesh
- b30.Name = "Mesh"
- b30.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p31 = Instance.new("Part", m3)
- p31.BrickColor = BrickColor.new("Really black")
- p31.Material = Enum.Material.Metal
- p31.CFrame = CFrame.new(-0.550001025, 4.25002337, 0.999999702, 0.151335806, -0.651350021, -0.743532896, 0.979139984, 0.201951638, 0.022377044, 0.135582238, -0.731408894, 0.668325186)
- p31.CanCollide = false
- p31.Locked = true
- p31.FormFactor = Enum.FormFactor.Custom
- p31.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b31 = Instance.new("SpecialMesh", p31)
- b31.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b31.TextureId = ""
- b31.MeshType = Enum.MeshType.FileMesh
- b31.Name = "Mesh"
- b31.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p32 = Instance.new("Part", m3)
- p32.BrickColor = BrickColor.new("Really black")
- p32.Material = Enum.Material.Metal
- p32.CFrame = CFrame.new(-0.700000763, 4.25002337, 0.800000489, -0.804778874, -0.593520701, 0.0080409348, 0.142058611, -0.205740049, -0.968240976, 0.576325178, -0.778077364, 0.249890015)
- p32.CanCollide = false
- p32.Locked = true
- p32.FormFactor = Enum.FormFactor.Custom
- p32.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b32 = Instance.new("SpecialMesh", p32)
- b32.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b32.TextureId = ""
- b32.MeshType = Enum.MeshType.FileMesh
- b32.Name = "Mesh"
- b32.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p33 = Instance.new("Part", m3)
- p33.BrickColor = BrickColor.new("Really black")
- p33.Material = Enum.Material.Metal
- p33.CFrame = CFrame.new(-0.700000942, 4.25002289, 0.549999833, -0.526802063, -0.220915288, -0.820777893, 0.708702326, 0.418966174, -0.567634225, 0.469277024, -0.880717933, -0.0641489923)
- p33.CanCollide = false
- p33.Locked = true
- p33.FormFactor = Enum.FormFactor.Custom
- p33.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b33 = Instance.new("SpecialMesh", p33)
- b33.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b33.TextureId = ""
- b33.MeshType = Enum.MeshType.FileMesh
- b33.Name = "Mesh"
- b33.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p34 = Instance.new("Part", m3)
- p34.BrickColor = BrickColor.new("Really black")
- p34.Material = Enum.Material.Metal
- p34.Name = "Connection"
- p34.CFrame = CFrame.new(0.0551848896, 3.35002589, -0.131655902, 0.635109425, -0.765570045, -0.102657467, -0.766416311, -0.641122162, 0.0396047123, -0.0961361453, 0.0535250306, -0.993928015)
- p34.CanCollide = false
- p34.Locked = true
- p34.FormFactor = Enum.FormFactor.Custom
- p34.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b34 = Instance.new("SpecialMesh", p34)
- b34.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b34.TextureId = ""
- b34.MeshType = Enum.MeshType.FileMesh
- b34.Name = "Mesh"
- b34.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p35 = Instance.new("Part", m3)
- p35.BrickColor = BrickColor.new("Really black")
- p35.Material = Enum.Material.Metal
- p35.CFrame = CFrame.new(-0.600001037, 4.25002289, 0.149997264, 0.493824095, 0.604460001, 0.62511301, -0.565569818, -0.322785676, 0.758907318, 0.660506427, -0.728311539, 0.182464883)
- p35.CanCollide = false
- p35.Locked = true
- p35.FormFactor = Enum.FormFactor.Custom
- p35.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b35 = Instance.new("SpecialMesh", p35)
- b35.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b35.TextureId = ""
- b35.MeshType = Enum.MeshType.FileMesh
- b35.Name = "Mesh"
- b35.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- p36 = Instance.new("Part", m3)
- p36.BrickColor = BrickColor.new("Really black")
- p36.Material = Enum.Material.Metal
- p36.CFrame = CFrame.new(-0.500000834, 4.2000227, -2.52574682e-006, -0.285961747, 0.418113738, -0.862210572, 0.191904813, 0.906544387, 0.375965416, 0.93882823, -0.0579507053, -0.339474916)
- p36.CanCollide = false
- p36.Locked = true
- p36.FormFactor = Enum.FormFactor.Custom
- p36.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012)
- b36 = Instance.new("SpecialMesh", p36)
- b36.MeshId = "http://www.roblox.com/asset/?id=3270017"
- b36.TextureId = ""
- b36.MeshType = Enum.MeshType.FileMesh
- b36.Name = "Mesh"
- b36.Scale = Vector3.new(0.300000012, 0.300000012, 0.600000024)
- w1 = Instance.new("Weld", p2)
- w1.Name = "Joint"
- w1.Part0 = p2
- w1.C0 = CFrame.new(-0.211238861, -0.0362606049, -0.0810072422, -0.57012105, 0.811055779, -0.130959615, -0.254106343, -0.022495009, 0.966914535, 0.781275749, 0.584536016, 0.218919396)
- w1.Part1 = p18
- w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2 = Instance.new("Weld", p3)
- w2.Name = "Joint"
- w2.Part0 = p3
- w2.C0 = CFrame.new(0, 0, -0.470001936, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p1
- w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w10 = Instance.new("Weld", p11)
- w10.Name = "Joint"
- w10.Part0 = p11
- w10.C0 = CFrame.new(0.100000024, 0.202390671, -0.0392093658, 0.450589836, 0.596651673, -0.664059937, 0.644212067, 0.297646403, 0.704554796, 0.618028879, -0.745260656, -0.250253737)
- w10.Part1 = p19
- w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w11 = Instance.new("Weld", p12)
- w11.Name = "Joint"
- w11.Part0 = p12
- w11.C0 = CFrame.new(0.479997993, 0.0499999784, 0.25, -4.37113883e-008, -4.37113883e-008, 1, -1, 1.91068547e-015, -4.37113883e-008, 0, -1, -4.37113883e-008)
- w11.Part1 = p1
- w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w12 = Instance.new("Weld", p13)
- w12.Name = "Joint"
- w12.Part0 = p13
- w12.C0 = CFrame.new(-0.1545012, 0.138720512, 0.0829834938, 0.373496056, -0.501174688, -0.780592561, -0.602336764, 0.50893271, -0.614961803, 0.70547235, 0.699865282, -0.111791633)
- w12.Part1 = p35
- w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w13 = Instance.new("Weld", p14)
- w13.Name = "Joint"
- w13.Part0 = p14
- w13.C0 = CFrame.new(-0.172863483, 0.0578804016, -0.0258672237, -0.849803627, -0.326939017, 0.413454711, 0.506076992, -0.286759645, 0.813421786, -0.147377193, 0.900488615, 0.409145683)
- w13.Part1 = p34
- w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w14 = Instance.new("Weld", p15)
- w14.Name = "Joint"
- w14.Part0 = p15
- w14.C0 = CFrame.new(0.0923810005, -0.190912724, -0.00442934036, -0.0371075198, 0.56231159, -0.826092422, -0.73737216, -0.573347449, -0.357148677, -0.674466848, 0.595884562, 0.435908347)
- w14.Part1 = p16
- w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w15 = Instance.new("Weld", p16)
- w15.Name = "Joint"
- w15.Part0 = p16
- w15.C0 = CFrame.new(0.0876817107, 0.204583645, -0.0213780403, 0.074026458, 0.445441723, -0.892245352, -0.0624118894, 0.895015597, 0.441646636, 0.995301366, 0.022993207, 0.0940556675)
- w15.Part1 = p20
- w15.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w16 = Instance.new("Weld", p17)
- w16.Name = "Joint"
- w16.Part0 = p17
- w16.C0 = CFrame.new(0.156466246, -0.194725513, -0.0100102425, -0.460608691, 0.227749109, -0.85788697, 0.80572325, -0.29817903, -0.51176101, -0.372357011, -0.926941037, -0.0461589098)
- w16.Part1 = p14
- w16.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w17 = Instance.new("Weld", p18)
- w17.Name = "Joint"
- w17.Part0 = p18
- w17.C0 = CFrame.new(0.046289444, -0.199023724, 0.0569794178, 0.154631272, -0.0373091251, -0.987267554, -0.489805043, 0.864940584, -0.109402351, 0.858009458, 0.500485599, 0.115472674)
- w17.Part1 = p17
- w17.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w18 = Instance.new("Weld", p19)
- w18.Name = "Joint"
- w18.Part0 = p19
- w18.C0 = CFrame.new(0.211536884, -0.0502645969, -0.0522158146, 0.728958309, 0.445444137, 0.519806981, -0.683894217, 0.440442294, 0.581635118, 0.0301409438, -0.779480696, 0.625700712)
- w18.Part1 = p21
- w18.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w19 = Instance.new("Weld", p20)
- w19.Name = "Joint"
- w19.Part0 = p20
- w19.C0 = CFrame.new(0.0722160339, 0.164483547, 0.0522456169, 0.148452476, 0.216069669, 0.965026319, 0.508259654, 0.820421398, -0.261879444, -0.848312438, 0.529360592, 0.0119740963)
- w19.Part1 = p11
- w19.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w20 = Instance.new("Weld", p21)
- w20.Name = "Joint"
- w20.Part0 = p21
- w20.C0 = CFrame.new(0.246201992, 0.0183468163, 0.0393443108, 0.980159461, 0.195441127, 0.0330170989, -0.100333519, 0.345563769, 0.933016002, 0.170940176, -0.917817175, 0.358316928)
- w20.Part1 = p22
- w20.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w21 = Instance.new("Weld", p22)
- w21.Name = "Joint"
- w21.Part0 = p22
- w21.C0 = CFrame.new(0.246201515, 0.0183467865, 0.0393443108, 0.96721822, 0.235350817, 0.0953874439, -0.0782081187, -0.0813006833, 0.993616521, 0.241603509, -0.968504071, -0.060229145)
- w21.Part1 = p23
- w21.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w22 = Instance.new("Weld", p23)
- w22.Name = "Joint"
- w22.Part0 = p23
- w22.C0 = CFrame.new(0.196961403, 0.014677465, 0.031475544, 0.966579735, -0.137344033, 0.21647194, 0.256335169, 0.504686236, -0.824368834, 0.0039717555, 0.852307677, 0.523025632)
- w22.Part1 = p24
- w22.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w23 = Instance.new("Weld", p24)
- w23.Name = "Joint"
- w23.Part0 = p24
- w23.C0 = CFrame.new(0.16540432, 0.0485391617, -0.0527825356, -0.208951756, 0.968707323, 0.133960381, -0.0571475253, 0.124654606, -0.990553021, -0.976254702, -0.214633241, 0.0293123852)
- w23.Part1 = p25
- w23.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w24 = Instance.new("Weld", p25)
- w24.Name = "Joint"
- w24.Part0 = p25
- w24.C0 = CFrame.new(0.136999726, 0.131462574, -0.0802993774, 0.0322127938, 0.557586372, -0.829493642, -0.185464859, 0.81884563, 0.543226421, 0.982122838, 0.136343077, 0.129789978)
- w24.Part1 = p26
- w24.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w25 = Instance.new("Weld", p26)
- w25.Name = "Joint"
- w25.Part0 = p26
- w25.C0 = CFrame.new(-0.0791475773, 0.161348343, 0.014251709, -0.2480997, -0.814228892, -0.524859786, -0.266315132, 0.578250885, -0.771169424, 0.931409001, -0.0515488982, -0.360305429)
- w25.Part1 = p27
- w25.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w26 = Instance.new("Weld", p27)
- w26.Name = "Joint"
- w26.Part0 = p27
- w26.C0 = CFrame.new(-0.104925156, 0.167636156, -0.0298128128, 0.401087224, -0.216573805, 0.890070021, -0.510172248, 0.754199564, 0.413409412, -0.760824084, -0.619902253, 0.192009777)
- w26.Part1 = p28
- w26.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w27 = Instance.new("Weld", p28)
- w27.Name = "Joint"
- w27.Part0 = p28
- w27.C0 = CFrame.new(-0.131156445, 0.209545135, -0.037266016, 0.338400394, -0.252909899, 0.906378388, -0.549903035, 0.728472173, 0.408576787, -0.763604522, -0.636682749, 0.10743928)
- w27.Part1 = p29
- w27.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w28 = Instance.new("Weld", p29)
- w28.Name = "Joint"
- w28.Part0 = p29
- w28.C0 = CFrame.new(-0.0782968998, 0.176962137, -0.0710916519, -0.250144869, -0.239018306, -0.938241899, 0.254374206, 0.918783069, -0.301879942, 0.934195518, -0.314178288, -0.169028759)
- w28.Part1 = p30
- w28.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w29 = Instance.new("Weld", p30)
- w29.Name = "Joint"
- w29.Part0 = p30
- w29.C0 = CFrame.new(-0.097776413, 0.186868906, -0.022808075, 0.547942579, -0.39773193, 0.735913277, -0.0455548018, 0.864242792, 0.501007974, -0.835274637, -0.30804801, 0.455436885)
- w29.Part1 = p31
- w29.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w30 = Instance.new("Weld", p31)
- w30.Name = "Joint"
- w30.Part0 = p31
- w30.C0 = CFrame.new(-0.0498166084, 0.243983507, -0.0221347809, 0.0954426825, -0.396762908, -0.912945747, 0.131352007, 0.914132595, -0.38354671, 0.986730695, -0.0833105743, 0.139362901)
- w30.Part1 = p32
- w30.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w31 = Instance.new("Weld", p32)
- w31.Name = "Joint"
- w31.Part0 = p32
- w31.C0 = CFrame.new(-0.144081593, 0.194519997, -0.0624723434, 0.795092285, -0.270274341, 0.542936563, -0.198274553, 0.730186164, 0.653846622, -0.573162735, -0.627518892, 0.526976764)
- w31.Part1 = p33
- w31.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w32 = Instance.new("Weld", p33)
- w32.Name = "Joint"
- w32.Part0 = p33
- w32.C0 = CFrame.new(-0.0938563347, 0.176145077, 0.0128297806, 0.0848137587, -0.421895206, -0.902668893, -0.548244178, 0.736708403, -0.39583993, 0.832006574, 0.528455555, -0.168818489)
- w32.Part1 = p13
- w32.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w33 = Instance.new("Weld", p34)
- w33.Name = "Joint"
- w33.Part0 = p34
- w33.C0 = CFrame.new(-0.0178728104, 0.0120868683, -0.150204837, -0.0961361453, -0.635109425, 0.766416311, 0.0535250939, 0.765570045, 0.641122162, -0.993928015, 0.102657512, -0.0396046676)
- w33.Part1 = p12
- w33.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w34 = Instance.new("Weld", p35)
- w34.Name = "Joint"
- w34.Part0 = p35
- w34.C0 = CFrame.new(-0.0214147568, 0.185832024, -0.00280380249, 0.370351821, -0.344516218, -0.862640202, -0.918555975, 0.00231964141, -0.395284295, 0.138182849, 0.938777506, -0.315598398)
- w34.Part1 = p36
- w34.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w35 = Instance.new("Weld", p36)
- w35.Name = "Joint"
- w35.Part0 = p36
- w35.C0 = CFrame.new(-0.136966705, -0.109280109, -0.0655572414, 0.678235054, 0.463834167, -0.569960475, 0.250202835, 0.583515286, 0.772598565, 0.690938354, -0.666609228, 0.279707849)
- w35.Part1 = p2
- w35.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- m3.Parent = torso
- m3:MakeJoints()
- ----------------------------------------------------
- local cor3 = Instance.new("Part", torso.Torso)
- cor3.Name = "Thingy"
- cor3.Locked = true
- cor3.BottomSurface = 0
- cor3.CanCollide = false
- cor3.Size = Vector3.new(1, 1, 1)
- cor3.Transparency = 1
- cor3.TopSurface = 0
- corw3 = Instance.new("Weld", cor3)
- corw3.Part0 = torso
- corw3.Part1 = cor3
- corw3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- corw3.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- weld3 = Instance.new("Weld", torso.Torso)
- weld3.Part0 = cor3
- weld3.Part1 = torso.Torso.TorsoPlate
- weld3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- -----------------------------
- --Amulet
- m7 = Instance.new("Model")
- m7.Name = "Amulet"
- p1 = Instance.new("Part", m7)
- p1.BrickColor = char.Torso.BrickColor
- p1.Material = Enum.Material.Neon
- p1.Name = "Center"
- p1.CFrame = CFrame.new(-1.0658141e-014, 14.4125643, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p1.CanCollide = false
- p1.Locked = true
- p1.FormFactor = Enum.FormFactor.Custom
- p1.Shape = Enum.PartType.Cylinder
- p1.Size = Vector3.new(0.5, 0.5, 0.5)
- p1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- p2 = Instance.new("Part", m7)
- p2.BrickColor = BrickColor.new("Really black")
- p2.Material = Enum.Material.Metal
- p2.Name = "Bottom"
- p2.CFrame = CFrame.new(1.19209318e-007, 14.1625719, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p2.CanCollide = false
- p2.Locked = true
- p2.FormFactor = Enum.FormFactor.Custom
- p2.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
- p2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b1 = Instance.new("SpecialMesh", p2)
- b1.MeshType = Enum.MeshType.Cylinder
- b1.Name = "Mesh"
- p3 = Instance.new("Part", m7)
- p3.BrickColor = BrickColor.new("Really black")
- p3.Material = Enum.Material.Metal
- p3.CFrame = CFrame.new(1.23580463e-007, 14.4625673, -0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p3.CanCollide = false
- p3.Locked = true
- p3.FormFactor = Enum.FormFactor.Custom
- p3.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b2 = Instance.new("SpecialMesh", p3)
- b2.MeshType = Enum.MeshType.Brick
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p4 = Instance.new("Part", m7)
- p4.BrickColor = BrickColor.new("Really black")
- p4.Material = Enum.Material.Metal
- p4.CFrame = CFrame.new(1.19209318e-007, 14.4625673, 0.280000001, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p4.CanCollide = false
- p4.Locked = true
- p4.FormFactor = Enum.FormFactor.Custom
- p4.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b3 = Instance.new("SpecialMesh", p4)
- b3.MeshType = Enum.MeshType.Brick
- b3.Name = "Mesh"
- b3.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p5 = Instance.new("Part", m7)
- p5.BrickColor = BrickColor.new("Really black")
- p5.Material = Enum.Material.Metal
- p5.CFrame = CFrame.new(0.14000012, 14.4625673, -0.242487118, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
- p5.CanCollide = false
- p5.Locked = true
- p5.FormFactor = Enum.FormFactor.Custom
- p5.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b4 = Instance.new("SpecialMesh", p5)
- b4.MeshType = Enum.MeshType.Brick
- b4.Name = "Mesh"
- b4.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p6 = Instance.new("Part", m7)
- p6.BrickColor = BrickColor.new("Really black")
- p6.Material = Enum.Material.Metal
- p6.CFrame = CFrame.new(-0.139999881, 14.4625673, 0.242487103, -3.78551732e-008, -0.866025388, -0.5, 1, -4.37113883e-008, 0, -2.18556941e-008, -0.5, 0.866025388)
- p6.CanCollide = false
- p6.Locked = true
- p6.FormFactor = Enum.FormFactor.Custom
- p6.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b5 = Instance.new("SpecialMesh", p6)
- b5.MeshType = Enum.MeshType.Brick
- b5.Name = "Mesh"
- b5.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p7 = Instance.new("Part", m7)
- p7.BrickColor = BrickColor.new("Really black")
- p7.Material = Enum.Material.Metal
- p7.CFrame = CFrame.new(-0.242486984, 14.4625673, 0.139999986, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
- p7.CanCollide = false
- p7.Locked = true
- p7.FormFactor = Enum.FormFactor.Custom
- p7.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b6 = Instance.new("SpecialMesh", p7)
- b6.MeshType = Enum.MeshType.Brick
- b6.Name = "Mesh"
- b6.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p8 = Instance.new("Part", m7)
- p8.BrickColor = BrickColor.new("Really black")
- p8.Material = Enum.Material.Metal
- p8.CFrame = CFrame.new(0.242487192, 14.4625673, -0.139999971, -2.18556924e-008, -0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551732e-008, -0.866025388, 0.5)
- p8.CanCollide = false
- p8.Locked = true
- p8.FormFactor = Enum.FormFactor.Custom
- p8.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b7 = Instance.new("SpecialMesh", p8)
- b7.MeshType = Enum.MeshType.Brick
- b7.Name = "Mesh"
- b7.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p9 = Instance.new("Part", m7)
- p9.BrickColor = BrickColor.new("Really black")
- p9.Material = Enum.Material.Metal
- p9.CFrame = CFrame.new(0.280000091, 14.4625673, -1.64313008e-014, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
- p9.CanCollide = false
- p9.Locked = true
- p9.FormFactor = Enum.FormFactor.Custom
- p9.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b8 = Instance.new("SpecialMesh", p9)
- b8.MeshType = Enum.MeshType.Brick
- b8.Name = "Mesh"
- b8.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p10 = Instance.new("Part", m7)
- p10.BrickColor = BrickColor.new("Really black")
- p10.Material = Enum.Material.Metal
- p10.CFrame = CFrame.new(-0.279999852, 14.4625673, -1.49011772e-008, 0, 0, -1, 1, -4.37113847e-008, 0, -4.37113847e-008, -1, 0)
- p10.CanCollide = false
- p10.Locked = true
- p10.FormFactor = Enum.FormFactor.Custom
- p10.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b9 = Instance.new("SpecialMesh", p10)
- b9.MeshType = Enum.MeshType.Brick
- b9.Name = "Mesh"
- b9.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p11 = Instance.new("Part", m7)
- p11.BrickColor = BrickColor.new("Really black")
- p11.Material = Enum.Material.Metal
- p11.CFrame = CFrame.new(-0.242486984, 14.4625673, -0.139999986, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
- p11.CanCollide = false
- p11.Locked = true
- p11.FormFactor = Enum.FormFactor.Custom
- p11.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b10 = Instance.new("SpecialMesh", p11)
- b10.MeshType = Enum.MeshType.Brick
- b10.Name = "Mesh"
- b10.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p12 = Instance.new("Part", m7)
- p12.BrickColor = BrickColor.new("Really black")
- p12.Material = Enum.Material.Metal
- p12.CFrame = CFrame.new(0.242487192, 14.4625673, 0.139999971, 2.18556906e-008, 0.5, -0.866025388, 1, -4.37113847e-008, 0, -3.78551697e-008, -0.866025388, -0.5)
- p12.CanCollide = false
- p12.Locked = true
- p12.FormFactor = Enum.FormFactor.Custom
- p12.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b11 = Instance.new("SpecialMesh", p12)
- b11.MeshType = Enum.MeshType.Brick
- b11.Name = "Mesh"
- b11.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p13 = Instance.new("Part", m7)
- p13.BrickColor = BrickColor.new("Really black")
- p13.Material = Enum.Material.Metal
- p13.CFrame = CFrame.new(-0.139999866, 14.4625673, -0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
- p13.CanCollide = false
- p13.Locked = true
- p13.FormFactor = Enum.FormFactor.Custom
- p13.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b12 = Instance.new("SpecialMesh", p13)
- b12.MeshType = Enum.MeshType.Brick
- b12.Name = "Mesh"
- b12.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p14 = Instance.new("Part", m7)
- p14.BrickColor = BrickColor.new("Really black")
- p14.Material = Enum.Material.Metal
- p14.CFrame = CFrame.new(0.14000012, 14.4625673, 0.242487073, 3.78551732e-008, 0.866025388, -0.5, 1, -4.37113812e-008, 1.77635684e-015, -2.18556924e-008, -0.5, -0.866025388)
- p14.CanCollide = false
- p14.Locked = true
- p14.FormFactor = Enum.FormFactor.Custom
- p14.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- p14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b13 = Instance.new("SpecialMesh", p14)
- b13.MeshType = Enum.MeshType.Brick
- b13.Name = "Mesh"
- b13.Scale = Vector3.new(1, 0.300000012, 0.200000003)
- p15 = Instance.new("Part", m7)
- p15.BrickColor = BrickColor.new("Really black")
- p15.Material = Enum.Material.Metal
- p15.Name = "Top"
- p15.CFrame = CFrame.new(0, 14.7125645, 0, -4.37113883e-008, -1, 0, 1, -4.37113883e-008, 0, 0, 0, 1)
- p15.CanCollide = false
- p15.Locked = true
- p15.FormFactor = Enum.FormFactor.Custom
- p15.Size = Vector3.new(0.200000003, 0.649999976, 0.649999976)
- p15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- p15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- b14 = Instance.new("SpecialMesh", p15)
- b14.MeshType = Enum.MeshType.Cylinder
- b14.Name = "Mesh"
- w1 = Instance.new("Weld", p1)
- w1.Name = "Joint"
- w1.Part0 = p1
- w1.C0 = CFrame.new(0.300000191, -1.31134357e-008, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w1.Part1 = p15
- w1.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2 = Instance.new("Weld", p2)
- w2.Name = "Joint"
- w2.Part0 = p2
- w2.C0 = CFrame.new(0.249992371, 1.08281824e-007, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p1
- w2.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3 = Instance.new("Weld", p3)
- w3.Name = "Joint"
- w3.Part0 = p3
- w3.C0 = CFrame.new(-0.0500030518, 1.25766178e-007, 0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3.Part1 = p1
- w3.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4 = Instance.new("Weld", p4)
- w4.Name = "Joint"
- w4.Part0 = p4
- w4.C0 = CFrame.new(-0.0500030518, 1.21395033e-007, -0.280000001, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4.Part1 = p1
- w4.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w5 = Instance.new("Weld", p5)
- w5.Name = "Joint"
- w5.Part0 = p5
- w5.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, 0.280000061, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
- w5.Part1 = p1
- w5.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w6 = Instance.new("Weld", p6)
- w6.Name = "Joint"
- w6.Part0 = p6
- w6.C0 = CFrame.new(-0.0500030518, 1.00163732e-007, -0.279999942, 1, -5.85621507e-009, -2.18556941e-008, -5.85621507e-009, 0.866025388, -0.5, 2.18556941e-008, 0.5, 0.866025388)
- w6.Part1 = p1
- w6.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w7 = Instance.new("Weld", p7)
- w7.Name = "Joint"
- w7.Part0 = p7
- w7.C0 = CFrame.new(-0.0500030518, 5.54602479e-008, -0.279999882, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
- w7.Part1 = p1
- w7.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w8 = Instance.new("Weld", p8)
- w8.Name = "Joint"
- w8.Part0 = p8
- w8.C0 = CFrame.new(-0.0500030518, 7.03614091e-008, 0.280000061, 1, -2.18556959e-008, -3.78551732e-008, -2.18556906e-008, 0.5, -0.866025388, 3.78551732e-008, 0.866025388, 0.5)
- w8.Part1 = p1
- w8.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w9 = Instance.new("Weld", p9)
- w9.Name = "Joint"
- w9.Part0 = p9
- w9.C0 = CFrame.new(-0.0500030518, 2.1856863e-009, 0.280000091, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
- w9.Part1 = p1
- w9.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w10 = Instance.new("Weld", p10)
- w10.Name = "Joint"
- w10.Part0 = p10
- w10.C0 = CFrame.new(-0.0500030518, -1.27154749e-008, -0.279999852, 1, -4.37113883e-008, -4.37113847e-008, -4.37113847e-008, 1.91068525e-015, -1, 4.37113883e-008, 1, 0)
- w10.Part1 = p1
- w10.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w11 = Instance.new("Weld", p11)
- w11.Name = "Joint"
- w11.Part0 = p11
- w11.C0 = CFrame.new(-0.0500030518, -5.6298461e-008, -0.279999882, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
- w11.Part1 = p1
- w11.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w12 = Instance.new("Weld", p12)
- w12.Name = "Joint"
- w12.Part0 = p12
- w12.C0 = CFrame.new(-0.0500030518, -6.37490416e-008, 0.280000061, 1, -6.55670789e-008, -3.78551697e-008, -6.55670789e-008, -0.5, -0.866025388, 3.78551732e-008, 0.866025388, -0.5)
- w12.Part1 = p1
- w12.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w13 = Instance.new("Weld", p13)
- w13.Name = "Joint"
- w13.Part0 = p13
- w13.C0 = CFrame.new(-0.0500030518, -1.01001945e-007, -0.279999912, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
- w13.Part1 = p1
- w13.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w14 = Instance.new("Weld", p14)
- w14.Name = "Joint"
- w14.Part0 = p14
- w14.C0 = CFrame.new(-0.0500030518, -1.08452525e-007, 0.280000031, 1, -8.15665615e-008, -2.18556924e-008, -8.15665544e-008, -0.866025388, -0.5, 2.18556959e-008, 0.5, -0.866025388)
- w14.Part1 = p1
- w14.C1 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- m7.Parent = torso
- m7:MakeJoints()
- ----------------------------------------------------
- local cor7 = Instance.new("Part", torso.Amulet)
- cor7.Name = "Thingy"
- cor7.Locked = true
- cor7.BottomSurface = 0
- cor7.CanCollide = false
- cor7.Size = Vector3.new(1, 1, 1)
- cor7.Transparency = 1
- cor7.TopSurface = 0
- corw7 = Instance.new("Weld", cor7)
- corw7.Part0 = torso.Torso.Connection
- corw7.Part1 = cor7
- corw7.C0 = CFrame.new(0, 0.26, 0.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0))
- corw7.C1 = CFrame.new(0, -0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(140))
- weld7 = Instance.new("Weld", torso.Amulet)
- weld7.Part0 = cor7
- weld7.Part1 = torso.Amulet.Top
- weld7.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- -------------------------------
- ----------------------------------------------------
- -----------
- paly = game.Players.LocalPlayer
- paly = game.Players.LocalPlayer
- p = game.Players.LocalPlayer
- char = paly.Character
- vt = Vector3.new
- rarm = char["Right Arm"]
- larm = char["Left Arm"]
- local maincolor = char.Torso.BrickColor
- local orb = Instance.new("Part")
- orb.Parent = char
- orb.Size = Vector3.new(0.5, 0.5, 0.5)
- orb.Archivable = true
- orb.Transparency = 1
- orb.BrickColor = maincolor
- orb.Material = "Neon"
- orb.CanCollide = false
- local weld1 = Instance.new("Weld")
- weld1.Parent = rarm
- weld1.Part0 = rarm
- weld1.Part1 = orb
- weld1.C1 = CFrame.new(0, 1.125, 0)
- local pt1 = NumberSequenceKeypoint.new(0,0.85,0)
- local pt2 = NumberSequenceKeypoint.new(1,0,0)
- local effecto = Instance.new("ParticleEmitter",orb)
- effecto.LightEmission = 1
- effecto.Texture = "rbxasset://textures/particles/smoke_main.dds"
- effecto.Color = ColorSequence.new(maincolor.Color)
- effecto.Rate = 10000
- effecto.Lifetime = NumberRange.new(1)
- effecto.Size = NumberSequence.new({pt1,pt2})
- effecto.Speed = NumberRange.new(0,0)
- effecto.RotSpeed = NumberRange.new(100,100)
- local orbz = Instance.new("Part")
- orbz.Parent = char
- orbz.Size = Vector3.new(0.5, 0.5, 0.5)
- orbz.Archivable = true
- orbz.Transparency = 1
- orbz.BrickColor = maincolor
- orbz.Material = "Neon"
- orbz.CanCollide = false
- local weldz1 = Instance.new("Weld")
- weldz1.Parent = larm
- weldz1.Part0 = larm
- weldz1.Part1 = orbz
- weldz1.C1 = CFrame.new(0, 1.125, 0)
- local effecton = Instance.new("ParticleEmitter",orbz)
- effecton.LightEmission = 1
- effecton.Texture = "rbxasset://textures/particles/smoke_main.dds"
- effecton.Color = ColorSequence.new(maincolor.Color)
- effecton.Rate = 10000
- effecton.Lifetime = NumberRange.new(1)
- effecton.Size = NumberSequence.new({pt1,pt2})
- effecton.Speed = NumberRange.new(0,0)
- effecton.RotSpeed = NumberRange.new(100,100)
- -------------------------------------------
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 52 then
- char.Humanoid.WalkSpeed = 60
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 52 then
- char.Humanoid.WalkSpeed = 8
- end
- end)
- -------------------------------
- local animpose = "Idle"
- local lastanimpose = "Idle"
- local sine = 0
- local change = 1
- local val = 0
- local och = 0
- local ffing = false
- -------------------------------
- game:GetService("RunService").RenderStepped:connect(function()
- --[[if char.Humanoid.Jump == true then
- jump = true
- else
- jump = false
- end]]
- char.Humanoid.FreeFalling:connect(function(f)
- if f then
- ffing = true
- else
- ffing = false
- end
- end)
- sine = sine + change
- if jumpn == true then
- animpose = "Jumping"
- elseif ffing == true then
- animpose = "Freefalling"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
- animpose = "Idle"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
- animpose = "Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
- animpose = "Running"
- end
- if animpose ~= lastanimpose then
- sine = 0
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(-6),math.rad(8)), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,0)*CFrame.Angles(math.rad(-6),math.rad(6),math.rad(-8)), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.4)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.625, -0.35) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(8)), 0.4)
- end
- elseif animpose == "Walking" then
- for i = 1, 2 do
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(-8)), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-8), 0, math.rad(8)), 0.4)
- end
- elseif animpose == "Running" then
- for i = 1, 2 do
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
- wait()
- end
- end
- else
- end
- end
- lastanimpose = animpose
- if Debounces.NoIdl == false then
- if animpose == "Idle" then
- change = 0.5
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.51+0.05*math.cos(sine/14),0.245)*CFrame.Angles(math.rad(-32),math.rad(-33),math.rad(8+2*math.cos(sine/14))), 0.4)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.51+0.05*math.cos(sine/14),0)*CFrame.Angles(math.rad(31),math.rad(-32),math.rad(-8-2*math.cos(sine/14))), 0.4)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35, 0, 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.25,0,0), 0.4)
- elseif animpose == "Walking" then
- change = 1
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(-32),math.rad(-28),math.rad(10+2*math.cos(sine/14))), 0.2)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.55,0)*CFrame.Angles(math.rad(50),math.rad(-45),math.rad(-10-2*math.cos(sine/14))), 0.2)
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-14),0,0), 0.4)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.215, -0.35) * CFrame.Angles(-0.35, 0, 0), 0.4)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(-0.475,0,0), 0.4)
- elseif animpose == "Running" then
- change = 1
- hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles (math.rad(44), math.rad (0), math.rad(0)), 0.15)
- torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 1-0.1*math.cos(sine/14), -1) * CFrame.Angles(math.rad(- 80), math.rad(0), 0), 0.15)
- larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad (0), math.rad(50), math.rad(-40)), 0.15)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(-50), math.rad(40)), 0.15)
- lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(- 10)), .15)
- rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(8), math.rad(0), math.rad(10)), .15)
- end
- end
- end)
- hum.MaxHealth = 9001
- wait(3)
- hum.Health = 9001
- function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
- --[[Part0 = Vector3 (Start pos)
- Part1 = Vector3 (End pos)
- Times = number (Amount of lightning parts)
- Offset = number (Offset)
- Color = color (brickcolor value)
- Thickness = number (thickness)
- Trans = number (transparency)
- ]]--
- local magz = (Part0 - Part1).magnitude
- local curpos = Part0
- local trz = {-Offset,Offset}
- for i=1,Times do
- local li = Instance.new("Part", torso)
- li.Name = "Lightning"
- li.TopSurface =0
- li.Material = "Neon"
- li.BottomSurface = 0
- li.Anchored = true
- li.Locked = true
- li.Transparency = Trans or 0.4
- li.BrickColor = TorsoColor
- li.formFactor = "Custom"
- li.CanCollide = false
- li.Size = Vector3.new(Thickness,Thickness,magz/Times)
- local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
- local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
- if Times == i then
- local magz2 = (curpos - Part1).magnitude
- li.Size = Vector3.new(Thickness,Thickness,magz2)
- li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
- else
- li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
- end
- curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
- game.Debris:AddItem(li,.1)
- end
- end
- BodyParts = {} -- Parts to emit lightning effects from
- for _, v in pairs(char:GetChildren()) do
- if v:IsA("Part") then
- table.insert(BodyParts, v)
- end
- end
- Bounding = {} -- Calculate the bounding boxes
- for _, v in pairs(BodyParts) do
- local temp = {X=nil, Y=nil, Z=nil}
- temp.X = v.Size.X/2 * 10
- temp.Y = v.Size.Y/2 * 10
- temp.Z = v.Size.Z/2 * 10
- Bounding[v.Name] = temp
- --table.insert(Bounding, v.Name, temp)
- end
- while wait(math.random(1,10)/10) do -- Emit the Lightning effects randomly
- local Body1 = BodyParts[math.random(#BodyParts)]
- local Body2 = BodyParts[math.random(#BodyParts)]
- local Pos1 = Vector3.new(
- math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
- math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
- math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
- )
- local Pos2 = Vector3.new(
- math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
- math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
- math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
- )
- local SPos1 = Body1.Position + Pos1
- local SPos2 = Body2.Position + Pos2
- Lightning(SPos1, SPos2, 4, 3, "Bright blue", .3, .56)
- end
- och=och+1
- for _,v in pairs(orbt) do
- pcall(function()
- v.Mesh.Scale=Vector3.new(cns+(0.2*math.cos(och/12)),cns+(0.2*math.cos(och/10)),cns+(0.2*math.cos(och/8)))
- end)
- end
- for _,v in pairs(stlt) do
- pcall(function()
- v.CFrame=larm.CFrame*CFrame.new(0,-3.5-(cns/2),-0.1)
- end)
- end
- for _,v in pairs(chot) do
- pcall(function()
- v.CFrame=Lerp(v.CFrame,cnOrb.CFrame,0.1)
- v.Mesh.Scale=Vector3.new(Tween(v.Mesh.Scale.X,0,0.1),Tween(v.Mesh.Scale.Y,0,0.1),Tween(v.Mesh.Scale.Z,0,0.1))
- end)
- end
- for _,v in pairs(cfxt) do
- pcall(function()
- local vs=v.Mesh.Scale
- v.Mesh.Scale=Vector3.new(vs.x+0.5,vs.y+0.1,vs.z+0.5)
- v.Transparency=v.Transparency+0.05
- end)
- end
- for _,v in pairs(pfxt) do
- pcall(function()
- local vs=v.Mesh.Scale
- v.Mesh.Scale=Vector3.new(vs.x+2,vs.y+0.5,vs.z+2)
- v.Transparency=v.Transparency+0.025
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement