Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --------------------------This is an Official script from Duelist--------------------------
- ---{-------------------- -------------------}---
- ---{-------------------- / \ -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- A========A -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- II -------------------}---
- ---{-------------------- W -------------------}---
- -------------------------------------------------------------------------------------------------------------
- local plr = game.Players.LocalPlayer
- local chr = plr.Character
- local maus = plr:GetMouse()
- local PGui=plr.PlayerGui
- local lleg = chr["Left Leg"]
- local rleg = chr["Right Leg"]
- local larm = chr["Left Arm"]
- local rarm = chr["Right Arm"]
- local hed = chr.Head
- local rutprt = chr.HumanoidRootPart
- local torso = chr.Torso
- local swimming=false
- chr.Animate.Disabled=true
- local fldb={['w']=false,['a']=false,['s']=false,['d']=false,['32']=false}
- local RunSpeed=30
- local WlkSpeed=8
- local SwimSpeed=14
- local SwimDashSpeed=28
- local anim = "Idling"
- local lastanim = "Idling"
- local val = 0
- local syne = 0
- local num = 0
- local runtime = 0
- local pseudohead=hed:Clone()
- for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
- pseudohead.Name='PseudoHead'
- pseudohead.Parent=chr.Head
- local pseudoweld=Instance.new('Weld',torso)
- pseudoweld.Part0=hed
- pseudoweld.Name='PseudoHedWld'
- pseudoweld.Part1=pseudohead
- hed.Transparency=1
- coroutine.wrap(function()
- for i,x in pairs(chr:GetChildren()) do if x:IsA('Accessory') then x:Destroy() end end
- for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
- function Lerp(a, b, i)
- local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
- local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
- local calx = com1[1] + (com2[1] - com1[1]) * i
- local caly = com1[2] + (com2[2] - com1[2]) * i
- local calz = com1[3] + (com2[3] - com1[3]) * i
- local cala = com1[4] + (com2[4] - com1[4]) * i
- local calb = com1[5] + (com2[5] - com1[5]) * i
- local calc = com1[6] + (com2[6] - com1[6]) * i
- return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
- end
- function TwnSingleNumber(s,f,m)
- local wot=s+(f-s)*m
- return wot
- end
- function TwnVector3(q,w,e)
- local begin={q.x,q.y,q.z}
- local ending={w.x,w.y,w.z}
- local bgx=begin[1]+(ending[1]-begin[1])*e
- local bgy=begin[2]+(ending[2]-begin[2])*e
- local bgz=begin[3]+(ending[3]-begin[3])*e
- return Vector3.new(bgx,bgy,bgz)
- end
- newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
- wld = Instance.new("Weld", wp1)
- wld.Part0 = wp0
- wld.Part1 = wp1
- wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
- end
- local angles = CFrame.Angles
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Mouse = Player:GetMouse()
- local LeftArm = Character:WaitForChild("Left Arm")
- local RightArm = Character:WaitForChild("Right Arm")
- local LeftLeg = Character:WaitForChild("Left Leg")
- local RightLeg = Character:WaitForChild("Right Leg")
- local Head = Character:WaitForChild("Head")
- local Torso = Character:WaitForChild("Torso")
- z = Instance.new("Sound", torso)
- z.SoundId = "rbxassetid://" -- Put Music ID Here.
- z.Looped = true
- z.Pitch = 0.82
- z.Volume = 1
- wait(.1)
- z:Play()
- local RootPart = Character:WaitForChild("HumanoidRootPart")
- local Humanoid = Character:WaitForChild("Humanoid")
- local LeftShoulder = Torso:WaitForChild("Left Shoulder")
- local RightShoulder = Torso:WaitForChild("Right Shoulder")
- local LeftHip = Torso:WaitForChild("Left Hip")
- local RightHip = Torso:WaitForChild("Right Hip")
- local Neck = Torso:WaitForChild("Neck")
- local RootJoint = RootPart:WaitForChild("RootJoint")
- local Camera = workspace.CurrentCamera
- local FLeftShoulder, FRightShoulder = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
- FLeftShoulder.Name = "LS"
- FRightShoulder.Name = "RS"
- local FLeftHip, FRightHip = Instance.new("Weld", Torso), Instance.new("Weld", Torso)
- FLeftHip.Name = "LH"
- FRightHip.Name = "RH"
- local FRootJoint = Instance.new("Weld", RootPart)
- FRootJoint.Name = "RJ"
- local F1, F2, F3 = Instance.new("Folder", Character), Instance.new("Folder", Character), Instance.new("Folder", Character)
- F1.Name = "Parts Folder"
- F2.Parent = F1
- F2.Name = "Effects"
- F3.Parent = F1
- F3.Name = "Extra Parts"
- local Drag_To_Part = Instance.new("Part", F3)
- Drag_To_Part.Transparency = 1
- Drag_To_Part.Name = "Drag-to-part"
- Drag_To_Part.Size = Vector3.new(0.2, 0.2, 0.2)
- Drag_To_Part.Anchored = false
- Drag_To_Part.CanCollide = false
- Drag_To_Part.Locked = true
- local DTPWeld = Instance.new("Weld", Drag_To_Part)
- DTPWeld.Part0 = RootPart
- DTPWeld.Part1 = Drag_To_Part
- local WepWeld, WepWeld2, WepWeld3, SheWeld = nil, nil, nil, nil
- local NLSC0 = LeftShoulder.C0
- local NLSC1 = LeftShoulder.C1
- local NRSC0 = RightShoulder.C0
- local NRSC1 = RightShoulder.C1
- local NLHC0 = LeftHip.C0
- local NLHC1 = LeftHip.C1
- local NRHC0 = RightHip.C0
- local NRHC1 = RightHip.C1
- local NNC0 = Neck.C0
- local NNC1 = Neck.C1
- local NRJC0 = RootJoint.C0
- local NRJC1 = RootJoint.C1
- local Handle, Hit_Box, Handle2, Hit_Box2, TEHandle, TESHandle, TEHit_Box, CEP = nil, nil, nil, nil, nil, nil, nil, nil
- local chatServ = game:GetService("Chat")
- local runServ = game:GetService("RunService")
- local debServ = game:GetService("Debris")
- local CurrentSpeed = 16
- local Current_Anim = "Idle"
- local Attack_Num = 1
- local Damage_Buff = 0
- local Max_Health = 400
- local Last_Health = Max_Health
- local idle = 1
- local idlenum = 1
- local idlenum2 = 1
- local walk = 1
- local walknum = 1
- local walknum2 = 1
- local Effects = {}
- local DragTable = {}
- local InputTable = {}
- local InputFrameTable = {}
- local TEBladeP = {}
- local TEBEffect, c1, c2 = nil, nil, nil
- local RGyro = Instance.new("BodyGyro")
- RGyro.MaxTorque = Vector3.new(0, 0, 0)
- RGyro.P = 2000
- local LLCF = CFrame.new()
- local SWP = Instance.new("BoolValue")
- local ControlScript = Player.PlayerScripts:WaitForChild("ControlScript")
- local Z_Pressed = false
- local Debounces = {Equipped = false, Equipping = false, HasWep = false, DuelWielding = false, Attacking = false, Locked_On = false, Can_Double_Jump = false, AnimOverride = false, Guarding = false, Crouching = false, JumpAnim = false, DoubleJumpAnim = false, KeyStrokeEnabled = false, Successful_KeyStroke = false, KeyStroke_CoolDown = false, UIAction = false, ZeroGravity = false, DoubleJumping = false, Charging_Erupt = false, Guarding = false, Transformed = false, DisableJump = false, Dashing = false, Hovering = false, TEWield = false, TESWield = false, CanGuard = true, SpedUp = false, HurrSlash = false, Stompped = false}
- local rad = math.rad
- local huge = math.huge
- local rand = math.random
- local Vec = Vector3.new
- local Cf = CFrame.new
- local Euler = CFrame.fromEulerAnglesXYZ
- local BC = BrickColor.new
- local Col3 = Color3.new
- local Inst = Instance.new
- local Ud2 = UDim2.new
- local FONT = "SourceSansLight"
- MakeText = function(text, font, duration, tcr, tcg, tcb, scr, scg, scb, cFrame)
- local tpart = Instance.new("Part")
- tpart.Parent = F2
- tpart.Transparency = 1
- tpart.Name = "hoi hoi"
- tpart.Anchored = true
- tpart.CanCollide = false
- tpart.Locked = true
- tpart.Size = Vector3.new(0.2, 0.2, 0.2)
- tpart.CFrame = cFrame * CFrame.new(math.random(-2, 2), 0, math.random(-2, 2))
- local bill = Instance.new("BillboardGui")
- bill.Parent = tpart
- bill.AlwaysOnTop = true
- bill.Name = "HUHHHHHNAAAA"
- bill.Size = UDim2.new(4, 0, 4, 0)
- bill.StudsOffset = Vector3.new(0, 1, 0)
- local counter = 0
- local textl = Instance.new("TextLabel")
- textl.Parent = bill
- textl.Name = "WHYYYYYYYY"
- textl.BackgroundTransparency = 1
- textl.Size = UDim2.new(1, 0, 1, 0)
- textl.Font = font
- textl.Text = text
- textl.TextColor3 = Color3.new(tcr / 255, tcg / 255, tcb / 255)
- textl.TextScaled = true
- textl.TextStrokeColor3 = Color3.new(scr / 255, scg / 255, scb / 255)
- textl.TextStrokeTransparency = 0
- coroutine.resume(coroutine.create(function()
- while textl.TextTransparency < 1 do
- swait()
- if bill.StudsOffset.Y >= 5 then
- if duration <= counter then
- textl.TextTransparency = textl.TextTransparency + 0.15
- textl.TextStrokeTransparency = textl.TextStrokeTransparency + 0.15
- end
- end
- counter = counter + 0.1
- bill.StudsOffset = Vector3.new(0, bill.StudsOffset.Y + 0.15, 0)
- end
- debServ:AddItem(bill, 0)
- debServ:AddItem(textl, 0)
- debServ:AddItem(tpart, 0)
- end))
- end
- Apply_Buff = function(amount, duration)
- coroutine.resume(coroutine.create(function()
- if amount > 0 and duration > 0 then
- Damage_Buff = Damage_Buff + amount
- MakeText("+" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
- wait(duration)
- Damage_Buff = Damage_Buff - amount
- MakeText("-" .. amount .. " Damage", FONT, 0.3, 255, 0, 0, 0, 0, 0, RootPart.CFrame)
- end
- end
- ))
- end
- Apply_Health_Buff = function(amount, duration)
- coroutine.resume(coroutine.create(function()
- if amount > 0 and duration > 0 then
- Max_Health = Max_Health + amount
- coroutine.resume(coroutine.create(function()
- wait()
- chr.Humanoid.Health = chr.Humanoid.Health + amount
- end
- ))
- MakeText("+" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
- wait(duration)
- Max_Health = Max_Health - amount
- MakeText("-" .. amount .. " Max Health", FONT, 0.3, 255, 170, 0, 0, 0, 0, RootPart.CFrame)
- end
- end
- ))
- end
- FindHum = function(parent)
- local hm = nil
- for _,HM in pairs(parent:GetChildren()) do
- if HM:IsA("Humanoid") then
- hm = HM
- end
- end
- return hm
- 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
- local DamageFunction = function(Hit, IsRan, MinDam, MaxDam, HKB, Knockback, DamType, Property, Duration, HDrag, DragDuration, SoEff, SoID, SoPit, SoVol)
- local humanoid = FindHum(Hit.Parent)
- if humanoid and humanoid ~= Humanoid then
- local IsSafe = true
- local Deb = humanoid:FindFirstChild("ChaosDebounce")
- if Deb then
- local Cre = Deb:FindFirstChild("Creator")
- if Cre and Cre.Value == Player.UserId then
- IsSafe = false
- end
- end
- if IsSafe then
- local deb = Inst("BoolValue", humanoid)
- deb.Name = "ChaosDebounce"
- local cre = Inst("NumberValue", deb)
- cre.Name = "Creator"
- cre.Value = Player.UserId
- debServ:AddItem(deb, Duration)
- debServ:AddItem(cre, Duration)
- local Damage = 1
- if IsRan then
- Damage = rand(MinDam, MaxDam)
- else
- Damage = MaxDam
- end
- local this_nigga_had_op_health = false
- if SoEff then
- local HitSound = Sound(Hit, "http://roblox.com/asset/?id=" .. SoID .. "", SoVol, SoPit, false)
- debServ:AddItem(HitSound, 6)
- end
- -- DECOMPILER ERROR at PC100: Unhandled construct in 'MakeBoolean' P1
- if (DamType == "Compensate" or string.sub(DamType, 1, 10) == "Compensate") and (humanoid.MaxHealth >= 100000 or humanoid.MaxHealth == 0) then
- if humanoid.MaxHealth >= 1000000000 or humanoid.MaxHealth == 0 then
- humanoid.MaxHealth = 100
- this_nigga_had_op_health = true
- end
- Damage = Damage * (humanoid.MaxHealth / 100)
- end
- if humanoid.MaxHealth >= 100000000 or humanoid.MaxHealth == 0 then
- this_nigga_had_op_health = true
- humanoid.MaxHealth = 100
- end
- if Damage_Buff > 0 then
- Damage = Damage * Damage_Buff
- end
- humanoid.Health = humanoid.Health - Damage
- if humanoid.MaxHealth / 4 <= Damage then
- MakeText("-" .. Damage .. "", "SourceSansBold", 0.3, 170, 0, 0, 255, 85, 0, Hit.CFrame)
- else
- local mtc = BrickColor.new("Really black").Color
- MakeText("-" .. Damage .. "", FONT, 0.3, mtc.r * 255, mtc.g * 255, mtc.b * 255, 0, 0, 0, Hit.CFrame)
- end
- do
- if HKB and (DamType ~= "SkyRocket" or DamType ~= "Compensate-SkyRocket") then
- if Property.Name ~= "Point" then
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- local KBCF = Cf(Hit.Position, Property.Position)
- Hit.Velocity = KBCF.lookVector * -Knockback
- else
- do
- Hit.Velocity = Property.CFrame.lookVector * Knockback
- if (DamType == "Normal" and DamType == "Stun") or DamType == "Compensate-Stun" then
- MakeText("Stunned", FONT, 0.3, 255, 255, 0, 0, 0, 0, Hit.CFrame)
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- local pos = Inst("BodyPosition", Hit)
- pos.MaxForce = Vec(huge, huge, huge)
- pos.Position = Hit.Position
- debServ:AddItem(pos, Duration * 10)
- else
- do
- if DamType == "LifeSteal" or DamType == "Compensate-LifeSteal" then
- Humanoid.Health = Humanoid.Health + Damage / 2
- MakeText("+" .. Damage / 2, FONT, 0.4, 0, 0, 0, 0, 255, 0, RootPart.CFrame)
- else
- if DamType == "MomentumStopper" or DamType == "Compensate-MomentumStopper" then
- local vel = Inst("BodyVelocity", Hit)
- vel.Name = "MomentumStopper"
- vel.MaxForce = Vec(huge, huge, huge)
- vel.Velocity = Vec(0, 0, 0)
- debServ:AddItem(vel, 3)
- else
- do
- if DamType == "Knockdown" or DamType == "Compensate-Knockdown" then
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- else
- if DamType == "SkyRocket" or DamType == "Compensate-SkyRocket" then
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- Hit.Velocity = Vec(0, Knockback, 0)
- if rand(1, 4) == 1 then
- local Twista = Inst("BodyAngularVelocity", Hit)
- Twista.MaxTorque = Vec(1000000, 1000000, 1000000)
- Twista.AngularVelocity = Vec(rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2), rand(-2, 2) * (Knockback / 2))
- debServ:AddItem(Twista, 0.01)
- end
- else
- do
- if DamType == "FreezeStun" or DamType == "Compensate-FreezeStun" then
- MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 170, 0, Hit.CFrame)
- coroutine.resume(coroutine.create(function()
- local ti = 0
- local hHead = Hit.Parent:FindFirstChild("Head")
- if hHead then
- hHead = Hit
- local h = Inst("Part", F2)
- h.Size = Vec(0.2, 0.2, 0.2)
- h.CanCollide = false
- h.Transparency = 1
- h.Position = hHead.Position
- local hWELD = Inst("Weld", h)
- hWELD.Part0 = hHead
- hWELD.Part1 = h
- hWELD.C0 = Cf(0, -4, 0)
- repeat
- ti = ti + 0.1
- for _,p in pairs(humanoid.Parent:GetChildren()) do
- if p:IsA("BasePart") then
- p.Anchored = true
- end
- end
- swait()
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- local p1 = hHead.Position + Vec(rand(-200, 200) / 100, -(hHead.Size.y * 1.5), rand(-200, 200) / 100)
- local p0 = h.Position
- Lightning(p0, p1, 5, 3, "Deep orange", "Neon", 0.1, 0.2, 0.2)
- until Duration * 12 <= ti
- for _,p in pairs(humanoid.Parent:GetChildren()) do
- if p:IsA("BasePart") then
- p.Anchored = false
- end
- end
- debServ:AddItem(h, 0)
- end
- end
- ))
- else
- if DamType == "KnockDownFreezeStun" or DamType == "Compensate-KnockDownFreezeStun" then
- MakeText("Stunned", FONT, 0.3, 0, 0, 0, 255, 64, 0, Hit.CFrame)
- coroutine.resume(coroutine.create(function()
- local ti = 0
- local scf = nil
- local h = Inst("Part", F2)
- h.Size = Vec(0.2, 0.2, 0.2)
- h.CanCollide = false
- h.Anchored = true
- h.Transparency = 1
- h.Position = Hit.Position
- h.CFrame = h.CFrame * Euler(rad(-90), 0, 0)
- local IL = {Character, Hit.Parent}
- local Ground, Pos = workspace:FindPartOnRayWithIgnoreList(Ray.new(h.Position, h.CFrame.lookVector.Unit * 999), IL, true, true)
- if Ground then
- Hit.CFrame = Cf(Pos) * Euler(rad(-90), 0, 0)
- scf = Cf(Pos) * Euler(rad(-90), 0, 0)
- end
- repeat
- ti = ti + 0.1
- for _,p in pairs(humanoid.Parent:GetChildren()) do
- if p:IsA("BasePart") then
- p.Anchored = true
- end
- end
- Hit.CFrame = scf
- swait()
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- until Duration * 7 <= ti
- for _,p in pairs(humanoid.Parent:GetChildren()) do
- if p:IsA("BasePart") then
- p.Anchored = false
- end
- end
- debServ:AddItem(h, 0)
- end
- ))
- end
- end
- if HDrag then
- humanoid:ChangeState(Enum.HumanoidStateType.FallingDown)
- local pos = Inst("BodyPosition", Hit)
- pos.MaxForce = Vec(huge, huge, huge)
- pos.Position = Drag_To_Part.Position
- local d = Inst("NumberValue", pos)
- d.Name = "Duration"
- d.Value = DragDuration
- table.insert(DragTable, pos)
- end
- do
- if this_nigga_had_op_health then
- coroutine.resume(coroutine.create(function()
- swait()
- Damage = Damage * 2
- humanoid.Health = humanoid.Health - Damage
- MakeText("-" .. Damage .. "", FONT, 0.4, 0, 0, 0, 0, 0, 91, Hit.CFrame)
- end
- ))
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- MagniDamage = function(Part, range, isRan, mindam, maxdam, hkb, knock, DType, dur, hd, dd, soe, soid, sopit, sovol)
- for _,c in pairs(workspace:GetChildren()) do
- local hum = FindHum(c)
- if hum and hum ~= Humanoid then
- local head = c:FindFirstChild("Head")
- local tor = c:FindFirstChild("Torso")
- local larm = c:FindFirstChild("Left Arm")
- local rarm = c:FindFirstChild("Right Arm")
- local lleg = c:FindFirstChild("Left Leg")
- local rleg = c:FindFirstChild("Right Leg")
- local Dis = range
- local Par = nil
- if head then
- local Mag = (head.Position - Part.Position).magnitude
- if Mag <= Dis then
- Dis = Mag
- Par = head
- end
- end
- if tor then
- local Mag = (tor.Position - Part.Position).magnitude
- if Mag <= Dis then
- Dis = Mag
- Par = tor
- end
- end
- if rarm then
- local Mag = (rarm.Position - Part.Position).magnitude
- if Mag <= Dis then
- Dis = Mag
- Par = rarm
- end
- end
- if larm then
- local Mag = (larm.Position - Part.Position).magnitude
- if Mag <= Dis then
- Dis = Mag
- Par = larm
- end
- end
- if rleg then
- local Mag = (rleg.Position - Part.Position).magnitude
- if Mag <= Dis then
- Dis = Mag
- Par = rleg
- end
- end
- if lleg then
- local Mag = (lleg.Position - Part.Position).magnitude
- if Mag <= Dis then
- Dis = Mag
- Par = lleg
- end
- end
- if Par then
- DamageFunction(Par, isRan, mindam, maxdam, hkb, knock, DType, Part, dur, hd, dd, soe, soid, sopit, sovol)
- end
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC113: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- CreatePart = function(className, parent, Brickcolor, Material, Transparency, Reflectance, Name, Size, Position, Rotation, MeshClass, MeshScale, MeshId, MeshType)
- local Part = Instance.new(className, parent)
- Part.BrickColor = BrickColor.new(Brickcolor)
- Part.Transparency = Transparency
- Part.Reflectance = Reflectance
- Part.Material = Material
- Part.Name = Name
- Part.Anchored = true
- Part.CanCollide = false
- Part.Locked = true
- Part.Size = Size
- Part.Position = Position
- Part.Rotation = Rotation
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- local Mesh = Instance.new(MeshClass, Part)
- Mesh.Scale = MeshScale
- if MeshClass == "SpecialMesh" then
- Mesh.MeshId = MeshId
- Mesh.MeshType = MeshType
- end
- return Part
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- local Point = Torso.CFrame * Cf(0, Torso.Size.Y, 0)
- LastPoint = Point
- effect = function(Color, Ref, LP, P1, returnn)
- local effectsmsh = Instance.new("CylinderMesh")
- effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
- effectsmsh.Name = "Mesh"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.5, 1, 0.5)
- effectsg.Parent = F2
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new(Color)
- effectsg.Reflectance = Ref
- local point1 = P1
- local mg = (LP.p - point1.p).magnitude
- effectsg.Size = Vector3.new(0.5, mg, 0.5)
- effectsg.CFrame = Cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
- effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
- game:GetService("Debris"):AddItem(effectsg, 2)
- if returnn then
- return effectsg
- end
- coroutine.resume(coroutine.create(function(Part, Mesh)
- if not returnn then
- for i = 0, 1, 0.05 do
- swait()
- Part.Transparency = 1 * i
- Mesh.Scale = Vector3.new(0.5 - 0.5 * i, 1, 0.5 - 0.5 * i)
- end
- Part.Parent = nil
- end
- end
- ), effectsg, effectsmsh)
- end
- local CFrameFromTopBack = function(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- NoOutline = function(Part)
- Part.TopSurface = 10
- end
- pert = function(parent, reflectance, transparency, brickcolor, name, size, material)
- local fp = Inst("Part")
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = Torso.Position
- NoOutline(fp)
- fp.Material = material
- fp:BreakJoints()
- return fp
- end
- mesh = function(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = Inst(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- mesh.MeshId = meshid
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- MagicBlock = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
- end
- MagicBlock2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Disappear", Delay, x3, y3, z3})
- end
- MagicSpikeBall = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/Asset/?id=9982590", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Block1", Delay, x3, y3, z3})
- end
- MagicCircle = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
- end
- MagicWave = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
- end
- MagicWave2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Wave", Delay, x3, y3, z3})
- end
- MagicCylinder = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Head", "", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
- end
- MagicCylinder2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(0.2, 0.2, 0.2), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("CylinderMesh", prt, "", "", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- Effects[#Effects + 1] = {prt, "Cylinder", Delay, x3, y3, z3}
- end
- MagicBlood = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "Sphere", "", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
- end
- MagicRing = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Cylinder", Delay, x3, y3, z3})
- end
- MagicRing2 = function(brickcolor, material, cframe, x1, y1, z1, x3, y3, z3, Delay)
- local prt = pert(F2, 0, 0, brickcolor, "Effect", Vec(), material)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=3270017", Vec(0, 0, 0), Vec(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- table.insert(Effects, {prt, "Blood", Delay, x3, y3, z3})
- end
- ElecEffect = function(brickCol, material, cff, x, y, z)
- local prt = pert(F2, 0, 0, brickCol, "Part", Vec(1, 1, 1), material)
- prt.Anchored = true
- prt.CFrame = cff * Cf(rand(-x, x), rand(-y, y), rand(-z, z))
- prt.CFrame = Cf(prt.Position)
- debServ:AddItem(prt, 2)
- local xval = math.random() / 2
- local yval = math.random() / 2
- local zval = math.random() / 2
- local msh = mesh("BlockMesh", prt, "", "", Vec(0, 0, 0), Vec(xval, yval, zval))
- Effects[#Effects + 1] = {prt, "Elec", 0.1, x, y, z, xval, yval, zval}
- end
- Lightning = function(p0, p1, tym, ofs, col, mat, th, tra, last)
- local magz = (p0 - p1).magnitude
- local curpos = p0
- local trz = {-ofs, ofs}
- for i = 1, tym do
- local li = Instance.new("Part", F2)
- li.TopSurface = 0
- li.BottomSurface = 0
- li.Anchored = true
- li.Transparency = tra or 0.4
- li.BrickColor = BrickColor.new(col)
- li.Material = mat
- li.Material = "Neon"
- li.formFactor = "Custom"
- li.CanCollide = false
- li.Size = Vector3.new(th, th, magz / tym)
- local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
- local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
- if tym == i then
- local magz2 = (curpos - p1).magnitude
- li.Size = Vector3.new(th, th, magz2)
- li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
- game:GetService("Debris"):AddItem(li, last)
- else
- li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
- curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
- game:GetService("Debris"):AddItem(li, last)
- end
- end
- end
- Triangle = function(a, b, c, tcol, tmat)
- local edg1 = (c-a):Dot((b-a).unit)
- local edg2 = (a-b):Dot((c-b).unit)
- local edg3 = (b-c):Dot((a-c).unit)
- if edg1 <= (b - a).magnitude and edg1 >= 0 then
- a = a
- elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
- a = b
- elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
- a = c
- else
- return
- end
- local len1 = (c-a):Dot((b-a).unit)
- local len2 = (b-a).magnitude - len1
- local width = (a + (b-a).unit*len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
- local list = {}
- if len1 > 0.01 then
- local w1 = Inst("WedgePart", F2)
- w1.Material = tmat
- w1.BrickColor = BC(tcol)
- w1.Transparency = 0
- w1.Reflectance = 0
- w1.CanCollide = false
- NoOutline(w1)
- local sz = Vec(0.2, width, len1)
- w1.Size = sz
- local sp = Inst("SpecialMesh", w1)
- sp.MeshType = "Wedge"
- sp.Scale = Vec(0, 1, 1) * sz / w1.Size
- w1:BreakJoints()
- w1.Anchored = true
- w1.Transparency = 0.7
- debServ:AddItem(w1, 25)
- table.insert(Effects, {w1, "Disappear", 0.045})
- w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
- table.insert(list, w1)
- end
- if len2 > 0.01 then
- local w2 = Inst("WedgePart", F2)
- w2.Material = tmat
- w2.BrickColor = BC(tcol)
- w2.Transparency = 0
- w2.Reflectance = 0
- w2.CanCollide = false
- NoOutline(w2)
- local sz = Vec(0.2, width, len2)
- w2.Size = sz
- local sp = Inst("SpecialMesh", w2)
- sp.MeshType = "Wedge"
- sp.Scale = Vec(0, 1, 1) * sz / w2.Size
- w2:BreakJoints()
- w2.Anchored = true
- w2.Transparency = 0.7
- debServ:AddItem(w2, 25)
- table.insert(Effects, {w2, "Disappear", 0.045})
- w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
- table.insert(list, w2)
- end
- return unpack(list)
- end
- local sou = Instance.new("Sound", game.Players.LocalPlayer.PlayerGui)
- sou.Volume = 10
- sou.SoundId = "http://roblox.com/asset/?id=413625451"
- sou:Play()
- Player=game:GetService('Players').LocalPlayer
- Character=Player.Character
- Mouse=Player:GetMouse()
- m=Instance.new('Model',Character)
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- it=Instance.new
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(shape,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.Shape=shape
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- RAhitbox=part(Enum.PartType.Block,m,Enum.Material.Plastic,1,1,"Medium stone grey","Handle",Vector3.new(1, 0.200000003, 1.00999999))
- RAhitboxweld=weld(m,Character["Right Arm"],RAhitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00998353958, 0.910007954, -0.00500106812, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
- LAhitbox=part(Enum.PartType.Block,m,Enum.Material.Plastic,1,1,"Medium stone grey","Handle",Vector3.new(1, 0.200000003, 1.00999999))
- LAhitboxweld=weld(m,Character["Left Arm"],LAhitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14440918e-005, 0.929992437, -0.00500202179, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
- EShandle=part(Enum.PartType.Ball,m,Enum.Material.Plastic,0,1,"Bright violet","Handle",Vector3.new(2, 2, 2))
- EShandleweld=weld(m,Character["Right Arm"],EShandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0299917459, -0.430033207, 1.20000148, 1, 0, 0, 0, 0, -1, 0, 0.999999881, 0))
- ESmesh = mesh("SpecialMesh",EShandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=124096386",Vector3.new(0, 0, 0),Vector3.new(1.29999995, 1.29999995, 1.5))
- ESmesh.TextureId = "http://www.roblox.com/asset/?id=124096423"
- HMhandle=part(Enum.PartType.Block,m,Enum.Material.Plastic,0,0,"Medium stone grey","Handle",Vector3.new(1, 2, 2))
- HMhandleweld=weld(m,Character["Head"],HMhandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00999301672, -0.199908733, -0.0592112541, 1, 0, 0, 0, 1, 0, 0, 0, 1))
- HMmesh = mesh("SpecialMesh",HMhandle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=13158197",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- HMmesh.TextureId = "http://www.roblox.com/asset/?id=16687868"
- SWhandle=part(Enum.PartType.Block,m,Enum.Material.Plastic,1,1,"Medium stone grey","Handle",Vector3.new(0.200000003, 0.200000003, 0.840000033))
- SWhandleweld=weld(m,Character["Right Arm"],SWhandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.030000329, 1.01999998, -2.38418579e-006, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Black","Part",Vector3.new(0.229842529, 2.98795199, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.05514884, -3.19724083, 0.0275689363, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 1, 0.409999996))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.459685028, 0.516746044))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0275660753, -6.54111862, 0.0598090887, 1, 0, 0, 0, -0.00575800147, -0.99998349, 0, 0.999983251, -0.00575800287))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.5))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 1.60889685, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.027567029, -2.51919746, 0.220660448, 1, 0, 0, 0, -0.00575800147, -0.99998349, 0, 0.999983251, -0.00575800287))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.459685028, 0.516746044))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0275660753, -6.54112911, 0.170048952, -1, 0, 0, 0, -0.00575800147, -0.99998349, 0, -0.999983251, 0.00575800287))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.5))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 1.60889685, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.027567029, -2.51920033, 0.330970764, -1, 0, 0, 0, -0.00575800147, -0.99998349, 0, -0.999983251, 0.00575800287))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.459684998, 4.59684944, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0551514626, -4.01317501, 0.027564168, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.379240066, 0.482669294, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.3940115, -0.67692101, -0.028858304, 0, 0.253252983, -0.967400134, 0, -0.967399895, -0.253253043, -1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.60908252, 0.448192745, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0608918667, -1.55964851, 0.027567029, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","Part",Vector3.new(0.229842529, 0.344763756, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.890286565, -0.514597893, 0.0275689363, 0, -0.868888795, -0.495007008, 0, 0.495006889, -0.868888974, 1, 0, 0))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.229842499, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0284448862, 1.24394178, 0.284273624, 1, 0, 0, 0, 0.00576100126, 0.99998349, 0, -0.999983251, 0.00576100266))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 1))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.367748022, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0550305843, -1.28953552, 0.0284429789, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.229842499, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0288568735, 1.24361324, 0.164353848, -1, 0, 0, 0, 0.00575800147, 0.99998349, 0, 0.999983251, -0.00575800287))
- mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.400000006, 1, 1))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","Part",Vector3.new(0.459685028, 0.229842499, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.432916641, -0.643239021, 0.0275679827, 0, -0.967399895, -0.253253043, 0, 0.253252983, -0.967400134, 1, 0, 0))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.367748022, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0551564693, -0.944815636, 0.027567029, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","Part",Vector3.new(0.229842529, 0.229842499, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0551514626, -0.669003487, 0.027567029, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0.10000000149012,0,"Dark stone grey","Part",Vector3.new(0.379240066, 0.482669294, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.3627882, -0.791748524, 0.028439641, 0, -0.264381021, -0.964418352, 0, 0.964418113, -0.264381051, 1, 0, 0))
- mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.400000006))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","Part",Vector3.new(0.459685028, 0.229842499, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.539485931, -0.614674568, 0.0275679827, 0, -0.96441865, 0.264378965, 0, -0.264378905, -0.964418888, 1, 0, 0))
- Part=part(Enum.PartType.Block,m,Enum.Material.Plastic,0,0,"Reddish brown","Part",Vector3.new(0.229842529, 1.14921248, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0551562309, 0.020524025, 0.027567029, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","Part",Vector3.new(0.229842529, 0.344763756, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.985641956, -0.459183216, 0.0271521807, 0, -0.863132, 0.50497812, 0, -0.504978001, -0.863132179, 1, 0, 0))
- Part=part(Enum.PartType.Block,m,Enum.Material.Plastic,0,0,"Dark stone grey","Part",Vector3.new(0.229842529, 0.229842499, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0551600456, 0.710048199, 0.0275679827, 0, -0.999983251, 0.00575800287, 0, -0.00575800147, -0.99998349, 1, 0, 0))
- mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","Part",Vector3.new(0.229842499, 0.229842544, 0.258372992))
- Partweld=weld(m,SWhandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.027567029, -0.0551562309, 0.020524025, -1, 0, 0, 0, 0.999983251, -0.00575800287, 0, -0.00575800147, -0.99998349))
- mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.229842499, 0.229842499, 0.645932496))
- mesh1=part(Enum.PartType.Block,m,Enum.Material.Metal,0,0,"Dark stone grey","mesh",Vector3.new(0.229842499, 0.229842499, 0.775120556))
- meshweld=weld(m,SWhandle,mesh1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.055167675, -0.027567029, -0.583652496, 0, 0.999983251, -0.00575800287, -1, 0, 0, 0, 0.00575800147, 0.99998349))
- mesh("SpecialMesh",mesh1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=30694864",Vector3.new(0, 0, 0),Vector3.new(0.459684998, 1.14921248, 0.258372992))
- SWhitbox=part(Enum.PartType.Block,m,Enum.Material.Plastic,1,1,"Medium stone grey","SWhitbox",Vector3.new(0.439999968, 0.74000001, 5.11000013))
- SWhitboxweld=weld(m,SWhandle,SWhitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0200124979, 0.00290441513, 4.29502964, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1))
- SHhandle=part(Enum.PartType.Block,m,Enum.Material.Plastic,1,1,"Medium stone grey","Handle",Vector3.new(0.200000003, 0.769999981, 0.529999971))
- SHhandleweld=weld(m,Character["Left Arm"],SHhandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400016189, 0.515001297, -0.0549898148, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
- SHhitbox=part(Enum.PartType.Block,m,Enum.Material.Plastic,1,1,"Medium stone grey","SHhitbox",Vector3.new(0.569999993, 2.54999995, 3.30999994))
- SHhitboxweld=weld(m,SHhandle,SHhitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.184999466, 0.0999999046, 0.220000267, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.528896451, 0.21155858))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 1.36528063, 1.02500558, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 2.72381663, 0.370227516))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.00337171555, 0.390332699, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.3173379, 0.290893048))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -1.0147543, 0.720886707, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.200000003, 0.200000003))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 1.57683802, 0.839891672, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- mesh("BlockMesh",InnerArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.528896332, 0.793344736))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 1.1900171, 0.476006806))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.261079311, 0.813444853, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.634675741, 0.343782663))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.651270866, 0.747338772, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.714010298, 0.200000003))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.155302048, 0.897533894, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- mesh("BlockMesh",InnerArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.528896689))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 1.1900171, 0.476006806))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.261076927, 0.6066432, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.634675741, 0.343782663))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.651269913, 0.540532112, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 2.72381663, 0.370227516))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.00337171555, 0.183526993, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.555341303, 0.343782663))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.24627733, 0.540530205, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.200000003, 0.200000003))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.57683802, 0.633086205, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- mesh("BlockMesh",InnerArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.528896332, 0.793344736))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.528896451, 0.21155858))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.36528063, 0.818199158, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.3173379, 0.290893048))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -1.0147543, 0.514083385, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.714010298, 0.200000003))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.15530014, 1.1043396, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- mesh("BlockMesh",InnerArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.528896689))
- InnerArmour=part(Enum.PartType.Block,m,Enum.Material.WoodPlanks,0,0,"Reddish brown","InnerArmour",Vector3.new(0.21155858, 0.555341303, 0.343782663))
- InnerArmourweld=weld(m,SHhandle,InnerArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 1.24628115, 0.747336864, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.238003418, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.0192620754, 1.31883669, 1, 0, 0, 0, -0.999847651, 0.017444998, 0, -0.0174449943, -0.999847889))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.465981483, 1.02243972, 1, 0, 0, 0, -0.406747699, 0.913540602, 0, -0.913540363, -0.406747758))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.584353924, 1.23170853, -1, 0, 0, 0, 0.406746864, 0.9135409, 0, 0.913540661, -0.406746954))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.0413217545, 1.39935923, -1, 0, 0, 0, 0.809023321, 0.587776363, 0, 0.587776244, -0.809023499))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 1.63648748, 0.600485325, -1, 0, 0, 0, 0.374605954, 0.927184105, 0, 0.927183867, -0.374606013))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.651269913, 0.853116751, -1, 0, 0, 0, 0, 1, 0, 0.999999762, 0))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.370227545, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 0.239737988, 1.89681149, -1, 0, 0, 0, -0.766043961, 0.642788053, 0, 0.642787874, 0.76604414))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 1.57398796, -0.0526809692, -1, 0, 0, 0, 0.707105637, 0.707107842, 0, 0.707107663, -0.707105815))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.20907414, 1.35683823, -1, 0, 0, 0, 0.98480773, 0.173647001, 0, 0.173646957, -0.984807968))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.133444786, 1.21109939, -1, 0, 0, 0, 0.275648147, 0.961258709, 0, 0.961258471, -0.275648206))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.161242962, 1.23169899, -1, 0, 0, 0, 0.406746864, 0.9135409, 0, 0.913540661, -0.406746954))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.106448174, 1.22403717, -1, 0, 0, 0, 0.139174953, 0.990267873, 0, 0.990267634, -0.139174983))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.433293343, 1.1271919, -1, 0, 0, 0, -0.422615051, 0.906309307, 0, 0.906309068, 0.422615141))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.238003418, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 0.209765434, 1.32283068, -1, 0, 0, 0, 0.999847651, 0.017444998, 0, 0.0174449943, -0.999847889))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.078110218, 1.21110153, -1, 0, 0, 0, 0.275648147, 0.961258709, 0, 0.961258471, -0.275648206))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.239511013, 0.962484241, -1, 0, 0, 0, -0.241915062, 0.970297456, 0, 0.970297217, 0.241915122))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.453361511, 0.901169062, -1, 0, 0, 0, -0.719334483, 0.694663644, 0, 0.694663465, 0.719334662))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 1.07729006, 0.54832077, -1, 0, 0, 0, 0.342019826, 0.939692736, 0, 0.939692497, -0.342019886))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 1.05198669, 1.52618778, -1, 0, 0, 0, -0.275638133, 0.96126157, 0, 0.961261332, 0.275638193))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.549270391, -1.45071411, 1, 0, 0, 0, -0.798634708, -0.601815939, 0, 0.60181582, -0.798634887))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.84371996, -0.161863089, 1, 0, 0, 0, -0.406736672, 0.913545489, 0, -0.913545251, -0.406736761))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.651269913, 0.624055386, 1, 0, 0, 0, 0, 1, 0, -0.999999762, 0))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.0165069103, 1.3170619, 1, 0, 0, 0, -0.984807611, 0.173647985, 0, -0.17364794, -0.984807849))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.11512375, 1.30599833, 1, 0, 0, 0, 0.275636911, 0.961261868, 0, -0.96126163, 0.275636971))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.549267769, -1.66226959, 1, 0, 0, 0, -0.798634708, -0.601815939, 0, 0.60181582, -0.798634887))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.998947144, 0.333073616, 1, 0, 0, 0, -0.342018932, 0.939693093, 0, -0.939692855, -0.342018992))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.317337841))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -1.313972, 0.0341119766, 1, 0, 0, 0, 0, -1, 0, 0.999999762, 0))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.254415512, 1.02244806, 1, 0, 0, 0, -0.406747699, 0.913540602, 0, -0.913540363, -0.406747758))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.990917206, -1.0297761, 1, 0, 0, 0, -0.559192002, -0.829038203, 0, 0.829038024, -0.559192121))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.55066299, 0.388108253, 1, 0, 0, 0, -0.374605089, 0.927184403, 0, -0.927184165, -0.374605179))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.28859067, 0.742046356, 1, 0, 0, 0, 0.71933502, 0.694663167, 0, -0.694662988, 0.719335198))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.294923306, 0.740227222, 1, 0, 0, 0, 0.241916001, 0.970297217, 0, -0.970296979, 0.24191606))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.990917206, -1.0826683, 1, 0, 0, 0, -0.559192002, -0.829038203, 0, 0.829038024, -0.559192121))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.370227545, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.415210724, 1.74958563, 1, 0, 0, 0, 0.766044796, 0.64278698, 0, -0.642786801, 0.766044974))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.0149698257, 0.990914583, 1, 0, 0, 0, -0.275647849, 0.96125865, 0, -0.961258411, -0.275647908))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.677524567, 1.02245259, 1, 0, 0, 0, -0.406747699, 0.913540602, 0, -0.913540363, -0.406747758))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.196585178, 0.990913033, 1, 0, 0, 0, -0.275647849, 0.96125865, 0, -0.961258411, -0.275647908))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.712123871, -1.1949501, -1, 0, 0, 0, 0.965925634, 0.258818984, 0, 0.258818924, -0.965925872))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568581))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 2.38003421, 0.211558565))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.0362410545, 0.0961270332, 1, 0, 0, 0, 0, -1, 0, 0.999999762, 0))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.586700916, 0.680837154, 1, 0, 0, 0, 0.809014797, 0.587787986, 0, -0.587787867, 0.809014976))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 0.0563936234, -1.31143427, -1, 0, 0, 0, 0.999999762, 0, 0, 0, -1))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568581))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.490869045, -1.25423431, 1, 0, 0, 0, -0.965925634, 0.258818984, 0, -0.258818924, -0.965925872))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568581))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.264448255, 0.264448196))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.883812428, -0.747871876, 1, 0, 0, 0, 0.707107663, -0.707105815, 0, 0.707105637, 0.707107842))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.528896511, 0.528896511, 0.528896391))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.0362410545, 0.0961270332, 1, 0, 0, 0, 0, -1, 0, 0.999999762, 0))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.490866661, 1.25423813, 1, 0, 0, 0, 0.965925634, -0.258818984, 0, 0.258818924, 0.965925872))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568581))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.290893078, 0.317337811))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.938922048, -0.29045105, 1, 0, 0, 0, -0.98480773, -0.173647001, 0, 0.173646957, -0.984807968))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.549268723, -1.55649471, 1, 0, 0, 0, -0.798635185, -0.601815283, 0, 0.601815164, -0.798635364))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.370227545, 0.317337811))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -1.48092985, -0.237345695, -1, 0, 0, 0, -0.241921887, -0.970295787, 0, -0.970295548, 0.241921946))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.712123871, 1.1949501, -1, 0, 0, 0, -0.965925634, -0.258818984, 0, -0.258818924, 0.965925872))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568581))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.099966526, 1.30482435, 1, 0, 0, 0, -0.927187979, 0.374596089, 0, -0.374596, -0.927188218))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.740454972))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -1.31881666, 0.0961260796, 1, 0, 0, 0, 0, -1, 0, 0.999999762, 0))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Brick,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.370227545, 0.317337811))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -1.42646885, -0.0189169645, 1, 0, 0, 0, 0.241921887, -0.970295787, 0, 0.970295548, 0.241921946))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.290893078, 0.317337811))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 1.16040301, -0.32950449, -1, 0, 0, 0, 0.984807611, -0.173647985, 0, -0.17364794, -0.984807849))
- mesh("SpecialMesh",OuterArmour,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 1.34560442, 0.35764122, -1, 0, 0, 0, 0.484810114, 0.874619424, 0, 0.874619246, -0.484810263))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 0.0745720863, 0.997199774, 1, 0, 0, 0, -0.13917999, 0.990267098, 0, -0.99026686, -0.139180019))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.23455, 0.157299519, 1, 0, 0, 0, -0.484808952, 0.87462014, 0, -0.874619961, -0.484809071))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.366328716, -1.69434881, -1, 0, 0, 0, 0.798636019, -0.601814091, 0, -0.601813972, -0.798636198))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.238003418, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.125024557, 1.31699038, 1, 0, 0, 0, -0.999847651, 0.017444998, 0, -0.0174449943, -0.999847889))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.862827778, -1.27256823, -1, 0, 0, 0, 0.559192717, -0.829037726, 0, -0.829037547, -0.559192836))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.372799397, 1.23168468, -1, 0, 0, 0, 0.406746864, 0.9135409, 0, 0.913540661, -0.406746954))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.772012234, 0.815478802, -1, 0, 0, 0, -0.809013546, 0.587789774, 0, 0.587789655, 0.809013724))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, 0.112412333, 1.39063263, -1, 0, 0, 0, 0.927187145, 0.374598116, 0, 0.374598026, -0.927187383))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.226634979, 1.26472282, 1, 0, 0, 0, -0.809023619, 0.587775886, 0, -0.587775767, -0.809023798))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.366328716, -1.58856344, -1, 0, 0, 0, 0.798636019, -0.601814091, 0, -0.601813972, -0.798636198))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169993877, -0.862824917, -1.21967745, -1, 0, 0, 0, 0.559192717, -0.829037726, 0, -0.829037547, -0.559192836))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, -0.366325378, -1.80012083, -1, 0, 0, 0, 0.798636019, -0.601814091, 0, -0.601813972, -0.798636198))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, 1.41201591, -0.2146492, 1, 0, 0, 0, -0.70710665, 0.707106829, 0, -0.70710665, -0.707106829))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.200000003, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.169996738, 1.93688345, 0.0473971367, -1, 0, 0, 0, 0.406735808, 0.913545787, 0, 0.913545549, -0.406735897))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.925568879, 0.925568759))
- OuterArmour=part(Enum.PartType.Block,m,Enum.Material.DiamondPlate,0,0,"Medium stone grey","OuterArmour",Vector3.new(0.264448255, 0.21155858, 0.200000003))
- OuterArmourweld=weld(m,SHhandle,OuterArmour,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.169996738, -0.336485386, 0.919593334, 1, 0, 0, 0, 0.422612995, 0.90631026, 0, -0.906310022, 0.422613055))
- mesh("BlockMesh",OuterArmour,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.925568759))
- --[[local mult = 2
- ----------------------------------------------------
- larm.Size = larm.Size * mult
- rarm.Size = rarm.Size * mult
- lleg.Size = lleg.Size * mult
- rleg.Size = rleg.Size * mult
- torso.Size = torso.Size * mult
- hed.Size = hed.Size * mult
- rutprt.Size = rutprt.Size * mult
- ----------------------------------------------------]]
- newWeld(law, torso, larm, -1.5, 0.5, 0)
- newWeld(raw, torso, rarm, 1.5, 0.5, 0)
- newWeld(llw, torso, lleg, -.5, -2, 0)
- newWeld(rlw, torso, rleg, .5, -2, 0)
- newWeld(hw, torso, hed, 0, 1.5, 0)
- local rutwald=Instance.new('Weld',rutprt)
- rutwald.Part0=rutprt
- rutwald.Part1=torso
- rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
- rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
- rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
- 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 ~= chr then
- if(v.Torso.Position -Position).magnitude <= Distance then
- table.insert(List,v)
- end
- end
- end
- end
- end
- return List
- 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(2,5,5)*(math.random(1,10)/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(1,1,1)*(math.random(1,10)/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(sp2.CFrame.x,0,sp2.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
- --[[Crater(sp2,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)]]
- maus.KeyDown:connect(function(kei)
- if string.byte(kei)==48 then
- runnin=true
- end
- if kei=='w' then fldb.w=true end
- if kei=='a' then fldb.a=true end
- if kei=='s' then fldb.s=true end
- if kei=='d' then fldb.d=true end
- end)
- maus.KeyUp:connect(function(kei)
- if string.byte(kei)==48 then
- runnin=false
- end
- if kei=='w' then fldb.w=false end
- if kei=='a' then fldb.a=false end
- if kei=='s' then fldb.s=false end
- if kei=='d' then fldb.d=false end
- end)
- local Hold = false
- local blocking = false
- maus.KeyDown:connect(function(kei)
- if kei=='e' --[[and not attack]] then
- if equiped and not atking and not estus then
- equiped = false
- SWhandleweld:Destroy()
- SWhandleweld=weld(m,Character["Left Arm"],SWhandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.600026965, 0.68007946, -2.5784564, -1, 0, 0, 0, 0.999999881, 0, 0, 0, -1))
- print(equiped)
- elseif not equiped and not estus and not atking then
- equiped = true
- SWhandleweld:Destroy()
- SWhandleweld=weld(m,Character["Right Arm"],SWhandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.030000329, 1.01999998, -2.38418579e-006, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1))
- print(equiped)
- end
- elseif kei=='z' --[[and not atking]] then
- if not equiped and not estus and not atking then
- atking = true
- sp = Instance.new("Part",rarm)
- sp.Anchored = true
- sp.CanCollide = false
- sp.Locked = true
- sp.Transparency = 1
- sp.Material = "Neon"
- sp.Size = Vector3.new(1,1,1)
- sp.TopSurface = "SmoothNoOutlines"
- sp.BottomSurface = "SmoothNoOutlines"
- sp.BrickColor = BrickColor.new("Really black")
- spm = Instance.new("SpecialMesh",sp)
- spm.MeshType = "Sphere"
- spm.Scale = Vector3.new(1,1,1)
- for i = 1, 100, 20 do
- swait()
- sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
- end
- for i = 1, 20 do
- swait()
- sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
- end
- sp.Transparency = 0
- for i = 0, 10, 0.02 do
- swait()
- y=30*math.sin(i*3)
- x=3*math.sin(i*3)
- sp.CFrame = rarm.CFrame*CFrame.new(0,-20,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(0),math.rad(-6),math.rad(170)), 0.1)
- MagicBlock(BrickColor.new("Reallx black"), "Neon", RAhitbox:GetRenderCFrame(), x*1.6, x*1.6, x*1.6, .16, .16, .16, .02)
- MagicCircle(BrickColor.new("Institutuional white"), "Neon", RAhitbox:GetRenderCFrame(), x*1.6, x*1.6, x*1.6, .2, .2, .2, .02)
- spm.Scale = Vector3.new(y,y,y)
- end
- spm.Scale = Vector3.new(1,1,1)
- sp.CFrame = torso.CFrame + Vector3.new(0,2,0)
- for i = 0, 1, 0.02 do
- swait()
- 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.1)
- end
- atking = false
- sp.CFrame = torso.CFrame + Vector3.new(0,0,-2)
- sp:Destroy()
- sp2 = Instance.new("Part",rarm)
- sp2.Anchored = false
- sp2.CanCollide = false
- sp2.Transparency = 0
- sp2.Material = "Neon"
- sp2.Size = Vector3.new(1,1,1)
- sp2.TopSurface = "SmoothNoOutlines"
- sp2.BottomSurface = "SmoothNoOutlines"
- sp2.BrickColor = BrickColor.new("Really black")
- spm2 = Instance.new("SpecialMesh",sp2)
- spm2.MeshType = "Sphere"
- spm2.Scale = Vector3.new(1,1,1)
- sp2.CFrame = rarm.CFrame + Vector3.new(0,3,0)
- local bv = Instance.new("BodyPosition",sp2)
- bv.maxForce = Vector3.new(99999,99999,99999)
- bv.position = Mouse.Hit.p
- wait(3)
- local cf = sp2.CFrame
- bv:Destroy()
- sp2.Anchored = true
- sp2.Size = Vector3.new(1,1,1)
- sp2.CanCollide = false
- for i,v in pairs(FindNearestTorso(sp2.CFrame.p,math.huge))do
- if v:FindFirstChild('Humanoid') then
- --v.Humanoid:TakeDamage(math.random(1,100))
- v.Humanoid.PlatformStand = true
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
- local PLtorsos = v:FindFirstChild("Torso")
- local bv2 = Instance.new("BodyPosition",PLtorsos)
- bv2.maxForce = Vector3.new(99999,99999,99999)
- bv2.position = sp2.CFrame.p
- end
- end
- sp3=sp2:Clone()
- sp3.Anchored = true
- sp2:Destroy()
- local blast = Instance.new("Part", rarm)
- blast.BrickColor = BrickColor.new("Really black")
- blast.Material = "Neon"
- blast.Anchored = true
- blast.CanCollide = false
- blast.Locked = true
- blast.Size = Vector3.new(1, 1, 1)
- blast.TopSurface = "Smooth"
- blast.BottomSurface = "Smooth"
- blast.Transparency = 0
- blast.CFrame = sp3.CFrame
- local bm = Instance.new("SpecialMesh", blast)
- bm.Scale = Vector3.new(3,3,3)
- bm.MeshType = "Sphere"
- local blast2 = Instance.new("Part", rarm)
- blast2.BrickColor = BrickColor.new("Institutuional white")
- blast2.Material = "Neon"
- blast2.Anchored = true
- blast2.CanCollide = false
- blast2.Locked = true
- blast2.Size = Vector3.new(1, 1, 1)
- blast2.TopSurface = "Smooth"
- blast2.BottomSurface = "Smooth"
- blast2.Transparency = 0
- blast2.CFrame = sp3.CFrame
- local bm2 = Instance.new("SpecialMesh", blast2)
- bm2.Scale = Vector3.new(3,3,3)
- bm2.MeshType = "Sphere"
- local blast3 = Instance.new("Part", rarm)
- blast3.BrickColor = BrickColor.new("Really black")
- blast3.Material = "Neon"
- 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 = sp3.CFrame
- local bm3 = Instance.new("SpecialMesh", blast3)
- bm3.Scale = Vector3.new(3,3,3)
- bm3.MeshType = "Sphere"
- for i = 1,400 do swait()
- for i,v in pairs(FindNearestTorso(sp2.CFrame.p,math.huge))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(.01,.01))
- end
- end
- y=15*math.sin(i*3)
- MagicBlock(BrickColor.new("Really black"), "Neon", sp3:GetRenderCFrame(), y, y, y, y, y, y, .02)
- MagicCircle(BrickColor.new("Institutuional white"), "Neon", sp3:GetRenderCFrame(), y, y, y, y, y, y, .02)
- blast.Transparency = blast.Transparency + (1/400)
- blast2.Transparency = blast2.Transparency + (1/400)
- blast3.Transparency = blast3.Transparency + (1/400)
- bm.Scale = bm.Scale + Vector3.new(y + .5,y + .5,y + .5)
- bm2.Scale = bm2.Scale + Vector3.new(y + .5,y + .5,y + .5)
- bm3.Scale = bm3.Scale + Vector3.new(y + .5,y + .5,y + .5)
- blast.CFrame = cf
- blast2.CFrame = cf
- blast3.CFrame = cf
- end
- sp3:Destroy()
- blast:Destroy()
- blast2:Destroy()
- blast3:Destroy()
- end
- elseif kei=='x' --[[and not atking]] then
- if not equiped and not estus and not atking then
- atking = true
- sp = Instance.new("Part",rarm)
- sp.Anchored = true
- sp.CanCollide = false
- sp.Locked = true
- sp.Transparency = 1
- sp.Material = "Neon"
- sp.Size = Vector3.new(1,1,1)
- sp.TopSurface = "SmoothNoOutlines"
- sp.BottomSurface = "SmoothNoOutlines"
- sp.BrickColor = BrickColor.new("Really black")
- spm = Instance.new("SpecialMesh",sp)
- spm.MeshType = "Sphere"
- spm.Scale = Vector3.new(1,1,1)
- for i = 1, 100, 20 do
- swait()
- sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
- end
- for i = 1, 20 do
- swait()
- sp.CFrame = torso.CFrame*CFrame.new(0,1,-2)
- end
- sp.Transparency = 0
- for i = 0, 10, 0.02 do
- swait()
- y=6*math.sin(i*1)
- x=3*math.sin(i*1)
- sp.CFrame = rarm.CFrame*CFrame.new(0,-6,0)
- rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.55,0)*CFrame.Angles(math.rad(0),math.rad(-6),math.rad(170)), 0.1)
- spm.Scale = Vector3.new(y,y,y)
- end
- spm.Scale = Vector3.new(1,1,1)
- sp.CFrame = torso.CFrame + Vector3.new(0,2,0)
- for i = 0, 1, 0.02 do
- swait()
- 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.1)
- end
- atking = false
- sp.CFrame = torso.CFrame + Vector3.new(0,0,-2)
- sp:Destroy()
- sp2 = Instance.new("Part",rarm)
- sp2.Anchored = false
- sp2.CanCollide = false
- sp2.Transparency = 0
- sp2.Material = "Neon"
- sp2.Size = Vector3.new(1,1,1)
- sp2.TopSurface = "SmoothNoOutlines"
- sp2.BottomSurface = "SmoothNoOutlines"
- sp2.BrickColor = BrickColor.new("Really black")
- spm2 = Instance.new("SpecialMesh",sp2)
- spm2.MeshType = "Sphere"
- spm2.Scale = Vector3.new(1,1,1)
- sp2.CFrame = rarm.CFrame + Vector3.new(0,3,0)
- local bv = Instance.new("BodyPosition",sp2)
- bv.maxForce = Vector3.new(99999,99999,99999)
- bv.position = Mouse.Hit.p
- wait(3)
- local cf = sp2.CFrame
- bv:Destroy()
- sp2.Anchored = true
- sp2.Size = Vector3.new(1,1,1)
- sp2.CanCollide = false
- for i,v in pairs(FindNearestTorso(sp2.CFrame.p,1000))do
- if v:FindFirstChild('Humanoid') then
- v.Humanoid:TakeDamage(math.random(1,30))
- v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
- end
- end
- sp3=sp2:Clone()
- sp3.Anchored = true
- sp2:Destroy()
- local blast = Instance.new("Part", rarm)
- blast.BrickColor = BrickColor.new("Really black")
- blast.Material = "Neon"
- blast.Anchored = true
- blast.CanCollide = false
- blast.Locked = true
- blast.Size = Vector3.new(1, 1, 1)
- blast.TopSurface = "Smooth"
- blast.BottomSurface = "Smooth"
- blast.Transparency = 0
- blast.CFrame = sp3.CFrame
- local bm = Instance.new("SpecialMesh", blast)
- bm.Scale = Vector3.new(3,3,3)
- bm.MeshType = "Sphere"
- local blast2 = Instance.new("Part", rarm)
- blast2.BrickColor = BrickColor.new("Institutuional white")
- blast2.Material = "Neon"
- blast2.Anchored = true
- blast2.CanCollide = false
- blast2.Locked = true
- blast2.Size = Vector3.new(1, 1, 1)
- blast2.TopSurface = "Smooth"
- blast2.BottomSurface = "Smooth"
- blast2.Transparency = 0
- blast2.CFrame = sp3.CFrame
- local bm2 = Instance.new("SpecialMesh", blast2)
- bm2.Scale = Vector3.new(3,3,3)
- bm2.MeshType = "Sphere"
- local blast3 = Instance.new("Part", rarm)
- blast3.BrickColor = BrickColor.new("Really black")
- blast3.Material = "Neon"
- 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 = sp3.CFrame
- local bm3 = Instance.new("SpecialMesh", blast3)
- bm3.Scale = Vector3.new(3,3,3)
- bm3.MeshType = "Sphere"
- for i = 1,500 do
- swait()
- y=15*math.sin(i*3)
- blast.Transparency = blast.Transparency + (y)
- blast2.Transparency = blast2.Transparency + (y)
- blast3.Transparency = blast3.Transparency + (y)
- bm.Scale = bm.Scale + Vector3.new(y,y,y)
- bm2.Scale = bm2.Scale + Vector3.new(y,y,y)
- bm3.Scale = bm3.Scale + Vector3.new(y,y,y)
- blast.CFrame = cf
- blast2.CFrame = cf
- blast3.CFrame = cf
- end
- sp3:Destroy()
- blast:Destroy()
- blast2:Destroy()
- blast3:Destroy()
- end
- elseif kei=='c' --[[and not atking]] then
- elseif kei=='v' --[[and not atking]] then
- elseif kei=='q' --[[and not atking]] then
- estus = true
- if not equiped and not atking then
- for i = 1,0,-.1 do wait()
- EShandle.Transparency = i
- end
- for i = 0, 1, 0.02 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),.1)
- end
- for i = 0,1,.1 do
- EShandle.Transparency=i
- Apply_Health_Buff(200, 10)
- wait()
- end
- end
- estus = false
- elseif kei=='f' --[[and not atking]] then
- Hold = true
- blocking = true
- while wait() and Hold == true do
- for i = .01, 1 do
- swait()
- larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.2,.525+math.cos(syne/15)/25,-0.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(60)),.1)
- end
- end
- end
- end)
- maus.KeyUp:connect(function(kei)
- if kei == "f" then
- Hold = false
- blocking = false
- end
- end)
- function atk1()
- atking = true
- for i = 0, 1, 0.1 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.4)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- for i = 0, 1, 0.1 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(-20)), 0.4)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- for i = 0, 1, 0.1 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(-20)), 0.4)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- atking = false
- end
- atk2 = function()
- atking = true
- for i = 0, 1, 0.12 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(-20)), .3)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- for i = 0, 1, 0.4 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(-20)), .3)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- for i = 0, 1, 0.12 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), .45)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- atking = false
- end
- atk3 = function()
- atking = true
- for i = 0, 1, 0.12 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), .45)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- for i = 0, 1, 0.12 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(-20)), .45)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- for i = 0, 1, 0.4 do
- swait()
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(40), math.rad(0), math.rad(-20)), .3)
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 2),1)
- end
- atking = false
- end
- attacktype = 1
- Mouse.Button1Down:connect(function()
- if --[[not blocking and]] not estus and equiped and not atking then
- if attacktype == 1 then
- attacktype = 2
- atking = true
- atk1()
- atking = false
- else
- if attacktype == 2 then
- attacktype = 3
- atk2()
- atking = false
- else
- if attacktype == 3 then
- attacktype = 1
- atk3()
- atking = false
- end
- end
- end
- end
- end)
- equiped = true
- game:service'RunService'.RenderStepped:connect(function()
- if anim~=lastanim then
- runtime=0
- end
- lastanim=anim
- chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
- syne=syne+.95
- if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
- anim="Idling"
- elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
- anim="Walking"
- elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
- anim="Sprinting"
- elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
- anim='Jumping'
- elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
- anim='Falling'
- end
- if anim=="Idling" then
- idlesineinc=35
- if not atking then
- if equiped then
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, .1, .4)*CFrame.Angles(math.rad(75),math.rad(0),math.rad(0)),.1)
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(76),math.rad(12),math.rad(20)),.1)
- end
- if not equiped then
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, .1, .4)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- if not estus then
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
- end
- end
- end
- if not blocking then
- larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
- end
- lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
- hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
- rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Walking" then
- idlesineinc=35
- mult = 1
- if not atking then
- if equiped then
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.1)
- rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(-3)),.1)
- end
- if not equiped then
- if not estus then
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
- end
- end
- end
- if not blocking then
- larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
- end
- lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
- rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
- hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
- rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
- end
- if anim=="Sprinting" then
- idlesineinc=35
- if not atking then
- if equiped then
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(90),0,math.rad(12.5)),.1)
- end
- if not equiped then
- if not estus then
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)),.1)
- end
- end
- end
- if not blocking then
- larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)),.1)
- end
- lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2)-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2-math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
- hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
- rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
- end
- if anim=="Jumping" then
- idlesineinc=35
- if not atking then
- if equiped then
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.1)
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
- end
- if not equiped then
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(30)),.1)
- end
- if not blocking then
- larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)),.1)
- end
- end
- lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
- rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
- hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
- rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
- end
- if anim=="Falling" then
- if not atking then
- if equiped then
- SWhandleweld.C0=clerp(SWhandleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.1)
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.035)
- end
- if not equiped then
- rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(15),0,math.rad(30)),.035)
- end
- if not blocking then
- larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.035)
- end
- end
- lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
- rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
- hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
- rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
- end
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, .5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- if runnin and not swimming then
- chr.Humanoid.WalkSpeed=RunSpeed
- elseif not runnin and not swimming then
- chr.Humanoid.WalkSpeed=WlkSpeed
- elseif blocking and not runnin and not swimming then
- chr.Humanoid.WalkSpeed=8
- end
- end)
Add Comment
Please, Sign In to add comment