Advertisement
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 -------------------}---
- -------------------------------------------------------------------------------------------------------------
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- bladecolor = BrickColor.new("White")
- attack = false
- attackdebounce = false
- combo = 0
- guarding = false
- bashing = false
- holddash = false
- Modes = {"Normal", "Attack"}
- Number = 1
- mode = Modes[Number]
- mana = 200
- element = "Light"
- Style = "Normal"
- hitbox = nil
- vt=Vector3.new
- necko=CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- cf=CFrame.new
- equipped=false
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- RootPart=Character.HumanoidRootPart
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- local Effects = {}
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- target = nil
- it=Instance.new
- cf=CFrame.new
- vt=Vector3.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- original = Head.CFrame
- idleanimdelay = false
- barragehold = false
- regening = false
- vortexing = false
- buff = false
- local Effects={}
- --player
- player = nil
- --save shoulders
- RSH, LSH = nil, nil
- --welds
- RW, LW = Instance.new("Weld"), Instance.new("Weld")
- --what anim
- anim = "none"
- if Character:findFirstChild("ArmataeModel",true) ~= nil then
- Character:findFirstChild("ArmataeModel",true).Parent = nil
- end
- if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
- Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m11 > m00 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp;
- if cosTheta >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((1 - t) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((t - 1) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function NoOutline(Part)
- Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=brickcolor
- fp.Name=name
- fp.Size=size
- fp.Position=Torso.Position
- NoOutline(fp)
- fp.Material="SmoothPlastic"
- 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)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- return weld
- end
- local modelzorz = Instance.new("Model")
- modelzorz.Name = "ArmataeModel"
- modelzorz.Parent = Character
- local hitbox1=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
- local prt1 = Instance.new("Part")
- prt1.formFactor = 1
- prt1.Parent = modelzorz
- prt1.CanCollide = false
- prt1.BrickColor = BrickColor.new("Bright blue")
- prt1.Name = "ArmataeShield1"
- prt1.Size = Vector3.new(2,2,1)
- prt1.CFrame = Torso.CFrame
- local prt2 = Instance.new("Part")
- prt2.formFactor = 1
- prt2.Parent = modelzorz
- prt2.CanCollide = false
- prt2.BrickColor = BrickColor.new("Bright blue")
- prt2.Name = "ArmataeShield2"
- prt2.Size = Vector3.new(1,1,1)
- prt2.CFrame = Torso.CFrame
- local prt3 = Instance.new("Part")
- prt3.formFactor = 1
- prt3.Parent = modelzorz
- prt3.CanCollide = false
- prt3.BrickColor = BrickColor.new("Bright blue")
- prt3.Name = "ArmataeShield3"
- prt3.Size = Vector3.new(1,1,1)
- prt3.CFrame = Torso.CFrame
- local prt4 = Instance.new("Part")
- prt4.formFactor = 1
- prt4.Parent = modelzorz
- prt4.CanCollide = false
- prt4.BrickColor = BrickColor.new("Bright blue")
- prt4.Name = "ArmataeShield4"
- prt4.Size = Vector3.new(1,1,1)
- prt4.CFrame = Torso.CFrame
- local prt5 = Instance.new("Part")
- prt5.formFactor = 1
- prt5.Parent = modelzorz
- prt5.CanCollide = false
- prt5.BrickColor = BrickColor.new("Bright blue")
- prt5.Name = "ArmataeShield5"
- prt5.Size = Vector3.new(1,1,1)
- prt5.CFrame = Torso.CFrame
- local prt6 = Instance.new("Part")
- prt6.formFactor = 1
- prt6.Parent = modelzorz
- prt6.CanCollide = false
- prt6.BrickColor = BrickColor.new("White")
- prt6.Name = "ArmataeShield6"
- prt6.Size = Vector3.new(2,2,1)
- prt6.CFrame = Torso.CFrame
- local prt7 = Instance.new("Part")
- prt7.formFactor = 1
- prt7.Parent = modelzorz
- prt7.CanCollide = false
- prt7.BrickColor = BrickColor.new("White")
- prt7.Name = "ArmataeShield7"
- prt7.Size = Vector3.new(1,1,1)
- prt7.CFrame = Torso.CFrame
- local prt8 = Instance.new("Part")
- prt8.formFactor = 1
- prt8.Parent = modelzorz
- prt8.CanCollide = false
- prt8.BrickColor = BrickColor.new("White")
- prt8.Name = "ArmataeShield8"
- prt8.Size = Vector3.new(1,1,1)
- prt8.CFrame = Torso.CFrame
- local prt9 = Instance.new("Part")
- prt9.formFactor = 1
- prt9.Parent = modelzorz
- prt9.CanCollide = false
- prt9.BrickColor = BrickColor.new("White")
- prt9.Name = "ArmataeShield9"
- prt9.Size = Vector3.new(1,1,1)
- prt9.CFrame = Torso.CFrame
- local prt10 = Instance.new("Part")
- prt10.formFactor = 1
- prt10.Parent = modelzorz
- prt10.CanCollide = false
- prt10.BrickColor = BrickColor.new("White")
- prt10.Name = "ArmataeShield10"
- prt10.Size = Vector3.new(1,1,1)
- prt10.CFrame = Torso.CFrame
- local prt11 = Instance.new("Part")
- prt11.formFactor = 1
- prt11.Reflectance = 0.1
- prt11.Parent = modelzorz
- prt11.CanCollide = false
- prt11.BrickColor = BrickColor.new("Bright yellow")
- prt11.Name = "ArmataeShield11"
- prt11.Size = Vector3.new(2,2,1)
- prt11.CFrame = Torso.CFrame
- local prt12 = Instance.new("Part")
- prt12.formFactor = 1
- prt12.Reflectance = 0.1
- prt12.Parent = modelzorz
- prt12.CanCollide = false
- prt12.BrickColor = BrickColor.new("Bright yellow")
- prt12.Name = "ArmataeShield12"
- prt12.Size = Vector3.new(1,1,1)
- prt12.CFrame = Torso.CFrame
- local prt13 = Instance.new("Part")
- prt13.formFactor = 1
- prt13.Reflectance = 0.1
- prt13.Parent = modelzorz
- prt13.CanCollide = false
- prt13.BrickColor = BrickColor.new("Bright yellow")
- prt13.Name = "ArmataeShield13"
- prt13.Size = Vector3.new(1,1,1)
- prt13.CFrame = Torso.CFrame
- local prt14 = Instance.new("Part")
- prt14.formFactor = 1
- prt14.Reflectance = 0.1
- prt14.Parent = modelzorz
- prt14.CanCollide = false
- prt14.BrickColor = BrickColor.new("Bright yellow")
- prt14.Name = "ArmataeShield14"
- prt14.Size = Vector3.new(1,1,1)
- prt14.CFrame = Torso.CFrame
- local prt15 = Instance.new("Part")
- prt15.formFactor = 1
- prt15.Reflectance = 0.1
- prt15.Parent = modelzorz
- prt15.CanCollide = false
- prt15.BrickColor = BrickColor.new("Bright yellow")
- prt15.Name = "ArmataeShield15"
- prt15.Size = Vector3.new(1,1,1)
- prt15.CFrame = Torso.CFrame
- local prt16 = Instance.new("Part")
- prt16.formFactor = 1
- prt16.Reflectance = 0.2
- prt16.Parent = modelzorz
- prt16.CanCollide = false
- prt16.BrickColor = BrickColor.new("White")
- prt16.Name = "ArmataeShield16"
- prt16.Size = Vector3.new(1,1,1)
- prt16.CFrame = Torso.CFrame
- local prt17 = Instance.new("Part")
- prt17.formFactor = 1
- prt17.Reflectance = 0.1
- prt17.Parent = modelzorz
- prt17.CanCollide = false
- prt17.BrickColor = BrickColor.new("Bright blue")
- prt17.Name = "ArmataeShield17"
- prt17.Size = Vector3.new(1,1,1)
- prt17.CFrame = Torso.CFrame
- local prt18 = Instance.new("Part")
- prt18.formFactor = 1
- prt18.Reflectance = 0.1
- prt18.Parent = modelzorz
- prt18.CanCollide = false
- prt18.BrickColor = BrickColor.new("Bright blue")
- prt18.Name = "ArmataeShield18"
- prt18.Size = Vector3.new(1,1,1)
- prt18.CFrame = Torso.CFrame
- local prt19 = Instance.new("Part")
- prt19.formFactor = 1
- prt19.Reflectance = 0.1
- prt19.Parent = modelzorz
- prt19.CanCollide = false
- prt19.BrickColor = BrickColor.new("Bright blue")
- prt19.Name = "ArmataeShield19"
- prt19.Size = Vector3.new(1,1,1)
- prt19.CFrame = Torso.CFrame
- local part1 = Instance.new("Part")
- part1.formFactor = 1
- part1.Parent = modelzorz
- part1.CanCollide = false
- part1.BrickColor = BrickColor.new("White")
- part1.Name = "Handle1"
- part1.Size = Vector3.new(1,1,1)
- part1.CFrame = Torso.CFrame
- local part2 = Instance.new("Part")
- part2.formFactor = 1
- part2.Parent = modelzorz
- part2.CanCollide = false
- part2.BrickColor = BrickColor.new("White")
- part2.Name = "Handle2"
- part2.Size = Vector3.new(1,1,1)
- part2.CFrame = Torso.CFrame
- local part3 = Instance.new("Part")
- part3.formFactor = 1
- part3.Parent = modelzorz
- part3.CanCollide = false
- part3.BrickColor = BrickColor.new("White")
- part3.Name = "Handle3"
- part3.Size = Vector3.new(1,1,1)
- part3.CFrame = Torso.CFrame
- local part4 = Instance.new("Part")
- part4.formFactor = 1
- part4.Parent = modelzorz
- part4.CanCollide = false
- part4.BrickColor = BrickColor.new("Bright blue")
- part4.Name = "Handle4"
- part4.Size = Vector3.new(1,3,1)
- part4.CFrame = Torso.CFrame
- local part5 = Instance.new("Part")
- part5.formFactor = 1
- part5.Parent = modelzorz
- part5.CanCollide = false
- part5.BrickColor = BrickColor.new("Bright blue")
- part5.Name = "Handle5"
- part5.Size = Vector3.new(1,1,1)
- part5.CFrame = Torso.CFrame
- local part6 = Instance.new("Part")
- part6.formFactor = 1
- part6.Parent = modelzorz
- part6.CanCollide = false
- part6.BrickColor = BrickColor.new("Bright yellow")
- part6.Name = "Handle6"
- part6.Size = Vector3.new(1,1,1)
- part6.CFrame = Torso.CFrame
- local part7 = Instance.new("Part")
- part7.formFactor = 1
- part7.Parent = modelzorz
- part7.CanCollide = false
- part7.BrickColor = BrickColor.new("Bright yellow")
- part7.Name = "Handle7"
- part7.Size = Vector3.new(1,1,1)
- part7.CFrame = Torso.CFrame
- local part8 = Instance.new("Part")
- part8.formFactor = 1
- part8.Parent = modelzorz
- part8.CanCollide = false
- part8.BrickColor = BrickColor.new("Bright yellow")
- part8.Name = "Handle8"
- part8.Size = Vector3.new(1,1,1)
- part8.CFrame = Torso.CFrame
- local part9 = Instance.new("Part")
- part9.formFactor = 1
- part9.Parent = modelzorz
- part9.CanCollide = false
- part9.BrickColor = BrickColor.new("Bright yellow")
- part9.Name = "Handle9"
- part9.Size = Vector3.new(1,1,1)
- part9.CFrame = Torso.CFrame
- local part10 = Instance.new("Part")
- part10.formFactor = 1
- part10.Parent = modelzorz
- part10.CanCollide = false
- part10.BrickColor = BrickColor.new("Bright yellow")
- part10.Name = "Handle10"
- part10.Size = Vector3.new(1,1,1)
- part10.CFrame = Torso.CFrame
- local part11 = Instance.new("Part")
- part11.formFactor = 1
- part11.Parent = modelzorz
- part11.CanCollide = false
- part11.BrickColor = BrickColor.new("Bright yellow")
- part11.Name = "Handle11"
- part11.Size = Vector3.new(1,1,1)
- part11.CFrame = Torso.CFrame
- local part12 = Instance.new("Part")
- part12.formFactor = 1
- part12.Parent = modelzorz
- part12.CanCollide = false
- part12.BrickColor = BrickColor.new("Bright yellow")
- part12.Name = "Handle12"
- part12.Size = Vector3.new(1,1,1)
- part12.CFrame = Torso.CFrame
- local part13 = Instance.new("Part")
- part13.formFactor = 1
- part13.Parent = modelzorz
- part13.CanCollide = false
- part13.Reflectance = 0.5
- part13.BrickColor = bladecolor
- part13.Name = "Blade1"
- part13.Size = Vector3.new(2,1,1)
- part13.CFrame = Torso.CFrame
- local part14 = Instance.new("Part")
- part14.formFactor = 1
- part14.Parent = modelzorz
- part14.CanCollide = false
- part14.Reflectance = 0.5
- part14.BrickColor = bladecolor
- part14.Name = "Blade2"
- part14.Size = Vector3.new(1,1,1)
- part14.CFrame = Torso.CFrame
- local part15 = Instance.new("Part")
- part15.formFactor = 1
- part15.Parent = modelzorz
- part15.CanCollide = false
- part15.Reflectance = 0
- part15.BrickColor = BrickColor.new("Black")
- part15.Name = "Blade3"
- part15.Size = Vector3.new(1,2,1)
- part15.CFrame = Torso.CFrame
- modelzorz:BreakJoints()
- local msh1 = Instance.new("BlockMesh")
- msh1.Parent = prt1
- msh1.Scale = Vector3.new(1,1,0.5)
- local msh2 = Instance.new("SpecialMesh")
- msh2.Parent = prt2
- msh2.MeshType = "Wedge"
- msh2.Scale = Vector3.new(0.5,0.7,1)
- local msh3 = Instance.new("SpecialMesh")
- msh3.Parent = prt3
- msh3.MeshType = "Wedge"
- msh3.Scale = Vector3.new(0.5,0.7,1)
- local msh4 = Instance.new("BlockMesh")
- msh4.Parent = prt4
- msh4.Scale = Vector3.new(0.9,0.9,0.5)
- local msh5 = Instance.new("BlockMesh")
- msh5.Parent = prt5
- msh5.Scale = Vector3.new(0.9,0.9,0.5)
- local msh6 = Instance.new("BlockMesh")
- msh6.Parent = prt6
- msh6.Scale = Vector3.new(0.8,0.8,0.5)
- local msh7 = Instance.new("SpecialMesh")
- msh7.Parent = prt7
- msh7.MeshType = "Wedge"
- msh7.Scale = Vector3.new(0.5,0.5,0.8)
- local msh8 = Instance.new("SpecialMesh")
- msh8.Parent = prt8
- msh8.MeshType = "Wedge"
- msh8.Scale = Vector3.new(0.5,0.5,0.8)
- local msh9 = Instance.new("BlockMesh")
- msh9.Parent = prt9
- msh9.Scale = Vector3.new(0.7,0.7,0.5)
- local msh10 = Instance.new("BlockMesh")
- msh10.Parent = prt10
- msh10.Scale = Vector3.new(0.7,0.7,0.5)
- local msh11 = Instance.new("BlockMesh")
- msh11.Parent = prt11
- msh11.Scale = Vector3.new(0.7,0.7,0.5)
- local msh12 = Instance.new("SpecialMesh")
- msh12.Parent = prt12
- msh12.MeshType = "Wedge"
- msh12.Scale = Vector3.new(0.4,0.5,0.7)
- local msh13 = Instance.new("SpecialMesh")
- msh13.Parent = prt13
- msh13.MeshType = "Wedge"
- msh13.Scale = Vector3.new(0.4,0.5,0.7)
- local msh14 = Instance.new("BlockMesh")
- msh14.Parent = prt14
- msh14.Scale = Vector3.new(0.5,0.5,0.5)
- local msh15 = Instance.new("BlockMesh")
- msh15.Parent = prt15
- msh15.Scale = Vector3.new(0.5,0.5,0.5)
- local msh16 = Instance.new("SpecialMesh")
- msh16.Parent = prt16
- msh16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- msh16.Scale = Vector3.new(0.6,0.6,0.6)
- local msh17 = Instance.new("SpecialMesh")
- msh17.Parent = prt17
- msh17.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- msh17.Scale = Vector3.new(0.8,0.8,0.3)
- local msh18 = Instance.new("CylinderMesh")
- msh18.Parent = prt18
- msh18.Scale = Vector3.new(0.3,0.2,0.5)
- local msh19 = Instance.new("CylinderMesh")
- msh19.Parent = prt19
- msh19.Scale = Vector3.new(0.3,0.2,0.5)
- local mesh1 = Instance.new("CylinderMesh")
- mesh1.Parent = part1
- mesh1.Scale = Vector3.new(0.31,0.1,0.31)
- local mesh2 = Instance.new("CylinderMesh")
- mesh2.Parent = part2
- mesh2.Scale = Vector3.new(0.31,0.1,0.31)
- local mesh3 = Instance.new("CylinderMesh")
- mesh3.Parent = part3
- mesh3.Scale = Vector3.new(0.31,0.1,0.31)
- local mesh4 = Instance.new("CylinderMesh")
- mesh4.Parent = part4
- mesh4.Scale = Vector3.new(0.3,0.4,0.3)
- local mesh5 = Instance.new("SpecialMesh")
- mesh5.Parent = part5
- mesh5.MeshId = "http://www.roblox.com/asset/?id=3270017"
- mesh5.Scale = Vector3.new(0.6,0.6,0.6)
- local mesh6 = Instance.new("BlockMesh")
- mesh6.Parent = part6
- mesh6.Scale = Vector3.new(0.2,0.4,0.2)
- local mesh7 = Instance.new("BlockMesh")
- mesh7.Parent = part7
- mesh7.Scale = Vector3.new(0.2,0.4,0.2)
- local mesh8 = Instance.new("BlockMesh")
- mesh8.Parent = part8
- mesh8.Scale = Vector3.new(0.3,0.9,0.3)
- local mesh9 = Instance.new("BlockMesh")
- mesh9.Parent = part9
- mesh9.Scale = Vector3.new(0.2, 0.5, 0.2)
- local mesh10 = Instance.new("BlockMesh")
- mesh10.Parent = part10
- mesh10.Scale = Vector3.new(0.2, 0.5, 0.2)
- local mesh11 = Instance.new("BlockMesh")
- mesh11.Parent = part11
- mesh11.Scale = Vector3.new(0.2, 0.5, 0.2)
- local mesh12 = Instance.new("BlockMesh")
- mesh12.Parent = part12
- mesh12.Scale = Vector3.new(0.2, 0.5, 0.2)
- local mesh13 = Instance.new("BlockMesh")
- mesh13.Parent = part13
- mesh13.Scale = Vector3.new(1.3, 0.6, 0.2)
- local mesh14 = Instance.new("SpecialMesh")
- mesh14.Parent = part14
- mesh14.MeshType = "Wedge"
- mesh14.Scale = Vector3.new(0.2,0.4,0.5)
- local mesh15 = Instance.new("CylinderMesh")
- mesh15.Parent = part15
- mesh15.Scale = Vector3.new(2.3,0.8,0.3)
- local wld1 = Instance.new("Weld")
- wld1.Parent = prt1
- wld1.Part0 = prt1
- wld1.Part1 = Torso
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.7)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld2 = Instance.new("Weld")
- wld2.Parent = prt2
- wld2.Part0 = prt2
- wld2.Part1 = prt1
- wld2.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),math.rad(180)) * CFrame.new(0.5,1.35,0)
- wld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld3 = Instance.new("Weld")
- wld3.Parent = prt3
- wld3.Part0 = prt3
- wld3.Part1 = prt1
- wld3.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),math.rad(180)) * CFrame.new(-0.5,1.35,0)
- wld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld4 = Instance.new("Weld")
- wld4.Parent = prt4
- wld4.Part0 = prt4
- wld4.Part1 = prt1
- wld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.2) * CFrame.new(0.6,-0.9,0)
- wld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld5 = Instance.new("Weld")
- wld5.Parent = prt5
- wld5.Part0 = prt5
- wld5.Part1 = prt1
- wld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1.2) * CFrame.new(-0.6,-0.9,0)
- wld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld6 = Instance.new("Weld")
- wld6.Parent = prt6
- wld6.Part0 = prt6
- wld6.Part1 = prt1
- wld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.15,-0.05)
- wld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld7 = Instance.new("Weld")
- wld7.Parent = prt7
- wld7.Part0 = prt7
- wld7.Part1 = prt2
- wld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.05,0.2,-0.1)
- wld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld8 = Instance.new("Weld")
- wld8.Parent = prt8
- wld8.Part0 = prt8
- wld8.Part1 = prt3
- wld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.05,0.2,-0.1)
- wld8.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld9 = Instance.new("Weld")
- wld9.Parent = prt9
- wld9.Part0 = prt9
- wld9.Part1 = prt4
- wld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.1,-0.05,-0.05)
- wld9.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld10 = Instance.new("Weld")
- wld10.Parent = prt10
- wld10.Part0 = prt10
- wld10.Part1 = prt5
- wld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.1,-0.05,-0.05)
- wld10.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld11 = Instance.new("Weld")
- wld11.Parent = prt11
- wld11.Part0 = prt11
- wld11.Part1 = prt6
- wld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
- wld11.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld12 = Instance.new("Weld")
- wld12.Parent = prt12
- wld12.Part0 = prt12
- wld12.Part1 = prt7
- wld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.06,0.11,-0.06)
- wld12.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld13 = Instance.new("Weld")
- wld13.Parent = prt13
- wld13.Part0 = prt13
- wld13.Part1 = prt8
- wld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0.06,0.11,-0.06)
- wld13.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld14 = Instance.new("Weld")
- wld14.Parent = prt14
- wld14.Part0 = prt14
- wld14.Part1 = prt9
- wld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
- wld14.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld15 = Instance.new("Weld")
- wld15.Parent = prt15
- wld15.Part0 = prt15
- wld15.Part1 = prt10
- wld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.01)
- wld15.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld16 = Instance.new("Weld")
- wld16.Parent = prt16
- wld16.Part0 = prt16
- wld16.Part1 = prt11
- wld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,-0.2)
- wld16.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld17 = Instance.new("Weld")
- wld17.Parent = prt17
- wld17.Part0 = prt17
- wld17.Part1 = prt11
- wld17.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,-0.2)
- wld17.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld18 = Instance.new("Weld")
- wld18.Parent = prt18
- wld18.Part0 = prt18
- wld18.Part1 = prt14
- wld18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(-0.1,0,-0.2)
- wld18.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wld19 = Instance.new("Weld")
- wld19.Parent = prt19
- wld19.Part0 = prt19
- wld19.Part1 = prt15
- wld19.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0.1,0,-0.2)
- wld19.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld1 = Instance.new("Weld")
- weld1.Parent = part1
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld2 = Instance.new("Weld")
- weld2.Parent = part2
- weld2.Part0 = part2
- weld2.Part1 = part1
- weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.3,0)
- weld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld3 = Instance.new("Weld")
- weld3.Parent = part3
- weld3.Part0 = part3
- weld3.Part1 = part1
- weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.3,0)
- weld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld4 = Instance.new("Weld")
- weld4.Parent = part4
- weld4.Part0 = part4
- weld4.Part1 = part1
- weld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- weld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld5 = Instance.new("Weld")
- weld5.Parent = part5
- weld5.Part0 = part5
- weld5.Part1 = part1
- weld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.8,0)
- weld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld6 = Instance.new("Weld")
- weld6.Parent = part6
- weld6.Part0 = part6
- weld6.Part1 = part5
- weld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- weld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld7 = Instance.new("Weld")
- weld7.Parent = part7
- weld7.Part0 = part7
- weld7.Part1 = part5
- weld7.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
- weld7.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld8 = Instance.new("Weld")
- weld8.Parent = part8
- weld8.Part0 = part8
- weld8.Part1 = part1
- weld8.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0.6,0)
- local weld9 = Instance.new("Weld")
- weld9.Parent = part9
- weld9.Part0 = part9
- weld9.Part1 = part8
- weld9.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.6,0)
- local weld10 = Instance.new("Weld")
- weld10.Parent = part10
- weld10.Part0 = part10
- weld10.Part1 = part9
- weld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
- local weld11 = Instance.new("Weld")
- weld11.Parent = part11
- weld11.Part0 = part11
- weld11.Part1 = part8
- weld11.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,0)
- local weld12 = Instance.new("Weld")
- weld12.Parent = part12
- weld12.Part0 = part12
- weld12.Part1 = part11
- weld12.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
- local weld13 = Instance.new("Weld")
- weld13.Parent = part13
- weld13.Part0 = part13
- weld13.Part1 = part8
- weld13.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-1.4,0,0)
- local weld14 = Instance.new("Weld")
- weld14.Parent = part14
- weld14.Part0 = part14
- weld14.Part1 = part13
- weld14.C0 = CFrame.fromEulerAnglesXYZ(3.95,math.rad(90),0) * CFrame.new(-1.3,0,0)
- local weld15 = Instance.new("Weld")
- weld15.Parent = part15
- weld15.Part0 = part15
- weld15.Part1 = part13
- weld15.C0 = CFrame.fromEulerAnglesXYZ(4.7,math.rad(90),0) * CFrame.new(0,0,0)
- local wingblade1 = Instance.new("Part")
- wingblade1.formFactor = 1
- wingblade1.Parent = nil
- wingblade1.Transparency = 0.4
- wingblade1.CanCollide = false
- wingblade1.Reflectance = 0
- wingblade1.BrickColor = BrickColor.new("White")
- wingblade1.Name = "Wingblade1"
- wingblade1.Size = Vector3.new(1,1,3)
- wingblade1.CFrame = Torso.CFrame
- local wingblade2 = Instance.new("Part")
- wingblade2.formFactor = 1
- wingblade2.Parent = nil
- wingblade2.Transparency = 0.4
- wingblade2.CanCollide = false
- wingblade2.Reflectance = 0
- wingblade2.BrickColor = BrickColor.new("White")
- wingblade2.Name = "Wingblade2"
- wingblade2.Size = Vector3.new(1,1,3)
- wingblade2.CFrame = Torso.CFrame
- local wingblade3 = Instance.new("Part")
- wingblade3.formFactor = 1
- wingblade3.Parent = nil
- wingblade3.Transparency = 0.4
- wingblade3.CanCollide = false
- wingblade3.Reflectance = 0
- wingblade3.BrickColor = BrickColor.new("White")
- wingblade3.Name = "Wingblade3"
- wingblade3.Size = Vector3.new(1,1,3)
- wingblade3.CFrame = Torso.CFrame
- local wingblade4 = Instance.new("Part")
- wingblade4.formFactor = 1
- wingblade4.Parent = nil
- wingblade4.Transparency = 0.4
- wingblade4.CanCollide = false
- wingblade4.Reflectance = 0
- wingblade4.BrickColor = BrickColor.new("White")
- wingblade4.Name = "Wingblade4"
- wingblade4.Size = Vector3.new(1,1,3)
- wingblade4.CFrame = Torso.CFrame
- local wingblade5 = Instance.new("Part")
- wingblade5.formFactor = 1
- wingblade5.Parent = nil
- wingblade5.Transparency = 0.4
- wingblade5.CanCollide = false
- wingblade5.Reflectance = 0
- wingblade5.BrickColor = BrickColor.new("White")
- wingblade5.Name = "Wingblade5"
- wingblade5.Size = Vector3.new(1,1,3)
- wingblade5.CFrame = Torso.CFrame
- local wingblade6 = Instance.new("Part")
- wingblade6.formFactor = 1
- wingblade6.Parent = nil
- wingblade6.Transparency = 0.4
- wingblade6.CanCollide = false
- wingblade6.Reflectance = 0
- wingblade6.BrickColor = BrickColor.new("White")
- wingblade6.Name = "Wingblade6"
- wingblade6.Size = Vector3.new(1,1,3)
- wingblade6.CFrame = Torso.CFrame
- local wingmesh1 = Instance.new("SpecialMesh")
- wingmesh1.Parent = wingblade1
- wingmesh1.MeshId = "rbxasset://fonts/sword.mesh"
- wingmesh1.Scale = Vector3.new(1,1,1)
- local wingmesh2 = Instance.new("SpecialMesh")
- wingmesh2.Parent = wingblade2
- wingmesh2.MeshId = "rbxasset://fonts/sword.mesh"
- wingmesh2.Scale = Vector3.new(1,1,1)
- local wingmesh3 = Instance.new("SpecialMesh")
- wingmesh3.Parent = wingblade3
- wingmesh3.MeshId = "rbxasset://fonts/sword.mesh"
- wingmesh3.Scale = Vector3.new(1,1,1)
- local wingmesh4 = Instance.new("SpecialMesh")
- wingmesh4.Parent = wingblade4
- wingmesh4.MeshId = "rbxasset://fonts/sword.mesh"
- wingmesh4.Scale = Vector3.new(1,1,1)
- local wingmesh5 = Instance.new("SpecialMesh")
- wingmesh5.Parent = wingblade5
- wingmesh5.MeshId = "rbxasset://fonts/sword.mesh"
- wingmesh5.Scale = Vector3.new(1,1,1)
- local wingmesh6 = Instance.new("SpecialMesh")
- wingmesh6.Parent = wingblade6
- wingmesh6.MeshId = "rbxasset://fonts/sword.mesh"
- wingmesh6.Scale = Vector3.new(1,1,1)
- local wingweld1 = Instance.new("Weld")
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = Torso
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(1,0,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wingweld2 = Instance.new("Weld")
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = Torso
- wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wingweld3 = Instance.new("Weld")
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = Torso
- wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wingweld4 = Instance.new("Weld")
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = Torso
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wingweld5 = Instance.new("Weld")
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = Torso
- wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local wingweld6 = Instance.new("Weld")
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = Torso
- wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local SlashSound = Instance.new("Sound") -- PRELOADING SOUNDS TROLOLOL
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
- SlashSound.Parent = Character
- SlashSound.Volume = .7
- SlashSound.Pitch = 1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209850"
- SlashSound.Parent = Character
- SlashSound.Volume = .7
- SlashSound.Pitch = 1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209583"
- SlashSound.Parent = Character
- SlashSound.Volume = .7
- SlashSound.Pitch = 1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
- SlashSound.Parent = Character
- SlashSound.Volume = .5
- SlashSound.Pitch = 1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=13775494"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.1
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.2
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.05
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.05
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.7
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974000"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.5
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974249"
- SlashSound.Parent = Character
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.3
- local fengui = Instance.new("GuiMain")
- fengui.Parent = Player.PlayerGui
- fengui.Name = "manaGUI"
- local fenframe = Instance.new("Frame")
- fenframe.Parent = fengui
- fenframe.BackgroundColor3 = Color3.new(255,255,255)
- fenframe.BackgroundTransparency = 1
- fenframe.BorderColor3 = Color3.new(17,17,17)
- fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
- local fentext = Instance.new("TextLabel")
- fentext.Parent = fenframe
- fentext.Text = "Mana("..mana..")"
- fentext.BackgroundTransparency = 1
- fentext.SizeConstraint = "RelativeXY"
- fentext.TextXAlignment = "Center"
- fentext.TextYAlignment = "Center"
- fentext.Position = UDim2.new(0,80,1,200)
- local fentext2 = Instance.new("TextLabel")
- fentext2.Parent = fenframe
- fentext2.Text = " "
- fentext2.BackgroundTransparency = 0
- fentext2.BackgroundColor3 = Color3.new(0,0,1)
- fentext2.SizeConstraint = "RelativeXY"
- fentext2.TextXAlignment = "Center"
- fentext2.TextYAlignment = "Center"
- fentext2.Position = UDim2.new(0,10,1,170)
- fentext2.Size = UDim2.new(2.79999995,0,0.210000306,0)
- local fentext3 = Instance.new("TextLabel")
- fentext3.Parent = fenframe
- fentext3.Text = " "
- fentext3.BackgroundTransparency = 0
- fentext3.BackgroundColor3 = Color3.new(1,1,0)
- fentext3.SizeConstraint = "RelativeXY"
- fentext3.TextXAlignment = "Center"
- fentext3.TextYAlignment = "Center"
- fentext3.Position = UDim2.new(0,10,1,170)
- fentext3.Size = UDim2.new(mana*0.007,0,0.400000006,0)
- local gairo = Instance.new("BodyGyro")
- gairo.Parent = nil
- gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- gairo.P = 20e+003
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- if game.Players.LocalPlayer.liampdoherty.Value==true then
- frame = 1/60
- else
- frame=1/30
- end
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame 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)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function pwait(num)
- if num==0 or num==nil then
- game:service'RunService'.Heartbeat:wait()
- else
- for i=0,num do
- game:service'RunService'.Heartbeat:wait()
- end
- end
- end
- if (script.Parent.className ~= "HopperBin") then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = "Armatae"
- script.Parent = Tool
- end
- Bin = script.Parent
- function unequipweld()
- swait()
- wld1.Parent = prt1
- wld1.Part1 = Torso
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,-0.7)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- if mode == "Attack" then
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- end
- end
- function equipweld()
- wld1.Part1 = RightArm
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,0,0)
- if mode == "Attack" then
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = LeftArm
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- end
- end
- function hideanim()
- if Style ~= "WingBlade" then
- for i = 0 , 1 , 0.085 do
- swait()
- wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(180)+math.rad(180)*i,0,0) * CFrame.new(0,0,0)
- if mode == "Normal" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- elseif mode == "Attack" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4*i,-0.5*i,0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,-1.2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- unequipweld()
- for i = 0 , 1 , 0.085 do
- swait()
- if mode == "Normal" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- elseif mode == "Attack" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4-4*i,-0.5+0.5*i,0.5-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57+2.57*i,0,-1.2+1.2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end
- function equipanim()
- if Style ~= "WingBlade" then
- for i = 0 , 1 , 0.085 do
- swait()
- if mode == "Normal" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- elseif mode == "Attack" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4*i,-0.5*i,0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57*i,0,-1.2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- equipweld()
- for i = 0 , 1 , 0.085 do
- swait()
- wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(90)-math.rad(180)*i,0,0) * CFrame.new(0,0,0)
- if mode == "Normal" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- elseif mode == "Attack" then
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4-4*i,-0.5+0.5*i,0.5-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.57+2.57*i,0,-1.2+1.2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end
- function changeequipleft()
- if Number > 1 then
- Number = Number - 1
- mode = Modes[Number]
- print(mode)
- if Number == 1 then
- NormalMode()
- end
- end
- end
- function changeequipleft2()
- if Number > 1 then
- Number = Number - 1
- mode = Modes[Number]
- print(mode)
- if Number == 1 then
- NormalMode2()
- end
- end
- end
- function changeequipright2()
- if Number < #Modes then
- Number = Number + 1
- mode = Modes[Number]
- print(mode)
- if Number == 2 then
- AttackMode2()
- end
- end
- end
- function changeequipright()
- if Number < #Modes then
- Number = Number + 1
- mode = Modes[Number]
- print(mode)
- if Number == 2 then
- AttackMode()
- end
- end
- end
- function MagicBlood(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- table.insert(Effects,{prt,"Blood",delay,x3,y3,z3,msh})
- end
- function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
- local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
- prt.Anchored=true
- prt.CFrame=cframe
- local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
- game:GetService("Debris"):AddItem(prt,5)
- table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3,msh})
- --[[coroutine.resume(coroutine.create(function(Part,Mesh)
- local wld=nil
- for i=0,1,delay do
- wait()
- Part.CFrame=Part.CFrame
- Part.Transparency=i
- Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
- end
- Part.Parent=nil
- end),prt,msh)]]
- end
- so = function(id,par,vol,pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound",par or workspace)
- sou.Parent=par
- sou.Volume=vol
- sou.Pitch=pit or 1
- sou.SoundId=id
- swait()
- sou:Play()
- game:GetService("Debris"):AddItem(sou,6)
- end))
- end
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- -- and hit.Parent~=CannonTarget.Parent or hit.Parent~=RailgunTarget.Parent
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- if mana < 400 and hit.Parent.Name~="Hologram" then
- mana = mana + math.random(15,25)
- end
- if mana > 400 then
- mana = 400
- end
- so("http://www.roblox.com/asset/?id=10209590",hit,1,math.random(50,100)/100)
- --so("rbxasset://sounds\\unsheath.wav",hit,1,math.random(200,250)/100)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- HitHealth=h.Health
- h.Health=h.Health-Damage
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name~="Hologram" then
- print("gained spree")
- Player:FindFirstChild("leaderstats").Spree.Value=Player.leaderstats.Spree.Value+1
- end
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5,BrickColor:Red())
- else
- h.Health=h.Health-Damage/2
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=(angle*knockback)*1.2
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) * .75
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.25)
- game:GetService("Debris"):AddItem(rl,.25)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- elseif Type=="Lifesteal" then
- for i=1,3 do
- MagicBlood(BrickColor.new("Really red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.1,.1,.1,.1,2,.1,0.05)
- end
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- if Humanoid:FindFirstChild("HealBlock")==nil then
- Heal=math.ceil(Damage)
- if Heal < 1 then
- Heal = 1
- end
- print('8)')
- Humanoid:TakeDamage(-Heal)
- local tag=Instance.new("BoolValue")
- tag.Name="HealBlock"
- tag.Parent=Humanoid
- game:GetService("Debris"):AddItem(tag,.99)
- end
- showDamage(RootPart,Heal,.5,BrickColor.new("Bright green"))
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,45,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,.25)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.25)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Charge" then
- Charge=Charge+1
- coroutine.resume(coroutine.create(function(Part)
- swait(30)
- for i=1,5 do
- swait(5)
- so("rbxasset://sounds\\unsheath.wav",hit,1,2)
- MagicCircle(BrickColor.new("Bright red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.1,.2,8,.1,0.05)
- newdam=math.random(1,5)
- if blocked==false then
- h:TakeDamage(newdam)
- showDamage(hit.Parent,newdam,.5,BrickColor:Red())
- else
- h:TakeDamage(newdam)
- showDamage(hit.Parent,newdam,.5,BrickColor.new("Bright blue"))
- end
- end
- end),hit)
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 150
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Name ~= "Fenrier") then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- function ChangeElement()
- attack = true
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- magicsound(1)
- if element == "Light" then
- element = "Dark"
- WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("Black"))
- elseif element == "Dark" then
- element = "Light"
- WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("White"))
- end
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- function Buff()
- attack = true
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- magicsound(1)
- if element == "Light" then
- element = "Dark"
- WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("Black"))
- elseif element == "Dark" then
- element = "Light"
- WaveEffect(Torso,3,3,3,0,-2,0,0,0,0,BrickColor.new("White"))
- end
- buff = true
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- function NormalMode2()
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- function NormalMode()
- attack = true
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- function AttackMode2()
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = LeftArm
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- function AttackMode()
- attack = true
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = LeftArm
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-0.3+0.3*i,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- function onehit()
- attack = true
- combo = 1
- ss(0.8)
- --con1=LeftArm.Touched:connect(function(hit) Damagefunc1(hit,10,5) end)
- con1=LeftArm.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,math.rad(60)),.3)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0.57*i,-2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- if mana >= 1 then
- magicsound(2)
- if element == "Light" then
- MMMAGIC(LeftArm,2,2,2,0,-1,0,BrickColor.new("White"))
- else
- MMMAGIC(LeftArm,2,2,2,0,-1,0,BrickColor.new("Black"))
- end
- mana = mana - 1
- end
- wait(0.3)
- con1:disconnect()
- attack = false
- end
- function twohit()
- attack = true
- combo = 2
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- LW.C0 = CFrame.new(-1.5,0.5,-1) * CFrame.fromEulerAnglesXYZ(1.3+1.7*i,1.57,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.8)
- con1=LeftArm.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(3-2.5*i,1.57-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- if mana >= 5 then
- magicsound(2)
- if element == "Light" then
- EVENMOARMAGIX(Torso,1,4,1,-1.5,-2,-1.3,0,0,0,BrickColor.new("White"))
- WaveEffect(Torso,0.5,2,0.5,-1.5,-2,-1.3,0,0,0,BrickColor.new("White"))
- else
- EVENMOARMAGIX(Torso,1,4,1,-1.5,-2,-1.3,0,0,0,BrickColor.new("Black"))
- WaveEffect(Torso,0.5,2,0.5,-1.5,-2,-1.3,0,0,0,BrickColor.new("Black"))
- end
- mana = mana - 5
- end
- wait(0.2)
- con1:disconnect()
- attack = false
- end
- function threehit()
- attack = true
- combo = 3
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(1,3,1)
- hitbox1.Transparency=1
- hitbox1.CFrame=part15.CFrame
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=prt15.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5+0.2*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- weld1.Part0 = part1
- weld1.Part1 = LeftArm
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.2)
- ss(1)
- --con1=part13.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=prt15.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1,-1.57,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+2.2*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7-0.5*i,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- wait(0.1)
- lightning = false
- hitbox1.Parent=nil
- attack = false
- end
- function fourhit()
- attack = true
- combo = 4
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(1,3,1)
- hitbox1.Transparency=1
- hitbox1.CFrame=part15.CFrame
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part15.CFrame
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5+2*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- ss(1.2)
- --con1=part13.Touched:connect(function(hit) Damagefunc1(hit,20,10) end)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part15.CFrame
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5-4*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- lightning = false
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part15.CFrame
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- wait(0.05)
- attack = false
- hitbox1.Parent=nil
- end
- function fivehit()
- attack = true
- combo = 5
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(2,1,3)
- hitbox1.Transparency=1
- hitbox1.CFrame=part1.CFrame
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part1.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.7*i,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(0.2+1.37*i,0,-1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- ss(0.7)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part1.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.7+0.7*i,0.5,-0.7+0.7*i) * CFrame.fromEulerAnglesXYZ(0.2+1.37,0,-1+2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- wait(0.3)
- attack = false
- hitbox1.Parent=nil
- end
- function oneslash()
- attack = true
- combo = 1
- ss(1)
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(1,3,1)
- hitbox1.Transparency=1
- hitbox1.CFrame=part15.CFrame
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0),.3)
- hitbox1.CFrame=part15.CFrame
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- lightning = false
- con1:disconnect()
- --hitbox1.Parent=nil
- attack = false
- hitbox1.Parent=nil
- end
- function twoslash()
- attack = true
- combo = 2
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(1,3,1)
- hitbox1.Transparency=1
- hitbox1.CFrame=part15.CFrame
- --con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0),.3)
- hitbox1.CFrame=part15.CFrame
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5+1.1*i,0.5+0.5*i,-0.8*i) * CFrame.fromEulerAnglesXYZ(3-1.43*i,0,1.57*i),.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0),.3)
- RW.C0 = clerp(RW.C0,CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0),.3)
- RW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.3)
- end
- ss(1.2)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0),.3)
- hitbox1.CFrame=part15.CFrame
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5+1.1-1.1*i,0.5+0.5-0.5*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(3-1.43,0,1.57),.3)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(5*i,1.57,0),.3)
- RW.C0 = clerp(RW.C0,CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0),.3)
- RW.C1 = clerp(RW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.3)
- end
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-3*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- lightning = false
- con1:disconnect()
- hitbox1.Parent=nil
- attack = false
- end
- function threeslash()
- attack = true
- combo = 3
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(1,3,1)
- hitbox1.Transparency=1
- hitbox1.CFrame=part15.CFrame
- --con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part15.CFrame
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57+2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3,1.57+2*i,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.8)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part15.CFrame
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)*i,0,math.rad(90)-math.rad(90)*i) * CFrame.new(0,1,0)
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5,0,1.57+2)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3+1*i,1.57+2,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)-math.rad(90)*i,0,math.rad(90)-math.rad(90)+math.rad(90)) * CFrame.new(0,1,0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-3*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- lightning = false
- hitbox1.Parent=nil
- con1:disconnect()
- attack = false
- end
- function castone()
- if mana >= 10 then
- attack = true
- combo = 1
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.8)
- local testbrick = Instance.new("Part")
- testbrick.Parent = Character
- testbrick.Anchored = true
- testbrick.Transparency = 1
- testbrick.CFrame = Torso.CFrame * CFrame.new(0,0,-3)
- coroutine.resume(coroutine.create(function()
- for i = 0,5 do
- wait(0.1)
- mana = mana - 2
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - testbrick.Position;
- local mag = targ.magnitude;
- if mag <= 3 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- Damagefunc1(head,5,1)
- end
- end))
- end
- end
- end
- end
- magicsound(1.5)
- derp = math.random(1,2)
- if derp == 1 then
- MMMAGIC(Head,2,2,2,math.random()+math.random(),math.random()+math.random(),-3,BrickColor.new("White"))
- else
- MMMAGIC(Head,2,2,2,-math.random()-math.random(),-math.random()-math.random(),-3,BrickColor.new("White"))
- end
- end
- testbrick.Parent = nil
- end))
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-1*i,0,1-2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,1-1.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.3)
- attack = false
- end
- end
- function casttwo()
- if mana >= 5 then
- attack = true
- combo = 2
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,-1)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+2*i,0,-0.5+0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- mana = mana - 5
- local testbrick = Instance.new("Part")
- testbrick.Parent = Character
- testbrick.Anchored = true
- testbrick.Transparency = 1
- testbrick.CFrame = Torso.CFrame * CFrame.new(1.5,0,-3.6)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - testbrick.Position;
- local mag = targ.magnitude;
- if mag <= 3 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- UpBlast(head,math.random(10,20))
- end
- end))
- end
- end
- end
- end
- magicsound(1.3)
- EVENMOARMAGIX(Torso,1,6,1,1.5,-3,-3.6,0,0,0,BrickColor.new("Black"))
- WaveEffect(Torso,1.5,3,1.5,1.5,-2,-3.6,0,0,0,BrickColor.new("Black"))
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,-1+1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-4.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- testbrick.Parent = nil
- attack = false
- end
- end
- function castthree()
- if mana >= 20 then
- attack = true
- combo = 3
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-1+2.57*i,0,0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-1.5+3.07*i,0,-0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- local bawlofdewm1 = Instance.new("Part")
- bawlofdewm1.formFactor = 1
- bawlofdewm1.Parent = Character
- bawlofdewm1.CanCollide = false
- bawlofdewm1.BrickColor = BrickColor.new("White")
- bawlofdewm1.Name = "Light Sphere"
- bawlofdewm1.Size = Vector3.new(1,1,1)
- bawlofdewm1.Position = Torso.Position
- local bawlofdewm2 = Instance.new("Part")
- bawlofdewm2.formFactor = 1
- bawlofdewm2.Parent = Character
- bawlofdewm2.CanCollide = false
- bawlofdewm2.BrickColor = BrickColor.new("Black")
- bawlofdewm2.Name = "Dark Sphere"
- bawlofdewm2.Size = Vector3.new(1,1,1)
- bawlofdewm2.Position = Torso.Position
- local bawlmesh1 = Instance.new("SpecialMesh")
- bawlmesh1.Parent = bawlofdewm1
- bawlmesh1.MeshType = "Sphere"
- bawlmesh1.Scale = Vector3.new(0.2,0,0.2)
- local bawlmesh2 = Instance.new("SpecialMesh")
- bawlmesh2.Parent = bawlofdewm2
- bawlmesh2.MeshType = "Sphere"
- bawlmesh2.Scale = Vector3.new(0.2,0,0.2)
- local bawlweld1 = Instance.new("Weld")
- bawlweld1.Parent = bawlofdewm1
- bawlweld1.Part0 = bawlofdewm1
- bawlweld1.Part1 = LeftArm
- bawlweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,-0.9) * CFrame.new(0,1,0)
- bawlweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local bawlweld2 = Instance.new("Weld")
- bawlweld2.Parent = bawlofdewm2
- bawlweld2.Part0 = bawlofdewm2
- bawlweld2.Part1 = bawlofdewm1
- bawlweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.2,0)
- bawlweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.5)
- for i = 0,1,0.1 do
- swait()
- mana = mana - 2
- bawlmesh1.Scale = bawlmesh1.Scale + Vector3.new(0.2,0.2,0.2)
- bawlmesh2.Scale = bawlmesh2.Scale + Vector3.new(0.2,0.2,0.2)
- end
- abscond(0.8)
- bawlweld1.Parent = nil
- local vel2 = Instance.new("BodyVelocity")
- vel2.Parent = bawlofdewm1
- vel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
- vel2.velocity = Player.Character.Head.CFrame.lookVector * 10
- coroutine.resume(coroutine.create(function()
- for i = 0,3,0.1 do
- swait()
- MMMAGIC(bawlofdewm1,2,2,2,0,0,0,BrickColor.new("White"))
- MMMAGIC(bawlofdewm2,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - bawlofdewm1.Position;
- local mag = targ.magnitude;
- if mag <= 5 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- UpBlast(head,math.random(30,60))
- end
- end))
- end
- end
- end
- end
- magicsound(1)
- EVENMOARMAGIX(bawlofdewm1,3,9,3,0,0,0,math.rad(90),0,0,BrickColor.new("Black"))
- WaveEffect(bawlofdewm1,5,6,5,0,0,0,-math.rad(90),0,0,BrickColor.new("Black"))
- BlastEffect(bawlofdewm1,5,9,5,0,0,0,-math.rad(90),0,0,BrickColor.new("White"))
- bawlofdewm1.Parent = nil
- bawlofdewm2.Parent = nil
- end))
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,0.5-1.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.5+1.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(1)
- attack = false
- end
- end
- function castfour()
- if mana >= 5 then
- attack = true
- combo = "castfour"
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2.5*i,0,-1+1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,0.5)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- mana = mana - 5
- local testbrick = Instance.new("Part")
- testbrick.Parent = Character
- testbrick.Anchored = true
- testbrick.Transparency = 1
- testbrick.CFrame = Torso.CFrame * CFrame.new(-1.5,0,-3.6)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - testbrick.Position;
- local mag = targ.magnitude;
- if mag <= 3 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- UpBlast(head,math.random(10,20))
- end
- end))
- end
- end
- end
- end
- magicsound(1.3)
- EVENMOARMAGIX(Torso,1,6,1,-1.5,-3,-3.6,0,0,0,BrickColor.new("White"))
- WaveEffect(Torso,1.5,3,1.5,-1.5,-2,-3.6,0,0,0,BrickColor.new("White"))
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.5-5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-2*i,0,0.5-0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- testbrick.Parent = nil
- attack = false
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end))
- end
- end
- function castfive()
- attack = true
- combo = "castfive"
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1-0.57*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,0.5+1.07*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- local vel = Instance.new("BodyGyro")
- vel.Parent = Torso
- vel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- vel.P = 20e+003
- CF = Torso.CFrame
- for i = 0,1,0.1 do
- wait(0.05)
- magicsound(2)
- vel.cframe = CF * CFrame.fromEulerAnglesXYZ(0,math.rad(720)*i,0)
- EVENMOARMAGIX(LeftArm,3,3,3,0,-1,0,0,0,0,BrickColor.new("White"))
- EVENMOARMAGIX(RightArm,3,3,3,0,-1,0,0,0,0,BrickColor.new("Black"))
- end
- vel.Parent = nil
- wait(1)
- combo = 0
- attack = false
- end
- function wingbladeslashone()
- attack = true
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,3*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = LeftArm
- wingweld2.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = RightArm
- wingweld5.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- con1=wingblade5.Touched:connect(function(hit) Damagefunc(hit,10,22,3,"Normal",RootPart,.5,1) end)
- ss(1)
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,-3+2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57+0.33*i,-1*i,3-5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- con1:disconnect()
- con1=wingblade2.Touched:connect(function(hit) Damagefunc(hit,10,22,3,"Normal",RootPart,.5,1) end)
- ss(1.2)
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,1.57*i,-1+3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-1*i,-1+1*i,-2+3*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2*i,1.57-1.57*i,2-1.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+2*i,0,1-1.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1=wingblade2.Touched:connect(function(hit) Damagefunc(hit,10,22,3,"Normal",RootPart,.5,1) end)
- con2=wingblade5.Touched:connect(function(hit) Damagefunc(hit,10,22,3,"Normal",RootPart,.5,1) end)
- wait(0.1)
- ss(0.8)
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-4*i,0,0.5-1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3-4*i,0,-0.5+1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- con2:disconnect()
- WingBladeEffect(0,1,0,1,0,0)
- wingblade2.Transparency = 1
- wingblade5.Transparency = 1
- lightning = false
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = Torso
- wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = Torso
- wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
- attack = false
- end
- function wingbladeslashtwo()
- attack = true
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+0.5*i,0,-0.5+0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+0.5*i,0,0.5-0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = LeftArm
- wingweld3.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = RightArm
- wingweld6.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.1)
- ss(1)
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+0.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingweld3.Parent = nil
- coroutine.resume(coroutine.create(function()
- local wingvel = Instance.new("BodyGyro")
- wingvel.Parent = wingblade3
- wingvel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- wingvel.P = 20e+003
- wingCF = wingblade3.CFrame
- local wingvel2 = Instance.new("BodyVelocity")
- wingvel2.Parent = wingblade3
- wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
- wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
- con1=wingblade3.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.05 do
- swait()
- wingvel.cframe = wingCF * CFrame.fromEulerAnglesXYZ(math.rad(360)*i,0,0)
- end
- con1:disconnect()
- WingBladeEffect(0,0,1,0,0,0)
- wingvel2.Parent = nil
- wingblade3.Parent = nil
- wingvel.Parent = nil
- wingvel2.Parent = nil
- wait(0.5)
- wingblade3.Parent = modelzorz
- wingblade3.Transparency = 1
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = Torso
- wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
- end))
- wait(0.1)
- ss(1)
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5-2.5*i,0,1-1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5*i,0,-1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingweld6.Parent = nil
- coroutine.resume(coroutine.create(function()
- local wingvel = Instance.new("BodyGyro")
- wingvel.Parent = wingblade6
- wingvel.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- wingvel.P = 20e+003
- wingCF = wingblade6.CFrame
- local wingvel2 = Instance.new("BodyVelocity")
- wingvel2.Parent = wingblade6
- wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
- wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
- con1=wingblade6.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.05 do
- swait()
- wingvel.cframe = wingCF * CFrame.fromEulerAnglesXYZ(math.rad(360)*i,0,0)
- end
- con2:disconnect()
- WingBladeEffect(0,0,0,0,0,1)
- wingvel2.Parent = nil
- wingblade6.Parent = nil
- wingvel.Parent = nil
- wingvel2.Parent = nil
- lightning = false
- wait(0.5)
- wingblade6.Parent = modelzorz
- wingblade6.Transparency = 1
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = Torso
- wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
- end))
- wait(0.1)
- attack = false
- end
- function wingbladeslashthree()
- attack = true
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5-1.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+2.5-4*i,0,-1+1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = LeftArm
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = RightArm
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0,3,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57*i,0,-1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
- con1=wingblade1.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- con2=wingblade4.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- ss(1.5)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57,0,1-3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(-3+4.57,0,-1+3*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0) * CFrame.new(0,1,0)
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0) * CFrame.new(0,1,0)
- end
- con1:disconnect()
- con2:disconnect()
- wingblade1.Transparency = 1
- wingblade4.Transparency = 1
- WingBladeEffect(1,0,0,1,0,0)
- wait(0.1)
- lightning = false
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = Torso
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = Torso
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
- attack = false
- end
- function wingbladeslashfour()
- attack = true
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2+3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,2-0.43*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wingblade1.Transparency = 0.4
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = Torso
- wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,0,0)
- wingblade2.Transparency = 0.4
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = Torso
- wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),1,0) * CFrame.new(0,0,0)
- wingblade3.Transparency = 0.4
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = Torso
- wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),2,0) * CFrame.new(0,0,0)
- wingblade4.Transparency = 0.4
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = Torso
- wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),3,0) * CFrame.new(0,0,0)
- wingblade5.Transparency = 0.4
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = Torso
- wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),4,0) * CFrame.new(0,0,0)
- wingblade6.Transparency = 0.4
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = Torso
- wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(math.rad(180),5,0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- wait(0.2)
- con1=wingblade1.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- con2=wingblade2.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- con3=wingblade3.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- con4=wingblade4.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- con5=wingblade5.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- con6=wingblade6.Touched:connect(function(hit) Damagefunc(hit,10,32,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.1 do
- swait()
- ss(1.2)
- wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
- wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
- wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
- wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
- wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
- wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(0,math.rad(360)*i,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2+3-3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-2.43*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- con2:disconnect()
- con3:disconnect()
- con4:disconnect()
- con5:disconnect()
- con6:disconnect()
- lightning = false
- wait(0.3)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- WingBladeEffect(1,1,1,1,1,1)
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = Torso
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = Torso
- wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = Torso
- wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = Torso
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = Torso
- wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = Torso
- wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
- attack = false
- end
- function ArsSolum()
- attack = true
- ss(1)
- con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90)-0.5+0.5*i,0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1,-1.57,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+2.2*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7-0.5*i,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5+3*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.9)
- con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4.5-5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(180)*i,0,math.rad(90)) * CFrame.new(0,1,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4.5-5,0,-1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(1.1)
- con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
- for i = 0,1,0.2 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(180),0,math.rad(90)) * CFrame.new(0,1,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.5+3.5*i,-1*i,-1+2.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(180)-math.rad(180)*i,0,math.rad(90)) * CFrame.new(0,1,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(3+1*i,-1+1*i,1.5-1.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.8)
- con1=part13.Touched:connect(function(hit) Damagefunc1(hit,30,10) end)
- for i = 0,1,0.2 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,math.rad(90)) * CFrame.new(0,1,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(90),0,0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(4-5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1:disconnect()
- wait(0.5)
- attack = false
- end
- function ShieldDash()
- if mana >= 20 then
- attack = true
- hitbox1.Parent=modelzorz
- hitbox1.Size=vt(2,1,3)
- hitbox1.Transparency=1
- hitbox1.CFrame=part1.CFrame
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0),.3)
- hitbox1.CFrame=part1.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.7*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.9*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,-1.2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- mana = mana - 20
- ss(0.5)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,52,3,"Knockdown",RootPart,.5,1) end)
- for i = 0,1, 0.1 do
- Torso.Velocity = Head.CFrame.lookVector *100
- end
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part1.CFrame
- if element == "Light" then
- MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
- MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
- else
- MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Black"))
- MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Black"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
- end
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.7,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1.9,0,1-0.3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5-0.3*i) * CFrame.fromEulerAnglesXYZ(1+0.57,0,-1.2+0.3*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part1.CFrame
- if element == "Light" then
- MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
- MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
- else
- MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Black"))
- MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Black"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
- end
- end
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part1.CFrame
- if element == "Light" then
- MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("White"))
- MOREMAGIX(prt19,0,2,2,2,BrickColor.new("White"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
- else
- MMMAGIC(prt19,3,3,3,0,0,0,BrickColor.new("Black"))
- MOREMAGIX(prt19,0,2,2,2,BrickColor.new("Black"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
- end
- end
- if mode == "Normal" then
- wait(0.3)
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part1.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1-0.3-0.7*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- con1:disconnect()
- elseif mode == "Attack" then
- if holddash == true and mana >= 20 then
- con1:disconnect()
- gairo.Parent = nil
- wait(0.5)
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- for i = 0,1,0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko*CFrame.fromEulerAnglesXYZ(0.3*i,0,0),.3)
- hitbox1.CFrame=part15.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.7-0.7*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.9,0,0.7-1.6*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.9+2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.8)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20,50,3,"Knockdown",RootPart,.5,1) end)
- mana = mana - 20
- for i = 0,1, 0.1 do
- Torso.Velocity = Head.CFrame.lookVector *200
- end
- for i = 0,1,0.2 do
- swait()
- if element == "Light" then
- MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("White"))
- MOREMAGIX(part14,0,2,2,2,BrickColor.new("White"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
- else
- MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("Black"))
- MOREMAGIX(part14,0,2,2,2,BrickColor.new("Black"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
- end
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)*i,0,math.rad(90)-math.rad(90)*i) * CFrame.new(0,1,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33*i,0,0.7-1.5+0.4*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.9+2)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part15.CFrame
- if element == "Light" then
- MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("White"))
- MOREMAGIX(part14,0,2,2,2,BrickColor.new("White"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
- else
- MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("Black"))
- MOREMAGIX(part14,0,2,2,2,BrickColor.new("Black"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
- end
- end
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part15.CFrame
- if element == "Light" then
- MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("White"))
- MOREMAGIX(part14,0,2,2,2,BrickColor.new("White"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("White"))
- else
- MMMAGIC(part14,3,3,3,0,0,0,BrickColor.new("Black"))
- MOREMAGIX(part14,0,2,2,2,BrickColor.new("Black"))
- DashEf(Head.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0),BrickColor.new("Black"))
- end
- end
- wait(0.3)
- for i = 0,1,0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)-math.rad(90)*i,0,math.rad(90)-math.rad(90)+math.rad(90)*i) * CFrame.new(0,1,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33-1.57*i,0,1.2-1.2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1.1-1.1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- gairo.Parent = nil
- con1:disconnect()
- else
- wait(0.3)
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part15.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0.5-0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.9-0.33-1.57*i,0,1.2-1.2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5-0.3+0.8*i) * CFrame.fromEulerAnglesXYZ(1+0.57-0.57*i,0,-1.2+0.3+0.9*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- gairo.Parent = nil
- wait(0.2)
- con1:disconnect()
- end
- end
- attack = false
- end
- end
- function guard()
- attack = true
- guarding = true
- Character.Humanoid.WalkSpeed = 13
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.8*i,0.5+0.2*i,-0.8*i) * CFrame.fromEulerAnglesXYZ(2.07*i,0,1.4*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.8*i,0.5,-0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87*i,0,-1.4*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- humanoid = Character.Humanoid
- lhh = humanoid.Health
- while guarding == true do
- swait()
- if humanoid.Health < lhh then
- print(lhh - humanoid.Health)
- test = lhh - humanoid.Health
- if mana < 400 then
- mana = mana + math.random(test, test*1.5)
- end
- if mana > 400 then
- mana = 400
- end
- if mode == "Normal" then
- humanoid.Health = lhh - (test * 0.25)
- elseif mode == "Attack" then
- humanoid.Health = lhh - (test * 0.50)
- end
- lhh = humanoid.Health
- shieldbash(1)
- local vel = Instance.new("BodyVelocity")
- vel.Parent = Player.Character.Torso
- vel.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
- vel.velocity = Player.Character.Torso.CFrame.lookVector * -20
- velo = -20
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- end
- for i = 0,1,0.05 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.8,0.5+0.2,-0.8) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4+0.5-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.8,0.5,-0.8) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4-0.5+0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- velo = velo + 0.5
- vel.velocity = Player.Character.Torso.CFrame.lookVector * velo
- end
- vel.Parent = nil
- end
- wait(0.1)
- end
- Character.Humanoid.WalkSpeed = 16
- if bashing == false then
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.8-0.8*i,0.5+0.2-0.2*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,1.4-1.4*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87-0.87*i,0,-1.4+1.4*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.7,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- attack = false
- end
- end
- function Bashem()
- attack = true
- bashing = true
- guarding = false
- if mode == "Normal" then
- ss(0.7)
- con1=prt1.Touched:connect(function(hit) Bash(hit,40) end)
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.8-0.8*i,0.5+0.2-0.2*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07,0,1.4-3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(0.7+0.87,0,-1.4+3*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.15)
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.07-2.07*i,0,-1.6+1.6*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.87*i,0,1.6-1.6*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- elseif mode == "Attack" then
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.8+0.3*i,0.5+0.2+0.3*i,-0.8) * CFrame.fromEulerAnglesXYZ(2.07-0.5*i,0,1.4+0.17*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
- RW.C0 = CFrame.new(1.5-0.8+0.8*i,0.5,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.4+2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- con1=part13.Touched:connect(function(hit) Damagefunc2(hit,40,25) end)
- ss(1.1)
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+1.1-1.1*i,0.5+0.5-0.5*i,-0.8+0.8*i) * CFrame.fromEulerAnglesXYZ(2.07-0.5,0,1.4+0.17)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4*i,1.57,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.4+2)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.15)
- lightning = false
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,1.57-1.57*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(4-4*i,1.57-1.57*i,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,-1.4+2-0.6*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- bashing = false
- attack = false
- end
- function WingBladeStance(seeing)
- wingblade1.Parent = modelzorz
- wingblade2.Parent = modelzorz
- wingblade3.Parent = modelzorz
- wingblade4.Parent = modelzorz
- wingblade5.Parent = modelzorz
- wingblade6.Parent = modelzorz
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = Torso
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = Torso
- wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = Torso
- wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = Torso
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = Torso
- wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = Torso
- wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
- if seeing == true then
- wingblade1.Transparency = 0.4
- wingblade2.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade6.Transparency = 0.4
- else
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- end
- end
- function StyleChange()
- attack = true
- if mode == "Normal" then
- Character.Humanoid.WalkSpeed = 0
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- Style = "MagicMayhem"
- coroutine.resume(coroutine.create(function()
- while Style == "MagicMayhem" do
- wait(0.1)
- MMMAGIC(LeftArm,2,2,2,0,-1,0,BrickColor.new("White"))
- MMMAGIC(RightArm,2,2,2,0,-1,0,BrickColor.new("Black"))
- end
- end))
- magicsound(1)
- BlastEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("White"))
- WaveEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("Black"))
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- Character.Humanoid.WalkSpeed = 16
- elseif mode == "Attack" then
- Character.Humanoid.WalkSpeed = 0
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- WingBladeStance(true)
- magicsound(1)
- if element == "Light" then
- BlastEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("White"))
- WaveEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("White"))
- else
- BlastEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("Black"))
- WaveEffect(Torso,4,5,4,0,-2,0,0,0,0,BrickColor.new("Black"))
- end
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.3+0.6*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2.5-3.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- hideanim()
- Style = "WingBlade"
- Character.Humanoid.WalkSpeed = 16
- end
- attack = false
- end
- function idleanim()
- if attack == false then
- --print("MOARDERP")
- for i = 0,1,0.05 do
- swait()
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0.2*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3*i,0.2,0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0.2*i,0.2,0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1*i,0.2,0) * CFrame.new(0,0,0)
- end
- wait(0.5)
- for i = 0,1,0.05 do
- swait()
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3-0.5*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0.2-0.3*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1-0.1*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5+0.3-0.5*i,0.2,0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0.2-0.3*i,0.2,0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5+0.1-0.1*i,0.2,0) * CFrame.new(0,0,0)
- end
- wait(0.1)
- for i = 0,1,0.05 do
- swait()
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5-0.2+0.2*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(-0.1+0.1*i,-0.2,0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5-0.2+0.2*i,0.2,0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(-0.1+0.1*i,0.2,0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
- end
- end
- end
- function MegaHit()
- if mana >= 20 then
- attack = true
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- Charge(2)
- for i = 0,1,0.1 do
- swait()
- if element == "Light" then
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
- elseif element == "Dark" then
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Black"))
- end
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,0,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,1,0.2 do
- swait()
- if element == "Light" then
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
- elseif element == "Dark" then
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Black"))
- end
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2-3*i,0,-0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- mana = mana - 20
- local testbrick = Instance.new("Part")
- testbrick.Parent = modelzorz
- testbrick.Anchored = true
- testbrick.Transparency = 1
- testbrick.CFrame = Torso.CFrame * CFrame.new(-3,0,-2)
- coroutine.resume(coroutine.create(function()
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - testbrick.Position;
- local mag = targ.magnitude;
- if mag <= 3 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- UpBlast(head,math.random(30,36))
- end))
- end
- end
- end
- end
- end))
- magicsound(2)
- if element == "Light" then
- EVENMOARMAGIX(Torso,1,6,1,-3,-2,-2,0,0,0,BrickColor.new("White"))
- WaveEffect(Torso,2.5,3,2.5,-3,-2,-2,0,0,0,BrickColor.new("White"))
- else
- EVENMOARMAGIX(Torso,2,5,2,-3,-2,-2,0,0,0,BrickColor.new("Black"))
- WaveEffect(Torso,1.5,4,1.5,-3,-2,-2,0,0,0,BrickColor.new("Black"))
- end
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,-0.5+0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- testbrick.Parent = nil
- gairo.Parent = nil
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- attack = false
- end
- end
- function MagicStab()
- attack = true
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i,0,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- ss(0.9)
- for i = 0,1,0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90)+math.rad(90)*i,0,math.rad(90)-math.rad(90)*i) * CFrame.new(0,1,0)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,1.57*i,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i,0,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- function MagicVortex()
- if mana >= 0 then
- attack = true
- vortexing = true
- Charge(1)
- for i = 0,1,0.1 do
- swait()
- if element == "Light" then
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
- else
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Black"))
- end
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,1,0.1 do
- swait()
- if element == "Light" then
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("White"))
- else
- MMMAGIC(LeftArm,3,3,3,0,-1,0,BrickColor.new("Black"))
- end
- end
- magicsound(1)
- if element == "Light" then
- EVENMOARMAGIX(LeftArm,5,3,5,0,-1,0,0,0,0,BrickColor.new("White"))
- else
- EVENMOARMAGIX(LeftArm,5,3,5,0,-1,0,0,0,0,BrickColor.new("Black"))
- end
- wait(0.3)
- coroutine.resume(coroutine.create(function()
- magicsound(1)
- local Bawl1 = Instance.new("Part")
- Bawl1.Parent = modelzorz
- Bawl1.CanCollide = false
- if element == "Light" then
- Bawl1.BrickColor = BrickColor.new("White")
- else
- Bawl1.BrickColor = BrickColor.new("Black")
- end
- Bawl1.Position = Torso.Position
- Bawl1.Transparency = 1
- Bawl1.Size = Vector3.new(2,2,2)
- local BawlMesh1 = Instance.new("SpecialMesh")
- BawlMesh1.Parent = Bawl1
- BawlMesh1.MeshType = "Sphere"
- BawlMesh1.Scale = Vector3.new(0,0,0)
- local BawlWeld1 = Instance.new("Weld")
- BawlWeld1.Parent = Bawl1
- BawlWeld1.Part0 = Bawl1
- BawlWeld1.Part1 = Torso
- BawlWeld1.C0 = CFrame.new(4,0,3)
- if element == "Light" then
- EVENMOARMAGIX(Bawl1,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
- else
- EVENMOARMAGIX(Bawl1,5,3,5,0,0,0,0,0,0,BrickColor.new("Black"))
- end
- local Bawl2 = Instance.new("Part")
- Bawl2.Parent = modelzorz
- Bawl2.CanCollide = false
- if element == "Light" then
- Bawl2.BrickColor = BrickColor.new("White")
- else
- Bawl2.BrickColor = BrickColor.new("Black")
- end
- Bawl2.Position = Torso.Position
- Bawl2.Transparency = 1
- Bawl2.Size = Vector3.new(2,2,2)
- local BawlMesh2 = Instance.new("SpecialMesh")
- BawlMesh2.Parent = Bawl2
- BawlMesh2.MeshType = "Sphere"
- BawlMesh2.Scale = Vector3.new(0,0,0)
- local BawlWeld2 = Instance.new("Weld")
- BawlWeld2.Parent = Bawl2
- BawlWeld2.Part0 = Bawl2
- BawlWeld2.Part1 = Torso
- BawlWeld2.C0 = CFrame.new(-4,0,3)
- if element == "Light" then
- EVENMOARMAGIX(Bawl2,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
- else
- EVENMOARMAGIX(Bawl2,5,3,5,0,0,0,0,0,0,BrickColor.new("Black"))
- end
- local Bawl3 = Instance.new("Part")
- Bawl3.Parent = modelzorz
- Bawl3.CanCollide = false
- if element == "Light" then
- Bawl3.BrickColor = BrickColor.new("White")
- else
- Bawl3.BrickColor = BrickColor.new("Black")
- end
- Bawl3.Position = Torso.Position
- Bawl3.Transparency = 1
- Bawl3.Size = Vector3.new(2,2,2)
- local BawlMesh3 = Instance.new("SpecialMesh")
- BawlMesh3.Parent = Bawl3
- BawlMesh3.MeshType = "Sphere"
- BawlMesh3.Scale = Vector3.new(0,0,0)
- local BawlWeld3 = Instance.new("Weld")
- BawlWeld3.Parent = Bawl3
- BawlWeld3.Part0 = Bawl3
- BawlWeld3.Part1 = Torso
- BawlWeld3.C0 = CFrame.new(0,0,-4.5)
- if element == "Light" then
- EVENMOARMAGIX(Bawl3,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
- else
- EVENMOARMAGIX(Bawl3,5,3,5,0,0,0,0,0,0,BrickColor.new("Black"))
- end
- coroutine.resume(coroutine.create(function()
- while Bawl1.Parent ~= nil do
- wait(0.1)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - Bawl1.Position;
- local mag = targ.magnitude;
- if mag <= 4 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- BawlHit(head,2,5)
- end))
- end
- end
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Bawl2.Parent ~= nil do
- wait(0.1)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - Bawl2.Position;
- local mag = targ.magnitude;
- if mag <= 4 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- BawlHit(head,2,5)
- end))
- end
- end
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Bawl3.Parent ~= nil do
- wait(0.1)
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - Bawl3.Position;
- local mag = targ.magnitude;
- if mag <= 4 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- BawlHit(head,2,5)
- end))
- end
- end
- end
- end
- end
- end))
- for i = 0,1,0.15 do
- swait()
- Bawl1.Transparency = Bawl1.Transparency - 0.1
- BawlMesh1.Scale = BawlMesh1.Scale + Vector3.new(0.1,0.08,0.1)
- Bawl2.Transparency = Bawl2.Transparency - 0.1
- BawlMesh2.Scale = BawlMesh2.Scale + Vector3.new(0.1,0.08,0.1)
- Bawl3.Transparency = Bawl3.Transparency - 0.1
- BawlMesh3.Scale = BawlMesh3.Scale + Vector3.new(0.1,0.08,0.1)
- if element == "Light" then
- MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
- else
- MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- if element == "Light" then
- MMMAGIC(Bawl2,2,2,2,0,0,0,BrickColor.new("White"))
- else
- MMMAGIC(Bawl2,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- if element == "Light" then
- MMMAGIC(Bawl3,2,2,2,0,0,0,BrickColor.new("White"))
- else
- MMMAGIC(Bawl3,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- end
- while mana >= 0 and vortexing == true do
- wait(0.1)
- mana = mana - 1
- BawlWeld1.C0 = BawlWeld1.C0 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
- BawlWeld2.C0 = BawlWeld2.C0 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
- BawlWeld3.C0 = BawlWeld3.C0 * CFrame.fromEulerAnglesXYZ(0,0.2,0)
- if element == "Light" then
- MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
- else
- MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- if element == "Light" then
- MMMAGIC(Bawl2,2,2,2,0,0,0,BrickColor.new("White"))
- else
- MMMAGIC(Bawl2,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- if element == "Light" then
- MMMAGIC(Bawl3,2,2,2,0,0,0,BrickColor.new("White"))
- else
- MMMAGIC(Bawl3,2,2,2,0,0,0,BrickColor.new("Black"))
- end
- end
- Bawl1.Parent = nil
- Bawl2.Parent = nil
- Bawl3.Parent = nil
- end))
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(3.14-3.14*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- end
- function SwordRaid()
- if mana >= 40 then
- attack = true
- local UltimaPart = Instance.new("Part")
- UltimaPart.Parent = modelzorz
- UltimaPart.CanCollide = false
- UltimaPart.Position = Torso.Position
- UltimaPart.Transparency = 1
- local UltimaWeld = Instance.new("Weld")
- UltimaWeld.Parent = UltimaPart
- UltimaWeld.Part0 = UltimaPart
- UltimaWeld.Part1 = Torso
- UltimaWeld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
- local wingvel2 = Instance.new("BodyVelocity")
- wingvel2.Parent = UltimaPart
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- wait(0.4)
- wingblade1.Transparency = 0.4
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = UltimaPart
- wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade2.Transparency = 0.4
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = UltimaPart
- wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade3.Transparency = 0.4
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = UltimaPart
- wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade4.Transparency = 0.4
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = UltimaPart
- wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade5.Transparency = 0.4
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = UltimaPart
- wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade6.Transparency = 0.4
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = UltimaPart
- wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5,math.rad(90),0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
- con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
- con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
- con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
- con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
- con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,20,15) end)
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- ss(1.2)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.2)
- lightning = false
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.3*i,0.5,-0.3*i) * CFrame.fromEulerAnglesXYZ(1.57+0.43*i,0,-1+1.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.2*i,0.5,-0.5+0.2*i) * CFrame.fromEulerAnglesXYZ(1.57+0.43*i,0,-1+0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- mana = mana - 40
- UltimaWeld.Parent = nil
- wingvel2.maxForce = Vector3.new(4e+005,4e+005,4e+005)*1
- wingvel2.velocity = Player.Character.Head.CFrame.lookVector * 70
- coroutine.resume(coroutine.create(function()
- for i = 0,3,0.1 do
- swait()
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- ss(1.2)
- end
- wingvel2.Parent = nil
- UltimaPart.Parent = nil
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- wait(0.4)
- lightning = false
- con1:disconnect()
- con2:disconnect()
- con3:disconnect()
- con4:disconnect()
- con5:disconnect()
- con6:disconnect()
- WingBladeStance(true)
- WingBladeEffect(1,1,1,1,1,1)
- end))
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.3-0.3*i,0.5,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0.5-1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.3+0.3*i,0.5,-0.3+0.3*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,-0.5+1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.5)
- attack = false
- end
- end
- function MagicBarrage()
- attack = true
- if element == "Light" then
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- while barragehold == true and mana >= 0 do
- wait(0.1)
- mana = mana - math.random(5,10)
- ss(1+math.random())
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1+math.random(),0,math.random(-1,0)+math.random())
- coroutine.resume(coroutine.create(function()
- slasheffect(LeftArm.CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0,10,nil)
- end))
- end
- if mana <= 0 then
- mana = 0
- end
- else
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- local p = Instance.new("Part")
- p.Parent = Character
- p.Name = "TestBrick"
- p.CFrame = RightArm.CFrame*CFrame.new(0,1,0)
- p.CanCollide = false
- p.Transparency = 1
- local pweld = Instance.new("Weld")
- pweld.Parent = p
- pweld.Part0 = p
- pweld.Part1 = RightArm
- pweld.C0 = CFrame.new(0,1,0)
- coroutine.resume(coroutine.create(function()
- while p.Parent ~= nil do
- wait(0.05)
- MMMAGIC(p,4,4,4,0,0,0,BrickColor.new("Black"))
- EVENMOARMAGIX(p,3,3,3,0,0,0,math.random(-50,50),math.random(-50,50),math.random(-50,50),BrickColor.new("Black"))
- MOREMAGIX(p,0,2,2,2,BrickColor.new("Black"))
- end
- end))
- DarkRiftF(p)
- p.Parent = nil
- end
- attack = false
- end
- function Regening()
- attack = true
- Character.Humanoid.WalkSpeed=8
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1.57*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- while regening == true do
- wait(0.1)
- DifferentEffect()
- if mana >= 400 then
- mana = 400
- else
- Character.Humanoid.Health = Character.Humanoid.Health + 0.01
- mana = mana + 1
- end
- end
- Character.Humanoid.WalkSpeed=16
- attack = false
- end
- function Ultima()
- attack = true
- if mana == 400 then
- if Style == "MagicMayhem" then
- print("LOLOL ECLIPSE TIEM")
- for i = 0,1,0.05 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,-1.57*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1+0.57*i,0,1.57*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,2 do
- wait(0.8)
- magicsound(1)
- MMMAGIC(LeftArm,5,5,5,0,-1,0,BrickColor.new("White"))
- MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Black"))
- end
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1.57+2.17*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1.57-2.17*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- Charge(0.4)
- for i = 0,10,0.5 do
- wait(0.1)
- UltimaMMMAGIC(LeftArm,i,i,i,0,-1,0,BrickColor.new("White"))
- UltimaMMMAGIC(RightArm,i,i,i,0,-1,0,BrickColor.new("Black"))
- end
- coroutine.resume(coroutine.create(function()
- while Style == "MagicMayhem" do
- wait(0.1)
- UltimaMMMAGIC(LeftArm,10,10,10,0,-1,0,BrickColor.new("White"))
- UltimaMMMAGIC(RightArm,10,10,10,0,-1,0,BrickColor.new("Black"))
- end
- end))
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,-1.57+2.17)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5*i,0,1.57-2.17)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.3)
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57-0.5+0.5,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5-1*i,0,-1.57+2.17)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57+0.5-1*i,0,1.57-2.17)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- mana = 0
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - Torso.Position;
- local mag = targ.magnitude;
- if mag <= 60 and c[i].Name ~= Player.Name then
- UltimaMagicMayhemDamage(head,math.random(80,90))
- Character.Humanoid.Health=Character.Humanoid.Health-70
- end
- end
- end
- end
- Style = "Normal"
- MagicMayhemUltimaSounds()
- for i = 0,9,0.2 do
- swait()
- MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("White"))
- MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("Black"))
- EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("White"))
- EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("Black"))
- WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("White"))
- WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("Black"))
- MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("White"))
- MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("Black"))
- end
- coroutine.resume(coroutine.create(function()
- local clone = Instance.new("Part")
- clone.Parent = workspace
- clone.CFrame = Torso.CFrame
- clone.CanCollide = false
- clone.Transparency = 1
- clone.Anchored = true
- for i = 0,10,0.2 do
- wait(0.1)
- MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("White"))
- MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("Black"))
- end
- clone.Parent = nil
- end))
- elseif Style == "WingBlade" then
- print("LOLOL MULTIVORTEX TIEM")
- mana = 0
- coroutine.resume(coroutine.create(function()
- while attack == true do
- swait()
- mana = 0
- end
- end))
- Character.Humanoid.PlatformStand = true
- con1=wingblade1.Touched:connect(function(hit) Damagefunc1(hit,5,15) end)
- con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,5,15) end)
- con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,5,15) end)
- con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,5,15) end)
- con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,5,15) end)
- con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,5,15) end)
- original = Head.CFrame
- bod = Instance.new("BodyPosition")
- bod.position = Torso.Position
- bod.Parent = Torso
- bod.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
- target = meh
- --bod.position = target.Position
- local b = Instance.new("BodyGyro")
- b.P=18000
- b.D=600
- b.maxTorque=Vector3.new(80000,80000000,80000)*50000000000000000000000000
- b.Parent = Head
- if target ~= nil then
- local dir = (target.Position - Head.Position).unit
- local spawnpos = Head.Position
- local pos = spawnpos + (dir * 1)
- b.cframe = CFrame.new(pos, pos + dir)
- end
- local UltimaPart = Instance.new("Part")
- UltimaPart.Parent = modelzorz
- UltimaPart.CanCollide = false
- UltimaPart.Position = Torso.Position
- UltimaPart.Transparency = 1
- local UltimaWeld = Instance.new("Weld")
- UltimaWeld.Parent = UltimaPart
- UltimaWeld.Part0 = UltimaPart
- UltimaWeld.Part1 = Torso
- UltimaWeld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- wait(0.4)
- wingblade1.Transparency = 0.4
- wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = UltimaPart
- wingweld1.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(0,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade2.Transparency = 0.4
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = UltimaPart
- wingweld2.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade3.Transparency = 0.4
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = UltimaPart
- wingweld3.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade4.Transparency = 0.4
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = UltimaPart
- wingweld4.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade5.Transparency = 0.4
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = UltimaPart
- wingweld5.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4,math.rad(90),0) * CFrame.new(0,0,0)
- wingblade6.Transparency = 0.4
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = UltimaPart
- wingweld6.C0 = CFrame.new(0,0,-4) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5,math.rad(90),0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- for i = 0,1,0.1 do
- swait()
- bod.position = Torso.Position + Vector3.new(0,1,0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0,0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- target = meh
- if target ~= nil then
- bod.position = target.Position
- local dir = (target.Position - Head.Position).unit
- local spawnpos = Head.Position
- local pos = spawnpos + (dir * 1)
- b.cframe = CFrame.new(pos, pos + dir)
- end
- for i = 0,1,0.1 do
- swait()
- ss(1.2)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5*i,0,-0.5+1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0.5+1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,2 do
- swait()
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(0.5+1.5*i,0,0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+2.5*i,0,1.5-1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.7) * CFrame.new(0,0,0)
- UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- target = meh
- if target ~= nil then
- bod.position = target.Position
- local dir = (target.Position - Head.Position).unit
- local spawnpos = Head.Position
- local pos = spawnpos + (dir * 1)
- b.cframe = CFrame.new(pos, pos + dir)
- end
- wingblade1.Transparency = 0.4
- wingblade2.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade6.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- ss(1.4)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-3*i,0,0.5-1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(2-1.5*i,0,0.5-1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2.57*i,0,-0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(0.5+1.07*i,0,-0.5-0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,1.57) * CFrame.new(0,0,0)
- UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- target = meh
- if target ~= nil then
- bod.position = target.Position
- local dir = (target.Position - Head.Position).unit
- local spawnpos = Head.Position
- local pos = spawnpos + (dir * 1)
- b.cframe = CFrame.new(pos, pos + dir)
- end
- wingblade1.Transparency = 0.4
- wingblade2.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade6.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- ss(1)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5+math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-0.5+1.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-1+2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-0.57*i,0,1)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,2) * CFrame.new(0,0,0)
- UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- target = meh
- if target ~= nil then
- bod.position = target.Position
- local dir = (target.Position - Head.Position).unit
- local spawnpos = Head.Position
- local pos = spawnpos + (dir * 1)
- b.cframe = CFrame.new(pos, pos + dir)
- end
- wingblade1.Transparency = 0.4
- wingblade2.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade6.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- ss(0.9)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(360)*i,math.rad(90),0) * CFrame.new(0,0,0)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1+1*i,0,1-2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1+1*i,0,1-2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- b.cframe = original
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Transparency = 1
- wingblade2.Transparency = 1
- wingblade3.Transparency = 1
- wingblade4.Transparency = 1
- wingblade5.Transparency = 1
- wingblade6.Transparency = 1
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,1-2.57*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57,0,1+0.57*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- UltimaWeld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(0,0,0)
- UltimaWeld.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- WingBladeEffect(1,1,1,1,1,1)
- swait()
- wingblade1.Transparency = 0.4
- wingblade2.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade6.Transparency = 0.4
- bod.position = Torso.Position + Vector3.new(0,10,0)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(5,5,5)
- msh1.MeshId = "http://www.roblox.com/asset/?id=1051557"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(15,15,15)
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=1
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=Torso.CFrame
- S.Parent=Character
- msh1.Parent = S
- if element == "Light" then
- S.BrickColor=BrickColor.new("White")
- elseif element == "Dark" then
- S.BrickColor=BrickColor.new("Black")
- end
- bod.maxForce = Vector3.new(100000,100000,100000)
- for i = 0,1,0.01 do
- swait()
- target = meh
- if target ~= nil then
- bod.position = target.Position
- end
- ss(0.9)
- S.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.rad(580)*i,0)
- S.Transparency = S.Transparency - 0.005
- b.cframe = b.cframe * CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- end
- for i = 0,1,0.005 do
- swait()
- target = meh
- if target ~= nil then
- bod.position = target.Position
- end
- ss(0.9)
- S.CFrame=Torso.CFrame*CFrame.fromEulerAnglesXYZ(0,math.rad(580)*i,0)
- S.Transparency = S.Transparency
- b.cframe = b.cframe * CFrame.fromEulerAnglesXYZ(0,math.rad(600)*i,0)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(1-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(2-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(3-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(4-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(5-math.rad(600)*i,math.rad(90),0) * CFrame.new(0,0,0)
- end
- wait(0.5)
- lightning = false
- Character.Humanoid.PlatformStand = false
- S.Parent = nil
- con1:disconnect()
- con2:disconnect()
- con3:disconnect()
- con4:disconnect()
- con5:disconnect()
- con6:disconnect()
- bod.Parent = nil
- b.Parent = nil
- WingBladeEffect(1,1,1,1,1,1)
- wingblade1.Parent = nil
- wingblade2.Parent = nil
- wingblade3.Parent = nil
- wingblade4.Parent = nil
- wingblade5.Parent = nil
- wingblade6.Parent = nil
- wait(0.2)
- Style = "Normal"
- equipanim()
- --[[wingweld1.Parent = wingblade1
- wingweld1.Part0 = wingblade1
- wingweld1.Part1 = Torso
- wingweld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,-0.5,-3.3)
- wingweld1.C1 = CFrame.fromEulerAnglesXYZ(-0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld2.Parent = wingblade2
- wingweld2.Part0 = wingblade2
- wingweld2.Part1 = Torso
- wingweld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0,-3)
- wingweld2.C1 = CFrame.fromEulerAnglesXYZ(0,-0.2,0) * CFrame.new(0,0,0)
- wingweld3.Parent = wingblade3
- wingweld3.Part0 = wingblade3
- wingweld3.Part1 = Torso
- wingweld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.rad(90)) * CFrame.new(1,0.5,-3.3)
- wingweld3.C1 = CFrame.fromEulerAnglesXYZ(0.5,-0.2,0) * CFrame.new(0,0,0)
- wingweld4.Parent = wingblade4
- wingweld4.Part0 = wingblade4
- wingweld4.Part1 = Torso
- wingweld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,-0.5,-3.3)
- wingweld4.C1 = CFrame.fromEulerAnglesXYZ(-0.5,0.2,0) * CFrame.new(0,0,0)
- wingweld5.Parent = wingblade5
- wingweld5.Part0 = wingblade5
- wingweld5.Part1 = Torso
- wingweld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0,-3)
- wingweld5.C1 = CFrame.fromEulerAnglesXYZ(0,0.2,0) * CFrame.new(0,0,0)
- wingweld6.Parent = wingblade6
- wingweld6.Part0 = wingblade6
- wingweld6.Part1 = Torso
- wingweld6.C0 = CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90)) * CFrame.new(-1,0.5,-3.3)
- wingweld6.C1 = CFrame.fromEulerAnglesXYZ(0.5,0.2,0) * CFrame.new(0,0,0)
- UltimaWeld.Parent = nil
- WingBladeEffect(1,1,1,1,1,1)
- swait()
- wingblade1.Transparency = 0.4
- wingblade2.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade6.Transparency = 0.4 ]]
- end
- attack = false
- end
- end
- function ULTRAUltima()
- attack = true
- --if Style == "MagicMayhem" and mana >= 400 then
- if Style == "MagicMayhem" then
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - Torso.Position;
- local mag = targ.magnitude;
- if mag <= 60 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- UltimaMagicMayhemDamage(head,math.random(200,500))
- end
- end))
- end
- end
- end
- end
- Style = "Normal"
- MagicMayhemUltimaSounds()
- for i = 0,9,0.2 do
- swait()
- MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("White"))
- MMMAGIC(Torso,90,90,90,0,0,0,BrickColor.new("Black"))
- EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("White"))
- EVENMOARMAGIX(Torso,80,80,80,0,0,0,0,0,0,BrickColor.new("Black"))
- WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("White"))
- WaveEffect(Torso,70,70,70,0,0,0,0,math.random(-50,50),0,BrickColor.new("Black"))
- MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("White"))
- MMMAGIC(Torso,5,5,5,math.random(-35,35),0,math.random(-35,35),BrickColor.new("Black"))
- end
- coroutine.resume(coroutine.create(function()
- local clone = Instance.new("Part")
- clone.Parent = workspace
- clone.CFrame = Torso.CFrame
- clone.CanCollide = false
- clone.Transparency = 1
- clone.Anchored = true
- for i = 0,10,0.2 do
- wait(0.1)
- MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("White"))
- MMMAGIC(clone,1,1,1,math.random(-30,30),0,math.random(-30,30),BrickColor.new("Black"))
- end
- clone.Parent = nil
- end))
- end
- attack = false
- end
- function WingBladeEffect(one,two,three,four,five,six)
- if one == 1 then
- EVENMOARMAGIX(wingblade1,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
- end
- if two == 1 then
- EVENMOARMAGIX(wingblade2,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
- end
- if three == 1 then
- EVENMOARMAGIX(wingblade3,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
- end
- if four == 1 then
- EVENMOARMAGIX(wingblade4,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
- end
- if five == 1 then
- EVENMOARMAGIX(wingblade5,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
- end
- if six == 1 then
- EVENMOARMAGIX(wingblade6,3,3,3,0,0,0,math.rad(90),0,0,BrickColor.new("White"))
- end
- end
- function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
- local msh1 = Instance.new("BlockMesh")
- msh1.Scale = Vector3.new(0.5,0.5,0.5)
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(x1,y1,z1)
- S.BrickColor=color
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- S.Parent=Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 swait() end Part.Parent=nil end),S,S.CFrame)
- end
- function UltimaMMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
- local msh1 = Instance.new("BlockMesh")
- msh1.Scale = Vector3.new(x1,y1,z1)
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(1,1,1)
- S.BrickColor=color
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- S.Parent=Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 swait() end Part.Parent=nil end),S,S.CFrame)
- end
- function MOREMAGIX(part,cframe,x,y,z,color)
- p2=Instance.new("Part")
- p2.Name="Blast"
- p2.TopSurface=0
- p2.BottomSurface=0
- p2.CanCollide=false
- p2.Anchored=true
- p2.BrickColor=color
- p2.Size=Vector3.new(x,y,z)
- p2.formFactor="Symmetric"
- p2.CFrame=part.CFrame*CFrame.new(0,cframe,0)
- p2.Parent=workspace
- m=Instance.new("BlockMesh")
- m.Parent=p2
- m.Name="BlastMesh"
- coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-Vector3.new(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*CFrame.new(dir)*CFrame.fromEulerAnglesXYZ(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) swait() end part.Parent=nil end),p2,Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
- end
- function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(0.5,0.5,0.5)
- msh1.MeshType = "Sphere"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(x1,y1,z1)
- S.BrickColor=color
- if Style == "WingBlade" and element == "Dark" then
- S.BrickColor=BrickColor.new("Black")
- end
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
- S.Parent=Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 swait() end Part.Parent=nil end),S,S.CFrame)
- end
- function WaveEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(x1,y1,z1)
- msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(1,1,1)
- S.BrickColor=color
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
- S.Parent=Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 swait() end Part.Parent=nil end),S,S.CFrame)
- end
- function BlastEffect(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(x1,y1,z1)
- msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(1,1,1)
- S.BrickColor=color
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(x3,y3,z3)
- S.Parent=Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15,0.3,0.15) Part.Transparency=i*.1 swait() end Part.Parent=nil end),S,S.CFrame)
- end
- function DifferentEffect()
- p=Instance.new("Part")
- p.Name="FlameEm"
- p.Shape=0
- p.TopSurface=0
- p.BottomSurface=0
- derp = math.random(1,2)
- if derp == 1 then
- p.BrickColor=BrickColor.new("White")
- else
- p.BrickColor=BrickColor.new("Black")
- end
- p.Anchored=true
- p.CanCollide=false
- p.Size=Vector3.new(1,1,1)
- p.CFrame=CFrame.new(Character["Torso"].CFrame.p+Vector3.new(0,-3,0))+Vector3.new(math.random(-10,10)/3,0,math.random(-10,10)/3)
- p.Parent=workspace
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Parent=p
- m.Scale=Vector3.new(1,1,1)
- coroutine.resume(coroutine.create(function(p) for i=1, 9 do p.Mesh.Scale=p.Mesh.Scale+Vector3.new(0,1.5,0) p.Transparency=p.Transparency+1/9 swait() end p.Parent=nil end),p)
- end
- function DashEf(P,color)
- local m = Instance.new("Part")
- m.Parent = workspace
- m.BrickColor = color
- m.Transparency = 0
- m.Anchored = true
- m.CFrame = P
- m.CanCollide = false
- local me = Instance.new("SpecialMesh")
- me.Parent = m
- me.MeshType = "FileMesh"
- me.MeshId = "http://www.roblox.com/asset/?id=20329976"
- me.Scale = Vector3.new(2.5,2.5,2.5)
- coroutine.resume(coroutine.create(function(part,mesh)
- for i = 0,5 do
- wait(0.1)
- part.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0, math.random(0,2), 0)
- mesh.Scale = mesh.Scale + Vector3.new(0.5,0.4,0.5)
- part.Transparency = part.Transparency + 0.20
- end
- m:Remove()
- end),m,me)
- end
- function slasheffect(cframe,waitin,size,efdam)
- wait(waitin)
- for l=1, 2 do
- swait()
- e=Instance.new("Part")
- e.Name="SlashEffect"
- e.TopSurface=0
- e.BottomSurface=0
- e.formFactor="Symmetric"
- e.Size=Vector3.new(2,2,size)
- e.Anchored=true
- e.BrickColor=BrickColor.new("White")
- e.Reflectance=0
- e.CanCollide=false
- m=Instance.new("SpecialMesh")
- m.MeshType="Sphere"
- m.Scale=Vector3.new(.25,.25,1)
- m.Parent=e
- e.CFrame = cframe
- e.Parent=workspace
- local c = game.Workspace:GetChildren();
- for i = 1, #c do
- local hum = c[i]:findFirstChild("Humanoid")
- if hum ~= nil and hum.Health ~= 0 then
- local head = c[i]:findFirstChild("Head");
- if head ~= nil then
- local targ = head.Position - e.Position;
- local mag = targ.magnitude;
- if mag <= 5 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.5 do
- swait()
- Damagefunc1(head,1,1)
- end
- end))
- end
- end
- end
- end
- coroutine.resume(coroutine.create(function(m) for i=1, 9 do m.Transparency=i*.1 m.Mesh.Scale=m.Mesh.Scale-Vector3.new(.01,.01,.05)*2 swait() end m.Parent=nil coneffect:disconnect() end),e)
- end
- end
- DarkRiftF=function(par) --Thank you turdulator for this :D
- while barragehold == true and mana >= 0 do
- mana = mana - math.random(0,10)
- PWN={}
- for _,v in pairs(workspace:children()) do
- if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
- if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
- if v~=Character and (v.Torso.Position-par.Position).magnitude<=25 then
- table.insert(PWN,v.Torso)
- end
- end
- end
- end
- for _,t in pairs(PWN) do
- Mag=(par.Position-t.Position).magnitude/2
- t.Parent.Humanoid:TakeDamage(.6)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*5000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))/10
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.1)
- if Mag<=2 then
- if mana <= 400 then
- mana = mana + math.random(10,20)
- else
- mana = 400
- end
- t.Parent.Humanoid:TakeDamage(.3)
- else
- if mana <= 400 then
- mana = mana + 5
- else
- mana = 400
- end
- vl=Instance.new("BodyVelocity")
- vl.P=3000
- vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
- vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.1)
- end
- end
- wait(.08)
- end
- end
- function EatMuffin() -- "Muffins" ~Derpy Hooves
- if Character:FindFirstChild("MuCool")~=nil then return end
- s=Instance.new("BoolValue",Character)
- s.Name="MuCool"
- game:GetService("Debris"):AddItem(s,12)
- attack = true
- if mode == "Attack" and Style == "Normal" then
- derp = true
- changeequipleft2()
- end
- omnomnom(1)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,-0.3*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,0.5*i) * CFrame.fromEulerAnglesXYZ(-0.3*i,0,0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- print("Muffins")
- local Muffin = Instance.new("Part")
- Muffin.formFactor = 1
- Muffin.CanCollide = false
- Muffin.Name = "Muffin"
- Muffin.Locked = true
- Muffin.Size = Vector3.new(1,1,1)
- Muffin.Parent = modelzorz
- local Muffinmesh = Instance.new("SpecialMesh")
- Muffinmesh.Parent = Muffin
- Muffinmesh.MeshId = "http://www.roblox.com/asset/?id=23261119"
- Muffinmesh.TextureId = "http://www.roblox.com/asset/?id=23261110"
- Muffinmesh.Scale = Vector3.new(0.5,0.5,0.5)
- local Muffinweld = Instance.new("Weld")
- Muffinweld.Parent = Muffin
- Muffinweld.Part0 = Muffin
- Muffinweld.Part1 = LeftArm
- Muffinweld.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(180)) * CFrame.new(0, 1, 0.5)
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,0.5-0.5*i) * CFrame.fromEulerAnglesXYZ(-0.3+0.3*i,0,0.5-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,-0.3+0.3*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5-0.1*i,0.5+0.2*i,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.9*i,0,1.3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0.5*i,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- for i = 1, 5 do
- wait(.45)
- Character.Humanoid.Health = Character.Humanoid.Health + 5
- if mana < 400 then
- mana = mana + 5
- end
- end
- Muffin.Parent = nil
- swait()
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5-0.1+0.1*i,0.5+0.2-0.2*i,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.9-1.9*i,0,1.3-1.3*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0.5-0.5*i,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- if derp == true then
- changeequipright2()
- end
- derp = false
- attack = false
- end
- function ss(pitch)
- local SlashSound = Instance.new("Sound")
- --SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = 1
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function critsound(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = .7
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function sheath(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209850"
- SlashSound.Parent = workspace
- SlashSound.Volume = .7
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function shieldbash(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209583"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = .7
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function magicsound(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = .5
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function abscond(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2767090"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = 1
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function Charge(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = 1
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function omnomnom(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=130776108"
- SlashSound.Parent = Character.Head
- SlashSound.Volume = 1
- SlashSound.Pitch = pitch
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- function MagicMayhemUltimaSounds()
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=13775494"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.1
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.2
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2691586"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.05
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.05
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.7
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974000"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.5
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2974249"
- SlashSound.Parent = workspace
- SlashSound.Volume = 1
- SlashSound.Pitch = 0.3
- SlashSound:Play()
- game:GetService("Debris"):AddItem(SlashSound,3)
- end
- --[[function ss(pitch) -- No sound mode (for all those noobs who can't handle the earraep. Umad, noobs?)
- end
- function critsound(pitch)
- end
- function sheath(pitch)
- end
- function shieldbash(pitch)
- end
- function magicsound(pitch)
- end
- function abscond(pitch)
- end
- function Charge(pitch)
- end
- function MagicMayhemUltimaSounds()
- end ]]
- Damagefunc1=function(hit,Damage,Knockback)
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- attackdebounce = false
- end))
- if hit.Parent==nil then
- return
- end
- CPlayer=Bin
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if mana < 400 then
- mana = mana + math.random(15,25)
- end
- if mana > 400 then
- mana = 400
- end
- Damage=Damage * .6
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- -- print(c.Value)
- Damage=Damage+math.random(0,10)
- -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
- HitHealth=h.Health
- h:TakeDamage(Damage)
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5)
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
- if Knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- --[[ r=Instance.new("BodyAngularVelocity")
- r.P=3000
- r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
- r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- r.Parent=hit.Parent.Torso]]
- game:GetService("Debris"):AddItem(r,.5)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- end
- Damagefunc2=function(hit,Damage,Knockback)
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- attackdebounce = false
- end))
- if hit.Parent==nil then
- return
- end
- CPlayer=Bin
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if mana < 400 then
- mana = mana + math.random(15,25)
- end
- if mana > 400 then
- mana = 400
- end
- Damage=Damage * .6
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- -- print(c.Value)
- Damage=Damage+math.random(0,10)
- -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
- HitHealth=h.Health
- h:TakeDamage(Damage)
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
- vl.velocity=Head.CFrame.lookVector*Knockback+Head.Velocity/1.05
- if Knockback>0 then
- vl.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- if Knockback>0 then
- rl.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(rl,.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- end
- Bash=function(hit,Damage) --credits to turdulator for making this function :D
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- attackdebounce = false
- end))
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==Character then
- return
- end
- if mana < 400 then
- mana = mana + math.random(15,25)
- end
- if mana > 400 then
- mana = 400
- end
- shieldbash(1)
- HitHealth=h.Health
- h:TakeDamage(Damage*.6)
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,30,0)
- vl.velocity=Head.CFrame.lookVector*35+Head.Velocity/1.05
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- else
- if hit.CanCollide==false then
- return
- end
- MagicCom:disconnect()
- -- DBExplode(DB)
- end
- end
- end
- UpBlast=function(hit,Damage) --credits to turdulator for making this function :D
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==Character then
- return
- end
- if mana < 400 then
- mana = mana + math.random(20,40)
- end
- if mana > 400 then
- mana = 400
- end
- HitHealth=h.Health
- h:TakeDamage(Damage/14)
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,45,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local tes = math.random(1,2)
- if tes == 1 then
- rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
- elseif tes == 2 then
- rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
- end
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- else
- if hit.CanCollide==false then
- return
- end
- MagicCom:disconnect()
- -- DBExplode(DB)
- end
- end
- BawlHit=function(hit,Damage,Knockback)
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- attackdebounce = false
- end))
- if hit.Parent==nil then
- return
- end
- CPlayer=Bin
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if mana < 400 then
- mana = mana + math.random(1,5)
- end
- if mana > 400 then
- mana = 400
- end
- Damage=Damage
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game.Players.LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- -- print(c.Value)
- if math.random(0,99)+math.random()<=7.8 then
- CRIT=true
- Damage=Damage*1
- --[[ Knockback=Knockback*2
- r=Instance.new("BodyAngularVelocity")
- r.P=3000
- r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
- r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- r.Parent=hit.Parent.Torso]]
- critsound(2)
- end
- Damage=Damage+math.random(0,5)
- -- Blood(hit.CFrame*CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
- HitHealth=h.Health
- h:TakeDamage(Damage)
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5)
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
- if Knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- --[[ r=Instance.new("BodyAngularVelocity")
- r.P=3000
- r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
- r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- r.Parent=hit.Parent.Torso]]
- game:GetService("Debris"):AddItem(r,.5)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- end
- UltimaMagicMayhemDamage=function(hit,Damage) --credits to turdulator for making this function :D
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- t=hit.Parent:FindFirstChild("Torso")
- if h~=nil and t~=nil then
- if h.Parent==Character then
- return
- end
- if math.random(0,99)+math.random()<=7.8 then
- CRIT=true
- Damage=Damage*1
- --[[ Knockback=Knockback*2
- r=Instance.new("BodyAngularVelocity")
- r.P=3000
- r.maxTorque=Vector3.new(500000000,50000000000,500000000)*50000
- r.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- r.Parent=hit.Parent.Torso]]
- critsound(2)
- end
- HitHealth=h.Health
- h:TakeDamage(Damage)
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name~="Hologram" then
- print("gained spree")
- Player:FindFirstChild("leaderstats").Spree.Value=Player.leaderstats.Spree.Value+1
- end
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5)
- vl=Instance.new("BodyVelocity")
- vl.P=4500
- vl.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- -- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,3,0)
- vl.velocity=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)*1.05+Vector3.new(0,600,0)
- vl.Parent=t
- game:GetService("Debris"):AddItem(vl,.2)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- -- rl.angularvelocity=Vector3.new(math.random(-40,40),math.random(-40,40),math.random(-40,40))
- local tes = math.random(1,2)
- if tes == 1 then
- rl.angularvelocity=Vector3.new(0,0,math.random(-40,40))
- elseif tes == 2 then
- rl.angularvelocity=Vector3.new(math.random(-40,40),0,0)
- end
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,.2)
- else
- if hit.CanCollide==false then
- return
- end
- MagicCom:disconnect()
- -- DBExplode(DB)
- end
- end
- showDamage=function(Char,Dealt,du)
- m=Instance.new("Model")
- m.Name=tostring(Dealt)
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.BrickColor=BrickColor:Red()
- if CRIT==true then
- c.BrickColor=BrickColor.new("Really red")
- end
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- c.formFactor="Plate"
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- if CRIT==true then
- ms.Scale=Vector3.new(1.25,1.5,1.25)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- hold = false
- function ob1d(mouse)
- if guarding == true then
- if bashing == true then return end
- Bashem()
- return
- end
- if attack == true then return end
- hold = true
- if Style == "Normal" then
- if mode == "Normal" then
- if combo == 0 then
- onehit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,-1+1*i) * CFrame.fromEulerAnglesXYZ(1.3-1.3*i,1.57-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 1 then
- twohit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- for i = 0,1,0.2 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5-0.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1-1.5+1.5*i,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 2 then
- threehit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(0.5+1,-1.57,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.5-2.2*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- wait(0.05)
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 3 then
- fourhit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- for i = 0,1,0.2 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- sheath(2.25)
- wait(0.05)
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 4 then
- fivehit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- attack = true
- gairo.Parent = nil
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3*i,3.14,-0.5+0.5*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+1.37-0.87*i,1*i,1-1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- --[[LW.C0 = CFrame.new(-1.5+0.5*i,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.5*i,-1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5*i,1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0) ]]
- sheath(2.25)
- wait(0.05)
- weld1.Part0 = part1
- weld1.Part1 = prt1
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.7,0.2)
- weld1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- wait(0.1)
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57+0.3-0.3*i,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5+0.5-0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.5-1.5*i,-1.57+1.57*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.7+0.7*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.2+0.5,1-1*i,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- attack = false
- end
- end))
- end
- elseif mode == "Attack" then
- if combo == 0 then
- oneslash()
- elseif combo == 1 then
- twoslash()
- elseif combo == 2 then
- threeslash()
- combo=0
- end
- end
- elseif Style == "MagicMayhem" then
- if combo == 0 then
- castone()
- elseif combo == 1 then
- casttwo()
- elseif combo == 2 then
- castthree()
- end
- --[[castone()
- casttwo()
- castthree() ]]
- elseif Style == "WingBlade" then
- if combo == 0 then
- combo = 1
- wingbladeslashone()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- WingBladeEffect(0,1,0,0,1,0)
- WingBladeEffect(0,0,0,0,0,0)
- wingblade2.Transparency = 0.4
- wingblade5.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+1*i,0,-0.5+0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1+2*i,0,0.5-0.5*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 1 then
- combo = 2
- wingbladeslashtwo()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- wait(0.3)
- WingBladeEffect(0,1,1,0,1,1)
- wingblade2.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade6.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-0.5+0.5*i,0,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(2-2*i,0,-1+1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 2 then
- combo = 3
- wingbladeslashthree()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- WingBladeEffect(1,1,1,1,1,1)
- wingblade2.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade6.Transparency = 0.4
- wingblade1.Transparency = 0.4
- wingblade4.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-2+2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,2-2*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- elseif combo == 3 then
- combo = 4
- wingbladeslashfour()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- WingBladeEffect(1,1,1,1,1,1)
- wingblade2.Transparency = 0.4
- wingblade5.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade6.Transparency = 0.4
- wingblade1.Transparency = 0.4
- wingblade4.Transparency = 0.4
- for i = 0,1,0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-2+2*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1.5-0.5+0.5*i,0.5,-0.5+0.5*i) * CFrame.fromEulerAnglesXYZ(1.57-1.57*i,0,-0.86+0.86*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- end))
- end
- wait(1.5)
- --[[wingblade1.Transparency = 0.4
- wingblade3.Transparency = 0.4
- wingblade4.Transparency = 0.4
- wingblade6.Transparency = 0.4 ]]
- end
- end
- function ob1u(mouse)
- hold = false
- end
- buttonhold = false
- function key(key)
- if attack == true then return end
- if key == "l" then
- EatMuffin()
- end
- if mode == "Normal" or Style == "MagicMayhem" then
- if key == "c" then
- if vortexing == false then
- MagicVortex()
- elseif vortexing == true then
- vortexing = false
- end
- end
- end
- if Style == "Normal" then
- if key == "q" then
- changeequipleft()
- end
- if key == "e" then
- changeequipright()
- end
- if key == "h" then
- if mana >= 400 then
- mana = 0
- StyleChange()
- end
- end
- if key == "z" then
- holddash = true
- ShieldDash()
- end
- if mode == "Normal" then
- if key == "x" then
- MegaHit()
- end
- elseif mode == "Attack" then
- if key == "x" then
- ArsSolum()
- end
- if key == "c" then
- --MagicStab()
- end
- if key == "v" then
- Buff()
- end
- end
- end
- if Style == "WingBlade" then
- if key == "z" then
- SwordRaid()
- end
- end
- if Style == "MagicMayhem" then
- if combo == 0 then
- if key == "z" then
- barragehold = true
- MagicBarrage()
- end
- if key == "x" then
- regening = true
- Regening()
- end
- end
- if key == "z" then
- if combo == 1 then
- castfour()
- end
- end
- if key == "x" then
- if combo == 1 then
- casttwo()
- end
- end
- if key == "c" then
- if combo == 1 then
- castfive()
- end
- end
- end
- if key == "f" then
- if Style ~= "WingBlade" then
- guard()
- end
- end
- if key == "g" then
- ChangeElement()
- end
- if key == "j" and Style ~= "Normal" then
- Ultima()
- --ULTRAUltima()
- end
- if key == "k" then
- if Style == "WingBlade" then
- wingblade1.Parent = nil
- wingblade2.Parent = nil
- wingblade3.Parent = nil
- wingblade4.Parent = nil
- wingblade5.Parent = nil
- wingblade6.Parent = nil
- equipweld()
- end
- Style = "Normal"
- end
- end
- function key2(key)
- if key == "f" then
- guarding = false
- end
- if key == "z" then
- holddash = false
- barragehold = false
- end
- if key == "x" then
- regening = false
- end
- end
- function s(mouse)
- equipped=true
- mouse.Button1Down:connect(function() ob1d(mouse) end)
- mouse.Button1Up:connect(function() ob1u(mouse) end)
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- player = Player
- ch = Character
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- --
- RW.Part0 = ch.Torso
- RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
- RW.C1 = CFrame.new(0, 0.5, 0)
- RW.Part1 = ch["Right Arm"]
- RW.Parent = ch.Torso
- --_G.R = RW
- --
- LW.Part0 = ch.Torso
- LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
- LW.C1 = CFrame.new(0, 0.5, 0)
- LW.Part1 = ch["Left Arm"]
- LW.Parent = ch.Torso
- --_G.L = LW
- --
- equipanim()
- end
- function ds(mouse)
- equipped=false
- hideanim()
- RW.Parent = nil
- LW.Parent = nil
- RSH.Parent = player.Character.Torso
- LSH.Parent = player.Character.Torso
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- local sine = 0
- local change = 1
- local val = 0
- local idle = 0
- local donum = 0
- while true do
- pwait()
- sine = sine + change
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- if idle >= 500 then
- if attack == false then
- end
- end
- if donum >= .5 then
- handidle = true
- elseif donum <= 0 then
- handidle = false
- end
- if handidle == false then
- donum = donum + 0.003
- else
- donum = donum - 0.003
- end
- if RootPart.Velocity.y > 1 and hitfloor == nil then
- Anim = "Jump"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 2) * angles(math.rad(30), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(70)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-70)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -.5, -.5) * angles(math.rad(0), math.rad(90), math.rad(-30)), .3)
- LH.C0 = clerp(LH.C0, cf(-1, -.8, -.5) * angles(math.rad(0), math.rad(-90), math.rad(20)), .3)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- Anim = "Fall"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(130)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.7, 0) * angles(math.rad(0), math.rad(0), math.rad(-130)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -.7, -.5) * angles(math.rad(0), math.rad(90), math.rad(-20)), .3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, -.5) * angles(math.rad(0), math.rad(-90), math.rad(10)), .3)
- end
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- if attack == false then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(-20)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(30)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50) + donum / 2, math.rad(0) + donum / 2, math.rad(10)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(0) + donum / 2, math.rad(-30) - donum / 2, math.rad(-20)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-70), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
- end
- elseif torvel > 2 and hitfloor ~= nil then
- Anim = "Walk"
- if attack == false then
- change = 3
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(15)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-15)), 0.3)
- RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), .3)
- LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), .3)
- end
- end
- 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 * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + vt(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 + vt(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 * cf(0, .5, 0)
- Mesh.Scale = Mesh.Scale + vt(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 + vt(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]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
- fentext.Text = "Mana("..mana..")"
- if element == "Light" then
- fentext3.BackgroundColor3 = Color3.new(1,1,1)
- elseif element == "Dark" then
- fentext3.BackgroundColor3 = Color3.new(0,0,0)
- end
- if Style == "WingBlade" then
- wait(0.1)
- meh = findNearestTorso(Character.Torso.Position)
- local target = findNearestTorso(Character.Torso.Position)
- if element == "Light" then
- wingblade1.BrickColor = BrickColor.new("White")
- wingblade2.BrickColor = BrickColor.new("White")
- wingblade3.BrickColor = BrickColor.new("White")
- wingblade4.BrickColor = BrickColor.new("White")
- wingblade5.BrickColor = BrickColor.new("White")
- wingblade6.BrickColor = BrickColor.new("White")
- elseif element == "Dark" then
- wingblade1.BrickColor = BrickColor.new("Black")
- wingblade2.BrickColor = BrickColor.new("Black")
- wingblade3.BrickColor = BrickColor.new("Black")
- wingblade4.BrickColor = BrickColor.new("Black")
- wingblade5.BrickColor = BrickColor.new("Black")
- wingblade6.BrickColor = BrickColor.new("Black")
- end
- end
- end
- -- lego This acts as a chat filter. Don't ask why I do it. I just do >.>
- --[[
- Copyrighted (C) Fenrier 2011
- This script is copyrighted for Fenrier. Any use of this script is breaking
- this copyright.
- All Rights Reserved.
- ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement