wait(0.016666666666667) Effects = {} local Player = game.Players.localPlayer local Character = Player.Character local Humanoid = Character.Humanoid local mouse = Player:GetMouse() local m = Instance.new("Model", Character) m.Name = "WeaponModel" local LeftArm = Character["Left Arm"] local RightArm = Character["Right Arm"] local LeftLeg = Character["Left Leg"] local RightLeg = Character["Right Leg"] local Head = Character.Head local Torso = Character.Torso local cam = game.Workspace.CurrentCamera local RootPart = Character.HumanoidRootPart local RootJoint = RootPart.RootJoint local equipped = false local attack = false local Anim = "Idle" local idle = 0 local attacktype = 1 local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude local velocity = RootPart.Velocity.y local sine = 0 local change = 1 local grabbed = false local cf = CFrame.new local mr = math.rad local angles = CFrame.Angles local ud = UDim2.new local vt = Vector3.new local c3 = Color3.new local mana = 0 local mananum = 0 local it = Instance.new local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) xenabled = true cenabled = true venabled = true zenabled = true RSH = nil RW = Instance.new("Weld") LW = Instance.new("Weld") RH = Torso["Right Hip"] LH = Torso["Left Hip"] RSH = Torso["Right Shoulder"] LSH = Torso["Left Shoulder"] RSH.Parent = nil LSH.Parent = nil RW.Name = "RW" RW.Part0 = Torso RW.C0 = cf(1.5, 0.5, 0) RW.C1 = cf(0, 0.5, 0) RW.Part1 = RightArm RW.Parent = Torso LW.Name = "LW" LW.Part0 = Torso LW.C0 = cf(-1.5, 0.5, 0) LW.C1 = cf(0, 0.5, 0) LW.Part1 = LeftArm LW.Parent = Torso clerp = function(a, b, t) return a:lerp(b, t) end ---------------------------------------------------- z = Instance.new("Sound", Character) z.SoundId = "rbxassetid://428255459"-- z.Looped = true z.Pitch = 1 z.Volume = 1 wait(.1) z:Play() ---------------------------------------------------- ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "Heartbeat" script:WaitForChild("Heartbeat") frame = 0.016666666666667 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 Magik = function(part) Spawn(function() local function lerp(a,b,c) return a+(b-a)*c end local function rndRange(rng) return math.random(-rng*1000,rng*1000)/1000 end local magik = Instance.new("Part", part) magik.Anchored = true magik.Locked = true magik.Material = "Neon" magik.FormFactor = "Custom" magik.Size = Vector3.new(1.2, 1.2, 1.2) magik.TopSurface = "Smooth" magik.BottomSurface = "Smooth" magik.Transparency = 0 magik.CanCollide = false magik.BrickColor = BrickColor.new("Royal purple") local mr = math.rad local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) magik.CFrame = cf for i = 0, 1, .05 do local newTrans = lerp(.8, 1, i) local ns = lerp(1,1.2,i) magik.Transparency = newTrans magik.Size = Vector3.new(ns,ns,ns) magik.CFrame = cf wait() end magik:Destroy() wait() end) end ---------------------------------------------------- Magik2 = function(part) Spawn(function() local function lerp(a,b,c) return a+(b-a)*c end local function rndRange(rng) return math.random(-rng*1000,rng*1000)/1000 end local magik2 = Instance.new("Part",part) magik2.Anchored = true magik2.Locked = true magik2.FormFactor = "Custom" magik2.Size = Vector3.new(1.2, 1.2, 1.2) magik2.TopSurface = "Smooth" magik2.BottomSurface = "Smooth" magik2.Transparency = 0 magik2.Material = "Neon" magik2.CanCollide = false magik2.BrickColor = BrickColor.new("Really black") local mr = math.rad local rnx,rny,rnz = mr(rndRange(180)),mr(rndRange(180)),mr(rndRange(180)) local cf = part.CFrame * CFrame.new(0, -.8, 0) * CFrame.Angles(rnx,rny,rnz) magik2.CFrame = cf for i = 0, 1, .05 do local newTrans = lerp(.8, 1, i) local ns = lerp(1,1.2,i) magik2.Transparency = newTrans magik2.Size = Vector3.new(ns,ns,ns) magik2.CFrame = cf wait() end magik2:Destroy() end) end Spawn(function() while wait(.1) do Magik(RightArm) end end) Spawn(function() while wait(.1) do Magik2(RightArm) end end) FloatPart = function() local Part = Instance.new('Part',Torso) Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) Part.Anchored = true Part.Material = 'Neon' Part.CanCollide = false Part.BrickColor = BrickColor.new(PrimaryColor) local Mesh = Instance.new('SpecialMesh',Part) Mesh.Scale = Vector3.new(4,4,.2) Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' Mesh.VertexColor = Vector3.new(0,170,255) spawn(function() for i = 1,30 do Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) Part.Transparency = Part.Transparency + .035 game["Run Service"].RenderStepped:wait() end Part:Destroy() end) end; DubPart = function() local Part = Instance.new('Part',Torso) Part.CFrame = CFrame.new(Torso.CFrame.X,workspace.Base.CFrame.Y+1,Torso.CFrame.Z) * CFrame.fromEulerAnglesXYZ(86.4,0,87) Part.Anchored = true Part.CanCollide = false Part.Material = 'Neon' Part.BrickColor = BrickColor.new(SecondaryColor) local Mesh = Instance.new('SpecialMesh',Part) Mesh.Scale = Vector3.new(7,7,.2) Mesh.MeshId = 'http://www.roblox.com/asset/?id=3270017' Mesh.VertexColor = Vector3.new(0,170,255) spawn(function() for i = 1,30 do Mesh.Scale = Mesh.Scale + Vector3.new(.04,.04,0) Part.Transparency = Part.Transparency + .035 game["Run Service"].RenderStepped:wait() end Part:Destroy() end) end; Fade = function(Item,t) spawn(function() for i = 1,20 do Item.Transparency = Item.Transparency + .05 if t then wait(t) else wait() end end Item:Destroy() end) end Particle = function(PrimaryColor) local Part = Instance.new('Part',Torso) Part.BrickColor = BrickColor.new(PrimaryColor) Part.Anchored = true Part.Transparency = .3 Part.CanCollide = false Part.CFrame = Torso.CFrame * CFrame.new(math.random(-10,10),math.random(-15,15),math.random(-10,10)) * CFrame.fromEulerAnglesXYZ(math.random(),math.random(),math.random()) local Mesh = Instance.new('BlockMesh',Part) Mesh.Scale = Vector3.new(.05,.1,.1) spawn(function() for i = 1,40 do Part.Transparency = Part.Transparency + .0125 Part.CFrame = Part.CFrame * CFrame.new(0,-.07,0) game["Run Service"].RenderStepped:wait() end Part:Destroy() end) end; --[[spawn(function() while wait() do wait(.05) FloatPart() wait(.08) FloatPart() wait(.05) DubPart() wait(.08) end end)]] game["Run Service"].RenderStepped:connect(function(_) Particle("Royal purple") Particle("Really black") --Character['HumanoidRootPart'].C1 = Character['HumanoidRootPart'].C1 * CFrame.new(0,Height+math.sin(tick())/150,0) end) particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread) local fp = it("ParticleEmitter") fp.Parent = parent fp.Color = cs(col1, col2) fp.LightEmission = lightemis fp.Size = size fp.Texture = texture fp.Transparency = transparency fp.ZOffset = zoffset fp.Acceleration = accel fp.Drag = drag fp.LockedToPart = ltp fp.VelocityInheritance = velinher fp.EmissionDirection = emisdir fp.Enabled = enabled fp.Lifetime = lifetime fp.Rate = rate fp.Rotation = rotation fp.RotSpeed = rotspeed fp.Speed = speed fp.VelocitySpread = velspread return fp end local fengui = it("GuiMain") fengui.Parent = Player.PlayerGui fengui.Name = "WeaponGUI" local fenframe1 = it("TextLabel") fenframe1.Parent = fengui fenframe1.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) fenframe1.BackgroundTransparency = 0.3 fenframe1.BorderSizePixel = 5 fenframe1.BorderColor3 = Color3.new(1, 1, 1) fenframe1.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe1.Position = UDim2.new(0.325, 0, 0.7, 0) fenframe1.Text = "Z" fenframe1.TextWrapped = true fenframe1.FontSize = 7 fenframe1.TextColor3 = Color3.new(1, 1, 1) local fenframe1a = it("TextLabel") fenframe1a.Parent = fengui fenframe1a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) fenframe1a.BackgroundTransparency = 0.3 fenframe1a.BorderSizePixel = 5 fenframe1a.BorderColor3 = Color3.new(1, 1, 1) fenframe1a.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe1a.Position = UDim2.new(0.325, 0, 0.7, 0) fenframe1a.Text = "" local fenframe2 = it("TextLabel") fenframe2.Parent = fengui fenframe2.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) fenframe2.BackgroundTransparency = 0.3 fenframe2.BorderSizePixel = 5 fenframe2.BorderColor3 = Color3.new(1, 1, 1) fenframe2.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe2.Position = UDim2.new(0.425, 0, 0.7, 0) fenframe2.Text = "X" fenframe2.TextWrapped = true fenframe2.FontSize = 7 fenframe2.TextColor3 = Color3.new(1, 1, 1) local fenframe2a = it("TextLabel") fenframe2a.Parent = fengui fenframe2a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) fenframe2a.BackgroundTransparency = 0.3 fenframe2a.BorderSizePixel = 5 fenframe2a.BorderColor3 = Color3.new(1, 1, 1) fenframe2a.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe2a.Position = UDim2.new(0.425, 0, 0.7, 0) fenframe2a.Text = "" local fenframe3 = it("TextLabel") fenframe3.Parent = fengui fenframe3.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) fenframe3.BackgroundTransparency = 0.3 fenframe3.BorderSizePixel = 5 fenframe3.BorderColor3 = Color3.new(1, 1, 1) fenframe3.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe3.Position = UDim2.new(0.525, 0, 0.7, 0) fenframe3.Text = "C" fenframe3.TextWrapped = true fenframe3.FontSize = 7 fenframe3.TextColor3 = Color3.new(1, 1, 1) local fenframe3a = it("TextLabel") fenframe3a.Parent = fengui fenframe3a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) fenframe3a.BackgroundTransparency = 0.3 fenframe3a.BorderSizePixel = 5 fenframe3a.BorderColor3 = Color3.new(1, 1, 1) fenframe3a.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe3a.Position = UDim2.new(0.525, 0, 0.7, 0) fenframe3a.Text = "" local fenframe4 = it("TextLabel") fenframe4.Parent = fengui fenframe4.BackgroundColor3 = Color3.new(0.19607843137255, 0.19607843137255, 0.19607843137255) fenframe4.BackgroundTransparency = 0.3 fenframe4.BorderSizePixel = 5 fenframe4.BorderColor3 = Color3.new(1, 1, 1) fenframe4.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe4.Position = UDim2.new(0.625, 0, 0.7, 0) fenframe4.Text = "V" fenframe4.TextWrapped = true fenframe4.FontSize = 7 fenframe4.TextColor3 = Color3.new(1, 1, 1) local fenframe4a = it("TextLabel") fenframe4a.Parent = fengui fenframe4a.BackgroundColor3 = Color3.new(0.7843137254902, 0.7843137254902, 0.7843137254902) fenframe4a.BackgroundTransparency = 0.3 fenframe4a.BorderSizePixel = 5 fenframe4a.BorderColor3 = Color3.new(1, 1, 1) fenframe4a.Size = UDim2.new(0.05, 0, 0.1, 0) fenframe4a.Position = UDim2.new(0.625, 0, 0.7, 0) fenframe4a.Text = "" fenframe1a.Size = UDim2.new(0, 0, 0.1, 0) fenframe2a.Size = UDim2.new(0, 0, 0.1, 0) fenframe3a.Size = UDim2.new(0, 0, 0.1, 0) fenframe4a.Size = UDim2.new(0, 0, 0.1, 0) local RbxUtility = LoadLibrary("RbxUtility") local Create = RbxUtility.Create RemoveOutlines = function(part) part.TopSurface = 10 end CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material}) RemoveOutlines(Part) return Part end CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale}) if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end CreateWeld = function(Parent, Part0, Part1, C0, C1) local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1}) return Weld end Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch) if hit.Parent == nil then return end local h = hit.Parent:FindFirstChild("Humanoid") for _,v in pairs(hit.Parent:children()) do if v:IsA("Humanoid") then h = v end end if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then return end local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h}) game:GetService("Debris"):AddItem(c, 0.5) if HitSound ~= nil and HitPitch ~= nil then CreateSound(HitSound, hit, 1, HitPitch) end local Damage = math.random(minim, maxim) local blocked = false local block = hit.Parent:findFirstChild("Block") if block ~= nil and block.className == "IntValue" and block.Value > 0 then blocked = true block.Value = block.Value - 1 print(block.Value) end if blocked == false then HitHealth = h.Health h.Health = h.Health - Damage if mana < 100 then mana = mana + math.random(5, 10) end if mana > 100 then mana = 100 end if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Lost Soul" then end ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) else h.Health = h.Health - Damage / 2 ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color) end if Type == "Knockdown" then local hum = hit.Parent.Humanoid hum.PlatformStand = true coroutine.resume(coroutine.create(function(HHumanoid) swait(1) HHumanoid.PlatformStand = false end ), hum) local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit}) game:GetService("Debris"):AddItem(bodvol, 0.5) game:GetService("Debris"):AddItem(rl, 0.5) else do if Type == "Normal" then local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05}) if knockback > 0 then vp.Parent = hit.Parent.Torso end game:GetService("Debris"):AddItem(vp, 0.5) else do if Type == "Up" then local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) game:GetService("Debris"):AddItem(bodyVelocity, 0.5) else do if Type == "DarkUp" then coroutine.resume(coroutine.create(function() for i = 0, 1, 0.1 do swait() BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1) end end )) local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit}) game:GetService("Debris"):AddItem(bodyVelocity, 1) else do if Type == "Snare" then local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) game:GetService("Debris"):AddItem(bp, 1) else do if Type == "Freeze" then local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso}) local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame}) hit.Parent.Torso.Anchored = true coroutine.resume(coroutine.create(function(Part) swait(1.5) Part.Anchored = false end ), hit.Parent.Torso) game:GetService("Debris"):AddItem(BodPos, 3) game:GetService("Debris"):AddItem(BodGy, 3) end do local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true}) game:GetService("Debris"):AddItem(debounce, Delay) c = Instance.new("ObjectValue") c.Name = "creator" c.Value = Player c.Parent = h game:GetService("Debris"):AddItem(c, 0.5) end end end end end end end end end end end end end ShowDamage = function(Pos, Text, Time, Color) local Rate = 0.033333333333333 if not Pos then local Pos = Vector3.new(0, 0, 0) end local Text = Text or "" local Time = Time or 2 if not Color then local Color = Color3.new(1, 0, 1) end local EffectPart = CreatePart(workspace, "Marble", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0)) EffectPart.Anchored = true local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart}) local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui}) game.Debris:AddItem(EffectPart, Time + 0.1) EffectPart.Parent = game:GetService("Workspace") delay(0, function() local Frames = Time / Rate for Frame = 1, Frames do wait(Rate) local Percent = Frame / Frames EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) TextLabel.TextTransparency = Percent end if EffectPart and EffectPart.Parent then EffectPart:Destroy() end end ) end MagniDamage = function(Part, magni, mindam, maxdam, knock, Type) for _,c in pairs(workspace:children()) do local hum = c:findFirstChild("Humanoid") if hum ~= nil then local head = c:findFirstChild("Torso") if head ~= nil then local targ = head.Position - Part.Position local mag = targ.magnitude if mag <= magni and c.Name ~= Player.Name then Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1) end end end end end Handle = CreatePart(m, Enum.Material.Marble, 0, 1, "Royal purple", "Handle", Vector3.new(0.200000003, 1.57000017, 0.200000003)) HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.982839942, 0.146006823, 0.234023571, 0.211453959, -0.977137685, 0.0221185088, -0.0402157828, -0.0313093588, -0.99870044, 0.976560295, 0.210289627, -0.0459168404)) CreateMesh("CylinderMesh", Handle, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5)) FakeHandle = CreatePart(m, Enum.Material.Marble, 0, 1, "Royal purple", "FakeHandle", Vector3.new(0.200000003, 1.57000017, 0.200000003)) FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012)) Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1, 0.200000003)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.07288361e-006, 0.683865368, -4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(2, 0.5, 2)) Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31791997, -0.975689411, 2.925138, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 0.729999959, 1)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.4692868, -3.70743895, -1.52587891e-005, 0.916809797, -0.399324507, 1.15483999e-006, 0.399324447, 0.916809678, -4.00096178e-006, 5.56348823e-007, 4.12762165e-006, 1)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003)) Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.31796861, -0.99111104, 3.62495184, 3.06405127e-006, 0.707111418, 0.707102299, -0.999756992, 0.0155918654, -0.0155877285, -0.0220473036, -0.706930399, 0.706939638)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.64674854, -0.903340101, -0.354405403, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155968666, -0.981806874, 5.01632404, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015683651, -0.99636519, 4.31590414, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.2746892, -0.975648642, 2.9260354, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.27468133, -0.991158009, 3.62575912, 2.64961272e-006, -0.707099259, 0.707114458, -0.999756992, 0.0155881718, 0.0155915832, -0.0220474396, -0.706942558, -0.706927299)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0155587196, -1.11407149, 4.663311, 4.59002331e-006, 1.38655305e-005, 1, -0.999757051, 0.0220471006, 4.27453779e-006, -0.0220471006, -0.999757051, 1.39661133e-005)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012)) Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0131573677, 0.00466442108, 4.61167336, -1.74657907e-006, -1.09747052e-005, -1.00000012, 0.764525652, -0.644593418, 5.77419996e-006, -0.644593358, -0.764525771, 9.49576497e-006)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.550000012, 1, 0.550000012)) Cone = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Cone", Vector3.new(1, 1.01999998, 1)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.6467495, -0.918762922, 0.345379829, -1.83284283e-006, -1.00000012, 3.39746475e-006, -0.999756992, 1.90362334e-006, 0.0220472421, -0.0220472496, -3.36021185e-006, -0.999756992)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.5, 0.200000003)) Cone = CreatePart(m, Enum.Material.Marble, 0, 0, "Royal purple", "Cone", Vector3.new(0.200000003, 0.200000003, 0.200000003)) ConeWeld = CreateWeld(m, FakeHandle, Cone, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00376915932, -3.44346094, -0.00172424316, -1.00000012, -1.70432031e-006, 1.69267878e-007, 1.70432031e-006, -1.00000012, -2.12341547e-007, 1.75088644e-007, -2.12341547e-007, 1.00000012)) CreateMesh("SpecialMesh", Cone, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1778999", Vector3.new(0, 0, 0), Vector3.new(0.200000003, 0.300000012, 0.200000003)) Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 1, 1)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31130219e-006, -3.5749507, 0, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.400000006)) Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(0.200000003, 4.57000017, 0.200000003)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.96046448e-007, -1.50000107, 9.53674316e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5)) Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 1.16999996, 1)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68149614, -0.0198745728, -1.09672546e-005, 0.0220478568, 0.999756992, -2.0749867e-006, -0.999756932, 0.0220478605, -1.48452818e-006, -1.42678618e-006, 2.10851431e-006, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 0.870000005, 1)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71543217, -0.0690839291, -9.53674316e-006, 0.19052954, 0.981681645, -1.97067857e-006, -0.981681526, 0.190529525, -1.91386789e-006, -1.49046537e-006, 2.29105353e-006, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.899999976)) Part22 = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part22", Vector3.new(1, 0.729999959, 1)) PartWeld = CreateWeld(m, FakeHandle, Part22, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.51120782, -3.69066477, -7.15255737e-006, 0.911903143, 0.410405785, -3.35276127e-007, -0.410405725, 0.911903143, -1.79186463e-006, -4.35044058e-007, 1.76206231e-006, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.200000003)) Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(1, 0.870000005, 1)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.71087646, -0.0231897831, -6.19888306e-006, 0.318961442, 0.947767794, -1.48266554e-006, -0.947767675, 0.318961442, -2.70921737e-006, -2.10118014e-006, 2.26870179e-006, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.850000024)) Part = CreatePart(m, Enum.Material.Marble, 0, 0, "Black", "Part", Vector3.new(1, 0.769999981, 1)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.68154573, -0.4009372, -5.7220459e-006, 0.516243339, 0.856442034, -8.04662704e-007, -0.856442034, 0.516243339, -4.18536365e-006, -3.15741636e-006, 2.8423965e-006, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000012)) Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Royal purple", "Part", Vector3.new(0.200000003, 2.57999992, 0.200000003)) PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.4570694e-006, 1.91385686, 4.76837158e-007, 1, 3.7252903e-009, 6.4028427e-009, 3.7252903e-009, 1.00000012, 0, 6.4028427e-009, 0, 1.00000012)) CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1)) Hitbox = CreatePart(m, Enum.Material.Marble, 0, 1, "Black", "Hitbox", Vector3.new(2.4000001, 3.67000008, 0.399999976)) HitboxWeld = CreateWeld(m, FakeHandle, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.76720476, 3.04898357, 0.00860214233, -0.699169815, 0.713988841, 0.0371726528, -0.713755548, -0.700063348, 0.0215496495, 0.0414094217, -0.0114653222, 0.999076545)) rayCast = function(Position, Direction, Range, Ignore) return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore) end Spawn(function() while wait() do Magik(LeftArm) end end) Spawn(function() while wait() do Magik2(LeftArm) end end) CreateSound = function(id, parent, vol, pit, looped) coroutine.resume(coroutine.create(function() local sou = Instance.new("Sound", parent or workspace) sou.Volume = vol sou.Pitch = pit or 1 sou.SoundId = id sou.Looped = looped swait() sou:play() game:GetService("Debris"):AddItem(sou, 6) end )) end local getclosest = function(obj, distance) local last, lastx = distance + 1, nil for i,v in pairs(workspace:GetChildren()) do if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then local t = v.Torso local dist = t.Position - obj.Position.magnitude if dist <= distance and dist < last then last = dist lastx = v end end end return lastx end BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) if Type == 1 or Type == nil then table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh}) else if Type == 2 then table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh}) end end end SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * CFrame.new(x1, y1, z1) local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end DragonEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new()) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://51177741", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh}) end BreakEffect = function(brickcolor, cframe, x1, y1, z1) local prt = CreatePart(workspace, "Marble", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5)) prt.Anchored = true prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) local num = math.random(10, 50) / 1000 game:GetService("Debris"):AddItem(prt, 10) table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100}) end attackone = function() attack = true for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2) end local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) end ) CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1) for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2) end con:disconnect() attack = false end Deathwish = function() attack = true CreateSound("http://www.roblox.com/asset/?id=231917970", RootPart, 1, 1) for i = 0, 1, 0.05 do swait() WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 1, 0.1, 1, 0.09) BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.08, 1) RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2) end MagniDamage(RootPart, 5599, 1099, 1599, 0, "DarkUp") CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1) BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1) WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 2, 0.1, 2, 0.07) for i = 0, 1, 0.05 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-190)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2) end for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-110)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-80), math.rad(-90)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2) end MagniDamage(RootPart, 55, 5, 10, -70, "Knockdown") CreateSound("http://www.roblox.com/asset/?id=192410089", RootPart, 1, 1.2) SphereEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 10, 10, 10, 0.06) BlockEffect(BrickColor.new("Black"), LeftArm.CFrame * cf(0, -1, 0), 5, 5, 5, 5, 5, 5, 0.06, 1) WaveEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, -2.5, 0), 5, 2, 5, 0.5, 1, 0.5, 0.07) for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(2 * math.cos(sine / 5)), math.rad(-4 * math.cos(sine / 25)), math.rad(50)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos(sine / 25)), math.rad(0), math.rad(190)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2) end attack = false end ChaosDriver = function() attack = true for i = 0, 1, 0.05 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2) end CreateSound("http://www.roblox.com/asset/?id=234365549", Torso, 1, 1) coroutine.resume(coroutine.create(function() for i = 1, 5 do swait() local ef = CreatePart(workspace, "Marble", 0, 1, BrickColor.new("Black"), "Effect", vt()) ef.Anchored = true ef.CFrame = RootPart.CFrame * cf(0, 0, -10 * i) MagniDamage(ef, 17, 10, 15, 1, "DarkUp") game:GetService("Debris"):AddItem(ef, 0.5) CreateSound("http://www.roblox.com/asset/?id=231917784", ef, 1, 0.7) DragonEffect(BrickColor.new("Black"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 170, 5, 0, -10, 0, 0.07) DragonEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -10 * i) * angles(math.rad(math.random(50, 90)), 0, math.rad(math.random(50, 90))), 5, 150, 5, 0, -10, 0, 0.07) SpecialEffect(BrickColor.new("Really black"), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08) SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07) SpecialEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08) SpecialEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07) end end )) for i = 0, 1, 0.1 do swait() BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1) RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(-80)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-150)), 0.2) end attack = false end attacktwo = function() attack = true soundn = true for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2) end local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) end ) CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1) coroutine.resume(coroutine.create(function() while soundn do wait(0.3) CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1) end end )) for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2) end con:disconnect() soundn = false attack = false end local soundn = false attackthree = function() attack = true soundn = true for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-50), math.rad(180)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2) end local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8) end ) CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1) coroutine.resume(coroutine.create(function() while soundn do wait(0.3) CreateSound("http://www.roblox.com/asset/?id=234365573", Torso, 1, 1) end end )) for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2) end con:disconnect() soundn = false attack = false end ThanatosDriver = function() attack = true for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2) end local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox, hit, 30, 30, 50, "Knockdown", RootPart, 0.2, "rbxassetid://199149221", 0.8) end ) CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 0.7) for i = 0, 1, 0.1 do swait() BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1) BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2) DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(-90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08) RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(100)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(-80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(30)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(0)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(170)), 0.2) end con:disconnect() attack = false end LastResort = function() attack = true soundn = true CreateSound("http://www.roblox.com/asset/?id=233096557", Torso, 1, 1) MagniDamage(RootPart, 10, 5, 10, 0, "Knockdown") SpecialEffect(BrickColor.new("Really black"), Torso.CFrame, 5, 5, 5, 3, 3, 3, 0.08) SpecialEffect(BrickColor.new("Magenta"), Torso.CFrame, 2, 2, 2, 3, 3, 3, 0.07) SpecialEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08) SpecialEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 2, 2, 2, 3, 3, 3, 0.07) RootPart.CFrame = RootPart.CFrame * cf(0, 0, 20) for i = 0, 1, 0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(180)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(-100)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1.2, 0) * RHCF * angles(math.rad(-10), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(200), math.rad(-100), math.rad(0)), 0.2) end CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1) coroutine.resume(coroutine.create(function() while soundn do wait(0.5) CreateSound("http://www.roblox.com/asset/?id=231917871", Torso, 1, 1) end end )) for i = 0, 1, 0.1 do swait() MagniDamage(RootPart, 10, 5, 10, 0, "Normal") Torso.Velocity = RootPart.CFrame.lookVector * 100 BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1) BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2) DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08) RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2) end for i = 0, 1, 0.1 do swait() MagniDamage(RootPart, 10, 3, 3, 0, "Normal") Torso.Velocity = RootPart.CFrame.lookVector * 100 BlockEffect(BrickColor.new("Really black"), Hitbox.CFrame, 5, 5, 5, 3, 3, 3, 0.08, 1) BlockEffect(BrickColor.new("Magenta"), Hitbox.CFrame, 3, 3, 3, 3, 3, 3, 0.08, 2) DragonEffect(BrickColor.new("Black"), Hitbox.CFrame * cf(0, 0, -2) * angles(math.rad(90), math.rad(90), math.rad(90)), 1, 1, 1, 0.2, 0.5, 0.2, 0.08) RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0 + 360 * i)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-100)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(-30)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-50), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(190), math.rad(0), math.rad(-100)), 0.2) end soundn = false attack = false end ob1u = function() end ob1d = function() if attack == false and attacktype == 1 then attacktype = 2 attackone() else if attack == false and attacktype == 2 then attacktype = 3 attacktwo() else if attack == false and attacktype == 3 then attacktype = 1 attackthree() end end end end key = function(k) k = k:lower() if attack == false and k == "z" and zenabled == true then zenabled = false coroutine.resume(coroutine.create(function() for i = 1, 0, -0.02 do swait() fenframe1a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) end zenabled = true fenframe1a.Size = UDim2.new(0, 0, 0.1, 0) end )) ThanatosDriver() else if attack == false and k == "x" and xenabled == true then xenabled = false coroutine.resume(coroutine.create(function() for i = 1, 0, -0.005 do swait() fenframe2a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) end xenabled = true fenframe2a.Size = UDim2.new(0, 0, 0.1, 0) end )) LastResort() else if attack == false and k == "c" and cenabled == true then cenabled = false coroutine.resume(coroutine.create(function() for i = 1, 0, -0.0025 do swait() fenframe3a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) end cenabled = true fenframe3a.Size = UDim2.new(0, 0, 0.1, 0) end )) ChaosDriver() else if attack == false and k == "v" and venabled == true then venabled = false coroutine.resume(coroutine.create(function() for i = 1, 0, -0.0005 do swait() fenframe4a.Size = UDim2.new(0.05 * i, 0, 0.1, 0) end venabled = true fenframe4a.Size = UDim2.new(0, 0, 0.1, 0) end )) Deathwish() end end end end end s = function(mouse) mouse.Button1Down:connect(function() ob1d(mouse) end ) mouse.Button1Up:connect(function() ob1u(mouse) end ) mouse.KeyDown:connect(key) end s(mouse) rs = game:GetService'RunService' plrs = game:GetService'Players' lp = plrs.LocalPlayer c = lp.Character root = lp.Character.HumanoidRootPart human = c.Humanoid FPS = 0 inf = 0 opos1 = Vector3.new() opos2 = Vector3.new() opos3 = Vector3.new() waves = Instance.new("Model", c) res = Instance.new("Model", c) local function b() local t=tick(); local l=t%1*3; local t=.5*math.pi*(l%1); if l<1 then return Color3.new(47,0,32); elseif l<2 then return Color3.new(47,0,35); else return Color3.new(0,0,0); end; end; speedParts = function() for i = 1, 4 do local pos = Vector3.new(math.sin(math.rad(inf + 360 * i)) * 2, math.sin(math.rad(inf + 260 * i) + math.pi / 2) * 2, -Hitbox.Velocity / 5) * (math.sin(tick()) + 2) local CFramepos = Hitbox.CFrame:toWorldSpace(CFrame.new(pos)).p local opos if i == 1 then opos = opos1 elseif i == 2 then opos = opos2 else opos = opos3 end local e if #res:children() <= 3 then e = Instance.new("Part") else e = res:FindFirstChild("Trail") end e.Parent = waves e.Anchored = false e.CanCollide = false e.Transparency = 0 e.Material = "Neon" e.Name = "Trail" e.Color = b(); --Color = a(); e.Size = Vector3.new(.01, (CFramepos - opos).magnitude, .01) e.CFrame = CFrame.new((CFramepos + opos) / 2, opos) * CFrame.Angles(math.pi / 2, 0, 0) if i == 1 then opos1 = CFramepos elseif i == 2 then opos2 = CFramepos else opos3 = CFramepos end end end rs.RenderStepped:connect(function() FPS = 1 / rs.RenderStepped:wait() for i, v in pairs (waves:children()) do v.Transparency = v.Transparency + .05 / (FPS / 400) if v.Transparency >= .98 then v.Transparency = 1 v.Parent = res end end inf = inf + (30 + root.Velocity.magnitude / 15) / (FPS / 400) speedParts() end) while 1 do swait() Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude velocity = RootPart.Velocity.y sine = sine + change local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character) if equipped == true or equipped == false then if 1 < RootPart.Velocity.y and hit == nil then Anim = "Jump" if attack == false then RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) end else if RootPart.Velocity.y < -1 and hit == nil then Anim = "Fall" if attack == false then RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(30), math.rad(-4 * math.cos((sine) / 25)), math.rad(-30)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10 * math.cos((sine) / 25)), math.rad(0), math.rad(190)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(60), math.rad(100)), 0.2) end else if Torsovelocity.x < 1 and Torsovelocity.z < 1 and hit ~= nil then Anim = "Idle" if attack == false then change = 1 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(20), math.rad(-20), math.rad(-80)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(80)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, -0.5) * angles(math.rad(50), math.rad(0), math.rad(-30)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1.2 + 0.1 * math.cos((sine) / 9), 0) * RHCF * angles(math.rad(0), math.rad(-30), math.rad(20)), 0.3) LH.C0 = clerp(LH.C0, cf(-1.3, -1 + 0.1 * math.cos((sine) / 9), 0) * LHCF * angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(70 - 1 * math.cos((sine) / 9)), math.rad(70)), 0.3) end else if Torsovelocity.x > 2 and Torsovelocity.z > 2 and hit ~= nil then Anim = "Walk" if attack == false then RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2 - 0.1 * math.cos((sine) / 9)) * angles(math.rad(10), math.rad(-5), math.rad(-30)), 0.3) Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-5 + 1 * math.cos((sine) / 9)), math.rad(-10 + 1 * math.cos((sine) / 9)), math.rad(30)), 0.3) RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.2, 0) * angles(math.rad(50), math.rad(0), math.rad(-10)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3) RH.C0 = clerp(RH.C0, cf(1, -1, 0 + 0.5 * math.cos((sine) / 5)) * RHCF * angles(math.rad(0), math.rad(0), math.rad(10 - 50 * math.cos((sine) / 5))), 0.3) LH.C0 = clerp(LH.C0, cf(-1, -1, -0.5 - 0.5 * math.cos((sine) / 5)) * LHCF * angles(math.rad(0), math.rad(0), math.rad(-10 - 50 * math.cos((sine) / 5))), 0.3) FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, cf(0, 0, 0) * angles(math.rad(60), math.rad(50 - 1 * math.cos((sine) / 9)), math.rad(120)), 0.3) end end end end end end if 0 < #Effects then for e = 1, #Effects do if Effects[e] ~= nil then local Thing = Effects[e] if Thing ~= nil then local Part = Thing[1] local Mode = Thing[2] local Delay = Thing[3] local IncX = Thing[4] local IncY = Thing[5] local IncZ = Thing[6] if Thing[1].Transparency <= 1 then if Thing[2] == "Block1" then Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) Mesh = Thing[1].Mesh Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Block2" then Thing[1].CFrame = Thing[1].CFrame Mesh = Thing[7] Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Cylinder" then Mesh = Thing[1].Mesh Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Blood" then Mesh = Thing[7] Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0) Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Elec" then Mesh = Thing[1].Mesh Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9]) Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Disappear" then Thing[1].Transparency = Thing[1].Transparency + Thing[3] else if Thing[2] == "Shatter" then Thing[1].Transparency = Thing[1].Transparency + Thing[3] Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0) Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0) Thing[6] = Thing[6] + Thing[5] end end end end end end end else Part.Parent = nil table.remove(Effects, e) end end end end end end