Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game:GetService("Players").LocalPlayer
- value = Instance.new("StringValue",Player)
- value.Name = "FPSCH"
- 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"]
- RootPart=Character.HumanoidRootPart
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- mana=200
- it=Instance.new
- element="Light"
- barragehold=false
- bashing = false
- cf=CFrame.new
- vt=Vector3.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
- LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
- RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
- RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
- RootJoint=RootPart.RootJoint
- RootCF=euler(-1.57,0,3.14)
- attack = false
- attackdebounce = false
- local Effects={}
- hitbox=nil
- combo = 0
- --player
- player = nil
- --save shoulders
- RSH, LSH = nil, nil
- --welds
- RW, LW = Instance.new("Weld"), Instance.new("Weld")
- if Character:findFirstChild("Glaive",true) ~= nil then
- Character:findFirstChild("Glaive",true).Parent = nil
- end
- if Player.PlayerGui:findFirstChild("manaGUI",true) ~= nil then
- Player.PlayerGui:findFirstChild("manaGUI",true).Parent = nil
- end
- 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,0)
- 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)
- 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 hitbox1=part(3,nil,0,1,BrickColor.new("Black"),"Hitbox",vt(1,1,1))
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- if frame == 1 / 30 then
- frame = 1 / 30
- 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
- local glaive = Instance.new("Model")
- glaive.Parent = Character
- glaive.Name = "Glaive"
- local prt1 = Instance.new("Part")
- prt1.formFactor = 1
- prt1.Parent = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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 = glaive
- 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.CanCollide = false
- part1.Name = "Handle1"
- part1.Locked = true
- part1.Size = Vector3.new(1,1,1)
- part1.Parent = glaive
- part1.BrickColor = BrickColor.new("Black")
- local part2 = Instance.new("Part")
- part2.formFactor = 3
- part2.CanCollide = false
- part2.Name = "Handle2"
- part2.Locked = true
- part2.Size = Vector3.new(1,1,1)
- part2.Parent = glaive
- part2.BrickColor = BrickColor.new("Bright yellow")
- local part3 = Instance.new("Part")
- part3.formFactor = 3
- part3.CanCollide = false
- part3.Name = "Handle3"
- part3.Locked = true
- part3.Size = Vector3.new(1,1,1)
- part3.Parent = glaive
- part3.BrickColor = BrickColor.new("White")
- local part4 = Instance.new("Part")
- part4.formFactor = 3
- part4.CanCollide = false
- part4.Name = "Handle4"
- part4.Locked = true
- part4.Size = Vector3.new(1,1,1)
- part4.Parent = glaive
- part4.BrickColor = BrickColor.new("Bright blue")
- local part5 = Instance.new("Part")
- part5.formFactor = 3
- part5.CanCollide = false
- part5.Name = "Handle5"
- part5.Locked = true
- part5.Size = Vector3.new(1,1,1)
- part5.Parent = glaive
- part5.BrickColor = BrickColor.new("White")
- local part6 = Instance.new("Part")
- part6.formFactor = 1
- part6.CanCollide = false
- part6.Name = "Handle6"
- part6.Locked = true
- part6.Size = Vector3.new(1,1,1)
- part6.Parent = glaive
- part6.BrickColor = BrickColor.new("Bright blue")
- local part7 = Instance.new("Part")
- part7.formFactor = 1
- part7.CanCollide = false
- part7.Name = "Handle7"
- part7.Locked = true
- part7.Size = Vector3.new(1,1,1)
- part7.Parent = glaive
- part7.BrickColor = BrickColor.new("White")
- local part8 = Instance.new("Part")
- part8.formFactor = 1
- part8.CanCollide = false
- part8.Name = "Handle8"
- part8.Locked = true
- part8.Size = Vector3.new(1,1,1)
- part8.Parent = glaive
- part8.BrickColor = BrickColor.new("Bright blue")
- local part9 = Instance.new("Part")
- part9.formFactor = 1
- part9.CanCollide = false
- part9.Name = "Handle9"
- part9.Locked = true
- part9.Size = Vector3.new(1,1,1)
- part9.Parent = glaive
- part9.BrickColor = BrickColor.new("White")
- local part10 = Instance.new("Part")
- part10.formFactor = 1
- part10.CanCollide = false
- part10.Name = "Handle10"
- part10.Locked = true
- part10.Size = Vector3.new(1,1,1)
- part10.Parent = glaive
- part10.BrickColor = BrickColor.new("Bright yellow")
- local part11 = Instance.new("Part")
- part11.formFactor = 3
- part11.CanCollide = false
- part11.Name = "Blade1"
- part11.Locked = true
- part11.Size = Vector3.new(.1,.1,.1)
- part11.Parent = glaive
- part11.BrickColor = BrickColor.new("White")
- local part12 = Instance.new("Part")
- part12.formFactor = 3
- part12.CanCollide = false
- part12.Name = "Blade2"
- part12.Locked = true
- part12.Size = Vector3.new(.1,.1,.1)
- part12.Parent = glaive
- part12.BrickColor = BrickColor.new("Bright yellow")
- local part13 = Instance.new("Part")
- part13.formFactor = 3
- part13.CanCollide = false
- part13.Name = "Blade3"
- part13.Locked = true
- part13.Size = Vector3.new(.1,.1,.1)
- part13.Parent = glaive
- part13.BrickColor = BrickColor.new("Bright yellow")
- local part14 = Instance.new("Part")
- part14.formFactor = 3
- part14.CanCollide = false
- part14.Name = "Blade4"
- part14.Locked = true
- part14.Size = Vector3.new(.1,.1,.1)
- part14.Parent = glaive
- part14.BrickColor = BrickColor.new("Bright yellow")
- local part15 = Instance.new("Part")
- part15.formFactor = 1
- part15.CanCollide = false
- part15.Name = "Blade5"
- part15.Locked = true
- part15.Size = Vector3.new(1,1,1)
- part15.Parent = glaive
- part15.BrickColor = BrickColor.new("Bright yellow")
- local part16 = Instance.new("Part")
- part16.formFactor = 1
- part16.CanCollide = false
- part16.Name = "Blade6"
- part16.Locked = true
- part16.Size = Vector3.new(1,1,1)
- part16.Parent = glaive
- part16.BrickColor = BrickColor.new("Bright yellow")
- local part17 = Instance.new("Part")
- part17.formFactor = 1
- part17.CanCollide = false
- part17.Reflectance = 0.3
- part17.Name = "Blade7"
- part17.Locked = true
- part17.Size = Vector3.new(1,2,1)
- part17.Parent = glaive
- part17.BrickColor = BrickColor.new("White")
- part17.Material="Neon"
- local part18 = Instance.new("Part")
- part18.formFactor = 1
- part18.CanCollide = false
- part18.Reflectance = 0.3
- part18.Name = "Blade8"
- part18.Locked = true
- part18.Size = Vector3.new(1,2,1)
- part18.Parent = glaive
- part18.BrickColor = BrickColor.new("White")
- part18.Material="Neon"
- local part19 = Instance.new("Part")
- part19.formFactor = 3
- part19.CanCollide = false
- part19.Reflectance = 0.1
- part19.Name = "Blade9"
- part19.Locked = true
- part19.Size = Vector3.new(1,1,1)
- part19.Parent = glaive
- part19.BrickColor = BrickColor.new("Bright blue")
- local part20 = Instance.new("Part")
- part20.formFactor = 3
- part20.CanCollide = false
- part20.Reflectance = 0.1
- part20.Name = "Blade10"
- part20.Locked = true
- part20.Size = Vector3.new(.1,0.1,.1)
- part20.Parent = glaive
- part20.BrickColor = BrickColor.new("Bright blue")
- local part21 = Instance.new("Part")
- part21.formFactor = 3
- part21.CanCollide = false
- part21.Reflectance = 0.1
- part21.Name = "Blade11"
- part21.Locked = true
- part21.Size = Vector3.new(.1,.1,.1)
- part21.Parent = glaive
- part21.BrickColor = BrickColor.new("Bright blue")
- local part22 = Instance.new("Part")
- part22.formFactor = 3
- part22.CanCollide = false
- part22.Reflectance = 0.1
- part22.Name = "Blade12"
- part22.Locked = true
- part22.Size = Vector3.new(.1,.1,.1)
- part22.Parent = glaive
- part22.BrickColor = BrickColor.new("Bright blue")
- local part23 = Instance.new("Part")
- part23.formFactor = 3
- part23.CanCollide = false
- part23.Reflectance = 0.1
- part23.Name = "Blade13"
- part23.Locked = true
- part23.Size = Vector3.new(.1,.1,.1)
- part23.Parent = glaive
- part23.BrickColor = BrickColor.new("Bright blue")
- local part24 = Instance.new("Part")
- part24.formFactor = 3
- part24.CanCollide = false
- part24.Reflectance = 0.1
- part24.Name = "Blade14"
- part24.Locked = true
- part24.Size = Vector3.new(.1,.1,.1)
- part24.Parent = glaive
- part24.BrickColor = BrickColor.new("Bright blue")
- local part26 = Instance.new("Part")
- part26.formFactor = 3
- part26.CanCollide = false
- part26.Reflectance = 0
- part26.Name = "Blade16"
- part26.Locked = true
- part26.Size = Vector3.new(.1,.1,.1)
- part26.Parent = glaive
- part26.BrickColor = BrickColor.new("Bright blue")
- local part27 = Instance.new("Part")
- part27.formFactor = 3
- part27.CanCollide = false
- part27.Reflectance = 0
- part27.Name = "Blade17"
- part27.Locked = true
- part27.Size = Vector3.new(.1,.1,.1)
- part27.Parent = glaive
- part27.BrickColor = BrickColor.new("Bright blue")
- 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.Scale = Vector3.new(0.4,4,0.4)
- mesh1.Parent = part1
- local mesh2 = Instance.new("CylinderMesh")
- mesh2.Scale = Vector3.new(0.41,0.6,0.41)
- mesh2.Parent = part2
- local mesh3 = Instance.new("CylinderMesh")
- mesh3.Scale = Vector3.new(0.55,0.4,0.55)
- mesh3.Parent = part3
- local mesh4 = Instance.new("CylinderMesh")
- mesh4.Scale = Vector3.new(0.56,0.2,0.56)
- mesh4.Parent = part4
- local mesh5 = Instance.new("CylinderMesh")
- mesh5.Scale = Vector3.new(0.56,0.2,0.56)
- mesh5.Parent = part5
- local mesh6 = Instance.new("SpecialMesh")
- mesh6.Scale = Vector3.new(0.42,0.2,0.42)
- mesh6.Parent = part6
- mesh6.MeshId = "http://www.roblox.com/asset/?id=1778999"
- local mesh7 = Instance.new("SpecialMesh")
- mesh7.Scale = Vector3.new(0.4,0.3,0.7)
- mesh7.Parent = part7
- mesh7.MeshType = "Wedge"
- local mesh8 = Instance.new("CylinderMesh")
- mesh8.Scale = Vector3.new(0.56,0.335,0.56)
- mesh8.Parent = part8
- local mesh9 = Instance.new("SpecialMesh")
- mesh9.Scale = Vector3.new(0.4,0.3,0.7)
- mesh9.Parent = part9
- mesh9.MeshType = "Wedge"
- local mesh10 = Instance.new("CylinderMesh")
- mesh10.Scale = Vector3.new(0.5,0.2,0.5)
- mesh10.Parent = part10
- local mesh11 = Instance.new("SpecialMesh")
- mesh11.Scale = Vector3.new(0.6,0.4,0.6)
- mesh11.Parent = part11
- mesh11.MeshId = "http://www.roblox.com/asset/?id=1778999"
- local mesh12 = Instance.new("SpecialMesh")
- mesh12.Scale = Vector3.new(2.5,4,6)
- mesh12.Parent = part12
- mesh12.MeshType = "Wedge"
- local mesh13 = Instance.new("SpecialMesh")
- mesh13.Scale = Vector3.new(2.5,4,6)
- mesh13.Parent = part13
- mesh13.MeshType = "Wedge"
- local mesh14 = Instance.new("BlockMesh")
- mesh14.Scale = Vector3.new(3,6.8,4)
- mesh14.Parent = part14
- local mesh15 = Instance.new("BlockMesh")
- mesh15.Scale = Vector3.new(0.9,0.9,0.7)
- mesh15.Parent = part15
- local mesh16 = Instance.new("BlockMesh")
- mesh16.Scale = Vector3.new(1,1,0.5)
- mesh16.Parent = part16
- local mesh17 = Instance.new("SpecialMesh")
- mesh17.Scale = Vector3.new(0.3,1,1)
- mesh17.Parent = part17
- mesh17.MeshType = "Wedge"
- local mesh18 = Instance.new("SpecialMesh")
- mesh18.Scale = Vector3.new(0.3,1,1)
- mesh18.Parent = part18
- mesh18.MeshType = "Wedge"
- local mesh19 = Instance.new("BlockMesh")
- mesh19.Scale = Vector3.new(0.6,0.6,1)
- mesh19.Parent = part19
- local mesh20 = Instance.new("BlockMesh")
- mesh20.Scale = Vector3.new(2.3,4,5)
- mesh20.Parent = part20
- local mesh21 = Instance.new("BlockMesh")
- mesh21.Scale = Vector3.new(2.3,4,5)
- mesh21.Parent = part21
- local mesh22 = Instance.new("BlockMesh")
- mesh22.Scale = Vector3.new(2.3,4,5)
- mesh22.Parent = part22
- local mesh23 = Instance.new("BlockMesh")
- mesh23.Scale = Vector3.new(2.3,4,5)
- mesh23.Parent = part23
- local mesh24 = Instance.new("BlockMesh")
- mesh24.Scale = Vector3.new(3,7.5,5)
- mesh24.Parent = part24
- local mesh26 = Instance.new("SpecialMesh")
- mesh26.Scale = Vector3.new(4,3,3)
- mesh26.Parent = part26
- mesh26.MeshType = "Wedge"
- local mesh27 = Instance.new("SpecialMesh")
- mesh27.Scale = Vector3.new(4,3,3)
- mesh27.Parent = part27
- mesh27.MeshType = "Wedge"
- ---WELDING
- 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.6,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.6,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 = Torso
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7)
- local weld2 = Instance.new("Weld")
- weld2.Parent = part2
- weld2.Part0 = part2
- weld2.Part1 = part1
- weld2.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.5,0)
- local weld3 = Instance.new("Weld")
- weld3.Parent = part3
- weld3.Part0 = part3
- weld3.Part1 = part2
- weld3.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.2,0)
- local weld4 = Instance.new("Weld")
- weld4.Parent = part4
- weld4.Part0 = part4
- weld4.Part1 = part3
- weld4.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.1,0)
- local weld5 = Instance.new("Weld")
- weld5.Parent = part5
- weld5.Part0 = part5
- weld5.Part1 = part3
- weld5.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.35,0)
- local weld6 = Instance.new("Weld")
- weld6.Parent = part6
- weld6.Part0 = part6
- weld6.Part1 = part5
- weld6.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,0.28,0)
- local weld7 = Instance.new("Weld")
- weld7.Parent = part7
- weld7.Part0 = part7
- weld7.Part1 = part6
- weld7.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),math.rad(90),0) * CFrame.new(0.4,0,0)
- local weld8 = Instance.new("Weld")
- weld8.Parent = part8
- weld8.Part0 = part8
- weld8.Part1 = part6
- weld8.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,0) * CFrame.new(0,-0.2,0)
- local weld9 = Instance.new("Weld")
- weld9.Parent = part9
- weld9.Part0 = part9
- weld9.Part1 = part6
- weld9.C0 = CFrame.fromEulerAnglesXYZ(-math.rad(90),-math.rad(90),0) * CFrame.new(-0.4,0,0)
- local weld10 = Instance.new("Weld")
- weld10.Parent = part10
- weld10.Part0 = part10
- weld10.Part1 = part1
- weld10.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-1.5,0)
- local weld11 = Instance.new("Weld")
- weld11.Parent = part11
- weld11.Part0 = part11
- weld11.Part1 = part1
- weld11.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),0,0) * CFrame.new(0,-1.6,0)
- local weld12 = Instance.new("Weld")
- weld12.Parent = part12
- weld12.Part0 = part12
- weld12.Part1 = part11
- weld12.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),math.rad(90),0) * CFrame.new(-0.6,0.8,0)
- local weld13 = Instance.new("Weld")
- weld13.Parent = part13
- weld13.Part0 = part13
- weld13.Part1 = part11
- weld13.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-math.rad(90),0) * CFrame.new(0.6,0.8,0)
- local weld14 = Instance.new("Weld")
- weld14.Parent = part14
- weld14.Part0 = part14
- weld14.Part1 = part11
- weld14.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.87,0)
- local weld15 = Instance.new("Weld")
- weld15.Parent = part15
- weld15.Part0 = part15
- weld15.Part1 = part14
- weld15.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1,0)
- local weld16 = Instance.new("Weld")
- weld16.Parent = part16
- weld16.Part0 = part16
- weld16.Part1 = part15
- weld16.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,1.1,0)
- local weld17 = Instance.new("Weld")
- weld17.Parent = part17
- weld17.Part0 = part17
- weld17.Part1 = part16
- weld17.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.5,1,0)
- local weld18 = Instance.new("Weld")
- weld18.Parent = part18
- weld18.Part0 = part18
- weld18.Part1 = part16
- weld18.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),-math.rad(90),0) * CFrame.new(-0.5,1,0)
- local weld19 = Instance.new("Weld")
- weld19.Parent = part19
- weld19.Part0 = part19
- weld19.Part1 = part15
- weld19.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0,0)
- local weld20 = Instance.new("Weld")
- weld20.Parent = part20
- weld20.Part0 = part20
- weld20.Part1 = part19
- weld20.C0 = CFrame.fromEulerAnglesXYZ(0,0,1) * CFrame.new(0.5,0.5,0)
- local weld21 = Instance.new("Weld")
- weld21.Parent = part21
- weld21.Part0 = part21
- weld21.Part1 = part19
- weld21.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(-0.5,0.5,0)
- local weld22 = Instance.new("Weld")
- weld22.Parent = part22
- weld22.Part0 = part22
- weld22.Part1 = part19
- weld22.C0 = CFrame.fromEulerAnglesXYZ(0,0,-1) * CFrame.new(0.5,-0.4,0)
- local weld23 = Instance.new("Weld")
- weld23.Parent = part23
- weld23.Part0 = part23
- weld23.Part1 = part19
- weld23.C0 = CFrame.fromEulerAnglesXYZ(0,0,1) * CFrame.new(-0.5,-0.4,0)
- local weld24 = Instance.new("Weld")
- weld24.Parent = part24
- weld24.Part0 = part24
- weld24.Part1 = part19
- weld24.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,0.25,0)
- local weld26 = Instance.new("Weld")
- weld26.Parent = part26
- weld26.Part0 = part26
- weld26.Part1 = part15
- weld26.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),math.rad(90),0) * CFrame.new(0.3,1.3,0)
- local weld27 = Instance.new("Weld")
- weld27.Parent = part27
- weld27.Part0 = part27
- weld27.Part1 = part15
- weld27.C0 = CFrame.fromEulerAnglesXYZ(math.rad(180),-math.rad(90),0) * CFrame.new(-0.3,1.3,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 gairo = Instance.new("BodyGyro")
- gairo.Parent = nil
- 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
- function DashEf(P,color)
- local m = Instance.new("Part")
- m.Parent = Character
- 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
- 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 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)
- 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
- 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 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 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("White"),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)
- HitHealth=h.Health
- 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
- 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 ss(parent,pitch) --linerider64 was here :D
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = parent
- SlashSound.Volume = .7
- SlashSound.Pitch = pitch --linerider64 was also here XD
- SlashSound.PlayOnRemove = true
- --SlashSound:play()
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end))
- end
- if (script.Parent.className ~= "HopperBin") then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = "Glaive"
- script.Parent = Tool
- value = Instance.new("StringValue")
- value.Name = "Kills"
- value.Parent = Tool
- end
- Bin = script.Parent
- 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 unequipweld()
- weld1.Part1 = Torso
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7)
- 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)
- end
- function unequipweld2()
- weld1.Part1 = Torso
- weld1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0.8) * CFrame.new(0,0,-0.7)
- end
- function equipweld()
- weld1.Part1 = LeftArm
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7,math.rad(90)) * CFrame.new(0, 1, 0)
- wld1.Part1 = RightArm
- wld1.C0 = CFrame.fromEulerAnglesXYZ(0,-math.rad(90),0) * CFrame.new(-0.7,0,0)
- wld1.C1 = CFrame.fromEulerAnglesXYZ(math.rad(-80),0,0) * CFrame.new(0,0,0)
- end
- function hideanim()
- for i = 0 , 1 , 0.1 do
- swait()
- weld1.C0 = clerp(weld1.C0,CFrame.fromEulerAnglesXYZ(math.rad(90),2.7*i,math.rad(90)) * CFrame.new(0, 1, 0),.4)
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,-0.5*i+0.5,1.5*i-0.5),.4)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
- end
- wait(0.1)
- unequipweld()
- wait(0.1)
- for i = 0 , 1 , 0.1 do
- swait()
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0,-1*i+1) ,.4)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
- end
- end
- function hideanim2()
- for i = 0 , 1 , 0.1 do
- swait()
- weld1.C0 = clerp(weld1.C0,CFrame.fromEulerAnglesXYZ(math.rad(90),2.7*i,math.rad(90)) * CFrame.new(0, 1, 0),.4)
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,-0.5*i+0.5,1.5*i-0.5),.4)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
- end
- wait(0.1)
- unequipweld2()
- wait(0.1)
- for i = 0 , 1 , 0.1 do
- swait()
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0,-1*i+1) ,.4)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
- end
- end
- function equipanim()
- for i = 0 , 1 , 0.1 do
- swait()
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,0,1*i),.4)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
- end
- equipweld()
- wait(0.1)
- for i = 0 , 1 , 0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2.7*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
- LW.C0 = clerp(LW.C0,CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0.5*i,-1.5*i+1),.4)
- LW.C1 = clerp(LW.C1,CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0),.4)
- end
- end
- function oneslash()
- attack = true
- combo = 1
- hitbox1.Parent=glaive
- hitbox1.Size=vt(.5,10,.5)
- 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(-50)),.3)
- hitbox1.CFrame=part1.CFrame
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(2*i,-0.5*i+0.5,0.5*i-0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- --[[gairo.Parent = Head
- gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- gairo.P = 20e+003
- gairo.cframe = Head.CFrame ]]
- ss(part16,0.8)
- --con1=part16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
- --con2=part17.Touched:connect(function(hit) Damagefunc1(hit,10,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=part1.CFrame
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,1*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i,math.rad(90)) * CFrame.new(0, 1, 0.4*i)
- end
- wait(0.3)
- con1:disconnect()
- hitbox1.Parent=nil
- --Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- attack = false
- end
- function twoslash()
- attack = true
- combo = 2
- hitbox1.Parent=glaive
- hitbox1.Size=vt(.5,10,.5)
- hitbox1.Transparency=1
- hitbox1.CFrame=part1.CFrame
- ss(part16,0.8)
- --con1=part16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
- --con2=part17.Touched:connect(function(hit) Damagefunc1(hit,10,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()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
- hitbox1.CFrame=part1.CFrame
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,2*i-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,-2*i+1,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2*i-1,0,0)
- RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1,0,-2*i+1)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2*i+1,math.rad(90)) * CFrame.new(0, 0.3*i+1, -0.9*i+0.4)
- end
- wait(0.3)
- con1:disconnect()
- hitbox1.Parent=nil
- attack = false
- end
- function threeslash()
- attack = true
- combo = 4
- hitbox1.Parent=glaive
- hitbox1.Size=vt(.5,10,.5)
- hitbox1.Transparency=1
- hitbox1.CFrame=part1.CFrame
- for i = 0 , 1 , 0.1 do
- swait()
- hitbox1.CFrame=part1.CFrame
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i+1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,1*i-1,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.57*i+1,0,0)
- RW.C0 = CFrame.new(0.5*i-0.5+1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1.5*i+1,0,1*i-1)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),4.2*i-1,math.rad(90)) * CFrame.new(0, -0.3*i+1.3, 1.2*i-0.5)
- end
- swait()
- ss(part16,0.8)
- --con1=part16.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
- --con2=part17.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0 , 1.2 , 0.3 do
- swait()
- hitbox1.CFrame=part1.CFrame
- 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.5*i+3.57,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-0.5*i+3.2,math.rad(90)) * CFrame.new(0, 1, -0.7*i+0.7)
- end
- wait(0.2)
- con1:disconnect()
- hitbox1.Parent=nil
- attack = false
- end
- function shieldhit1()
- attack = true
- combo = 3
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- hitbox1.Parent=glaive
- hitbox1.Size=vt(1,3,3)
- hitbox1.Transparency=1
- hitbox1.CFrame=prt1.CFrame
- ss(part1,0.7)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20,22,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=prt1.CFrame
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- 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 fourslash()
- attack = true
- combo = 5
- hitbox1.Parent=glaive
- hitbox1.Size=vt(.5,10,.5)
- 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) * 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(2.5*i+4.07,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- ss(part16,0.8)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,20,22,3,"Up",RootPart,.5,1) end)
- --con1=part16.Touched:connect(function(hit) Damagefunc2(hit,10,10) end)
- --con2=part17.Touched:connect(function(hit) Damagefunc2(hit,10,10) end)
- for i = 0 , 1 , 0.1 do
- swait()
- hitbox1.CFrame=part1.CFrame
- MMMAGIC(part16,2,2,2,0,0,0,BrickColor.new("White"))
- 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(-3*i+2.5+4.07,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2*i+1+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- con1:disconnect()
- wait(0.5) attack = false
- end
- function Bashem()
- attack = true
- bashing = true
- guarding = false
- hitbox1.Parent=glaive
- hitbox1.Size=vt(1,2,2)
- hitbox1.Transparency=1
- hitbox1.CFrame=part16.CFrame
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part16.CFrame
- 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=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- --con1=part13.Touched:connect(function(hit) Damagefunc2(hit,40,25) end)
- ss(prt1,1.1)
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part16.CFrame
- 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)
- con1:disconnect()
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=part16.CFrame
- 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
- bashing = false
- hitbox1.Parent=nil
- attack = false
- 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
- humanoid.Health = lhh - (test * 0.50)
- lhh = humanoid.Health
- 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 WingBladeStance(seeing)
- wingblade1.Parent = glaive
- wingblade2.Parent = glaive
- wingblade3.Parent = glaive
- wingblade4.Parent = glaive
- wingblade5.Parent = glaive
- wingblade6.Parent = glaive
- 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
- 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 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(size,size,2)
- 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.1 do
- swait()
- Damagefunc1(head,.5,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 end),e)
- end
- end
- function MagicBarrage()
- attack = true
- for i = 0 , 1 , 0.2 do
- swait()
- hitbox1.CFrame=part16.CFrame
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2*i+2,1*i,0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-1*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,0,1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),1*i,math.rad(90)) * CFrame.new(0, 1, 0.4*i)
- end
- while barragehold == true and mana >= 0 do
- wait(0.1)
- mana = mana - math.random(5,20)
- ss(part16,1+math.random())
- LW.C0 = CFrame.new(-1.5+0.5,0.5,-0.5) * CFrame.fromEulerAnglesXYZ(-2+math.random(),1.5,math.random(-2,0)+math.random())
- coroutine.resume(coroutine.create(function()
- slasheffect(part16.CFrame*CFrame.new(0,-3,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0,15,nil)
- end))
- end
- if mana <= 0 then
- mana = 0
- end
- for i = 0 , 1, .5 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- end
- p.Parent = nil
- attack = false
- end
- function MagicVortex()
- if mana >= 0 then
- attack = true
- vortexing = true
- Charge(1)
- for i = 0,1,0.1 do
- swait()
- MMMAGIC(part16,3,3,3,0,-1,0,BrickColor.new("White"))
- 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()
- MMMAGIC(part16,3,3,3,0,-1,0,BrickColor.new("White"))
- end
- --magicsound(1)
- EVENMOARMAGIX(LeftArm,5,3,5,0,-1,0,0,0,0,BrickColor.new("White"))
- wait(0.3)
- coroutine.resume(coroutine.create(function()
- --magicsound(1)
- local Bawl1 = Instance.new("Part")
- Bawl1.Parent = glaive
- Bawl1.CanCollide = false
- Bawl1.BrickColor = BrickColor.new("White")
- 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)
- EVENMOARMAGIX(Bawl1,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
- local Bawl2 = Instance.new("Part")
- Bawl2.Parent = glaive
- Bawl2.CanCollide = false
- Bawl2.BrickColor = BrickColor.new("White")
- 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)
- EVENMOARMAGIX(Bawl2,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
- local Bawl3 = Instance.new("Part")
- Bawl3.Parent = glaive
- Bawl3.CanCollide = false
- Bawl3.BrickColor = BrickColor.new("White")
- 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)
- EVENMOARMAGIX(Bawl3,5,3,5,0,0,0,0,0,0,BrickColor.new("White"))
- 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)
- MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
- 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)
- MMMAGIC(Bawl1,2,2,2,0,0,0,BrickColor.new("White"))
- 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 >= 80 then
- attack = true
- WingBladeStance(true)
- local UltimaPart = Instance.new("Part")
- UltimaPart.Parent = glaive
- 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,5,5) end)
- con2=wingblade2.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
- con3=wingblade3.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
- con4=wingblade4.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
- con5=wingblade5.Touched:connect(function(hit) Damagefunc1(hit,5,5) end)
- con6=wingblade6.Touched:connect(function(hit) Damagefunc1(hit,5,5) 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(part1,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 - 80
- 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(part1,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()
- 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 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
- 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 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 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 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
- hideanim2()
- 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 = glaive
- 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
- equipanim()
- attack = false
- end
- function sparklesparkle()
- attack = true
- imfloatinglulz = true
- coroutine.resume(coroutine.create(function()
- while imfloatinglulz == true do
- swait()
- local bawleffecty = Instance.new("Part")
- bawleffecty.formFactor = 1
- bawleffecty.CanCollide = false
- bawleffecty.Name = "Effect"
- bawleffecty.Locked = true
- bawleffecty.Size = Vector3.new(1,1,1)
- bawleffecty.Parent = glaive
- bawleffecty.Anchored = true
- bawleffecty.BrickColor = BrickColor.new("Institutional white")
- bawleffecty.CFrame = Torso.CFrame * CFrame.new(math.random(-1,1)+math.random()-math.random(),math.random(-1,1)+math.random()-math.random(),math.random(-1,1)+math.random()-math.random())
- local bawlmesh = Instance.new("SpecialMesh")
- bawlmesh.Parent = bawleffecty
- bawlmesh.Scale = Vector3.new(0.1,0.1,0.1)
- bawlmesh.MeshType = "Sphere"
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- for i = 0,1,0.1 do
- swait()
- bawleffecty.Transparency = i
- end
- bawleffecty.Parent = nil
- end))
- end
- end))
- local bov = Instance.new("BodyPosition")
- bov.position = Torso.Position
- bov.Parent = Torso
- bov.maxForce = Vector3.new(50000000,50000000,50000000)
- Character.Humanoid.WalkSpeed = 0
- for i = 0,1,0.05 do
- swait()
- bov.position = Torso.Position + Vector3.new(0,i*2,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(-0.5*i+1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1*i,-0.5*i+0.5,-0.5*i-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*i,0,1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- wait(2)
- local bawleffecty = Instance.new("Part")
- bawleffecty.formFactor = 1
- bawleffecty.CanCollide = false
- bawleffecty.Name = "Effect"
- bawleffecty.Locked = true
- bawleffecty.Size = Vector3.new(1,1,1)
- bawleffecty.Parent = glaive
- bawleffecty.Anchored = true
- bawleffecty.BrickColor = BrickColor.new("White")
- bawleffecty.CFrame = Torso.CFrame
- 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 - bawleffecty.Position;
- local mag = targ.magnitude;
- if mag <= 25 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- BALLFUNC(head,20,0)
- end))
- end
- end
- end
- end
- local bawlmesh = Instance.new("SpecialMesh")
- bawlmesh.Parent = bawleffecty
- bawlmesh.Scale = Vector3.new(1,1,1)
- bawlmesh.MeshType = "Sphere"
- coroutine.resume(coroutine.create(function()
- swait()
- for i = 0,1,0.05 do
- swait()
- bawlmesh.Scale = bawlmesh.Scale + Vector3.new(3,3,3)
- bawleffecty.Transparency = i
- end
- bawleffecty.Parent = nil
- 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.5,-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,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
- bov.Parent = nil
- Character.Humanoid.WalkSpeed = 16
- imfloatinglulz = false
- attack = false
- end
- function HolyWave()
- if mana>=90 then mana=mana-90 else return end
- 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(0.3*i-1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57*i,-2.07*i+0.5,0.5*i-0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5*i,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.57*i,0,1*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0.5*i,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- gairo.Parent = Head
- gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- gairo.P = 20e+003
- gairo.cframe = Head.CFrame
- CeEff = Head.CFrame
- ss(part16,0.8)
- con1=part16.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- con2=part17.Touched:connect(function(hit) Damagefunc(hit,10,12,3,"Normal",RootPart,.5,1) end)
- for i = 0,1,0.1 do
- swait()
- gairo.cframe = Head.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-0.3*i+0.3-1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(1.57,-2.07+0.5,0.5-0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.5*i-0.5,0,0)
- RW.C0 = CFrame.new(-0.5*i+1.5,0.5,-0.5*i) * CFrame.fromEulerAnglesXYZ(1.57,0,-2*i+1)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0.2*i+0.5,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- ss(part16,0.8)
- for i = 0,1,0.1 do
- swait()
- gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.5,0)
- end
- ss(part16,0.8)
- for i = 0,1,0.1 do
- swait()
- gairo.cframe = gairo.cframe * CFrame.fromEulerAnglesXYZ(0,0.5,0)
- end
- gairo.cframe = CeEff
- con1:disconnect()
- con2:disconnect()
- for i = 0,1,0.1 do
- swait()
- MMMAGIC(part16,3,3,3,0,0,0,BrickColor.new("White"))
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(0.5*i-1.5,0.5,-0.7*i) * CFrame.fromEulerAnglesXYZ(0.93*i+1.57,-1.57*i-1.57,-0.8*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-2*i+2,0,0)
- RW.C0 = CFrame.new(-0.5+1.5,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(0.93*i+1.57,math.rad(0)*i,1.8*i-1)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-0.7*i+0.7,math.rad(90)) * CFrame.new(0, 1, -1*i)
- end
- wait(0.2)
- ss(part16,0.8)
- for i = 0,1,0.2 do
- swait()
- MMMAGIC(part16,3,3,3,0,0,0,BrickColor.new("Institutional white"))
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.93*i+0.93+1.57,-3.14,-0.8)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(1,0.5,-0.7) * CFrame.fromEulerAnglesXYZ(-0.93*i+0.93+1.57,math.rad(0),-0.8)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, -1)
- end
- local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
- msh1.Scale = Vector3.new(0.01,0.01,0.01)
- msh1.MeshType = "Sphere"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(3,3,3)
- S.BrickColor=BrickColor.new("White")
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- S.Parent=Character
- msh1.Parent = S
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
- r.Parent=Character
- local ring = Instance.new("SpecialMesh")
- ring.Parent = r
- ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.Name = "RingMesh"
- r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
- r.BrickColor=BrickColor.new("Institutional white")
- coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) swait() end par.Parent=nil end),r)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new("White")
- p.Size=Vector3.new(1,1,1)
- p.CFrame=part16.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
- p.CFrame=p.CFrame
- p.Parent=Character
- local mesheh = Instance.new("SpecialMesh")
- mesheh.Parent = p
- mesheh.Name = "BlastMesh"
- mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1.5,1) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) swait() end par.Parent=nil end),p)
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(0.01,0.01,0.01)
- msh1.MeshType = "Sphere"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(3,3,3)
- S.BrickColor=BrickColor.new("Institutional white")
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=part16.CFrame*CFrame.new(0,0,0)*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, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
- Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
- v=Instance.new("BodyVelocity")
- v.P=3000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Vel
- v.Parent=S
- 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 - S.Position;
- local mag = targ.magnitude;
- if mag <= 10 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- DBHit(head,S)
- end
- end))
- end
- end
- end
- end
- wait(0.3)
- gairo.Parent = nil
- 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(-0.5*i-1,0.5,0.7*i-0.7) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,3.64*i-3.14,0.3*i-0.8)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- RW.C0 = CFrame.new(0.5*i+1,0.5,0.7*i-0.7) * CFrame.fromEulerAnglesXYZ(-1.57*i+1.57,-math.rad(180)*i+math.rad(180),-0.8*i+0.8)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, -1)
- end
- attack = false
- end
- function MagicBlast()
- if mana>=80 then mana=mana-80 else return end
- attack = true
- 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)
- MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-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,0,math.rad(90)*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- for i = 0,1,0.05 do
- swait()
- MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Institutional white"))
- end
- Shot=Instance.new("Part")
- Shot.Name="Effect"
- Shot.formFactor=0
- Shot.Size=Vector3.new(1,1,1)
- Shot.BrickColor=BrickColor.new("White")
- Shot.Reflectance = 0
- Shot.TopSurface=0
- Shot.BottomSurface=0
- Shot.Transparency=0
- Shot.Anchored=false
- Shot.CanCollide=false
- Shot.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
- Shot.Parent=Character
- --Shot.Velocity = Head.CFrame.lookVector * 100
- coroutine.resume(coroutine.create(function()
- while Shot.Parent ~= nil do
- swait()
- MMMAGIC(Shot,1,1,1,0,0,0,BrickColor.new("Institutional white"))
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Shot.Parent ~= nil do --I use this function instead of the touch function :3
- swait()
- 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 - Shot.Position;
- local mag = targ.magnitude;
- if mag <= 4 and c[i].Name ~= Player.Name then
- Damagefunc2(head.Parent.Torso,10,30)
- v=Instance.new("BodyVelocity")
- v.P=1000
- v.maxForce=Vector3.new(math.huge,0,math.huge)
- v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
- v.Parent=hum.Parent.Torso
- coroutine.resume(coroutine.create(function()
- wait(0.3)
- v.Parent = nil
- end))
- game:GetService("Debris"):AddItem(v,.1)
- Shot.Parent = nil
- end
- end
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(3)
- for i = 0,1,0.05 do
- swait() Shot.Transparency = i
- end
- Shot.Parent = nil
- end))
- local v = Instance.new("BodyVelocity")
- v.Parent = Shot
- v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- v.velocity = Head.CFrame.lookVector * 100
- local force = Instance.new("BodyForce")
- force.Parent = Shot
- force.force = Vector3.new(0,190,0)
- local meh = Instance.new("SpecialMesh")
- meh.Parent = Shot
- meh.Scale = Vector3.new(1,2,1)
- meh.MeshType = "Sphere"
- MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("White"))
- MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Institutional white"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
- wait(0.3)
- for i = 0,1,0.05 do
- swait()
- MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
- end
- Shot2=Instance.new("Part")
- Shot2.Name="Effect"
- Shot2.formFactor=0
- Shot2.Size=Vector3.new(1,1,1)
- Shot2.BrickColor=BrickColor.new("Institutional white")
- Shot2.Reflectance = 0
- Shot2.TopSurface=0
- Shot2.BottomSurface=0
- Shot2.Transparency=0
- Shot2.Anchored=false
- Shot2.CanCollide=false
- Shot2.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
- Shot2.Parent=Character
- --Shot2.Velocity = Head.CFrame.lookVector * 100
- coroutine.resume(coroutine.create(function()
- while Shot2.Parent ~= nil do
- swait()
- MMMAGIC(Shot2,1,1,1,0,0,0,BrickColor.new("White"))
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Shot2.Parent ~= nil do --I use this function instead of the touch function :3
- swait()
- 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 - Shot2.Position;
- local mag = targ.magnitude;
- if mag <= 4 and c[i].Name ~= Player.Name then
- Damagefunc2(head.Parent.Torso,10,15)
- v=Instance.new("BodyVelocity")
- v.P=1000
- v.maxForce=Vector3.new(math.huge,0,math.huge)
- v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
- v.Parent=hum.Parent.Torso
- coroutine.resume(coroutine.create(function()
- wait(0.3)
- v.Parent = nil
- end))
- game:GetService("Debris"):AddItem(v,.1)
- Shot2.Parent = nil
- end
- end
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(3)
- for i = 0,1,0.05 do
- swait()
- Shot2.Transparency = i
- end
- Shot2.Parent = nil
- end))
- local v = Instance.new("BodyVelocity")
- v.Parent = Shot2
- v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- v.velocity = Head.CFrame.lookVector * 100
- local force = Instance.new("BodyForce")
- force.Parent = Shot2
- force.force = Vector3.new(0,190,0)
- local meh = Instance.new("SpecialMesh")
- meh.Parent = Shot2
- meh.Scale = Vector3.new(1,2,1)
- meh.MeshType = "Sphere"
- MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("White"))
- MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Institutional white"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
- wait(0.3)
- for i = 0,1,0.05 do
- swait()
- MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
- end
- Shot3=Instance.new("Part")
- Shot3.Name="Effect"
- Shot3.formFactor=0
- Shot3.Size=Vector3.new(1,1,1)
- Shot3.BrickColor=BrickColor.new("Institutional white")
- Shot3.Reflectance = 0
- Shot3.TopSurface=0
- Shot3.BottomSurface=0
- Shot3.Transparency=0
- Shot3.Anchored=false
- Shot3.CanCollide=false
- Shot3.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
- Shot3.Parent=Character
- --Shot3.Velocity = Head.CFrame.lookVector * 100
- coroutine.resume(coroutine.create(function()
- while Shot3.Parent ~= nil do
- swait()
- MMMAGIC(Shot3,1,1,1,0,0,0,BrickColor.new("White"))
- end
- end))
- coroutine.resume(coroutine.create(function()
- while Shot3.Parent ~= nil do --I use this function instead of the touch function :3
- swait()
- 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 - Shot3.Position;
- local mag = targ.magnitude;
- if mag <= 4 and c[i].Name ~= Player.Name then
- Damagefunc2(head.Parent.Torso,10,30)
- v=Instance.new("BodyVelocity")
- v.P=1000
- v.maxForce=Vector3.new(math.huge,0,math.huge)
- v.velocity=Torso.CFrame.lookVector*25+Torso.Velocity/1.05
- v.Parent=hum.Parent.Torso
- coroutine.resume(coroutine.create(function()
- wait(0.3)
- v.Parent = nil
- end))
- game:GetService("Debris"):AddItem(v,.1)
- Shot3.Parent = nil
- end
- end
- end
- end
- end
- end))
- coroutine.resume(coroutine.create(function()
- wait(3)
- for i = 0,1,0.05 do
- swait()
- Shot3.Transparency = i
- end
- Shot3.Parent = nil
- end))
- local v = Instance.new("BodyVelocity")
- v.Parent = Shot3
- v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- v.velocity = Head.CFrame.lookVector * 100
- local force = Instance.new("BodyForce")
- force.Parent = Shot3
- force.force = Vector3.new(0,190,0)
- local meh = Instance.new("SpecialMesh")
- meh.Parent = Shot3
- meh.Scale = Vector3.new(1,2,1)
- meh.MeshType = "Sphere"
- MMMAGIC(RightArm,4,4,4,0,-1,0,BrickColor.new("White"))
- MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("Institutional white"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
- wait(0.3)
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i+1.57) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-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,0,-math.rad(90)*i+math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- gairo.Parent = nil
- attack = false
- end
- function LightOrb()
- if mana>=100 then mana=mana-100 else return end
- attack = true
- for i = 0,1,0.1 do
- swait()
- MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("White"))
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1.57*i) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-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,0,math.rad(90)*i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- for i = 0,1,0.02 do
- swait()
- MMMAGIC(RightArm,3,3,3,0,-1,0,BrickColor.new("Institutional white"))
- end
- Shoty=Instance.new("Part")
- Shoty.Name="Effect"
- Shoty.formFactor=0
- Shoty.Size=Vector3.new(1,1,1)
- Shoty.BrickColor=BrickColor.new("White")
- Shoty.Reflectance = 0
- Shoty.TopSurface=0
- Shoty.BottomSurface=0
- Shoty.Transparency=0
- Shoty.Anchored=false
- Shoty.CanCollide=false
- Shoty.CFrame=RightArm.CFrame*CFrame.new(0,-1,0)
- Shoty.Parent=Character
- --Shot.Velocity = Head.CFrame.lookVector * 100
- coroutine.resume(coroutine.create(function()
- while Shoty.Parent ~= nil do
- wait(0.2)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new("Institutional white")
- p.Size=Vector3.new(1,1,1)
- p.CFrame=Shoty.CFrame*CFrame.new(-3,0,0)*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90))
- p.CFrame=p.CFrame
- p.Parent=Character
- local mesheh = Instance.new("SpecialMesh")
- mesheh.Parent = p
- mesheh.Name = "BlastMesh"
- mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.2,0.2,0.2) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) swait() end par.Parent=nil end),p)
- end
- end))
- local v = Instance.new("BodyVelocity")
- v.Parent = Shoty
- v.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- v.velocity = Head.CFrame.lookVector * 20
- local force = Instance.new("BodyForce")
- force.Parent = Shoty
- force.force = Vector3.new(0,190,0)
- local meh = Instance.new("SpecialMesh")
- meh.Parent = Shoty
- meh.Scale = Vector3.new(3,3,3)
- meh.MeshType = "Sphere"
- MMMAGIC(RightArm,5,5,5,0,-1,0,BrickColor.new("White"))
- MMMAGIC(RightArm,6,6,6,0,-1,0,BrickColor.new("Institutional white"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("White"))
- MOREMAGIX(RightArm,-1,4,4,4,BrickColor.new("Institutional white"))
- coroutine.resume(coroutine.create(function()
- wait(5)
- Shoty.Parent = nil
- local msh1 = Instance.new("SpecialMesh") --Messy Script incoming >_>
- msh1.Scale = Vector3.new(0.01,0.01,0.01)
- msh1.MeshType = "Sphere"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(3,3,3)
- S.BrickColor=BrickColor.new("White")
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
- S.Parent=Character
- msh1.Parent = S
- r=Instance.new("Part")
- r.Anchored=true
- r.Name="Ring"
- r.CanCollide=false
- r.TopSurface=0
- r.BottomSurface=0
- r.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,0)
- r.Parent=Character
- local ring = Instance.new("SpecialMesh")
- ring.Parent = r
- ring.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.Name = "RingMesh"
- r.RingMesh.Scale=Vector3.new(0.1,0.1,0.1)
- r.BrickColor=BrickColor.new("Institutional white")
- coroutine.resume(coroutine.create(function(par) for i=1, 14 do par.Transparency=i/14 par.RingMesh.Scale=par.RingMesh.Scale+Vector3.new(3,3,3) swait() end par.Parent=nil end),r)
- p=Instance.new("Part")
- p.Name="BlastRing"
- p.TopSurface=0
- p.BottomSurface=0
- p.CanCollide=false
- p.Anchored=true
- p.BrickColor=BrickColor.new("White")
- p.Size=Vector3.new(1,1,1)
- p.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(90))
- p.CFrame=p.CFrame
- p.Parent=Character
- local mesheh = Instance.new("SpecialMesh")
- mesheh.Parent = p
- mesheh.Name = "BlastMesh"
- mesheh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- p.BlastMesh.Scale=Vector3.new(0.3,0.3,0.1)
- coroutine.resume(coroutine.create(function(par) for lol=1, 17 do if Corrupt==false then par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(0.1,0.1,0.1) else par.BlastMesh.Scale=par.BlastMesh.Scale+Vector3.new(1,1.5,1) end par.Transparency=lol/17 par.CFrame=par.CFrame*CFrame.new(0,.1,0) swait() end par.Parent=nil end),p)
- coroutine.resume(coroutine.create(function(Part,CF) for i=1, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.4,0.4,0.4) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(0.01,0.01,0.01)
- msh1.MeshType = "Sphere"
- S=Instance.new("Part")
- S.Name="Effect"
- S.formFactor=0
- S.Size=Vector3.new(3,3,3)
- S.BrickColor=BrickColor.new("Institutional white")
- S.Reflectance = 0
- S.TopSurface=0
- S.BottomSurface=0
- S.Transparency=0
- S.Anchored=true
- S.CanCollide=false
- S.CFrame=Shoty.CFrame*CFrame.new(0,0,0)*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, 19 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.3,0.3,0.3) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=Part.Transparency+0.05 swait() end Part.Parent=nil end),S,S.CFrame)
- Vel=Vector3.new(Torso.Velocity.x,0,Torso.Velocity.z)
- v=Instance.new("BodyVelocity")
- v.P=3000
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=Vel
- v.Parent=S
- 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 - S.Position;
- local mag = targ.magnitude;
- if mag <= 10 and c[i].Name ~= Player.Name then
- coroutine.resume(coroutine.create(function()
- for i = 0,1,0.1 do
- swait()
- DBHit(head,S)
- end
- end))
- end
- end
- end
- end
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,-1.57*i+1.57) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5,-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,0,-math.rad(90)*i+math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),0,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- gairo.Parent = nil
- attack = false
- 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 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=Character
- 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
- 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~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- 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(1,5)==1 then
- CRIT=true
- Damage=Damage*2
- coroutine.resume(coroutine.create(function()
- for i = 0,5 do
- swait()
- MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
- end
- wait(1)
- for i = 0,8 do
- wait(0.1)
- MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
- end
- end))
- Knockback=Knockback*2
- end
- 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))
- h:TakeDamage(Damage)
- 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~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- 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(1,1)==1 then
- CRIT=true
- Damage=Damage*2
- coroutine.resume(coroutine.create(function()
- for i = 0,5 do
- swait()
- MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
- end
- wait(1)
- for i = 0,8 do
- wait(0.1)
- MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
- end
- end))
- Knockback=Knockback*2
- end
- 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))
- h:TakeDamage(Damage)
- 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
- BALLFUNC=function(hit,Damage,Knockback)
- if hit.Parent==nil then
- return
- end
- CPlayer=Bin
- h=hit.Parent:FindFirstChild("Humanoid")
- if h~=nil and hit.Parent.Name~=Player.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- 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(1,1)==1 then
- CRIT=true
- Damage=Damage*1.5
- coroutine.resume(coroutine.create(function()
- for i = 0,5 do
- swait()
- MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
- end
- wait(1)
- for i = 0,8 do
- wait(0.1)
- MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
- end
- end))
- 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
- s=Instance.new("Sound")
- s.SoundId="http://www.roblox.com/asset/?id=2801263"
- s.Volume=1
- s.Pitch=2
- s.Parent=hit
- s.PlayOnRemove=true
- s.Parent=nil
- end
- 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))
- h:TakeDamage(Damage)
- 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
- function ShieldDash()
- if mana >= 20 then
- attack = true
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- hitbox1.Parent=glaive
- hitbox1.Size=vt(2,1,3)
- hitbox1.Transparency=1
- hitbox1.CFrame=prt1.CFrame
- for i = 0,1,0.1 do
- swait()
- hitbox1.CFrame=prt1.CFrame
- RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
- 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(part16,.5)
- con1=hitbox1.Touched:connect(function(hit) Damagefunc(hit,10,52,3,"Knockdown",RootPart,.5,1) end)
- 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.Head.CFrame.lookVector * 100
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part1.CFrame
- 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"))
- 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
- 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"))
- end
- vel.Parent = nil
- for i = 0,1,0.2 do
- swait()
- hitbox1.CFrame=part1.CFrame
- 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"))
- end
- wait(0.3)
- 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(0)),.3)
- 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
- gairo.Parent = nil
- wait(0.2)
- con1:disconnect()
- gairo.Parent = nil
- attack = false
- end
- end
- DBHit=function(hit,DB) --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
- h:TakeDamage(1)
- showDamage(hit.Parent,1,.5)
- coroutine.resume(coroutine.create(function()
- MMMAGIC(hit.Parent.Torso,3,3,3,0,0,0,BrickColor.new("White"))
- wait(1)
- wait(0.1)
- MOREMAGIX(hit.Parent.Torso,0,2,2,2,BrickColor.new("Institutional white"))
- end))
- 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.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(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=t
- game:GetService("Debris"):AddItem(rl,1)
- 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("White")
- 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=Character
- c.CanCollide=false
- end
- 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 combo == 0 then
- oneslash()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
- end
- wait(0.1)
- gairo.Parent = nil
- end
- end))
- elseif combo == 1 then
- twoslash()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
- end
- wait(0.1)
- gairo.Parent = nil
- end
- end))
- elseif combo == 2 then
- shieldhit1()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
- end
- wait(0.1)
- gairo.Parent = nil
- end
- end))
- elseif combo == 3 then
- threeslash()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
- end
- wait(0.1)
- gairo.Parent = nil
- end
- end))
- elseif combo == 4 then
- fourslash()
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- if attack == false then
- combo = 0
- 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(0)),.3)
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,1*i-1) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-2+2,-0.5*i+1,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1*i-1,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(math.rad(90),.5*1,math.rad(-60))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1*i+1,math.rad(90)) * CFrame.new(0, 1, -0.4*i+0.4)
- end
- end
- end))
- end
- end
- function ob1u(mouse)
- hold = false
- end
- buttonhold = false
- function key(key)
- if attack == true then return end
- if key == "q" then
- HolyWave()
- end
- if key == "e" then
- MagicBlast()
- end
- if key == "c" then
- LightOrb()
- end
- if key == "z" then
- ShieldDash()
- end
- if key == "f" then
- guard()
- end
- if key == "x" then
- SwordRaid()
- end
- if key == "l" then
- EatMuffin()
- end
- if key == "g" then
- barragehold = true
- MagicBarrage()
- end
- end
- function key2(key)
- if key == "f" then
- guarding = false
- attack=false
- combo=0
- end
- if key == "g" then
- barragehold = false
- attack=false
- combo=0
- end
- end
- function s(mouse)
- mouse.Button1Down:connect(function() ob1d(mouse) end)
- mouse.Button1Up:connect(function() ob1u(mouse) end)
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- unsheathed = true
- player = Player
- ch = Character
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- --
- RSH.Parent = nil
- LSH.Parent = nil
- --
- 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)
- unsheathed = false
- hideanim()
- swait()
- 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)
- while true do
- swait()
- fentext3.Size = UDim2.new(mana*0.007,0,0.200000006,0)
- fentext.Text = "Holiness("..mana..")"
- fentext3.BackgroundColor3 = Color3.new(1,1,1)
- fentext.TextStrokeTransparency=0
- fentext.TextColor3=Color3.new(1,1,1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement