Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game:GetService("Players").LocalPlayer
- cheatsheetplr = game.Players.LocalPlayer
- i = Instance.new("NumberValue", cheatsheetplr )
- i.Name = "FPSCH"
- Bin = Instance.new("HopperBin", cheatsheetplr .Backpack)
- script.Parent = Bin
- local cf = CFrame.new
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- RW = Create("Weld")({Name = "Right Shoulder", Part0 = Tor, C0 = CFrame.new(1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = RA, Parent = Tor})
- LW = Create("Weld")({Name = "Left Shoulder", Part0 = Tor, C0 = CFrame.new(-1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = LA, Parent = Tor})
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- LH = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RH = Torso["Right Hip"]
- attack = false
- attackdebounce = false
- combo = 0
- mana = 400
- necko = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- comboing = false
- player = nil
- RSH = nil
- RW = Instance.new("Weld")
- anim = "none"
- if Character:findFirstChild("Harute", true) ~= nil then
- Character:findFirstChild("Harute", true).Parent = nil
- end
- if Player.PlayerGui:findFirstChild("manaGUI", true) ~= nil then
- Player.PlayerGui:findFirstChild("manaGUI", true).Parent = nil
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.033333333333333
- if Player.FPSCH.Value == true then
- frame = 0.016666666666667
- else
- frame = 0.033333333333333
- end
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if frame <= tf then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end
- )
- swait = function(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- local modelzorz = Instance.new("Model")
- modelzorz.Name = "Harute"
- modelzorz.Parent = Character
- local prt1 = Instance.new("Part")
- prt1.formFactor = 1
- prt1.Parent = modelzorz
- prt1.CanCollide = false
- prt1.BrickColor = BrickColor.new("Bright yellow")
- prt1.Name = "Part1"
- prt1.Transparency = 0.4
- prt1.Size = Vector3.new(1, 1, 1)
- prt1.Position = Torso.Position
- local prt2 = Instance.new("Part")
- prt2.formFactor = 1
- prt2.Parent = modelzorz
- prt2.CanCollide = false
- prt2.BrickColor = BrickColor.new("Bright yellow")
- prt2.Name = "Part2"
- prt2.Transparency = 0.4
- prt2.Size = Vector3.new(1, 1, 1)
- prt2.Position = Torso.Position
- local prt3 = Instance.new("Part")
- prt3.formFactor = 1
- prt3.Parent = modelzorz
- prt3.CanCollide = false
- prt3.BrickColor = BrickColor.new("Bright yellow")
- prt3.Name = "Part3"
- prt3.Transparency = 0.4
- prt3.Size = Vector3.new(1, 1, 1)
- prt3.Position = Torso.Position
- local prt4 = Instance.new("Part")
- prt4.formFactor = 1
- prt4.Parent = modelzorz
- prt4.CanCollide = false
- prt4.BrickColor = BrickColor.new("Bright yellow")
- prt4.Name = "Part4"
- prt4.Transparency = 0.4
- prt4.Size = Vector3.new(1, 1, 1)
- prt4.Position = Torso.Position
- local prt5 = Instance.new("Part")
- prt5.formFactor = 1
- prt5.Parent = modelzorz
- prt5.CanCollide = false
- prt5.BrickColor = BrickColor.new("Bright yellow")
- prt5.Name = "Part5"
- prt5.Transparency = 0.4
- prt5.Size = Vector3.new(1, 1, 1)
- prt5.Position = Torso.Position
- local prt6 = Instance.new("Part")
- prt6.formFactor = 1
- prt6.Parent = modelzorz
- prt6.CanCollide = false
- prt6.BrickColor = BrickColor.new("Bright yellow")
- prt6.Name = "Part6"
- prt6.Transparency = 0.4
- prt6.Size = Vector3.new(1, 1, 1)
- prt6.Position = Torso.Position
- local prt7 = Instance.new("Part")
- prt7.formFactor = 1
- prt7.Parent = modelzorz
- prt7.CanCollide = false
- prt7.BrickColor = BrickColor.new("Bright yellow")
- prt7.Name = "Part7"
- prt7.Transparency = 0.4
- prt7.Size = Vector3.new(1, 1, 1)
- prt7.Position = Torso.Position
- local prt8 = Instance.new("Part")
- prt8.formFactor = 1
- prt8.Parent = modelzorz
- prt8.CanCollide = false
- prt8.BrickColor = BrickColor.new("Bright yellow")
- prt8.Name = "Part8"
- prt8.Transparency = 0.4
- prt8.Size = Vector3.new(1, 1, 1)
- prt8.Position = Torso.Position
- local msh1 = Instance.new("BlockMesh")
- msh1.Parent = prt1
- msh1.Scale = Vector3.new(0.5, 1, 0.5)
- local msh2 = Instance.new("BlockMesh")
- msh2.Parent = prt2
- msh2.Scale = Vector3.new(0.5, 1, 0.5)
- local msh3 = Instance.new("BlockMesh")
- msh3.Parent = prt3
- msh3.Scale = Vector3.new(0.5, 1, 0.5)
- local msh4 = Instance.new("BlockMesh")
- msh4.Parent = prt4
- msh4.Scale = Vector3.new(0.5, 1, 0.5)
- local msh5 = Instance.new("BlockMesh")
- msh5.Parent = prt5
- msh5.Scale = Vector3.new(0.5, 1, 0.5)
- local msh6 = Instance.new("BlockMesh")
- msh6.Parent = prt6
- msh6.Scale = Vector3.new(0.5, 1, 0.5)
- local msh7 = Instance.new("BlockMesh")
- msh7.Parent = prt7
- msh7.Scale = Vector3.new(0.5, 1, 0.5)
- local msh8 = Instance.new("BlockMesh")
- msh8.Parent = prt8
- msh8.Scale = Vector3.new(0.5, 1, 0.5)
- local wld1 = Instance.new("Weld")
- wld1.Parent = prt1
- wld1.Part0 = prt1
- wld1.Part1 = Torso
- wld1.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- local wld2 = Instance.new("Weld")
- wld2.Parent = prt2
- wld2.Part0 = prt2
- wld2.Part1 = Torso
- wld2.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- local wld3 = Instance.new("Weld")
- wld3.Parent = prt3
- wld3.Part0 = prt3
- wld3.Part1 = Torso
- wld3.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- local wld4 = Instance.new("Weld")
- wld4.Parent = prt4
- wld4.Part0 = prt4
- wld4.Part1 = Torso
- wld4.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- local wld5 = Instance.new("Weld")
- wld5.Parent = prt5
- wld5.Part0 = prt5
- wld5.Part1 = Torso
- wld5.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- local wld6 = Instance.new("Weld")
- wld6.Parent = prt6
- wld6.Part0 = prt6
- wld6.Part1 = Torso
- wld6.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- local wld7 = Instance.new("Weld")
- wld7.Parent = prt7
- wld7.Part0 = prt7
- wld7.Part1 = Torso
- wld7.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- local wld8 = Instance.new("Weld")
- wld8.Parent = prt8
- wld8.Part0 = prt8
- wld8.Part1 = Torso
- wld8.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- 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 = "Energy(" .. 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)
- local gairo = Instance.new("BodyGyro")
- gairo.Parent = nil
- gairo.maxTorque = Vector3.new(400000, 400000, 400000) * math.huge
- gairo.P = 20000
- if script.Parent.className ~= "HopperBin" then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = "Harute"
- script.Parent = Tool
- end
- Bin = script.Parent
- hideanim = function()
- end
- equipanim = function()
- end
- onehit = function()
- if mana >= 0 then
- attack = true
- comboing = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- wait(0.1)
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 1 * i)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57 + 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.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld4.C0 = CFrame.new(1.3 * i, 4.6 - 2 * i, -1 + 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 2.355 - 0.785 * i)
- wld5.C0 = CFrame.new(-0.3 * i, 4.6 - 2 * i, -1 + 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 3.14 - 1.57 * i)
- end
- wait(0.1)
- if mana >= 0 then
- mana = mana - 10
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- Laser(prt4, math.random(20, 40))
- Laser(prt5, math.random(20, 40))
- attack = false
- end
- end
- twohit = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- wld4.C0 = CFrame.new(1.3 - 1.3 * i, 2.6 + 2 * i, -0.8 - 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 + 0.5 * i, 0, 1.57 + 0.785 * i)
- wld5.C0 = CFrame.new(-0.3 + 0.3 * i, 2.6 + 2 * i, -0.8 - 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 + 0.5 * i, 0, 1.57 + 1.57 * i)
- wld6.C0 = CFrame.new(0.3 * i, 4.6 - 2 * i, -1 + 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 3.925 + 0.785 * i)
- wld7.C0 = CFrame.new(-1.3 * i, 4.6 - 2 * i, -1 + 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 4.71)
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 1 - 2 * i)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.07 - 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.57, 0, 1.57 - 0.5 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- wait(0.1)
- if mana >= 0 then
- mana = mana - 5
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- Laser(prt6, math.random(20, 40))
- Laser(prt7, math.random(20, 40))
- wait(0.1)
- attack = false
- end
- end
- threehit = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- wld6.C0 = CFrame.new(0.3 - 0.3 * i, 2.6 + 2 * i, -0.8 - 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 + 0.5 * i, 0, 4.71 - 0.785 * i)
- wld7.C0 = CFrame.new(-1.3 + 1.3 * i, 2.6 + 2 * i, -0.8 - 0.2 * i) * CFrame.fromEulerAnglesXYZ(-0.5 + 0.5 * i, 0, 4.71)
- wld8.C0 = CFrame.new(0, 4.6, -1 + 2 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0.5 * i, 5.495 - 5.495 * i)
- wld1.C0 = CFrame.new(0, 4.6, -1 + 2 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 6.28)
- wld2.C0 = CFrame.new(0, 4.6, -1 + 2 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, -0.5 * i, 0.785 - 0.785 * i)
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, -1 + 1 * i)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57 + 1.77 * 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.07 - 1.27 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- wait(0.1)
- if mana >= 0 then
- mana = mana - 8
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt8, math.random(1, 5))
- Laser(prt1, math.random(1, 5))
- Laser(prt2, math.random(1, 5))
- wait(0.1)
- attack = false
- end
- end
- fourhit = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.5 do
- swait()
- wld8.C0 = CFrame.new(0, 4.6, 1 - 2 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0.5 * i, 0 + 5.495 * i)
- wld1.C0 = CFrame.new(0, 4.6, 1 - 2 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 6.28)
- wld2.C0 = CFrame.new(0, 4.6, 1 - 2 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, -0.5 * i, 0 + 0.785 * i)
- wld3.C0 = CFrame.new(0, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57 + 0.5 * i)
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 1.57 * i)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 0)
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.fromEulerAnglesXYZ(1.57 - 1.57 * i, 0, -0.2 + 1 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- wait(0.01)
- for i = 0, 1, 0.5 do
- swait()
- wld3.C0 = CFrame.new(0, 4.6, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 2.07 - 0.8 * i)
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5 + 1 * i, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0.8)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt3, math.random(2, 3))
- end
- wait(0.1)
- attack = false
- end
- end
- LaserWave = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- wait(0.1)
- for i = 0, 1, 0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 6.28)
- wld3.C0 = CFrame.new(0, 4.6, -1 + 4 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 1.57)
- wld5.C0 = CFrame.new(0.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 3.14)
- wld7.C0 = CFrame.new(0, 4.6, -1 + 4 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 4.71)
- end
- if mana >= 0 then
- mana = mana - 20
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(10, 20))
- Laser(prt3, math.random(10, 20))
- Laser(prt5, math.random(10, 20))
- Laser(prt7, math.random(10, 20))
- wait(0.1)
- for i = 0, 1, 0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -0.2 + 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0.5 - 0.5 * i, 4.6, 0 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 6.28)
- wld3.C0 = CFrame.new(0, 4.6, 3 - 4 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 1.57)
- wld5.C0 = CFrame.new(0.5 - 0.5 * i, 4.6, 0 - 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 3.14)
- wld7.C0 = CFrame.new(0, 4.6, 3 - 4 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 4.71)
- end
- for i = 0, 1, 0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld2.C0 = CFrame.new(0, 4.6, -1 + 2 * i) * CFrame.fromEulerAnglesXYZ(-1.97 * i, 0, 0.785 - 0.785 * i)
- wld4.C0 = CFrame.new(0, 4.6, -1 + 1.5 * i) * CFrame.fromEulerAnglesXYZ(-1.77 * i, 0, 2.355 - 2.355 * i)
- wld6.C0 = CFrame.new(0, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 3.925 - 3.925 * i)
- wld8.C0 = CFrame.new(0, 4.6, -1 + 0.5 * i) * CFrame.fromEulerAnglesXYZ(-1.37 * i, 0, 5.495 - 5.495 * i)
- end
- if mana >= 0 then
- mana = mana - 20
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt2, math.random(10, 20))
- Laser(prt4, math.random(10, 20))
- Laser(prt6, math.random(10, 20))
- Laser(prt8, math.random(10, 20))
- wait(0.1)
- for i = 0, 1, 0.1 do
- swait()
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -0.2 + 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld2.C0 = CFrame.new(0, 4.6, 1 - 2 * i) * CFrame.fromEulerAnglesXYZ(-1.97 + 1.97 * i, 0, -0.785 * i)
- wld4.C0 = CFrame.new(0, 4.6, 0.5 - 1.5 * i) * CFrame.fromEulerAnglesXYZ(-1.77 + 1.77 * i, 0, -2.355 * i)
- wld6.C0 = CFrame.new(0, 4.6, 0 - 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, -3.925 * i)
- wld8.C0 = CFrame.new(0, 4.6, -0.5 - 0.5 * i) * CFrame.fromEulerAnglesXYZ(-1.37 + 1.37 * i, 0, -5.495 * i)
- end
- wait(0.1)
- attack = false
- end
- end
- OverBlast = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1.05, 0.05 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(-1.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0.5 * i, 6.28)
- wld2.C0 = CFrame.new(-1 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0.3 * i, 0.785 + 5.495 * i)
- wld3.C0 = CFrame.new(1 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, -0.3 * i, 1.57 + 4.71 * i)
- wld4.C0 = CFrame.new(1.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, -0.5 * i, 2.355 + 3.925 * i)
- wld5.C0 = CFrame.new(-1.1 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0.1 * i, 3.14 - 3.14 * i)
- wld6.C0 = CFrame.new(-0.6 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 3.925 - 3.925 * i)
- wld7.C0 = CFrame.new(0.6 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 4.71 - 4.71 * i)
- wld8.C0 = CFrame.new(1.1 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57 * i, -0.1 * i, 5.495 - 5.495 * i)
- end
- if mana >= 0 then
- mana = mana - 50
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(5, 15))
- Laser(prt2, math.random(5, 15))
- Laser(prt3, math.random(5, 15))
- Laser(prt4, math.random(5, 15))
- Laser(prt5, math.random(5, 15))
- Laser(prt6, math.random(5, 15))
- Laser(prt7, math.random(5, 15))
- Laser(prt8, math.random(5, 15))
- wait(0.2)
- for i = 0, 1.05, 0.05 do
- swait()
- wld1.C0 = CFrame.new(-1.5, 4.6, -1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, 0.5 - 0.5 * i, 6.28)
- wld2.C0 = CFrame.new(-1 + 0.5 * i, 4.6, -1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, 0.3 - 0.3 * i, 6.28)
- wld3.C0 = CFrame.new(1 - 0.5 * i, 4.6, -1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, -0.3 + 0.3 * i, 6.28)
- wld4.C0 = CFrame.new(1.5, 4.6, -1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, -0.5 + 0.5 * i, 6.28)
- wld5.C0 = CFrame.new(-1.1 - 0.4 * i, 4.6, 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, 0.1 - 0.1 * i, 0)
- wld6.C0 = CFrame.new(-0.6 + 0.1 * i, 4.6, 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- wld7.C0 = CFrame.new(0.6 - 0.1 * i, 4.6, 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- wld8.C0 = CFrame.new(1.1 + 0.4 * i, 4.6, 1 * i) * CFrame.fromEulerAnglesXYZ(-1.57, -0.1 + 0.1 * i, 0)
- end
- if mana >= 0 then
- mana = mana - 50
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(5, 15))
- Laser(prt2, math.random(5, 15))
- Laser(prt3, math.random(5, 15))
- Laser(prt4, math.random(5, 15))
- Laser(prt5, math.random(5, 15))
- Laser(prt6, math.random(5, 15))
- Laser(prt7, math.random(5, 15))
- Laser(prt8, math.random(5, 15))
- wait(0.5)
- attack = false
- end
- end
- SpinBeam = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(-0.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- CF = Torso.CFrame
- for i = 0, 1, 0.1 do
- wait(0.1)
- gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0, math.rad(360) * i, 0)
- if mana >= 0 then
- mana = mana - 5
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- Laser(prt3, math.random(10, 20))
- Laser(prt7, math.random(10, 20))
- end
- wait(0.2)
- gairo.Parent = nil
- attack = false
- end
- end
- DodgeTheLaser = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(-0.5 * i, 4.6, -1 + 1 * i) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- gairo.Parent = Head
- gairo.cframe = Head.CFrame
- CF = Torso.CFrame
- for i = 0, 1, 0.01 do
- wait(0.1)
- gairo.cframe = CF * CFrame.fromEulerAnglesXYZ(0, math.rad(360) * i, 0)
- if mana >= 0 then
- mana = mana - 5
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- Laser(prt3, math.random(10, 20))
- Laser(prt7, math.random(10, 20))
- end
- swait()
- gairo.Parent = nil
- attack = false
- end
- end
- LaserBarrage = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 - 0.5 * i, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 - 0.5 * i, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 6.28)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt1, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.07 + 0.5 * i, 0, 0.2 - 1.77 * 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.07 + 0.5 * i, 0, -0.2 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 6.28)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 - 0.5 * i, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld2.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 0.785)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt2, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.07 + 0.5 * i, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld2.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 0.785)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 - 0.3 * i, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld3.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 1.57)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt3, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.27 + 0.3 * i, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld3.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 1.57)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 + 0.3 * i, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld4.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 2.355)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt4, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.87 - 0.3 * i, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld4.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 2.355)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 + 0.5 * i, 0, -1.57 + 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 + 0.5 * i, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld5.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 3.14)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt5, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.07 - 0.5 * i, 0, 0.2 - 1.77 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.07 - 0.5 * i, 0, -0.2 + 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld5.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 3.14)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 + 0.5 * i, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld6.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 3.925)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt6, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(2.07 - 0.5 * i, 0, -0.2 + 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld6.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 3.925)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 + 0.3 * i, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld7.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 4.71)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt7, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- 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.87 - 0.3 * i, 0, -0.2 + 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld7.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 4.71)
- end
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 + 0.3 * i, 0, 1.57 - 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld8.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 * i, 0, 5.495)
- end
- if mana >= 0 then
- mana = mana - 1
- else
- mana = 0
- end
- lasersound(4)
- Laser(prt8, math.random(10, 20))
- for i = 0, 1, 0.2 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- 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.87 - 0.3 * i, 0, -0.2 + 1.77 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld8.C0 = CFrame.new(0, 4.6, -1) * CFrame.fromEulerAnglesXYZ(-1.57 + 1.57 * i, 0, 5.495)
- end
- wait(0.5)
- attack = false
- end
- end
- CloseRangedFire = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 6.28)
- wld2.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 0.785)
- wld3.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 1.57)
- wld4.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 2.355)
- wld5.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 3.14)
- wld6.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 3.925)
- wld7.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 4.71)
- wld8.C0 = CFrame.new(0, 4.6 - 13 * i, -1) * CFrame.fromEulerAnglesXYZ(-3 * i, 0, 5.495)
- end
- if mana >= 0 then
- mana = mana - 50
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(5, 10))
- Laser(prt2, math.random(5, 10))
- Laser(prt3, math.random(5, 10))
- Laser(prt4, math.random(5, 10))
- Laser(prt5, math.random(5, 10))
- Laser(prt6, math.random(5, 10))
- Laser(prt7, math.random(5, 10))
- Laser(prt8, math.random(5, 10))
- wait(1)
- attack = false
- end
- end
- Implosion = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 6.28 - 6.28 * i)
- wld2.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0.785 * i, 0.785 - 0.785 * i)
- wld3.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 1.57 * i, 1.57 - 1.57 * i)
- wld4.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 2.355 * i, 2.355 - 2.355 * i)
- wld5.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 3.14 * i, 3.14 - 3.14 * i)
- wld6.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 3.925 * i, 3.925 - 3.925 * i)
- wld7.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 4.71 * i, 4.71 - 4.71 * i)
- wld8.C0 = CFrame.new(0, 4.6 - 10 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 5.495 * i, 5.495 - 5.495 * i)
- end
- if mana >= 0 then
- mana = mana - 50
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(5, 10))
- Laser(prt2, math.random(5, 10))
- Laser(prt3, math.random(5, 10))
- Laser(prt4, math.random(5, 10))
- Laser(prt5, math.random(5, 10))
- Laser(prt6, math.random(5, 10))
- Laser(prt7, math.random(5, 10))
- Laser(prt8, math.random(5, 10))
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 0 + 0.5 * i, 0)
- wld2.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 0.785 + 0.5 * i, 0)
- wld3.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 1.57 + 0.5 * i, 0)
- wld4.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 2.355 + 0.5 * i, 0)
- wld5.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 3.14 + 0.5 * i, 0)
- wld6.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 3.925 + 0.5 * i, 0)
- wld7.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 4.71 + 0.5 * i, 0)
- wld8.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57, 5.495 + 0.5 * i, 0)
- end
- if mana >= 0 then
- mana = mana - 50
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(5, 10))
- Laser(prt2, math.random(5, 10))
- Laser(prt3, math.random(5, 10))
- Laser(prt4, math.random(5, 10))
- Laser(prt5, math.random(5, 10))
- Laser(prt6, math.random(5, 10))
- Laser(prt7, math.random(5, 10))
- Laser(prt8, math.random(5, 10))
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 0.5, 0)
- wld2.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 1.285, 0)
- wld3.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 2.07, 0)
- wld4.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 2.855, 0)
- wld5.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 3.64, 0)
- wld6.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 4.425, 0)
- wld7.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 5.21, 0)
- wld8.C0 = CFrame.new(0, -5.4, -1) * CFrame.fromEulerAnglesXYZ(1.57 - 1 * i, 5.995, 0)
- end
- if mana >= 0 then
- mana = mana - 50
- else
- mana = 0
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(5, 10))
- Laser(prt2, math.random(5, 10))
- Laser(prt3, math.random(5, 10))
- Laser(prt4, math.random(5, 10))
- Laser(prt5, math.random(5, 10))
- Laser(prt6, math.random(5, 10))
- Laser(prt7, math.random(5, 10))
- Laser(prt8, math.random(5, 10))
- wait(1)
- attack = false
- end
- end
- SpinLaser = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 6.28 - 6.28 * i)
- wld2.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0.785 * i, 0.785 - 0.785 * i)
- wld3.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 1.57 * i, 1.57 - 1.57 * i)
- wld4.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 2.355 * i, 2.355 - 2.355 * i)
- wld5.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 3.14 * i, 3.14 - 3.14 * i)
- wld6.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 3.925 * i, 3.925 - 3.925 * i)
- wld7.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 4.71 * i, 4.71 - 4.71 * i)
- wld8.C0 = CFrame.new(0, 4.6 - 2 * i, -1) * CFrame.fromEulerAnglesXYZ(1.57 * i, 5.495 * i, 5.495 - 5.495 * i)
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(10, 20))
- Laser(prt2, math.random(10, 20))
- Laser(prt3, math.random(10, 20))
- Laser(prt4, math.random(10, 20))
- Laser(prt5, math.random(10, 20))
- Laser(prt6, math.random(10, 20))
- Laser(prt7, math.random(10, 20))
- Laser(prt8, math.random(10, 20))
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 0 + 0.5 * i, 0)
- wld2.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 0.785 + 0.5 * i, 0)
- wld3.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 1.57 + 0.5 * i, 0)
- wld4.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 2.355 + 0.5 * i, 0)
- wld5.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 3.14 + 0.5 * i, 0)
- wld6.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 3.925 + 0.5 * i, 0)
- wld7.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 4.71 + 0.5 * i, 0)
- wld8.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 5.495 + 0.5 * i, 0)
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(10, 10))
- Laser(prt2, math.random(10, 10))
- Laser(prt3, math.random(10, 10))
- Laser(prt4, math.random(10, 10))
- Laser(prt5, math.random(10, 10))
- Laser(prt6, math.random(10, 10))
- Laser(prt7, math.random(10, 10))
- Laser(prt8, math.random(10, 10))
- for i = 0, 1, 0.1 do
- swait()
- wld1.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 0.5 + 0.5 * i, 0)
- wld2.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 1.285 + 0.5 * i, 0)
- wld3.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 2.07 + 0.5 * i, 0)
- wld4.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 2.855 + 0.5 * i, 0)
- wld5.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 3.64 + 0.5 * i, 0)
- wld6.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 4.425 + 0.5 * i, 0)
- wld7.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 5.21 + 0.5 * i, 0)
- wld8.C0 = CFrame.new(0, 2.6, -1) * CFrame.fromEulerAnglesXYZ(1.57, 5.995 + 0.5 * i, 0)
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(10, 20))
- Laser(prt2, math.random(10, 20))
- Laser(prt3, math.random(10, 20))
- Laser(prt4, math.random(10, 20))
- Laser(prt5, math.random(10, 20))
- Laser(prt6, math.random(10, 20))
- Laser(prt7, math.random(10, 20))
- Laser(prt8, math.random(10, 20))
- wait(1)
- attack = false
- end
- end
- LaserPillars = function()
- if mana >= 0 then
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, -1.57 * i)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57 * i, 0, 1.57 * i)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28)
- wld2.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785)
- wld3.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57)
- wld4.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355)
- wld5.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14)
- wld6.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925)
- wld7.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71)
- wld8.C0 = CFrame.new(0, 1.6 + 3 * i, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495)
- end
- for i = 0, 1, 0.1 do
- swait()
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28 - 6.28 * i)
- wld2.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 0.785 * i, 0.785 - 0.785 * i)
- wld3.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 1.57 * i, 1.57 - 1.57 * i)
- wld4.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 2.355 * i, 2.355 - 2.355 * i)
- wld5.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 3.14 * i, 3.14 - 3.14 * i)
- wld6.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 3.925 * i, 3.925 - 3.925 * i)
- wld7.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 4.71 * i, 4.71 - 4.71 * i)
- wld8.C0 = CFrame.new(0, 4.6 - 15 * i, -1 - 3 * i) * CFrame.fromEulerAnglesXYZ(0, 5.495 * i, 5.495 - 5.495 * i)
- end
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(20, 40))
- Laser(prt2, math.random(20, 40))
- Laser(prt3, math.random(20, 40))
- Laser(prt4, math.random(20, 40))
- Laser(prt5, math.random(20, 40))
- Laser(prt6, math.random(20, 40))
- Laser(prt7, math.random(20, 40))
- Laser(prt8, math.random(20, 40))
- hur = 0
- for i = 0, 1, 0.1 do
- wait(0.1)
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, -1.57)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 1.57)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- wld1.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 0 + 2.5 * i, 0)
- wld2.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 0.785 + 2.5 * i, 0)
- wld3.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 1.57 + 2.5 * i, 0)
- wld4.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 2.355 + 2.5 * i, 0)
- wld5.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 3.14 + 2.5 * i, 0)
- wld6.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 3.925 + 2.5 * i, 0)
- wld7.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 4.71 + 2.5 * i, 0)
- wld8.C0 = CFrame.new(0, -10.4, -4 - 20 * i) * CFrame.fromEulerAnglesXYZ(0, 5.495 + 2.5 * i, 0)
- if hur == 1 then
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- lasersound(4)
- Laser(prt1, math.random(20, 40))
- Laser(prt2, math.random(20, 40))
- Laser(prt3, math.random(20, 40))
- Laser(prt4, math.random(20, 40))
- Laser(prt5, math.random(20, 40))
- Laser(prt6, math.random(20, 40))
- Laser(prt7, math.random(20, 40))
- Laser(prt8, math.random(20, 40))
- hur = 0
- end
- hur = hur + 1
- end
- wait(1)
- attack = false
- end
- end
- rayCast = function(Pos, Dir, Max, Ignore)
- return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- Laser = function(Part, Dmg)
- sp = Part.Position
- dirr = Part.CFrame * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
- local hit, pos = rayCast(sp, dirr.lookVector, 500, Character)
- local las = Instance.new("Part", Character)
- las.Anchored = true
- las.Locked = true
- las.CanCollide = false
- las.TopSurface = 0
- las.BottomSurface = 0
- las.FormFactor = "Custom"
- las.BrickColor = BrickColor.new("Bright red")
- las.Size = Vector3.new(1, 1, 1)
- las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0)
- local msh = Instance.new("SpecialMesh", las)
- mag = (Part.Position - pos).magnitude
- msh.Scale = Vector3.new(0.1, mag, 0.1)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, 0.1 do
- swait()
- Part.Transparency = Part.Transparency + 0.1
- Mesh.Scale = Mesh.Scale + Vector3.new(0.15, 0.7, 0.15)
- end
- game.Debris:AddItem(Part, 0.2)
- end
- ), las, msh)
- local las = Instance.new("Part", Character)
- las.Anchored = true
- las.Locked = true
- las.CanCollide = false
- las.TopSurface = 0
- las.BottomSurface = 0
- las.FormFactor = "Custom"
- las.BrickColor = BrickColor.new("Really black")
- las.Size = Vector3.new(1, 1, 1)
- las.CFrame = CFrame.new((Part.Position + pos) / 2, pos) * CFrame.Angles(math.rad(90), 0, 0)
- local msh = Instance.new("SpecialMesh", las)
- mag = (Part.Position - pos).magnitude
- msh.Scale = Vector3.new(0.1, mag, 0.1)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, 0.1 do
- swait()
- Part.Transparency = Part.Transparency + 0.1
- Mesh.Scale = Mesh.Scale + Vector3.new(-0.05, 0.7, -0.05)
- end
- Part.Parent = nil
- end
- ), las, msh)
- if pos ~= nil then
- local las2 = Instance.new("Part", Character)
- las2.Anchored = true
- las2.Locked = true
- las2.CanCollide = false
- las2.TopSurface = 0
- las2.BottomSurface = 0
- las2.FormFactor = "Custom"
- las2.BrickColor = BrickColor.new("Bright red")
- las2.Size = Vector3.new(1, 1, 1)
- las2.CFrame = CFrame.new(pos) * CFrame.Angles(math.rad(90), 0, 0)
- local msh = Instance.new("BlockMesh", las2)
- mag = (Part.Position - pos).magnitude
- msh.Scale = Vector3.new(0.1, 0.1, 0.1)
- coroutine.resume(coroutine.create(function(Part, Mesh)
- for i = 0, 1, 0.1 do
- swait()
- Part.Transparency = Part.Transparency + 0.1
- Mesh.Scale = Mesh.Scale + Vector3.new(0.5, 0, 0.5)
- end
- game.Debris:AddItem(Part, 0.1)
- end
- ), las2, msh)
- end
- do
- if hit ~= nil and pos ~= nil then
- if hit.Parent.className == "Hat" then
- hit:BreakJoints()
- hit.Velocity = Vector3.new(math.random(-5, 5), 20, math.random(-5, 5))
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
- hit.Parent.Humanoid:TakeDamage(Dmg)
- showDamage(hit.Parent, Dmg, 0.5)
- end
- end
- end
- end
- MMMAGIC = function(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 * 0.1
- swait()
- end
- Part.Parent = nil
- end
- ), S, S.CFrame)
- end
- UltimaMMMAGIC = function(part, x1, y1, z1, x2, y2, z2, color)
- local msh1 = Instance.new("BlockMesh")
- msh1.Scale = Vector3.new(x1, y1, z1)
- S = Instance.new("Part")
- S.Name = "Effect"
- S.formFactor = 0
- S.Size = Vector3.new(1, 1, 1)
- S.BrickColor = color
- S.Reflectance = 0
- S.TopSurface = 0
- S.BottomSurface = 0
- S.Transparency = 0
- S.Anchored = true
- S.CanCollide = false
- S.CFrame = part.CFrame * CFrame.new(x2, y2, z2) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- S.Parent = Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part, CF)
- for i = 1, 9 do
- Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- Part.CFrame = Part.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Part.Transparency = i * 0.1
- swait()
- end
- Part.Parent = nil
- end
- ), S, S.CFrame)
- end
- MOREMAGIX = function(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(0.09, 0.09, 0.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
- EVENMOARMAGIX = function(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(0.5, 0.5, 0.5)
- msh1.MeshType = "Sphere"
- S = Instance.new("Part")
- S.Name = "Effect"
- S.formFactor = 0
- S.Size = Vector3.new(x1, y1, z1)
- S.BrickColor = color
- if Style == "WingBlade" and element == "Dark" then
- S.BrickColor = BrickColor.new("Black")
- end
- S.Reflectance = 0
- S.TopSurface = 0
- S.BottomSurface = 0
- S.Transparency = 0
- S.Anchored = true
- S.CanCollide = false
- S.CFrame = part.CFrame * CFrame.new(x2, y2, z2) * CFrame.fromEulerAnglesXYZ(x3, y3, z3)
- S.Parent = Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part, CF)
- for i = 1, 9 do
- Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15, 0.3, 0.15)
- Part.Transparency = i * 0.1
- swait()
- end
- Part.Parent = nil
- end
- ), S, S.CFrame)
- end
- WaveEffect = function(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(x1, y1, z1)
- msh1.MeshId = "http://www.roblox.com/asset/?id=20329976"
- S = Instance.new("Part")
- S.Name = "Effect"
- S.formFactor = 0
- S.Size = Vector3.new(1, 1, 1)
- S.BrickColor = color
- S.Reflectance = 0
- S.TopSurface = 0
- S.BottomSurface = 0
- S.Transparency = 0
- S.Anchored = true
- S.CanCollide = false
- S.CFrame = part.CFrame * CFrame.new(x2, y2, z2) * CFrame.fromEulerAnglesXYZ(x3, y3, z3)
- S.Parent = Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part, CF)
- for i = 1, 9 do
- Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15, 0.3, 0.15)
- Part.Transparency = i * 0.1
- swait()
- end
- Part.Parent = nil
- end
- ), S, S.CFrame)
- end
- BlastEffect = function(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
- local msh1 = Instance.new("SpecialMesh")
- msh1.Scale = Vector3.new(x1, y1, z1)
- msh1.MeshId = "http://www.roblox.com/asset/?id=1323306"
- S = Instance.new("Part")
- S.Name = "Effect"
- S.formFactor = 0
- S.Size = Vector3.new(1, 1, 1)
- S.BrickColor = color
- S.Reflectance = 0
- S.TopSurface = 0
- S.BottomSurface = 0
- S.Transparency = 0
- S.Anchored = true
- S.CanCollide = false
- S.CFrame = part.CFrame * CFrame.new(x2, y2, z2) * CFrame.fromEulerAnglesXYZ(x3, y3, z3)
- S.Parent = Character
- msh1.Parent = S
- coroutine.resume(coroutine.create(function(Part, CF)
- for i = 1, 9 do
- Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.15, 0.3, 0.15)
- Part.Transparency = i * 0.1
- swait()
- end
- Part.Parent = nil
- end
- ), S, S.CFrame)
- end
- ss = function(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://roblox.com/asset/?id=10209645"
- SlashSound.Parent = Torso
- SlashSound.Volume = 0.7
- SlashSound.Pitch = pitch
- SlashSound.PlayOnRemove = true
- game.Debris:AddItem(SlashSound, 0.1)
- end
- equipsound = function(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- SlashSound.Parent = Torso
- SlashSound.Volume = 0.5
- SlashSound.Pitch = pitch
- SlashSound.PlayOnRemove = true
- game.Debris:AddItem(SlashSound, 0.1)
- end
- magicsound = function(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2248511"
- SlashSound.Parent = Torso
- SlashSound.Volume = 0.5
- SlashSound.Pitch = pitch
- SlashSound.PlayOnRemove = true
- game.Debris:AddItem(SlashSound, 0.1)
- end
- critsound = function(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2801263"
- SlashSound.Parent = Torso
- SlashSound.Volume = 0.7
- SlashSound.Pitch = pitch
- SlashSound.PlayOnRemove = true
- game.Debris:AddItem(SlashSound, 0.1)
- end
- spikesound = function(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=3264793"
- SlashSound.Parent = Torso
- SlashSound.Volume = 0.7
- SlashSound.Pitch = pitch
- SlashSound.PlayOnRemove = true
- game.Debris:AddItem(SlashSound, 0.1)
- end
- lasersound = function(pitch)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds/Launching rocket.wav"
- SlashSound.Parent = Torso
- SlashSound.Volume = 0.5
- SlashSound.Pitch = pitch
- SlashSound.PlayOnRemove = true
- game.Debris:AddItem(SlashSound, 0.1)
- end
- Damagefunc1 = function(hit, Damage, Knockback)
- if attackdebounce == false then
- attackdebounce = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- attackdebounce = false
- end
- ))
- if hit.Parent == nil then
- return
- end
- CPlayer = Bin
- h = hit.Parent:FindFirstChild("Humanoid")
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if mana < 400 then
- mana = 100
- end
- if mana > 400 then
- mana = 500
- end
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = game.Players.LocalPlayer
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- if math.random(0, 99) + math.random() <= 5 then
- CRIT = true
- Damage = Damage * 1.5
- critsound(2)
- end
- Damage = Damage + math.random(0, 10)
- HitHealth = h.Health
- h:TakeDamage(Damage)
- if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then
- print("gained spree")
- game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
- end
- showDamage(hit.Parent, Damage, 0.5)
- vp = Instance.new("BodyVelocity")
- vp.P = 500
- vp.maxForce = Vector3.new(math.huge, 0, math.huge)
- 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, 0.25)
- game:GetService("Debris"):AddItem(r, 0.5)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, 0.5)
- CRIT = false
- hitDeb = true
- AttackPos = 6
- end
- end
- end
- showDamage = function(Char, Dealt, du)
- m = Instance.new("Model")
- m.Name = tostring(Dealt)
- h = Instance.new("Humanoid")
- h.Health = 0
- h.MaxHealth = 0
- h.Parent = m
- c = Instance.new("Part")
- c.Transparency = 0
- c.BrickColor = BrickColor:Red()
- if CRIT == true then
- c.BrickColor = BrickColor.new("Really red")
- end
- c.Name = "Head"
- c.TopSurface = 0
- c.BottomSurface = 0
- c.formFactor = "Plate"
- c.Size = Vector3.new(1, 0.4, 1)
- ms = Instance.new("CylinderMesh")
- ms.Scale = Vector3.new(0.8, 0.8, 0.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, 0.5 + du)
- c.CanCollide = false
- m.Parent = workspace
- c.CanCollide = false
- end
- hold = false
- ob1d = function(mouse)
- if attack == true then
- return
- end
- if stancing == true then
- return
- end
- hold = true
- if combo == 0 then
- combo = 1
- onehit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- comboing = false
- gairo.Parent = nil
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- ))
- else
- if combo == 1 then
- combo = 2
- twohit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- comboing = false
- gairo.Parent = nil
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- ))
- else
- if combo == 2 then
- combo = 3
- threehit()
- coroutine.resume(coroutine.create(function()
- wait(0.5)
- if attack == false then
- combo = 0
- comboing = false
- gairo.Parent = nil
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- ))
- else
- if combo == 3 then
- combo = 4
- fourhit()
- wait(0.5)
- combo = 0
- comboing = false
- gairo.Parent = nil
- Torso.Neck.C0 = necko * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- end
- end
- end
- ob1u = function(mouse)
- hold = false
- end
- buttonhold = false
- key = function(key)
- if attack == true then
- return
- end
- if key == "q" then
- LaserWave()
- end
- if key == "e" then
- OverBlast()
- end
- -- DECOMPILER ERROR at PC17: Unhandled construct in 'MakeBoolean' P1
- if key ~= "r" or key == "t" then
- LaserBarrage()
- end
- if key == "y" then
- CloseRangedFire()
- end
- if key == "u" then
- SpinLaser()
- end
- if key == "x" then
- Implosion()
- end
- if key == "c" then
- LaserPillars()
- end
- if key == "z" then
- end
- end
- key2 = function(key)
- end
- s = function(mouse)
- mouse.Button1Down:connect(function()
- ob1d(mouse)
- end
- )
- mouse.Button1Up:connect(function()
- ob1u(mouse)
- end
- )
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- player = Player
- ch = Character
- RSH = ch.Torso["Right Shoulder"]
- LSH = ch.Torso["Left Shoulder"]
- RW.Part0 = ch.Torso
- RW.C0 = CFrame.new(1.5, 0.5, 0)
- RW.C1 = CFrame.new(0, 0.5, 0)
- RW.Part1 = ch["Right Arm"]
- RW.Parent = ch.Torso
- LW.Part0 = ch.Torso
- LW.C0 = CFrame.new(-1.5, 0.5, 0)
- LW.C1 = CFrame.new(0, 0.5, 0)
- LW.Part1 = ch["Left Arm"]
- LW.Parent = ch.Torso
- equipanim()
- end
- ds = function(mouse)
- hideanim()
- RW.Parent = nil
- LW.Parent = nil
- RSH.Parent = player.Character.Torso
- LSH.Parent = player.Character.Torso
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- onRunning = function(speed)
- if attack == true then
- return
- end
- if speed > 0 then
- walking = true
- for i = 0, 1, 0.1 do
- swait()
- if attack == false and comboing == false then
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5 * i, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- else
- do
- walking = false
- for i = 0, 1, 0.1 do
- swait()
- if attack == false and comboing == false then
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5 + 0.5 * i, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(-0.5 + 0.5 * i, 0, 0)
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
- end
- end
- end
- end
- end
- Character.Humanoid.Running:connect(onRunning)
- coroutine.resume(coroutine.create(function()
- while 1 do
- swait()
- fentext3.Size = UDim2.new(mana * 0.007, 0, 0.200000006, 0)
- fentext.Text = "Energy(" .. mana .. ")"
- fentext3.BackgroundColor3 = Color3.new(1, 1, 1)
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while 1 do
- wait(0.1)
- if mana <= 0 and attack == false then
- attack = true
- while mana <= 400 do
- wait(0.1)
- mana = 400
- end
- attack = false
- end
- if mana >= 400 or attack == false then
- mana = 400
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while 1 do
- swait()
- for i = 0, 1, 0.01 do
- swait()
- if attack == false and comboing == false then
- wld1.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 6.28) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld2.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 0.785) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld3.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 1.57) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld4.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 2.355) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld5.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.14) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld6.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 3.925) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld7.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 4.71) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- wld8.C0 = CFrame.new(0, 1.6, -1) * CFrame.fromEulerAnglesXYZ(0, 0, 5.495) * CFrame.fromEulerAnglesXYZ(0, 0, math.rad(360) * i)
- end
- end
- end
- end
- ))
Add Comment
Please, Sign In to add comment