Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Player = game:GetService("Players").LocalPlayer
- --FIXED WITH TRIGECTORY's CheatSheet
- 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
- RWL = 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})
- LWL = 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"]
- LSH = Torso["Left Shoulder"]
- LHL = Torso["Left Hip"]
- RS = Torso["Right Shoulder"]
- RHL = Torso["Right Hip"]
- LW = LWL
- ModelName = "Weapon"
- attack = false
- attacktype = 1
- Hitdeb = 0
- Neck = Torso.Neck
- local neckcf0 = Neck.C0
- MMouse = nil
- shCD = false
- bhold = false
- local bonusdmg = 0
- Aura = 0
- local ws = Character.Humanoid.WalkSpeed
- mindamage = 8
- maxdamage = 12
- crtmaxdamage = 20
- omindamage = mindamage
- omaxdamage = maxdamage
- ocrtmaxdamage = crtmaxdamage
- crtrate = 22
- handlecolor = BrickColor.new("Really black")
- bcolor = BrickColor.new("Bright violet")
- gemcolor = BrickColor.new("Alder")
- ToolName = "Galenoir"
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.033333333333333
- if game.Players.LocalPlayer.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
- if Character:findFirstChild("EquippedVal", true) ~= nil then
- Character:findFirstChild("EquippedVal", true).Parent = nil
- end
- if Player.PlayerGui:findFirstChild("AuraGUI", true) ~= nil then
- Player.PlayerGui:findFirstChild("AuraGUI", true).Parent = nil
- end
- ev = Instance.new("BoolValue", Character)
- ev.Name = "EquippedVal"
- ev.Value = false
- player = nil
- RW = Instance.new("Weld")
- anim = "none"
- player = Player
- ch = Character
- AoETrue = {}
- RSH = ch.Torso["Right Shoulder"]
- RWFunc = function()
- RW.Part1 = ch["Right Arm"]
- RSH.Part1 = nil
- end
- LWFunc = function()
- LW.Part1 = ch["Left Arm"]
- LSH.Part1 = nil
- end
- RWLFunc = function()
- RWL.Part1 = ch["Right Leg"]
- RHL.Part1 = nil
- ch["Right Leg"].Name = "RightLeg"
- RightLeg.CanCollide = false
- end
- LWLFunc = function()
- LWL.Part1 = ch["Left Leg"]
- LHL.Part1 = nil
- ch["Left Leg"].Name = "LeftLeg"
- LeftLeg.CanCollide = true
- end
- RWLRem = function()
- RightLeg.Name = "Right Leg"
- RWL.Part1 = nil
- RHL.Part1 = ch["Right Leg"]
- RightLeg.CanCollide = true
- end
- LWLRem = function()
- LeftLeg.Name = "Left Leg"
- LWL.Part1 = nil
- LHL.Part1 = ch["Left Leg"]
- LeftLeg.CanCollide = true
- end
- RWRem = function()
- RW.Part1 = nil
- RSH.Part1 = ch["Right Arm"]
- end
- LWRem = function()
- LW.Part1 = nil
- LSH.Part1 = ch["Left Arm"]
- end
- if Character:findFirstChild(ModelName, true) ~= nil then
- Character:findFirstChild(ModelName, true).Parent = nil
- RHL.Part1 = ch["Right Leg"]
- LHL.Part1 = ch["Left Leg"]
- RSH.Part1 = ch["Right Arm"]
- LSH.Part1 = ch["Left Arm"]
- end
- local swordholder = Instance.new("Model")
- swordholder.Name = ModelName
- swordholder.Parent = Character
- RW.Part0 = ch.Torso
- 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)
- RW.Parent = swordholder
- LW.Part0 = ch.Torso
- LW.C0 = CFrame.new(-1.5, 0.5, 0)
- LW.C1 = CFrame.new(0, 0.5, 0)
- LW.Parent = swordholder
- RWL.Part0 = ch.Torso
- RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
- RWL.C1 = CFrame.new(0.5, 1, 0)
- RWL.Parent = swordholder
- LWL.Part0 = ch.Torso
- LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
- LWL.C1 = CFrame.new(-0.5, 1, 0)
- LWL.Parent = swordholder
- local msh1 = Instance.new("CylinderMesh")
- msh1.Scale = Vector3.new(1, 1, 1)
- local msh2 = Instance.new("CylinderMesh")
- msh2.Scale = Vector3.new(1.1, 1, 1.1)
- local msh3 = Instance.new("CylinderMesh")
- msh3.Scale = Vector3.new(0.5, 1.075, 0.5)
- local msh4 = Instance.new("SpecialMesh")
- msh4.Scale = Vector3.new(0.35, 0.85, 0.35)
- msh4.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- local msh5 = Instance.new("SpecialMesh")
- msh5.Scale = Vector3.new(0.35, 0.85, 0.35)
- msh5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
- local msh6 = Instance.new("SpecialMesh")
- msh6.Scale = Vector3.new(0.35, 1.5, 0.35)
- msh6.MeshId = "http://www.roblox.com/asset/?id=1051557"
- local msh7 = Instance.new("SpecialMesh")
- msh7.Scale = Vector3.new(0.35, 1.5, 0.35)
- msh7.MeshId = "http://www.roblox.com/asset/?id=1051557"
- local msh8 = Instance.new("SpecialMesh")
- msh8.Scale = Vector3.new(0.2, 0.3, 0.2)
- msh8.MeshId = "http://www.roblox.com/asset/?id=20329976"
- local msh9 = Instance.new("SpecialMesh")
- msh9.Scale = Vector3.new(0.2, 0.3, 0.2)
- msh9.MeshId = "http://www.roblox.com/asset/?id=20329976"
- local msh10 = Instance.new("CylinderMesh")
- msh10.Scale = Vector3.new(1, 0.1, 1)
- local msh11 = Instance.new("CylinderMesh")
- msh11.Scale = Vector3.new(1, 0.1, 1)
- local prt1 = Instance.new("Part")
- prt1.formFactor = 3
- prt1.CanCollide = false
- prt1.Name = "Handle"
- prt1.Locked = true
- prt1.Size = Vector3.new(0.2, 6.5, 0.2)
- prt1.Parent = swordholder
- msh1.Parent = prt1
- prt1.BrickColor = handlecolor
- local prt2 = Instance.new("Part")
- prt2.formFactor = 3
- prt2.CanCollide = false
- prt2.Name = "Handle2"
- prt2.Locked = true
- prt2.Size = Vector3.new(0.2, 1, 0.2)
- prt2.Parent = swordholder
- msh2.Parent = prt2
- prt2.BrickColor = bcolor
- local prt3 = Instance.new("Part")
- prt3.formFactor = 3
- prt3.CanCollide = false
- prt3.Name = "HandleDesign1"
- prt3.Locked = true
- prt3.Size = Vector3.new(0.2, 0.2, 0.2)
- prt3.Parent = swordholder
- msh3.Parent = prt3
- prt3.BrickColor = handlecolor
- local prt3a = prt3:clone()
- prt3a.Parent = swordholder
- local prt4 = Instance.new("Part")
- prt4.formFactor = 3
- prt4.CanCollide = false
- prt4.Name = "Tip1"
- prt4.Locked = true
- prt4.Size = Vector3.new(0.2, msh4.Scale.Y, 0.2)
- prt4.Parent = swordholder
- prt4.Reflectance = 0.25
- msh4.Parent = prt4
- prt4.BrickColor = handlecolor
- local prt5 = Instance.new("Part")
- prt5.formFactor = 3
- prt5.CanCollide = false
- prt5.Name = "Tip2"
- prt5.Locked = true
- prt5.Size = Vector3.new(0.2, msh5.Scale.Y, 0.2)
- prt5.Parent = swordholder
- prt5.Reflectance = 0.25
- msh5.Parent = prt5
- prt5.BrickColor = handlecolor
- local prt6 = Instance.new("Part")
- prt6.formFactor = 3
- prt6.CanCollide = false
- prt6.Name = "TipDesign1"
- prt6.Locked = true
- prt6.Size = Vector3.new(0.2, 0.2, 0.2)
- prt6.Parent = swordholder
- prt6.Transparency = 0.2
- msh6.Parent = prt6
- prt6.BrickColor = bcolor
- local prt7 = Instance.new("Part")
- prt7.formFactor = 3
- prt7.CanCollide = false
- prt7.Name = "TipDesign2"
- prt7.Locked = true
- prt7.Size = Vector3.new(0.2, 0.2, 0.2)
- prt7.Parent = swordholder
- prt7.Transparency = 0.2
- msh7.Parent = prt7
- prt7.BrickColor = bcolor
- local prt8 = Instance.new("Part")
- prt8.formFactor = 3
- prt8.CanCollide = false
- prt8.Name = "TipDesign3"
- prt8.Locked = true
- prt8.Size = Vector3.new(0.2, 0.2, 0.2)
- prt8.Parent = swordholder
- msh8.Parent = prt8
- prt8.BrickColor = gemcolor
- local prt9 = Instance.new("Part")
- prt9.formFactor = 3
- prt9.CanCollide = false
- prt9.Name = "TipDesign4"
- prt9.Locked = true
- prt9.Size = Vector3.new(0.2, 0.2, 0.2)
- prt9.Parent = swordholder
- msh9.Parent = prt9
- prt9.BrickColor = gemcolor
- local prt10 = Instance.new("Part")
- prt10.formFactor = 3
- prt10.CanCollide = false
- prt10.Name = "TipDesign5"
- prt10.Locked = true
- prt10.Size = Vector3.new(0.3, 0.2, 0.3)
- prt10.Parent = swordholder
- msh10.Parent = prt10
- prt10.BrickColor = gemcolor
- local prt11 = Instance.new("Part")
- prt11.formFactor = 3
- prt11.CanCollide = false
- prt11.Name = "TipDesign6"
- prt11.Locked = true
- prt11.Size = Vector3.new(0.3, 0.2, 0.3)
- prt11.Parent = swordholder
- msh11.Parent = prt11
- prt11.BrickColor = gemcolor
- local w1 = Instance.new("Weld")
- w1.Parent = prt1
- w1.Part0 = prt1
- local w2 = Instance.new("Weld")
- w2.Parent = prt2
- w2.Part0 = prt2
- w2.Part1 = prt1
- w2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- local w3 = Instance.new("Weld")
- w3.Parent = prt3
- w3.Part0 = prt3
- w3.Part1 = prt1
- w3.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), 0, 0)
- local w3a = Instance.new("Weld")
- w3a.Parent = prt3a
- w3a.Part0 = prt3a
- w3a.Part1 = prt1
- w3a.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w3a.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0)
- local w4 = Instance.new("Weld")
- w4.Parent = prt4
- w4.Part0 = prt4
- w4.Part1 = prt1
- w4.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w4.C0 = CFrame.new(0, 3.25, 0) * CFrame.Angles(0, 0, 0)
- local w5 = Instance.new("Weld")
- w5.Parent = prt5
- w5.Part0 = prt5
- w5.Part1 = prt1
- w5.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w5.C0 = CFrame.new(0, -3.25, 0) * CFrame.Angles(0, 0, 0)
- local w6 = Instance.new("Weld")
- w6.Parent = prt6
- w6.Part0 = prt6
- w6.Part1 = prt1
- w6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w6.C0 = CFrame.new(0, 2.3, 0) * CFrame.Angles(0, 0, 0)
- local w7 = Instance.new("Weld")
- w7.Parent = prt7
- w7.Part0 = prt7
- w7.Part1 = prt1
- w7.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w7.C0 = CFrame.new(0, 2.3, 0) * CFrame.Angles(math.rad(180), 0, 0)
- local w8 = Instance.new("Weld")
- w8.Parent = prt8
- w8.Part0 = prt8
- w8.Part1 = prt1
- w8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w8.C0 = CFrame.new(0, 2.8, 0) * CFrame.Angles(0, 0, 0)
- local w9 = Instance.new("Weld")
- w9.Parent = prt9
- w9.Part0 = prt9
- w9.Part1 = prt1
- w9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w9.C0 = CFrame.new(0, 2.8, 0) * CFrame.Angles(math.rad(180), 0, 0)
- local w10 = Instance.new("Weld")
- w10.Parent = prt10
- w10.Part0 = prt10
- w10.Part1 = prt1
- w10.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w10.C0 = CFrame.new(0, 2.95, 0) * CFrame.Angles(0, 0, 0)
- local w11 = Instance.new("Weld")
- w11.Parent = prt11
- w11.Part0 = prt11
- w11.Part1 = prt1
- w11.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
- w11.C0 = CFrame.new(0, -2.95, 0) * CFrame.Angles(0, 0, 0)
- local RAP = Instance.new("Part")
- RAP.formFactor = 0
- RAP.CanCollide = false
- RAP.Name = "RAPart"
- RAP.Locked = true
- RAP.Size = Vector3.new(1, 1, 1)
- RAP.Parent = swordholder
- RAP.Transparency = 1
- local w = Instance.new("Weld")
- w.Parent = RAP
- w.Part0 = RAP
- w.Part1 = RightArm
- w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
- local Aufra = Instance.new("ScreenGui")
- Aufra.Parent = Player.PlayerGui
- Aufra.Name = "AuraGUI"
- AText = Instance.new("TextLabel", Aufra)
- AText.Position = UDim2.new(0.5, 0, 0, 0)
- AText.Size = UDim2.new(0, 100, 0, 100)
- AText.ZIndex = 3
- AText.BackgroundTransparency = 1
- AText.Font = "Legacy"
- AText.TextScaled = true
- AText.TextColor3 = Color3.new(0, 0, 0)
- AText.TextStrokeColor3 = Color3.new(1, 1, 1)
- AText.TextStrokeTransparency = 0
- AText.Text = Aura
- local Aura1 = Instance.new("ImageLabel")
- Aura1.Parent = Aufra
- Aura1.Position = UDim2.new(0.5, 0, 0, 0)
- Aura1.Size = UDim2.new(0, 100, 0, 100)
- Aura1.Image = "http://www.roblox.com/asset/?id=52037432"
- Aura1.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
- local Aura2 = Instance.new("ImageLabel")
- Aura2.Parent = Aufra
- Aura2.Position = UDim2.new(0.5, 0, 0, 0)
- Aura2.Size = UDim2.new(0, 100, 0, 100)
- Aura2.Image = "http://www.roblox.com/asset/?id=52037432"
- Aura2.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
- Aura2.Rotation = 45
- unequipweld = function()
- w1.Part1 = Torso
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-0.5, -0.5, -0.6)
- end
- unequipweld()
- equipweld = function()
- w1.Part1 = RAP
- w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
- w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0)
- end
- ss = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- end
- uss = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- end
- cs = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- end
- ls = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- end
- ts = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222030"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- end
- fs = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- end
- srfs = function(parent, p, v)
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222132"
- SlashSound.Parent = parent
- SlashSound.Volume = v or 0.7
- SlashSound.Pitch = p
- SlashSound.PlayOnRemove = true
- coroutine.resume(coroutine.create(function()
- wait(0.1)
- SlashSound.Parent = nil
- end
- ))
- end
- returndmg = function()
- mindamage = omindamage
- maxdamage = omaxdamage
- crtmaxdamage = ocrtmaxdamage
- end
- subdmg = function(sub)
- mindamage = omindamage - sub
- maxdamage = omaxdamage - sub
- crtmaxdamage = ocrtmaxdamage - sub
- end
- prcntdmg = function(sub)
- mindamage = math.floor(omindamage - omindamage * (sub / 100))
- maxdamage = math.floor(omaxdamage - omaxdamage * (sub / 100))
- crtmaxdamage = math.floor(ocrtmaxdamage - ocrtmaxdamage * (sub / 100))
- end
- tagHumanoid = function(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- untagHumanoid = function(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- local rayCast = function(Pos, Dir, Max, Ignore)
- return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- hideanim = function()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 90 * i), 0, math.rad(-45 + 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 + 0.5 * i, 0.5, -0.5 - 0.5 * i) * CFrame.Angles(math.rad(45 + 90 * i), 0, math.rad(45 + 35 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(0))
- end
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(180 + 90 * i), 0, math.rad(45 - 80 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-0.5 + 0.5 * i, 0.5, -1) * CFrame.Angles(math.rad(135), 0, math.rad(85))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 * i), 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- end
- unequipweld()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(270 - 270 * i), 0, math.rad(-35 + 35 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(135 - 135 * i), 0, math.rad(85 - 85 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 + 45 * i), 0, 0)
- end
- LWRem()
- RWRem()
- attack = false
- end
- equipanim = function()
- attack = true
- RWFunc()
- LWFunc()
- uss(Head, 1, 0.5)
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-90 * i), 0, math.rad(-45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- end
- equipweld()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-90 + 180 * i), 0, math.rad(-45 + 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90 + 180 * i), 0, math.rad(90))
- end
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90 + 90 * i), 0, math.rad(45 - 45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(90 + 180 * i), 0, math.rad(90))
- end
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(180 - 90 * i), 0, math.rad(-45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(45 * i), 0, math.rad(45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(90 - 90 * i))
- end
- attack = false
- end
- if script.Parent.className ~= "HopperBin" then
- Tool = Instance.new("HopperBin")
- Tool.Parent = Backpack
- Tool.Name = ToolName
- script.Parent = Tool
- end
- Bin = script.Parent
- damagesplat = function(dmg, hit)
- local mo = Instance.new("Model")
- mo.Name = dmg
- local pa = Instance.new("Part", mo)
- pa.formFactor = 3
- pa.Size = Vector3.new(0.8, 0.3, 0.8)
- pa.BrickColor = BrickColor.new("Bright red")
- pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
- pa.Name = "Head"
- local hah = Instance.new("Humanoid")
- hah.Parent = mo
- hah.MaxHealth = 0
- hah.Health = 0
- local bp = Instance.new("BodyPosition")
- bp.P = 14000
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.position = hit.Position + Vector3.new(0, 5, 0)
- coroutine.resume(coroutine.create(function()
- swait()
- mo.Parent = workspace
- bp.Parent = pa
- wait(1.4)
- mo:remove()
- end
- ))
- end
- damage = function(hum, dmg, critornot)
- damagesplat(dmg, hum.Torso, critornot)
- HitHealth = hum.Health
- hum:TakeDamage(dmg)
- if HitHealth ~= hum.Health and HitHealth ~= 0 and hum.Health <= 0 and hum.Parent.Name ~= "Lost Soul" then
- print("gained spree")
- Player:FindFirstChild("leaderstats").Spree.Value = Player.leaderstats.Spree.Value + 1
- end
- coroutine.resume(coroutine.create(function()
- tagHumanoid(hum, Player)
- wait(1)
- untagHumanoid(hum)
- end
- ))
- end
- OT = function(hit)
- if Hitdeb == 1 then
- return
- end
- if hit.Parent == nil then
- return
- end
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum ~= Character.Humanoid then
- local critrandomizer = math.random(crtrate)
- local rndmdamage = math.random(mindamage, maxdamage) + bonusdmg
- damage(hum, rndmdamage, true)
- Hitdeb = 1
- end
- end
- OT2 = function(hit)
- if Hitdeb == 1 then
- return
- end
- if hit.Parent == nil then
- return
- end
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum ~= Character.Humanoid then
- local critrandomizer = math.random(crtrate)
- local rndmdamage = math.random(mindamage, maxdamage)
- damage(hum, rndmdamage, false)
- hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.Angles(-0.5 * math.random(), 0, 0)
- Hitdeb = 1
- end
- end
- AoE = function(p, magnitude)
- 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 mag = (head.Position - p).magnitude
- if mag <= magnitude and c[i].Name ~= Character.Name then
- local foundd = false
- for ii = 1, #AoETrue do
- if AoETrue[ii] == c[i].Name then
- foundd = true
- end
- end
- do
- do
- if not foundd or not foundd then
- local rndmdamage = math.random(mindamage, maxdamage) + bonusdmg
- table.insert(AoETrue, c[i].Name)
- end
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out DO_STMT
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- end
- end
- for ii = 1, #AoETrue do
- table.remove(AoETrue, #AoETrue)
- end
- end
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / 2, 0)
- effect = function(Color, Ref, LP, P1, returnn)
- local effectsmsh = Instance.new("BlockMesh")
- effectsmsh.Scale = Vector3.new(1, 1, 1)
- effectsmsh.Name = "Mesh"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.2, 1, 0.2)
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = BrickColor.new(Color)
- effectsg.Reflectance = Ref
- local point1 = P1
- local mg = (LP.p - point1.p).magnitude
- effectsg.Size = Vector3.new(0.2, mg, 0.2)
- effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
- if returnn then
- return effectsg
- end
- coroutine.resume(coroutine.create(function()
- if not returnn then
- for i = 0, 1, 0.1 do
- swait()
- effectsg.Transparency = 1 * i
- effectsmsh.Scale = Vector3.new(1 - 1 * i, 1, 1 - 1 * i)
- end
- swait()
- effectsg.Parent = nil
- end
- end
- ))
- end
- con = nil
- dmgcnnct = function()
- if con ~= nil then
- con:disconnect()
- Hitdeb = 0
- end
- con = prt1.Touched:connect(OT)
- end
- dmgflipcnnct = function()
- if con ~= nil then
- con:disconnect()
- Hitdeb = 0
- end
- con = prt1.Touched:connect(OT2)
- end
- dmgdc = function()
- if con ~= nil then
- con:disconnect()
- Hitdeb = 0
- end
- end
- rptddmg = function(value, des, inc)
- coroutine.resume(coroutine.create(function()
- repeat
- wait(inc)
- Hitdeb = 0
- until value == des
- end
- ))
- end
- atktype = function(s, e)
- coroutine.resume(coroutine.create(function()
- attacktype = e
- wait(0.5)
- attacktype = s
- end
- ))
- end
- Slash1 = function()
- if shCD == true then
- return
- end
- shCD = true
- attack = true
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1, 0.5 + 1 * i, -0.5) * CFrame.Angles(math.rad(90 + 90 * i), 0, math.rad(-45))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5 + 1 * i, -0.5) * CFrame.Angles(math.rad(45 + 135 * i), 0, math.rad(45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(135 * i))
- end
- local TorsPos = Torso.Position
- local bp = Instance.new("BodyPosition", Torso)
- bp.maxForce = Vector3.new(0, math.huge, 0)
- bp.P = 14000
- bp.position = TorsPos + Vector3.new(0, 2, 0)
- local mesh = Instance.new("CylinderMesh")
- mesh.Scale = Vector3.new(5.1, 0.1, 5.1)
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 3
- shell.Size = Vector3.new(1, 0.5, 1)
- shell.CFrame = CFrame.new() + prt1.Position
- shell.Parent = swordholder
- shell.Transparency = 0.5
- shell.BrickColor = BrickColor.new("White")
- shell.CanCollide = false
- local mesh2 = Instance.new("SpecialMesh")
- mesh2.Scale = Vector3.new(5.5, 1, 5.5)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557"
- local shell2 = Instance.new("Part")
- shell2.Anchored = true
- mesh2.Parent = shell2
- shell2.formFactor = 3
- shell2.Size = Vector3.new(0.2, 0.2, 0.2)
- shell2.CFrame = shell.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- shell2.Parent = swordholder
- shell2.Transparency = 0.5
- shell2.BrickColor = BrickColor.new("Pastel Blue")
- shell2.CanCollide = false
- local derp = false
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.2 do
- swait()
- shell.Transparency = 1 - 0.5 * i
- shell2.Transparency = 1 - 0.5 * i
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- local ii = 0
- local yy = 1
- repeat
- swait()
- ii = ii + 50
- if yy > 1 then
- yy = yy + 0.25
- else
- if yy >= 1 then
- yy = yy - 0.25
- end
- end
- shell.CFrame = CFrame.Angles(0, math.rad(ii), 0) + prt1.Position
- shell2.CFrame = shell.CFrame * CFrame.Angles(math.rad(180), 0, 0)
- mesh2.Scale = Vector3.new(5.5, yy, 5.5)
- until derp
- for i = 0, 1, 0.1 do
- swait()
- yy = yy + 0.5
- shell.Transparency = 0.5 + 0.5 * i
- shell2.Transparency = 0.5 + 0.5 * i
- mesh2.Scale = Vector3.new(5.5 - 2 * i, yy, 5.5 - 2 * i)
- end
- shell.Parent = nil
- shell2.Parent = nil
- end
- ))
- while bhold == true and Aura > 5 do
- swait()
- Aura = Aura - 5
- dmgcnnct()
- prcntdmg(50)
- rptddmg(derp, true, 0.75)
- for rep = 1, 2 do
- ss(Head, 1, 0.5)
- for i = 0, 1, 0.2 do
- swait()
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(180 * i), math.rad(135))
- end
- ss(Head, 1, 0.5)
- for i = 0, 1, 0.2 do
- swait()
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(180 + 180 * i), math.rad(135))
- end
- end
- returndmg()
- dmgdc()
- end
- derp = true
- local done = false
- local hit, pos = nil, nil
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 1.5 - 1 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(180 - 45 * i), 0, math.rad(-45 + 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 1.5 - 1 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(180 - 45 * i), 0, math.rad(45 - 90 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(135 - 135 * i))
- w1.C1 = CFrame.new(0, 0, 0)
- if i > 0.5 and not done then
- hit = rayCast(Torso.Position, Torso.CFrame * CFrame.Angles(math.rad(-90), 0, 0).lookVector, 100, Character)
- bp.position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0)
- bp.P = 5000
- done = true
- end
- end
- dmgcnnct()
- local p1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1.5 - 1 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(135 - 90 * i), 0, math.rad(45 - 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(135 - 180 * i), 0, math.rad(-45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- w1.C1 = CFrame.new(0, 0, 0)
- end
- bp.Parent = nil
- ss(Head, 1.5, 1)
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(0.5, 0.5, -1) * CFrame.Angles(math.rad(45 - 10 * i), 0, math.rad(-45 - 10 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-45), 0, math.rad(-45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- w1.C1 = CFrame.new(0, 0, 0)
- end
- local effectsmsh = Instance.new("SpecialMesh")
- effectsmsh.Scale = Vector3.new(0.5, 1, 0.5)
- effectsmsh.MeshId = "http://www.roblox.com/asset/?id=13425802"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = bcolor
- effectsg.Reflectance = 0.25
- local point1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- local LP = p1
- local mg = (LP.p - point1.p).magnitude
- effectsmsh.Scale = Vector3.new(mg / 3, 1, 0.2)
- effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- effectsg.Transparency = 1 * i
- end
- swait()
- effectsg.Parent = nil
- end
- ))
- wait(0.2)
- dmgdc()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(35 + 55 * i), 0, math.rad(-55 + 10 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(-45 + 90 * i), 0, math.rad(-45 + 90 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- attack = false
- wait(15)
- shCD = false
- end
- RoundSlash = function()
- attack = true
- ss(Head, 1, 0.5)
- local TorsCF = Torso.CFrame
- local bg = Instance.new("BodyGyro", Torso)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = bg.P * 25
- bg.cframe = TorsCF
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 45 * i), 0, math.rad(-45 + 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(45 + 25 * i), 0, math.rad(45 - 90 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- dmgcnnct()
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1.5 - 1 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(135 - 90 * i), 0, math.rad(45 - 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(70 - 90 * i), 0, math.rad(-45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45 * i))
- w1.C1 = CFrame.Angles(math.rad(-25 * i), 0, 0)
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(180 * i), 0)
- end
- Hitdeb = 0
- RWLFunc()
- LWLFunc()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(0.5, 0.5, -1) * CFrame.Angles(math.rad(45), 0, math.rad(-45 - 25 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- RWL.C0 = CFrame.new(1, -1 + 1 * i, -1 * i) * CFrame.Angles(0, 0, 0)
- RWL.C1 = CFrame.new(0.5, 1, 0)
- LWL.C0 = CFrame.new(-1, -1 - 0.5 * i, -0.5 * i) * CFrame.Angles(math.rad(-90 * i), 0, 0)
- LWL.C1 = CFrame.new(-0.5, 1, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45))
- w1.C1 = CFrame.Angles(math.rad(-25), 0, 0)
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(180 + 180 * i), 0)
- end
- dmgdc()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(-70 + 25 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(-20 + 65 * i), 0, math.rad(-45 + 90 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- RWL.C0 = CFrame.new(1, -1 * i, -1 + 1 * i) * CFrame.Angles(0, 0, 0)
- RWL.C1 = CFrame.new(0.5, 1, 0)
- LWL.C0 = CFrame.new(-1, -1.5 + 0.5 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(-90 + 90 * i), 0, 0)
- LWL.C1 = CFrame.new(-0.5, 1, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45 - 45 * i))
- w1.C1 = CFrame.Angles(math.rad(-25 + 25 * i), 0, 0)
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(360 * i), 0)
- end
- RWLRem()
- LWLRem()
- wait(0.1)
- bg.Parent = nil
- wait(0.1)
- attack = false
- end
- Combo1 = function()
- attack = true
- ss(Head, 1, 0.5)
- ss(Head, 2, 0.5)
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- dmgcnnct()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 90 * i), math.rad(-45 * i), math.rad(-45 + 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 + 1 * i, 0.5, -0.5 - 0.5 * i) * CFrame.Angles(math.rad(45 + 90 * i), 0, math.rad(45 + 45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45 - 270 * i), math.rad(0), math.rad(0))
- if i > 0.2 then
- ss(Head, 2, 0.5)
- end
- end
- Hitdeb = 0
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.8 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(180 - 145 * i), math.rad(-45), math.rad(45 - 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(135 - 45 * i), 0, math.rad(90 - 80 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
- end
- dmgdc()
- atktype(1, 2)
- attack = false
- for i = 0, 1, 0.1 do
- if attack then
- return
- end
- swait()
- RW.C0 = CFrame.new(0.7 - 0.2 * i, 0.5, -1) * CFrame.Angles(math.rad(35 - 20 * i), math.rad(-45), math.rad(-45 - 20 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(10))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- for i = 0, 1, 0.1 do
- if attack then
- return
- end
- swait()
- RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(15 + 75 * i), math.rad(-45 + 45 * i), math.rad(-65 + 20 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(10 + 35 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
- end
- end
- Combo2 = function()
- attack = true
- ss(Head, 1, 0.5)
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(0.7, 0.5, -1) * CFrame.Angles(math.rad(35 + 55 * i), math.rad(-45 + 135 * i), math.rad(-45 + 45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 * i), 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
- end
- dmgflipcnnct()
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(0.7 - 0.8 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 + 195 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10 + 80 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- dmgdc()
- local TorsCF = Torso.CFrame
- local bg = Instance.new("BodyGyro", Torso)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 100000
- bg.cframe = TorsCF
- ss(Head, 1, 0.5)
- dmgflipcnnct()
- for i = 0, 1, 0.15 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 180 * i), 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(90 - 180 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 * i), 0)
- end
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 + 180 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 - 270 * i), 0)
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- dmgdc()
- bg.Parent = nil
- attack = false
- atktype(1, 3)
- for i = 0, 1, 0.2 do
- if attack then
- break
- end
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 + 20 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- do
- for i = 0, 1, 0.1 do
- if attack then
- break
- end
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(-45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(155 - 155 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- end
- end
- Combo3 = function()
- attack = true
- wait(0.1)
- local TorsCF = Torso.CFrame
- local bg = Instance.new("BodyGyro", Torso)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 100000
- bg.cframe = TorsCF
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 90 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 * i))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 * i), 0)
- end
- local P1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- local hitt = nil
- local TorsPos = P1.p
- local bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.P = 14000
- bp.position = TorsPos + Vector3.new(0, 5, 0)
- local connection = prt1.Touched:connect(function(hit)
- if hitt ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil then
- hitt = hit.Parent.Torso
- bp.Parent = hitt
- wait(2)
- bp.Parent = nil
- end
- end
- )
- subdmg(-10)
- dmgflipcnnct()
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(45 - 135 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90), 0)
- end
- srfs(Head, 1, 0.5)
- ss(Head, 1, 0.5)
- returndmg()
- dmgdc()
- local P2 = CFrame.new(P1.p) * CFrame.new(0, 15, 0) * CFrame.Angles(math.rad(-10), 0, 0)
- local effectsmsh = Instance.new("SpecialMesh")
- effectsmsh.MeshType = "Sphere"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(1, 1, 1)
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = bcolor
- effectsg.Reflectance = 0.25
- local point1 = P2
- local LP = P1
- local mg = (LP.p - point1.p).magnitude
- effectsmsh.Scale = Vector3.new(mg / 5, mg * 2, mg / 5)
- effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -mg, 0)
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- effectsg.Transparency = 1 * i
- end
- swait()
- effectsg.Parent = nil
- end
- ))
- connection:disconnect()
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90 - 135 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-90 + 90 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 + 90 * i))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 - 90 * i), 0)
- end
- Neck.C0 = neckcf0
- bg.Parent = nil
- attack = false
- end
- Combo1B = function()
- attack = true
- ss(Head, 1, 0.5)
- ss(Head, 2, 0.5)
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- dmgcnnct()
- for i = 0, 1, 0.15 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 90 * i), math.rad(-45 * i), math.rad(-45 + 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 + 1 * i, 0.5, -0.5 - 0.5 * i) * CFrame.Angles(math.rad(45 + 90 * i), 0, math.rad(45 + 45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45 - 270 * i), math.rad(0), math.rad(0))
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- if i > 0.2 then
- ss(Head, 2, 0.5)
- end
- end
- Hitdeb = 0
- for i = 0, 1, 0.3 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.8 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(180 - 145 * i), math.rad(-45), math.rad(45 - 90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(135 - 45 * i), 0, math.rad(90 - 80 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- dmgdc()
- atktype(1, 2)
- attack = false
- for i = 0, 1, 0.15 do
- if attack then
- return
- end
- swait()
- RW.C0 = CFrame.new(0.7 - 0.2 * i, 0.5, -1) * CFrame.Angles(math.rad(35 - 20 * i), math.rad(-45), math.rad(-45 - 20 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(10))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- for i = 0, 1, 0.15 do
- if attack then
- return
- end
- swait()
- RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(15 + 75 * i), math.rad(-45 + 45 * i), math.rad(-65 + 20 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(10 + 35 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
- end
- end
- Combo2B = function()
- attack = true
- ss(Head, 1, 0.5)
- for i = 0, 1, 0.15 do
- swait()
- RW.C0 = CFrame.new(0.7, 0.5, -1) * CFrame.Angles(math.rad(35 + 55 * i), math.rad(-45 + 135 * i), math.rad(-45 + 45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 * i), 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
- end
- dmgflipcnnct()
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- for i = 0, 1, 0.3 do
- swait()
- RW.C0 = CFrame.new(0.7 - 0.8 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 + 195 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10 + 80 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- dmgdc()
- local TorsCF = Torso.CFrame
- local bg = Instance.new("BodyGyro", Torso)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 100000
- bg.cframe = TorsCF
- ss(Head, 1, 0.5)
- dmgflipcnnct()
- for i = 0, 1, 0.225 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 180 * i), 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(90 - 180 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 * i), 0)
- end
- LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- for i = 0, 1, 0.15 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 + 180 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 - 270 * i), 0)
- local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- effect("White", 0.5, LastPoint, Point)
- LastPoint = Point
- end
- dmgdc()
- bg.Parent = nil
- attack = false
- atktype(1, 3)
- for i = 0, 1, 0.3 do
- if attack then
- break
- end
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 + 20 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- do
- for i = 0, 1, 0.15 do
- if attack then
- break
- end
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(-45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(155 - 155 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- end
- end
- Combo3B = function()
- attack = true
- wait(0.1)
- local TorsCF = Torso.CFrame
- local bg = Instance.new("BodyGyro", Torso)
- bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- bg.P = 100000
- bg.cframe = TorsCF
- for i = 0, 1, 0.15 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(90 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 90 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 * i))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 * i), 0)
- end
- local P1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
- local hitt = nil
- local TorsPos = P1.p
- local bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.P = 14000
- bp.position = TorsPos + Vector3.new(0, 5, 0)
- local connection = prt1.Touched:connect(function(hit)
- if hitt ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil then
- hitt = hit.Parent.Torso
- bp.Parent = hitt
- wait(2)
- bp.Parent = nil
- end
- end
- )
- subdmg(-10)
- dmgflipcnnct()
- for i = 0, 1, 0.3 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(45 - 135 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90), 0)
- end
- srfs(Head, 1, 0.5)
- ss(Head, 1, 0.5)
- returndmg()
- dmgdc()
- local P2 = CFrame.new(P1.p) * CFrame.new(0, 15, 0) * CFrame.Angles(math.rad(-10), 0, 0)
- local effectsmsh = Instance.new("SpecialMesh")
- effectsmsh.MeshType = "Sphere"
- local effectsg = Instance.new("Part")
- effectsg.formFactor = 3
- effectsg.CanCollide = false
- effectsg.Name = "Eff"
- effectsg.Locked = true
- effectsg.Anchored = true
- effectsg.Size = Vector3.new(1, 1, 1)
- effectsg.Parent = swordholder
- effectsmsh.Parent = effectsg
- effectsg.BrickColor = bcolor
- effectsg.Reflectance = 0.25
- local point1 = P2
- local LP = P1
- local mg = (LP.p - point1.p).magnitude
- effectsmsh.Scale = Vector3.new(mg / 5, mg * 2, mg / 5)
- effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -mg, 0)
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.15 do
- swait()
- effectsg.Transparency = 1 * i
- end
- swait()
- effectsg.Parent = nil
- end
- ))
- connection:disconnect()
- for i = 0, 1, 0.3 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90 - 135 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-90 + 90 * i), 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 + 90 * i))
- bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 - 90 * i), 0)
- end
- Neck.C0 = neckcf0
- bg.Parent = nil
- attack = false
- end
- local helm = Instance.new("Part")
- helm.formFactor = 3
- helm.CanCollide = false
- helm.Name = "LancerHelm"
- helm.Locked = true
- helm.Size = Vector3.new(0.2, 0.2, 0.2)
- helm.BrickColor = bcolor
- local helmm = Instance.new("SpecialMesh")
- helmm.MeshId = "http://www.roblox.com/asset/?id=27719952"
- helmm.Parent = helm
- local helmw = Instance.new("Weld")
- local LancerM = false
- LancerMode = function()
- attack = true
- if not LancerM then
- do
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(-45 + 135 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(45 - 45 * i), 0, math.rad(45 - 45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(0))
- end
- end
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, 0) * CFrame.Angles(math.rad(-45 * i), 0, math.rad(45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- end
- helm.Parent = swordholder
- helmw.Parent = helm
- helmw.Part0 = helm
- helmw.Part1 = LeftArm
- helmw.C0 = CFrame.Angles(math.rad(90), 0, math.rad(90))
- helmw.C1 = CFrame.new(0, -1.5, 0)
- bonusdmg = 5
- LancerM = true
- swait()
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, 0) * CFrame.Angles(math.rad(-45 + 90 * i), 0, math.rad(45 - 90 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- end
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 - 0.5 * i, 0.5 + 1 * i, 0) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(-45 + 135 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- end
- helmw.Part1 = Head
- helmw.C0 = CFrame.new(0, -0.25, 0)
- helmw.C1 = CFrame.new()
- coroutine.resume(coroutine.create(function()
- local meshb = Instance.new("SpecialMesh")
- meshb.Scale = Vector3.new(0, 0, 0)
- meshb.MeshType = "Sphere"
- local shellb = Instance.new("Part")
- meshb.Parent = shellb
- shellb.Anchored = true
- shellb.formFactor = 3
- shellb.Size = Vector3.new(1, 1, 1)
- shellb.CFrame = Torso.CFrame
- shellb.Parent = swordholder
- shellb.Transparency = 0
- shellb.BrickColor = bcolor
- shellb.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.05 do
- swait()
- shellb.Transparency = 1 * i
- meshb.Scale = Vector3.new(20 * i, 20 * i, 20 * i)
- end
- shellb.Parent = nil
- end
- ))
- local spinval = 0
- local SlashSound = Instance.new("Sound")
- SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
- SlashSound.Parent = Head
- SlashSound.Volume = 0.25
- SlashSound.Pitch = 0.1
- SlashSound.PlayOnRemove = true
- SlashSound.Looped = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound.Parent = nil
- end
- ))
- local SlashSound2 = Instance.new("Sound")
- SlashSound2.SoundId = "http://www.roblox.com/asset?id=1369158"
- SlashSound2.Parent = Head
- SlashSound2.Volume = 1
- SlashSound2.Pitch = 0.05
- SlashSound2.PlayOnRemove = true
- SlashSound2.Looped = true
- coroutine.resume(coroutine.create(function()
- swait()
- SlashSound2.Parent = nil
- end
- ))
- local ws = Character.Humanoid.WalkSpeed
- while 1 do
- wait(0.05)
- Character.Humanoid.WalkSpeed = ws * 1.25
- spinval = spinval + 0.1
- local mesh = Instance.new("SpecialMesh")
- do
- mesh.Scale = Vector3.new(5.1, 5, 5.1)
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 3
- shell.Size = Vector3.new(0.2, 0.2, 0.2)
- shell.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
- shell.Parent = swordholder
- shell.Transparency = 1
- shell.BrickColor = handlecolor
- shell.CanCollide = false
- local mesh2 = Instance.new("SpecialMesh")
- mesh2.Scale = Vector3.new(8, 8, 8)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557"
- local shell2 = Instance.new("Part")
- mesh2.Parent = shell2
- shell2.Anchored = true
- shell2.formFactor = 3
- shell2.Size = Vector3.new(0.2, 0.2, 0.2)
- shell2.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
- shell2.Parent = swordholder
- shell2.Transparency = 1
- shell2.BrickColor = bcolor
- shell2.CanCollide = false
- local mesh3 = Instance.new("BlockMesh")
- mesh3.Scale = Vector3.new(5, 5, 5)
- local shell3 = Instance.new("Part")
- mesh3.Parent = shell3
- shell3.Anchored = true
- shell3.formFactor = 3
- shell3.Size = Vector3.new(1, 1, 1)
- shell3.CFrame = Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
- shell3.Parent = swordholder
- shell3.Transparency = 0.5
- shell3.BrickColor = bcolor
- shell3.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.2 do
- swait()
- shell.Transparency = 1 - 1 * i
- shell2.Transparency = 1 - 1 * i
- shell3.Transparency = 0.5 + 0.25 * i
- end
- for i = 0, 1, 0.2 do
- swait()
- shell.Transparency = 1 * i
- shell2.Transparency = 1 * i
- shell3.Transparency = 0.75 + 0.25 * i
- end
- shell.Parent = nil
- shell2.Parent = nil
- shell3.Parent = nil
- end
- ))
- if not LancerM then
- do
- do break end
- -- DECOMPILER ERROR at PC254: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC254: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- Character.Humanoid.WalkSpeed = ws
- SlashSound:Stop()
- SlashSound2:Stop()
- end
- ))
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(90 - 135 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 1.5 - 1 * i, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(90 - 45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(0))
- end
- else
- do
- if LancerM then
- LancerM = false
- local meshb = Instance.new("SpecialMesh")
- meshb.Scale = Vector3.new(0, 0, 0)
- meshb.MeshId = "http://www.roblox.com/asset/?id=1038653"
- local shellb = Instance.new("Part")
- meshb.Parent = shellb
- shellb.Anchored = true
- shellb.formFactor = 3
- shellb.Size = Vector3.new(1, 1, 1)
- shellb.CFrame = Torso.CFrame
- shellb.Parent = swordholder
- shellb.Transparency = 1
- shellb.Reflectance = 0.25
- shellb.BrickColor = bcolor
- shellb.CanCollide = false
- local meshb2 = Instance.new("SpecialMesh")
- meshb2.Scale = Vector3.new(0, 0, 0)
- meshb2.MeshType = "Sphere"
- local shellb2 = Instance.new("Part")
- meshb2.Parent = shellb2
- shellb2.Anchored = true
- shellb2.formFactor = 3
- shellb2.Size = Vector3.new(1, 1, 1)
- shellb2.CFrame = Torso.CFrame
- shellb2.Parent = swordholder
- shellb2.Transparency = 1
- shellb2.Reflectance = 0.25
- shellb2.BrickColor = bcolor
- shellb2.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.05 do
- swait()
- shellb.Transparency = 1 - 1 * i
- meshb.Scale = Vector3.new(30 * i, 30 * i, 30 * i)
- shellb2.Transparency = 1 - 1 * i
- meshb2.Scale = Vector3.new(15 * i, 100 * i, 15 * i)
- end
- for i = 0, 1, 0.05 do
- swait()
- shellb.Transparency = 1 * i
- meshb.Scale = Vector3.new(30 + 50 * i, 30 + 50 * i, 30 + 50 * i)
- shellb2.Transparency = 1 * i
- meshb2.Scale = Vector3.new(15 - 15 * i, 100 + 100 * i, 15 - 15 * i)
- end
- shellb2.Parent = nil
- shellb.Parent = nil
- end
- ))
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45 + 45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5 + 1 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(45 + 45 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(0))
- end
- helmw.Part1 = LeftArm
- helmw.C0 = CFrame.Angles(math.rad(90), 0, math.rad(90))
- helmw.C1 = CFrame.new(0, -1.5, 0)
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1 - 0.5 * i, 1.5 - 1 * i, 0) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(90 - 135 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- end
- for i = 0, 1, 0.2 do
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(0))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45 - 90 * i), 0, math.rad(-45 + 90 * i))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
- end
- helm.Parent = nil
- helmw.Parent = nil
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45 * i))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(-45 + 90 * i), 0, math.rad(45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(0))
- end
- end
- do
- attack = false
- end
- end
- end
- end
- local recentlyjumped = false
- Jump = function()
- attack = true
- local vel = Instance.new("BodyVelocity")
- vel.maxForce = Vector3.new(0, math.huge, 0)
- vel.P = vel.P * 2
- vel.velocity = Vector3.new(0, 80, 0)
- vel.Parent = Torso
- wait(0.1)
- vel.Parent = nil
- local floor = false
- coroutine.resume(coroutine.create(function()
- repeat
- wait(0.05)
- hit = rayCast(Torso.Position, CFrame.new(Torso.Position, Torso.Position - Vector3.new(0, 6, 0)).lookVector, 6, Character)
- if hit ~= nil then
- floor = true
- end
- until floor
- end
- ))
- local spinval = 0
- ss(Head, 1, 0.25)
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- if floor then
- return
- end
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-45))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.new(0, -1 * i, 0) * CFrame.Angles(math.rad(-45 - 90 * i), 0, math.rad(-45 * i))
- end
- end
- ))
- while 1 do
- wait(0.05)
- spinval = spinval + 0.1
- local mesh = Instance.new("SpecialMesh")
- do
- mesh.Scale = Vector3.new(5.1, 5, 5.1)
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- local shell = Instance.new("Part")
- mesh.Parent = shell
- shell.Anchored = true
- shell.formFactor = 3
- shell.Size = Vector3.new(0.2, 0.2, 0.2)
- shell.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
- shell.Parent = swordholder
- shell.Transparency = 1
- shell.BrickColor = handlecolor
- shell.CanCollide = false
- local mesh2 = Instance.new("SpecialMesh")
- mesh2.Scale = Vector3.new(8, 8, 8)
- mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557"
- local shell2 = Instance.new("Part")
- mesh2.Parent = shell2
- shell2.Anchored = true
- shell2.formFactor = 3
- shell2.Size = Vector3.new(0.2, 0.2, 0.2)
- shell2.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
- shell2.Parent = swordholder
- shell2.Transparency = 1
- shell2.BrickColor = bcolor
- shell2.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.2 do
- swait()
- shell.Transparency = 1 - 1 * i
- shell2.Transparency = 1 - 1 * i
- end
- for i = 0, 1, 0.2 do
- swait()
- shell.Transparency = 1 * i
- shell2.Transparency = 1 * i
- end
- shell.Parent = nil
- shell2.Parent = nil
- end
- ))
- if floor then
- do
- do break end
- -- DECOMPILER ERROR at PC170: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC170: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- end
- local ps = Instance.new("BodyPosition")
- ps.Parent = Torso
- ps.position = Torso.Position
- ps.maxForce = Vector3.new(1, 1, 1) * math.huge
- ps.P = ps.P * 2
- coroutine.resume(coroutine.create(function()
- wait(0.05)
- ps.Parent = nil
- end
- ))
- for rep = 1, 3 do
- srfs(Head, 0.45 + 0.2 * math.random(), 0.5)
- ls(Head, 0.15 + 0.2 * math.random(), 0.5)
- cs(Head, 0.4 + 0.2 * math.random(), 0.5)
- end
- local meshb = Instance.new("SpecialMesh")
- meshb.Scale = Vector3.new(0, 0, 0)
- meshb.MeshId = "http://www.roblox.com/asset/?id=1038653"
- local shellb = Instance.new("Part")
- meshb.Parent = shellb
- shellb.Anchored = true
- shellb.formFactor = 3
- shellb.Size = Vector3.new(1, 1, 1)
- shellb.CFrame = CFrame.new(Torso.Position)
- shellb.Parent = swordholder
- shellb.Transparency = 1
- shellb.Reflectance = 0.25
- shellb.BrickColor = bcolor
- shellb.CanCollide = false
- local meshb2 = Instance.new("SpecialMesh")
- meshb2.Scale = Vector3.new(0, 0, 0)
- meshb2.MeshType = "Sphere"
- local shellb2 = Instance.new("Part")
- meshb2.Parent = shellb2
- shellb2.Anchored = true
- shellb2.formFactor = 3
- shellb2.Size = Vector3.new(1, 1, 1)
- shellb2.CFrame = CFrame.new(Torso.Position)
- shellb2.Parent = swordholder
- shellb2.Transparency = 1
- shellb2.Reflectance = 0.25
- shellb2.BrickColor = bcolor
- shellb2.CanCollide = false
- local meshb3 = Instance.new("SpecialMesh")
- meshb3.Scale = Vector3.new(0, 0, 0)
- meshb3.MeshId = "http://www.roblox.com/asset/?id=1051557"
- local shellb3 = Instance.new("Part")
- meshb3.Parent = shellb3
- shellb3.Anchored = true
- shellb3.formFactor = 3
- shellb3.Size = Vector3.new(1, 1, 1)
- shellb3.CFrame = CFrame.new(Torso.Position + Vector3.new(0, 10, 0)) * CFrame.Angles(math.rad(180), 0, 0)
- shellb3.Parent = swordholder
- shellb3.Transparency = 1
- shellb3.Reflectance = 0.25
- shellb3.BrickColor = bcolor
- shellb3.CanCollide = false
- coroutine.resume(coroutine.create(function()
- local spinv = 0
- for i = 0, 1, 0.05 do
- swait()
- spinv = spinv + 0.5
- shellb.Transparency = 1 - 1 * i
- meshb.Scale = Vector3.new(25 * i, 25 * i, 25 * i)
- shellb2.Transparency = 1 - 1 * i
- meshb2.Scale = Vector3.new(50 * i, 5 * i, 50 * i)
- shellb3.Transparency = 1 - 1 * i
- meshb3.Scale = Vector3.new(40 * i, 40, 40 * i)
- shellb3.CFrame = shellb3.CFrame * CFrame.Angles(0, spinval, 0)
- end
- prcntdmg(-50)
- AoE(Torso.Position, 25)
- for i = 0, 1, 0.05 do
- swait()
- spinv = spinv + 0.5
- shellb.Transparency = 1 * i
- meshb.Scale = Vector3.new(25 + 25 * i, 25 + 25 * i, 25 + 25 * i)
- shellb2.Transparency = 1 * i
- meshb2.Scale = Vector3.new(50 + 25 * i, 5 - 5 * i, 50 + 25 * i)
- shellb3.Transparency = 1 * i
- meshb3.Scale = Vector3.new(40 + 40 * i, 40, 40 + 40 * i)
- shellb3.CFrame = shellb3.CFrame * CFrame.Angles(0, spinval, 0)
- end
- AoE(Torso.Position, 35)
- returndmg()
- shellb3.Parent = nil
- shellb2.Parent = nil
- shellb.Parent = nil
- end
- ))
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(-45))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.new(0, -1 + 1 * i, 0) * CFrame.Angles(math.rad(-135 + 90 * i), 0, math.rad(-45 + 45 * i))
- end
- attack = false
- coroutine.resume(coroutine.create(function()
- recentlyjumped = true
- wait(5)
- recentlyjumped = false
- end
- ))
- end
- Dash = function()
- attack = true
- for i = 0, 1, 0.1 do
- swait()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- end
- attack = false
- end
- returnwelds = function()
- RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45))
- RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
- LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
- w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
- RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
- RWL.C1 = CFrame.new(0.5, 1, 0)
- LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
- LWL.C1 = CFrame.new(-0.5, 1, 0)
- end
- ob1d = function(mouse)
- hold = true
- if attack then
- return
- end
- if Aura < 90 then
- if attacktype == 1 then
- Combo1()
- else
- if attacktype == 2 then
- Combo2()
- else
- if attacktype == 3 then
- Combo3()
- end
- end
- end
- else
- if Aura > 90 then
- if attacktype == 1 then
- Combo1B()
- else
- if attacktype == 2 then
- Combo2B()
- else
- if attacktype == 3 then
- Combo3B()
- end
- end
- end
- end
- end
- end
- ob1u = function(mouse)
- end
- buttonhold = false
- local last_attack = 0
- key = function(key)
- if attack then
- return
- end
- t = game:service("RunService").Stepped:wait()
- if key == "q" then
- bhold = true
- Slash1()
- end
- -- DECOMPILER ERROR at PC27: Unhandled construct in 'MakeBoolean' P1
- if key == "f" and not LancerM and Aura > 25 then
- LancerMode()
- end
- if LancerM then
- LancerMode()
- end
- if key == "w" and t - last_attack < 0.5 then
- buttonhold = true
- Dash()
- end
- -- DECOMPILER ERROR at PC68: Unhandled construct in 'MakeBoolean' P1
- if key == " " and t - last_attack < 0.5 and Torso.Velocity.y > -15 and not recentlyjumped and LancerM and Aura > 25 then
- Aura = Aura - 25
- Jump()
- end
- if not LancerM and Aura > 75 then
- Aura = Aura - 75
- Jump()
- end
- last_attack = t
- end
- key2 = function(key)
- if key == "w" then
- buttonhold = false
- end
- if key == "q" then
- bhold = false
- end
- end
- s = function(mouse)
- repeat
- swait()
- until not attack
- repeat
- swait()
- until not ev.Value
- mouse.Button1Down:connect(function()
- ob1d(mouse)
- end
- )
- mouse.Button1Up:connect(function()
- ob1u(mouse)
- end
- )
- mouse.KeyDown:connect(key)
- mouse.KeyUp:connect(key2)
- equipanim()
- MMouse = mouse
- ev.Value = true
- end
- ds = function(mouse)
- repeat
- swait()
- until not attack
- repeat
- swait()
- until ev.Value
- hideanim()
- wait(0.1)
- ev.Value = false
- end
- Bin.Selected:connect(s)
- Bin.Deselected:connect(ds)
- coroutine.resume(coroutine.create(function()
- while 1 do
- while 1 do
- while 1 do
- swait()
- AText.Text = math.floor(Aura)
- Aura1.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
- Aura2.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
- if not LancerM and bhold ~= false or Aura < 100 then
- Aura = Aura + 0.25
- end
- end
- if LancerM then
- if Aura > 0 then
- Aura = Aura - 0.15
- -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- if Aura <= 0 then
- LancerMode()
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while 1 do
- swait()
- for i = 0, 1, 0.01 do
- swait()
- Aura1.Rotation = 360 * i
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while 1 do
- swait()
- for i = 0, 1, 0.01 do
- swait()
- Aura2.Rotation = 45 - 360 * i
- end
- end
- end
- ))
- coroutine.resume(coroutine.create(function()
- while 1 do
- while 1 do
- swait()
- if not LancerM then
- if Aura >= 90 then
- Character.Humanoid.WalkSpeed = ws * 1.5
- mindamage = 2
- maxdamage = 5
- crtmaxdamage = 7
- -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_STMT
- -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_THEN_STMT
- -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_STMT
- end
- end
- end
- if Aura < 90 then
- Character.Humanoid.WalkSpeed = ws
- mindamage = 5
- maxdamage = 10
- crtmaxdamage = 15
- end
- end
- end
- ))
Add Comment
Please, Sign In to add comment