SHARE
TWEET

M

a guest Feb 22nd, 2019 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --//====================================================\\--
  2. --||               CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. AwsomeBra1 = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28. sick.SoundId = "rbxassetid://425521107"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 1
  32. sick:Play()
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50.  
  51. --//=================================\\
  52. --||          USEFUL VALUES
  53. --\\=================================//
  54.  
  55. Animation_Speed = 3
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 23
  58. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  60. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  61. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local ATTACK = false
  65. local EQUIPPED = false
  66. local HOLD = false
  67. local COMBO = 1
  68. local Rooted = false
  69. local SINE = 0
  70. local KEYHOLD = false
  71. local CHANGE = 2 / Animation_Speed
  72. local WALKINGANIM = false
  73. local VALUE1 = false
  74. local VALUE2 = false
  75. local ROBLOXIDLEANIMATION = IT("Animation")
  76. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  77. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  78. --ROBLOXIDLEANIMATION.Parent = Humanoid
  79. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  80. WEAPONGUI.Name = "Weapon GUI"
  81. local Effects = IT("Folder", Character)
  82. Effects.Name = "Effects"
  83. local ANIMATOR = Humanoid.Animator
  84. local ANIMATE = Character.Animate
  85. local UNANCHOR = true
  86.  
  87. --//=================================\\
  88. --\\=================================//
  89.  
  90.  
  91. --//=================================\\
  92. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  93. --\\=================================//
  94.  
  95. ArtificialHB = Instance.new("BindableEvent", script)
  96. ArtificialHB.Name = "ArtificialHB"
  97.  
  98. script:WaitForChild("ArtificialHB")
  99.  
  100. frame = Frame_Speed
  101. tf = 0
  102. allowframeloss = false
  103. tossremainder = false
  104. lastframe = tick()
  105. script.ArtificialHB:Fire()
  106.  
  107. game:GetService("RunService").Heartbeat:connect(function(s, p)
  108.     tf = tf + s
  109.     if tf >= frame then
  110.         if allowframeloss then
  111.             script.ArtificialHB:Fire()
  112.             lastframe = tick()
  113.         else
  114.             for i = 1, math.floor(tf / frame) do
  115.                 script.ArtificialHB:Fire()
  116.             end
  117.         lastframe = tick()
  118.         end
  119.         if tossremainder then
  120.             tf = 0
  121.         else
  122.             tf = tf - frame * math.floor(tf / frame)
  123.         end
  124.     end
  125. end)
  126.  
  127. --//=================================\\
  128. --\\=================================//
  129.  
  130. --//=================================\\
  131. --||          SOME FUNCTIONS
  132. --\\=================================//
  133.  
  134. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  135.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  136. end
  137.  
  138. function PositiveAngle(NUMBER)
  139.     if NUMBER >= 0 then
  140.         NUMBER = 0
  141.     end
  142.     return NUMBER
  143. end
  144.  
  145. function NegativeAngle(NUMBER)
  146.     if NUMBER <= 0 then
  147.         NUMBER = 0
  148.     end
  149.     return NUMBER
  150. end
  151.  
  152. function Swait(NUMBER)
  153.     if NUMBER == 0 or NUMBER == nil then
  154.         ArtificialHB.Event:wait()
  155.     else
  156.         for i = 1, NUMBER do
  157.             ArtificialHB.Event:wait()
  158.         end
  159.     end
  160. end
  161.  
  162. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  163.     local NEWMESH = IT(MESH)
  164.     if MESH == "SpecialMesh" then
  165.         NEWMESH.MeshType = MESHTYPE
  166.         if MESHID ~= "nil" and MESHID ~= "" then
  167.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  168.         end
  169.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  170.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  171.         end
  172.     end
  173.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  174.     NEWMESH.Scale = SCALE
  175.     NEWMESH.Parent = PARENT
  176.     return NEWMESH
  177. end
  178.  
  179. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  180.     local NEWPART = IT("Part")
  181.     NEWPART.formFactor = FORMFACTOR
  182.     NEWPART.Reflectance = REFLECTANCE
  183.     NEWPART.Transparency = TRANSPARENCY
  184.     NEWPART.CanCollide = false
  185.     NEWPART.Locked = true
  186.     NEWPART.Anchored = true
  187.     if ANCHOR == false then
  188.         NEWPART.Anchored = false
  189.     end
  190.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  191.     NEWPART.Name = NAME
  192.     NEWPART.Size = SIZE
  193.     NEWPART.Position = Torso.Position
  194.     NEWPART.Material = MATERIAL
  195.     NEWPART:BreakJoints()
  196.     NEWPART.Parent = PARENT
  197.     return NEWPART
  198. end
  199.  
  200.     local function weldBetween(a, b)
  201.         local weldd = Instance.new("ManualWeld")
  202.         weldd.Part0 = a
  203.         weldd.Part1 = b
  204.         weldd.C0 = CFrame.new()
  205.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  206.         weldd.Parent = a
  207.         return weldd
  208.     end
  209.  
  210.  
  211. function QuaternionFromCFrame(cf)
  212.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  213.     local trace = m00 + m11 + m22
  214.     if trace > 0 then
  215.         local s = math.sqrt(1 + trace)
  216.         local recip = 0.5 / s
  217.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  218.     else
  219.         local i = 0
  220.         if m11 > m00 then
  221.             i = 1
  222.         end
  223.         if m22 > (i == 0 and m00 or m11) then
  224.             i = 2
  225.         end
  226.         if i == 0 then
  227.             local s = math.sqrt(m00 - m11 - m22 + 1)
  228.             local recip = 0.5 / s
  229.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  230.         elseif i == 1 then
  231.             local s = math.sqrt(m11 - m22 - m00 + 1)
  232.             local recip = 0.5 / s
  233.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  234.         elseif i == 2 then
  235.             local s = math.sqrt(m22 - m00 - m11 + 1)
  236.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  237.         end
  238.     end
  239. end
  240.  
  241. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  242.     local xs, ys, zs = x + x, y + y, z + z
  243.     local wx, wy, wz = w * xs, w * ys, w * zs
  244.     local xx = x * xs
  245.     local xy = x * ys
  246.     local xz = x * zs
  247.     local yy = y * ys
  248.     local yz = y * zs
  249.     local zz = z * zs
  250.     return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  251. end
  252.  
  253. function QuaternionSlerp(a, b, t)
  254.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  255.     local startInterp, finishInterp;
  256.     if cosTheta >= 0.0001 then
  257.         if (1 - cosTheta) > 0.0001 then
  258.             local theta = ACOS(cosTheta)
  259.             local invSinTheta = 1 / SIN(theta)
  260.             startInterp = SIN((1 - t) * theta) * invSinTheta
  261.             finishInterp = SIN(t * theta) * invSinTheta
  262.         else
  263.             startInterp = 1 - t
  264.             finishInterp = t
  265.         end
  266.     else
  267.         if (1 + cosTheta) > 0.0001 then
  268.             local theta = ACOS(-cosTheta)
  269.             local invSinTheta = 1 / SIN(theta)
  270.             startInterp = SIN((t - 1) * theta) * invSinTheta
  271.             finishInterp = SIN(t * theta) * invSinTheta
  272.         else
  273.             startInterp = t - 1
  274.             finishInterp = t
  275.         end
  276.     end
  277.     return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  278. end
  279.  
  280. function Clerp(a, b, t)
  281.     local qa = {QuaternionFromCFrame(a)}
  282.     local qb = {QuaternionFromCFrame(b)}
  283.     local ax, ay, az = a.x, a.y, a.z
  284.     local bx, by, bz = b.x, b.y, b.z
  285.     local _t = 1 - t
  286.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  287. end
  288.  
  289. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  290.     local frame = IT("Frame")
  291.     frame.BackgroundTransparency = TRANSPARENCY
  292.     frame.BorderSizePixel = BORDERSIZEPIXEL
  293.     frame.Position = POSITION
  294.     frame.Size = SIZE
  295.     frame.BackgroundColor3 = COLOR
  296.     frame.BorderColor3 = BORDERCOLOR
  297.     frame.Name = NAME
  298.     frame.Parent = PARENT
  299.     return frame
  300. end
  301.  
  302. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  303.     local label = IT("TextLabel")
  304.     label.BackgroundTransparency = 1
  305.     label.Size = UD2(1, 0, 1, 0)
  306.     label.Position = UD2(0, 0, 0, 0)
  307.     label.TextColor3 = TEXTCOLOR
  308.     label.TextStrokeTransparency = STROKETRANSPARENCY
  309.     label.TextTransparency = TRANSPARENCY
  310.     label.FontSize = TEXTFONTSIZE
  311.     label.Font = TEXTFONT
  312.     label.BorderSizePixel = BORDERSIZEPIXEL
  313.     label.TextScaled = false
  314.     label.Text = TEXT
  315.     label.Name = NAME
  316.     label.Parent = PARENT
  317.     return label
  318. end
  319.  
  320. function NoOutlines(PART)
  321.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  322. end
  323.  
  324. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  325.     local NEWWELD = IT(TYPE)
  326.     NEWWELD.Part0 = PART0
  327.     NEWWELD.Part1 = PART1
  328.     NEWWELD.C0 = C0
  329.     NEWWELD.C1 = C1
  330.     NEWWELD.Parent = PARENT
  331.     return NEWWELD
  332. end
  333.  
  334. local S = IT("Sound")
  335. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  336.     local NEWSOUND = nil
  337.     coroutine.resume(coroutine.create(function()
  338.         NEWSOUND = S:Clone()
  339.         NEWSOUND.Parent = PARENT
  340.         NEWSOUND.Volume = VOLUME
  341.         NEWSOUND.Pitch = PITCH
  342.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  343.         NEWSOUND:play()
  344.         if DOESLOOP == true then
  345.             NEWSOUND.Looped = true
  346.         else
  347.             repeat Swait() until NEWSOUND.Playing == false
  348.             NEWSOUND:remove()
  349.         end
  350.     end))
  351.     return NEWSOUND
  352. end
  353.  
  354. function CFrameFromTopBack(at, top, back)
  355.     local right = top:Cross(back)
  356.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  357. end
  358.  
  359. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  360. function WACKYEFFECT(Table)
  361.     local TYPE = (Table.EffectType or "Sphere")
  362.     local SIZE = (Table.Size or VT(1,1,1))
  363.     local ENDSIZE = (Table.Size2 or VT(0,0,0))
  364.     local TRANSPARENCY = (Table.Transparency or 0)
  365.     local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  366.     local CFRAME = (Table.CFrame or Torso.CFrame)
  367.     local MOVEDIRECTION = (Table.MoveToPos or nil)
  368.     local ROTATION1 = (Table.RotationX or 0)
  369.     local ROTATION2 = (Table.RotationY or 0)
  370.     local ROTATION3 = (Table.RotationZ or 0)
  371.     local MATERIAL = (Table.Material or "Neon")
  372.     local COLOR = (Table.Color or C3(1,1,1))
  373.     local TIME = (Table.Time or 45)
  374.     local SOUNDID = (Table.SoundID or nil)
  375.     local SOUNDPITCH = (Table.SoundPitch or nil)
  376.     local SOUNDVOLUME = (Table.SoundVolume or nil)
  377.     coroutine.resume(coroutine.create(function()
  378.         local PLAYSSOUND = false
  379.         local SOUND = nil
  380.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  381.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  382.             PLAYSSOUND = true
  383.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  384.         end
  385.         EFFECT.Color = COLOR
  386.         local MSH = nil
  387.         if TYPE == "Sphere" then
  388.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  389.         elseif TYPE == "Block" then
  390.             MSH = IT("BlockMesh",EFFECT)
  391.             MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  392.         elseif TYPE == "Wave" then
  393.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  394.         elseif TYPE == "Ring" then
  395.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  396.         elseif TYPE == "Slash" then
  397.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  398.         elseif TYPE == "Round Slash" then
  399.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  400.         elseif TYPE == "Swirl" then
  401.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  402.         elseif TYPE == "Skull" then
  403.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  404.         elseif TYPE == "Crystal" then
  405.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  406.         end
  407.         if MSH ~= nil then
  408.             local MOVESPEED = nil
  409.             if MOVEDIRECTION ~= nil then
  410.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  411.             end
  412.             local GROWTH = SIZE - ENDSIZE
  413.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  414.             if TYPE == "Block" then
  415.                 EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  416.             else
  417.                 EFFECT.CFrame = CFRAME
  418.             end
  419.             for LOOP = 1, TIME do
  420.                 Swait()
  421.                 MSH.Scale = MSH.Scale - GROWTH/TIME
  422.                 if TYPE == "Wave" then
  423.                     MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  424.                 end
  425.                 EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  426.                 if TYPE == "Block" then
  427.                     EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  428.                 else
  429.                     EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  430.                 end
  431.                 if MOVEDIRECTION ~= nil then
  432.                     local ORI = EFFECT.Orientation
  433.                     EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  434.                     EFFECT.Orientation = ORI
  435.                 end
  436.             end
  437.             if PLAYSSOUND == false then
  438.                 EFFECT:remove()
  439.             else
  440.                 repeat Swait() until SOUND.Playing == false
  441.                 EFFECT:remove()
  442.             end
  443.         else
  444.             if PLAYSSOUND == false then
  445.                 EFFECT:remove()
  446.             else
  447.                 repeat Swait() until SOUND.Playing == false
  448.                 EFFECT:remove()
  449.             end
  450.         end
  451.     end))
  452. end
  453.  
  454. function MakeForm(PART,TYPE)
  455.     if TYPE == "Cyl" then
  456.         local MSH = IT("CylinderMesh",PART)
  457.     elseif TYPE == "Ball" then
  458.         local MSH = IT("SpecialMesh",PART)
  459.         MSH.MeshType = "Sphere"
  460.     elseif TYPE == "Wedge" then
  461.         local MSH = IT("SpecialMesh",PART)
  462.         MSH.MeshType = "Wedge"
  463.     end
  464. end
  465.  
  466. Debris = game:GetService("Debris")
  467.  
  468. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  469.     local DIRECTION = CF(StartPos,EndPos).lookVector
  470.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  471. end
  472.  
  473. function turnto(position)
  474.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  475. end
  476.  
  477. --//=================================\\
  478. --||         WEAPON CREATION
  479. --\\=================================//
  480.  
  481. local SKILLTEXTCOLOR = BRICKC"Mulberry".Color
  482. local SKILLFONT = "Bodoni"
  483. local SKILLTEXTSIZE = 7
  484.  
  485. local naeeym2 = Instance.new("BillboardGui",Character)
  486. naeeym2.AlwaysOnTop = true
  487. naeeym2.Size = UDim2.new(5,35,2,15)
  488. naeeym2.StudsOffset = Vector3.new(0,1.2,4)
  489. naeeym2.Adornee = Character.Head
  490. naeeym2.Name = "Name"
  491. naeeym2.PlayerToHideFrom = Player
  492. local tecks2 = Instance.new("TextLabel",naeeym2)
  493. tecks2.BackgroundTransparency = 1
  494. tecks2.TextScaled = true
  495. tecks2.BorderSizePixel = 0
  496. tecks2.Text = "Darkseed"
  497. tecks2.Font = SKILLFONT
  498. tecks2.TextSize = 30
  499. tecks2.TextStrokeTransparency = 0
  500. tecks2.TextColor3 = C3(0,0,0)
  501. tecks2.TextStrokeColor3 = BRICKC"Mulberry".Color
  502. tecks2.Size = UDim2.new(1,0,0.5,0)
  503. tecks2.Parent = naeeym2
  504.  
  505. Humanoid.Died:connect(function()
  506.     ATTACK = true
  507.     KillChildren(Character)
  508. end)
  509.  
  510. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  511. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  512. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  513.  
  514. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Darkheart Spire", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  515. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Darkheart Toss", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  516. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Darkseed Barrage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  517.  
  518. --//=================================\\
  519. --||         DAMAGE FUNCTIONS
  520. --\\=================================//
  521.  
  522. function StatLabel(CFRAME, TEXT, COLOR)
  523.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  524.     STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  525.     local BODYGYRO = IT("BodyGyro", STATPART)
  526.     game:GetService("Debris"):AddItem(STATPART ,5)
  527.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  528.     BILLBOARDGUI.Adornee = STATPART
  529.     BILLBOARDGUI.Size = UD2(1.5, 0, 1.5 ,0)
  530.     BILLBOARDGUI.StudsOffset = VT(-1, 2, 0)
  531.     BILLBOARDGUI.AlwaysOnTop = false
  532.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  533.     TEXTLABEL.BackgroundTransparency = 1
  534.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  535.     TEXTLABEL.Text = TEXT
  536.     TEXTLABEL.Font = SKILLFONT
  537.     TEXTLABEL.FontSize="Size42"
  538.     TEXTLABEL.TextColor3 = COLOR
  539.     TEXTLABEL.TextStrokeTransparency = 0
  540.     TEXTLABEL.TextScaled = true
  541.     TEXTLABEL.TextWrapped = true
  542.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  543.         for i = 1, 50 do
  544.             Swait()
  545.             STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  546.             TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  547.             TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  548.         end
  549.         THEPART.Parent = nil
  550.     end),STATPART, TEXTLABEL)
  551. end
  552.  
  553. --//=================================\\
  554. --||            DAMAGING
  555. --\\=================================//
  556.  
  557. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  558.     local LOWDMG = false
  559.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  560.     defence.Name = ("HitBy"..Player.Name)
  561.     game:GetService("Debris"):AddItem(defence, 0.001)
  562.     Damage = Damage * DAMAGEMULTIPLIER
  563.     if Damage < 1 then
  564.         LOWDMG = true
  565.     end
  566.     if Humanoid.Health ~= 0 then
  567.         local CritChance = MRANDOM(1,100)
  568.         if CritChance < CritRate + 1 then
  569.             Damage = Damage*CritMultiplier
  570.         end
  571.         if Damage > Humanoid.Health then
  572.             Damage = math.ceil(Humanoid.Health)
  573.             if Damage == 0 then
  574.                 Damage = 0.1
  575.             end
  576.         end
  577.         Humanoid.Health = Humanoid.Health - Damage
  578.         if Humanoid.Parent:FindFirstChild("Head") then
  579.             if LOWDMG == false then
  580.                 if CritChance < CritRate + 1 then
  581.                     StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  582.                 else
  583.                     StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  584.                 end
  585.             elseif LOWDMG == true then
  586.                 if CritChance < CritRate + 1 then
  587.                     StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//".."."..Damage*10, C3(1, 0, 0))
  588.                 else
  589.                     StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "."..Damage*10, C3(0, 0, 0))
  590.                 end
  591.             end
  592.         end
  593.         if Humanoid.Health == 0 then
  594.             KillChildren(Humanoid.Parent)
  595.         end
  596.     end
  597. end
  598.  
  599. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  600.     local dmg = math.random(min,max)
  601.     for i,v in ipairs(workspace:GetChildren()) do
  602.     if v:FindFirstChild("HitBy"..Player.Name) == nil then
  603.         local body = v:GetChildren()
  604.             for part = 1, #body do
  605.                 if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  606.                     if(body[part].Position - position).Magnitude < radius then
  607.                         if v.ClassName == "Model" then
  608.                             if v:FindFirstChildOfClass("Humanoid") then
  609.                                 if CanBeDodgedByJumping == true then
  610.                                     if body[part].Position.Y < position.Y+5 then
  611.                                         ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  612.                                     end
  613.                                 else
  614.                                     ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  615.                                 end
  616.                                 if maxstrength ~= 0 then
  617.                                     local bv = Instance.new("BodyVelocity")
  618.                                     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  619.                                     bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  620.                                     bv.Parent = body[part]
  621.                                     Debris:AddItem(bv,0.2)
  622.                                 end
  623.                             end
  624.                         end
  625.                     end
  626.                 end
  627.             end
  628.         end
  629.         if v:FindFirstChild("HitBy"..Player.Name) then
  630.             v:FindFirstChild("HitBy"..Player.Name):remove()
  631.         end
  632.     end
  633. end
  634.  
  635. function KillChildren(v)
  636.     local PARTS = {}
  637.     coroutine.resume(coroutine.create(function()
  638.         v:BreakJoints()
  639.         for _, c in pairs(v:GetChildren()) do
  640.             if c.ClassName == "Part" or c.ClassName == "MesPart" then
  641.                 if c.Transparency < 1 then
  642.                     if c:FindFirstChildOfClass("Decal") then
  643.                         c:FindFirstChildOfClass("Decal"):remove()
  644.                     end
  645.                     c.Parent = Effects
  646.                     c.Material = "Neon"
  647.                     c.Color = C3(0,0,0)
  648.                     c.Transparency = 0
  649.                     c.CanCollide = true
  650.                     c.Anchored = true
  651.                     if c:FindFirstChildOfClass("SpecialMesh") then
  652.                         c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  653.                     end
  654.                     if c:FindFirstChildOfClass("Part") then
  655.                         c:FindFirstChildOfClass("Part").Anchored = true
  656.                         c:FindFirstChildOfClass("Part").Color = C3(0,0,0)
  657.                         c:FindFirstChildOfClass("Part").Material = "Neon"
  658.                         c:FindFirstChildOfClass("Part").Parent = Effects
  659.                         table.insert(PARTS,c:FindFirstChildOfClass("Part"))
  660.                     end
  661.                     table.insert(PARTS,c)
  662.                 end
  663.             end
  664.         end
  665.         wait(0.25)
  666.         for e = 1, #PARTS do
  667.             if PARTS[e] ~= nil then
  668.                 local c = PARTS[e]
  669.                 local bv = IT("BodyVelocity")
  670.                 bv.maxForce = VT(1,1,1)*1e5
  671.                 bv.velocity = VT(math.random()-.5, 0, math.random()-.5).unit*2*40
  672.                 bv.Parent = c
  673.                 c.Anchored = false
  674.                 Debris:AddItem(c,5)
  675.             end
  676.         end
  677.     end))
  678. end
  679.  
  680. --//=================================\\
  681. --||    ATTACK FUNCTIONS AND STUFF
  682. --\\=================================//
  683.  
  684. function DarkheartSpire()
  685.     local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7, Character)
  686.     if HITFLOOR ~= nil then
  687.         ATTACK = true
  688.         Rooted = false
  689.         local GYRO = IT("BodyGyro",RootPart)
  690.         GYRO.D = 100
  691.         GYRO.P = 2000
  692.         GYRO.MaxTorque = VT(0,40000000,0)
  693.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  694.         for i=0, 1, 0.1 / Animation_Speed do
  695.             Swait()
  696.             GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  697.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  698.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  699.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-45), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(32 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  700.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  701.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  702.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  703.         end
  704.         local AIMPOS = Mouse.Hit.p
  705.         coroutine.resume(coroutine.create(function()
  706.             local FRAME = RootPart.CFrame*CF(0,-8,-2)
  707.             local SPIRE = CreatePart(3, Effects, "Neon", 0,0, "Really black", "SPIRE", VT(2,45,2))
  708.             CreateSound("93724183", SPIRE, 5, 1, false)
  709.             MakeForm(SPIRE,"Ball")
  710.             SPIRE.Color = C3(0,0,0)
  711.             for i = 1, 145 do
  712.                 Swait()
  713.                 local HITFLOOR,HITPOS,NORMAL = Raycast(SPIRE.Position+VT(0,5,0), (CF(SPIRE.Position, SPIRE.Position + VT(0, -1, 0))).lookVector, 100, Character)
  714.                 if HITFLOOR then
  715.                     SPIRE.CFrame = FRAME*CF(0,0,-i)
  716.                     local POS = HITPOS.Y
  717.                     if POS then
  718.                         SPIRE.CFrame = CF(VT(SPIRE.Position.X,POS-3,SPIRE.Position.Z))
  719.                         WACKYEFFECT({EffectType = "Block", Size = VT(3,3,3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = CF(SPIRE.Position+VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = HITFLOOR.Material, Color = HITFLOOR.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  720.                     end
  721.                     AoEDamage(SPIRE.Position,7,2,3,6,2,4,false)
  722.                 else
  723.                     --break
  724.                 end
  725.             end
  726.             for i = 1, 25 do
  727.                 Swait()
  728.                 SPIRE.CFrame = SPIRE.CFrame*CF(0,-0.75,0)
  729.             end
  730.             SPIRE:remove()
  731.         end))
  732.         for i=0, 0.15, 0.1 / Animation_Speed do
  733.             Swait()
  734.             GYRO.cframe = CF(RootPart.Position,AIMPOS)
  735.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  736.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  737.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  738.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(5), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  739.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  740.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  741.         end
  742.         for i=0, 1, 0.1 / Animation_Speed do
  743.             Swait()
  744.             GYRO.cframe = CF(RootPart.Position,AIMPOS)
  745.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(85 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  746.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-85 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  747.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(145), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  748.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  749.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  750.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  751.         end
  752.         GYRO:remove()
  753.         ATTACK = false
  754.         Rooted = false
  755.     end
  756. end
  757.  
  758. function DarkheartToss()
  759.     ATTACK = true
  760.     Rooted = false
  761.     local GYRO = IT("BodyGyro",RootPart)
  762.     GYRO.D = 100
  763.     GYRO.P = 2000
  764.     GYRO.MaxTorque = VT(0,40000000,0)
  765.     GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  766.     local Darkheart = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Darkheart", VT(1,1,1),false)
  767.     local SwordWeld = CreateWeldOrSnapOrMotor("Weld", Darkheart, RightArm, Darkheart, CF(0,-1,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0, 0, -1.8))
  768.     local MSH = IT("SpecialMesh",Darkheart)
  769.     MSH.MeshId = "rbxasset://fonts/sword.mesh"
  770.     Darkheart.Color = C3(0,0,0)
  771.     repeat
  772.         Swait()
  773.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  774.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  775.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  776.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 1 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(160), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  777.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  778.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  779.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  780.     until HOLD == true
  781.     Rooted = true
  782.     CreateSound("1112042117", RightArm, 5, 1.2, false)
  783.     SwordWeld:remove()
  784.     coroutine.resume(coroutine.create(function()
  785.         local DISTANCE = (RootPart.Position - Mouse.Hit.p).Magnitude
  786.         local NoHit,HitPos,NORMAL = Raycast(RootPart.Position, RootPart.CFrame.lookVector, DISTANCE, workspace)
  787.         local ThrowHit,HitPos2,NORMAL2 = Raycast(RootPart.Position, CF(RootPart.Position,VT(HitPos.X,Mouse.Hit.p.Y,HitPos.Z)).lookVector, 1000, Character)
  788.         if ThrowHit then
  789.             Darkheart.CFrame = CF(HitPos2,RootPart.Position)*ANGLES(RAD(0),RAD(0),RAD(180))
  790.             weldBetween(ThrowHit,Darkheart)
  791.             if ThrowHit.Parent:FindFirstChildOfClass("Humanoid") then
  792.                 CreateSound("1306077413", ThrowHit, 5, 1, false)
  793.                 local HUM = ThrowHit.Parent:FindFirstChildOfClass("Humanoid")
  794.                 if ThrowHit.Name ~= "Head" and ThrowHit.Name ~= "Torso" and ThrowHit.Name ~= "UpperTorso" then
  795.                     for i = 1, 15 do
  796.                         ApplyDamage(HUM,1,2,2)
  797.                         wait()
  798.                     end
  799.                 elseif ThrowHit.Name == "Head" then
  800.                     for i = 1, 15 do
  801.                         ApplyDamage(HUM,3,2,2)
  802.                         wait()
  803.                     end
  804.                 elseif ThrowHit.Name == "Torso" or ThrowHit.Name == "UpperTorso" then
  805.                     for i = 1, 15 do
  806.                         ApplyDamage(HUM,2,2,2)
  807.                         wait()
  808.                     end
  809.                 end
  810.                 wait(2)
  811.                 for i = 1, 10 do
  812.                     Swait()
  813.                     Darkheart.Transparency = i/10
  814.                 end
  815.                 Darkheart:remove()
  816.             else
  817.                 wait(2)
  818.                 for i = 1, 10 do
  819.                     Swait()
  820.                     Darkheart.Transparency = i/10
  821.                 end
  822.                 Darkheart:remove()
  823.             end
  824.         else
  825.             Darkheart:remove()
  826.         end
  827.     end))
  828.     for i=0, 1, 0.1 / Animation_Speed do
  829.         Swait()
  830.         GYRO.cframe = CF(RootPart.Position,Darkheart.Position)
  831.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(55 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  832.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-55 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  833.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.25 * COS(SINE / 12), -0.4) * ANGLES(RAD(90), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(55 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  834.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  835.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  836.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  837.     end
  838.     GYRO:remove()
  839.     ATTACK = false
  840.     Rooted = false
  841. end
  842.  
  843. function DarkseedBarrage()
  844.     ATTACK = true
  845.     Rooted = true
  846.     local GYRO = IT("BodyGyro",RootPart)
  847.     GYRO.D = 100
  848.     GYRO.P = 2000
  849.     GYRO.MaxTorque = VT(0,4000000,0)
  850.     GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  851.     for i=1, 35 do
  852.         Swait()
  853.         WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-2,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  854.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  855.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  856.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  857.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  858.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  859.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  860.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  861.     end
  862.     local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Mulberry", "Lazer", VT(0,0,0))
  863.     local LOOP = CreateSound("289315275", RightArm, 5, 1.2, false)
  864.     local MSH = IT("CylinderMesh",BEAM)
  865.     local TOCH = BEAM.Touched:Connect(function(hit)
  866.         if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  867.             if hit.Parent:FindFirstChildOfClass("Humanoid") then
  868.                 ApplyDamage(hit.Parent:FindFirstChildOfClass("Humanoid"),0.2,2,2)
  869.             end
  870.         end
  871.     end)
  872.     local I = 0
  873.     repeat
  874.         Swait()
  875.         I = I + 1
  876.         if I <= 10 then
  877.             BEAM.Transparency = BEAM.Transparency - 0.1
  878.         end
  879.         local STARTPOS = RightArm.CFrame*CF(0,-2,0).p
  880.         local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character)
  881.         local DISTANCE = (STARTPOS - ENDPOS).Magnitude
  882.         BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(90),RAD(0),RAD(0))
  883.         BEAM.Size = VT(1,DISTANCE,1)
  884.         WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-2,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  885.         WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = VT(3,3,3), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6})
  886.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  887.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  888.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  889.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  890.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  891.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  892.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  893.         if ENDHIT ~= nil then
  894.             if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then
  895.                 if ENDHIT.Parent:FindFirstChildOfClass("Humanoid") then
  896.                     ApplyDamage(ENDHIT.Parent:FindFirstChildOfClass("Humanoid"),0.1,2,2)
  897.                 end
  898.             end
  899.         end
  900.     until LOOP.Playing == false
  901.     BEAM:remove()
  902.     GYRO:remove()
  903.     ATTACK = false
  904.     Rooted = false
  905. end
  906.  
  907. --//=================================\\
  908. --||      ASSIGN THINGS TO KEYS
  909. --\\=================================//
  910.  
  911. function MouseDown(Mouse)
  912.     HOLD = true
  913.     if ATTACK == false then
  914.     end
  915. end
  916.  
  917. function MouseUp(Mouse)
  918. HOLD = false
  919. end
  920.  
  921. function KeyDown(Key)
  922.     KEYHOLD = true
  923.     if Key == "z" and ATTACK == false then
  924.         DarkheartSpire()
  925.     end
  926.  
  927.     if Key == "b" and ATTACK == false then
  928.         DarkheartToss()
  929.     end
  930.  
  931.     if Key == "c" and ATTACK == false then
  932.         DarkseedBarrage()
  933.     end
  934. end
  935.  
  936. function KeyUp(Key)
  937.     KEYHOLD = false
  938. end
  939.  
  940.     Mouse.Button1Down:connect(function(NEWKEY)
  941.         MouseDown(NEWKEY)
  942.     end)
  943.     Mouse.Button1Up:connect(function(NEWKEY)
  944.         MouseUp(NEWKEY)
  945.     end)
  946.     Mouse.KeyDown:connect(function(NEWKEY)
  947.         KeyDown(NEWKEY)
  948.     end)
  949.     Mouse.KeyUp:connect(function(NEWKEY)
  950.         KeyUp(NEWKEY)
  951.     end)
  952.  
  953. --//=================================\\
  954. --\\=================================//
  955.  
  956.  
  957. function unanchor()
  958.     if UNANCHOR == true then
  959.         g = Character:GetChildren()
  960.         for i = 1, #g do
  961.             if g[i].ClassName == "Part" then
  962.                 g[i].Anchored = false
  963.             end
  964.         end
  965.     end
  966. end
  967.  
  968.  
  969. --//=================================\\
  970. --||    WRAP THE WHOLE SCRIPT UP
  971. --\\=================================//
  972.  
  973. Humanoid.Changed:connect(function(Jump)
  974.     if Jump == "Jump" and (Disable_Jump == true) then
  975.         Humanoid.Jump = false
  976.     end
  977. end)
  978.  
  979.     local top = Instance.new("Shirt")
  980.     top.ShirtTemplate = "rbxassetid://131708604"
  981.     top.Parent = Character
  982.     top.Name = "DarkseedClothes"
  983.     local bottom = Instance.new("Pants")
  984.     bottom.PantsTemplate = "rbxassetid://131708657"
  985.     bottom.Parent = Character
  986.     bottom.Name = "DarkseedClothes"
  987.  
  988. Humanoid.HipHeight = 1
  989.  
  990. while true do
  991.     Swait()
  992.     Character.Parent = workspace
  993.     Humanoid.Parent = Character
  994.     script.Parent = WEAPONGUI
  995.     ANIMATE.Parent = nil
  996.     if Humanoid then
  997.         local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  998.         IDLEANIMATION:Play()
  999.     end
  1000.     SINE = SINE + CHANGE
  1001.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1002.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1003.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 6, Character)
  1004.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1005.     if ATTACK == false then
  1006.         if TORSOVELOCITY < 1 then
  1007.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 0.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1008.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1009.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1010.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1011.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1012.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1013.         elseif TORSOVELOCITY > 1 then
  1014.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(Speed/3 + 0.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1015.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-Speed/3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1016.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1017.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1018.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1019.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1020.         end
  1021.     end
  1022.     unanchor()
  1023.     Humanoid.MaxHealth = "inf"
  1024.     Humanoid.Health = "inf"
  1025.     if Rooted == false then
  1026.         Disable_Jump = false
  1027.         Humanoid.WalkSpeed = Speed
  1028.     elseif Rooted == true then
  1029.         Disable_Jump = true
  1030.         Humanoid.WalkSpeed = 0
  1031.     end
  1032.     Humanoid.DisplayDistanceType = "None"
  1033.     for _, c in pairs(Character:GetChildren()) do
  1034.         if c.ClassName == "Part" and c.Name ~= "Eye" then
  1035.             c.Material = "Neon"
  1036.             if c:FindFirstChildOfClass("ParticleEmitter") then
  1037.                 c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1038.             end
  1039.             c.Color = C3(0,0,0)
  1040.             if c == Head then
  1041.                 if c:FindFirstChild("Pumpkin") == nil then
  1042.                     local M = CreateMesh("SpecialMesh", c, "FileMesh", "1158007", "5162958", VT(1,1,1)*0.45, VT(0,0.25,0))
  1043.                     M.Name = "Pumpkin"
  1044.                     local FIRE = CreatePart(3, Head, "Neon", 0, 0, "Mulberry", "Fire", VT(1,1,1)*1.7,false)
  1045.                     MakeForm(FIRE,"Ball")
  1046.                     FIRE.CFrame = Head.CFrame*CF(0,0.1,0)
  1047.                     weldBetween(Head,FIRE)
  1048.                 end
  1049.                 if c:FindFirstChild("face") then
  1050.                     c.face:remove()
  1051.                 end
  1052.             end
  1053.         elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1054.             c:remove()
  1055.         elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "DarkseedClothes" then
  1056.             c:remove()
  1057.         end
  1058.     end
  1059.     sick.Parent = Character
  1060.     sick.Playing = true
  1061.     AoEDamage(Torso.Position,5,1,1,0,0,2,false)
  1062.     if Head:FindFirstChildOfClass("Sound") then
  1063.         Head:FindFirstChildOfClass("Sound"):remove()
  1064.     end
  1065. end
  1066.  
  1067. --//=================================\\
  1068. --\\=================================//
  1069.  
  1070.  
  1071.  
  1072.  
  1073.  
  1074. --//====================================================\\--
  1075. --||                     END OF SCRIPT
  1076. --\\====================================================//--
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top