Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Credit to Fenrier For Createing this
- 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=math.huge
- it=Instance.new
- cf=CFrame.new
- vt=Vector3.new
- euler=CFrame.fromEulerAnglesXYZ
- angles=CFrame.Angles
- 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 game.Players.LocalPlayer.FPSCH.Value==true then
- frame = 1/60
- else
- frame=1/30
- end
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local glaive = Instance.new("Model")
- glaive.Parent = Character
- glaive.Name = "Glaive"
- local part1 = Instance.new("Part")
- part1.formFactor = 1
- part1.CanCollide = false
- part1.Name = "Handle1"
- part1.Locked = true
- part1.Size = Vector3.new(1,4,1)
- part1.Parent = glaive
- part1.BrickColor = BrickColor.new("Black")
- local part2 = Instance.new("Part")
- part2.formFactor = 1
- 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 = 1
- 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 = 1
- part4.CanCollide = false
- part4.Name = "Handle4"
- part4.Locked = true
- part4.Size = Vector3.new(1,1,1)
- part4.Parent = glaive
- part4.BrickColor = BrickColor.new("Cyan")
- local part5 = Instance.new("Part")
- part5.formFactor = 1
- 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("Cyan")
- 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("Cyan")
- 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 = 1
- 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 = 1
- 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 = 1
- 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 = 1
- 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 = 1
- 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("Cyan")
- local part20 = Instance.new("Part")
- part20.formFactor = 1
- part20.CanCollide = false
- part20.Reflectance = 0.1
- part20.Name = "Blade10"
- part20.Locked = true
- part20.Size = Vector3.new(1,1,1)
- part20.Parent = glaive
- part20.BrickColor = BrickColor.new("Cyan")
- local part21 = Instance.new("Part")
- part21.formFactor = 1
- 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("Cyan")
- local part22 = Instance.new("Part")
- part22.formFactor = 1
- 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("Cyan")
- local part23 = Instance.new("Part")
- part23.formFactor = 1
- 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("Cyan")
- local part24 = Instance.new("Part")
- part24.formFactor = 1
- 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("Cyan")
- local part25 = Instance.new("Part")
- part25.formFactor = 1
- part25.CanCollide = false
- part25.Reflectance = 0.1
- part25.Name = "Blade15"
- part25.Locked = true
- part25.Size = Vector3.new(1,1,1)
- part25.Parent = glaive
- part25.BrickColor = BrickColor.new("Cyan")
- local part26 = Instance.new("Part")
- part26.formFactor = 1
- 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("Cyan")
- local part27 = Instance.new("Part")
- part27.formFactor = 1
- 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("Cyan")
- local mesh1 = Instance.new("CylinderMesh")
- mesh1.Scale = Vector3.new(0.4,1,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.7)
- mesh11.Parent = part11
- mesh11.MeshId = "http://www.roblox.com/asset/?id=1778999"
- local mesh12 = Instance.new("SpecialMesh")
- mesh12.Scale = Vector3.new(0.9,0.7,1)
- mesh12.Parent = part12
- mesh12.MeshType = "Wedge"
- local mesh13 = Instance.new("SpecialMesh")
- mesh13.Scale = Vector3.new(0.9,0.7,1)
- mesh13.Parent = part13
- mesh13.MeshType = "Wedge"
- local mesh14 = Instance.new("BlockMesh")
- mesh14.Scale = Vector3.new(0.5,0.9,0.9)
- 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(0.3,0.6,1)
- mesh20.Parent = part20
- local mesh21 = Instance.new("BlockMesh")
- mesh21.Scale = Vector3.new(0.3,0.6,1)
- mesh21.Parent = part21
- local mesh22 = Instance.new("BlockMesh")
- mesh22.Scale = Vector3.new(0.3,0.6,1)
- mesh22.Parent = part22
- local mesh23 = Instance.new("BlockMesh")
- mesh23.Scale = Vector3.new(0.3,0.6,1)
- mesh23.Parent = part23
- local mesh24 = Instance.new("BlockMesh")
- mesh24.Scale = Vector3.new(0.5,0.6,1)
- mesh24.Parent = part24
- local mesh25 = Instance.new("BlockMesh")
- mesh25.Scale = Vector3.new(0.6,0.7,1)
- mesh25.Parent = part25
- local mesh26 = Instance.new("SpecialMesh")
- mesh26.Scale = Vector3.new(1,0.6,0.5)
- mesh26.Parent = part26
- mesh26.MeshType = "Wedge"
- local mesh27 = Instance.new("SpecialMesh")
- mesh27.Scale = Vector3.new(1,0.6,0.5)
- mesh27.Parent = part27
- mesh27.MeshType = "Wedge"
- 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.6,0)
- local weld25 = Instance.new("Weld")
- weld25.Parent = part25
- weld25.Part0 = part25
- weld25.Part1 = part19
- weld25.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0,-0.6,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 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
- 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 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 and h.Parent.Name ~= "Hologram" then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- end
- showDamage(hit.Parent,Damage,.5,BrickColor:Red())
- else
- h.Health=h.Health-Damage/2
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=(angle*knockback)*1.2
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) * .75
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.25)
- game:GetService("Debris"):AddItem(rl,.25)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- elseif Type=="Lifesteal" then
- for i=1,3 do
- MagicBlood(BrickColor.new("Really red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.1,.1,.1,.1,2,.1,0.05)
- end
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.25)
- if Humanoid:FindFirstChild("HealBlock")==nil then
- Heal=math.ceil(Damage)
- if Heal < 1 then
- Heal = 1
- end
- print('8)')
- Humanoid:TakeDamage(-Heal)
- local tag=Instance.new("BoolValue")
- tag.Name="HealBlock"
- tag.Parent=Humanoid
- game:GetService("Debris"):AddItem(tag,.99)
- end
- showDamage(RootPart,Heal,.5,BrickColor.new("Bright green"))
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,45,0)
- bodyVelocity.P=5000
- bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,.25)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.25)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Charge" then
- Charge=Charge+1
- coroutine.resume(coroutine.create(function(Part)
- swait(30)
- for i=1,5 do
- swait(5)
- so("rbxasset://sounds\\unsheath.wav",hit,1,2)
- MagicCircle(BrickColor.new("Bright red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.1,.2,8,.1,0.05)
- newdam=math.random(1,5)
- if blocked==false then
- h:TakeDamage(newdam)
- showDamage(hit.Parent,newdam,.5,BrickColor:Red())
- else
- h:TakeDamage(newdam)
- showDamage(hit.Parent,newdam,.5,BrickColor.new("Bright blue"))
- end
- end
- end),hit)
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- function 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
- end
- Bin = script.Parent
- function unequipweld()
- 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)
- end
- function hideanim()
- for i = 0 , 1 , 0.1 do
- swait()
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),2.7*i,math.rad(90)) * CFrame.new(0, 1, 0)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,-0.5*i+0.5,1.5*i-0.5)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- wait(0.1)
- unequipweld()
- wait(0.1)
- for i = 0 , 1 , 0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0,-1*i+1)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- function equipanim()
- for i = 0 , 1 , 0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(-1.5*i,0,1*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- 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 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(1.5*i-1.5,0.5*i,-1.5*i+1)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- end
- end
- function oneslash()
- attack = true
- combo = 1
- 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
- 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=part16.CFrame
- 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(1,2,2)
- hitbox1.Transparency=1
- hitbox1.CFrame=part16.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=part16.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 = 3
- 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,-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=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(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 fourslash()
- attack = true
- combo = 4
- for i = 0 , 1 , 0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(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=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()
- 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()
- con2:disconnect()
- wait(0.5) 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(180)*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(180),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
- gairo.Parent = Head
- gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- gairo.P = 20e+003
- gairo.cframe = Head.CFrame
- for i = 0,1,0.1 do
- swait()
- 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()
- 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
- gairo.Parent = Head
- gairo.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
- gairo.P = 20e+003
- gairo.cframe = Head.CFrame
- for i = 0,1,0.1 do
- swait()
- 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.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()
- 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
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name ~= "Hologram" then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- 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
- if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name ~= "Hologram" then
- print("gained kill")
- script.Parent.Kills.Value=script.Parent.Kills.Value+1
- 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
- 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 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()
- 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(-1*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),-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()
- 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.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(0.5*i-0.5+1.5,0.5,0.5*i-0.5) * CFrame.fromEulerAnglesXYZ(-1*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),1*i-1,math.rad(90)) * CFrame.new(0, -0.3*i+0.3+1, 0.5*i-0.5)
- end
- wait(0.1)
- gairo.Parent = nil
- end
- end))
- elseif combo == 2 then
- threeslash()
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- if attack == false then
- combo = 0
- for i = 0,1,0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5*i,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2*i+4.07,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i-0.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-2.7*i+2.7,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- wait(0.1)
- gairo.Parent = nil
- end
- end))
- elseif combo == 3 then
- fourslash()
- coroutine.resume(coroutine.create(function()
- wait(0.2)
- if attack == false then
- combo = 0
- for i = 0 , 1 , 0.1 do
- swait()
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- LW.C0 = CFrame.new(-1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0,0.5*i,-0.5*i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(3*i+3.57,0,0)
- RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.fromEulerAnglesXYZ(0.5*i-0.5,0,0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0,0,0)
- weld1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(90),-1.7*i+1.7,math.rad(90)) * CFrame.new(0, 1, 0)
- end
- Torso.Neck.C1 = CFrame.fromEulerAnglesXYZ(1.57,3.14,0) * CFrame.new(0,0,-0.5)
- gairo.Parent = nil
- 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)
- 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 == "z" then
- MagicBlast()
- end
- if key == "c" then
- LightOrb()
- end
- if key == "x" then
- sparklesparkle()
- end
- end
- function key2(key)
- 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