Advertisement
wanTH092

SixTanks (leak)

Jul 8th, 2018
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 107.42 KB | None | 0 0
  1. --//====================================================\\--
  2. --||               CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4. local LIGHTHITSOUNDS = {"1177780949","1177781153","1177784554"}
  5. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  6.     if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  7.         local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  8.         local dmg = math.random(min,max)
  9.         if humanoid.Health > 0 then
  10.             if beserk == true then
  11.                 humanoid.Health = 0
  12.             else
  13.                 CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  14.                 hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  15.                 if math.random(1,100) < critrate+ 1 then
  16.                     humanoid.Health = humanoid.Health - dmg*critmultiplier
  17.                     StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  18.                 else
  19.                     humanoid.Health = humanoid.Health - dmg
  20.                     StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  21.                 end
  22.                 local defence = Instance.new("BoolValue",hit.Parent)
  23.                 defence.Name = ("HitBy"..Player.Name)
  24.                 game:GetService("Debris"):AddItem(defence, 0.5)
  25.             end
  26.         end
  27.     end
  28. end
  29. function turnto(position)
  30.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  31. end
  32. Player = game:GetService("Players").LocalPlayer
  33. PlayerGui = Player.PlayerGui
  34. Cam = workspace.CurrentCamera
  35. Backpack = Player.Backpack
  36. Character = Player.Character
  37. Humanoid = Character.Humanoid
  38. Humanoid.Name = "Hi :):"
  39. Mouse = Player:GetMouse()
  40. RootPart = Character["HumanoidRootPart"]
  41. Torso = Character["Torso"]
  42. Head = Character["Head"]
  43. RightArm = Character["Right Arm"]
  44. LeftArm = Character["Left Arm"]
  45. RightLeg = Character["Right Leg"]
  46. LeftLeg = Character["Left Leg"]
  47. RootJoint = RootPart["RootJoint"]
  48. Neck = Torso["Neck"]
  49. RightShoulder = Torso["Right Shoulder"]
  50. LeftShoulder = Torso["Left Shoulder"]
  51. RightHip = Torso["Right Hip"]
  52. LeftHip = Torso["Left Hip"]
  53. local sick = Instance.new("Sound",Character)
  54. sick.SoundId = "rbxassetid://1140435341"
  55. sick.Looped = true
  56. sick.Pitch = 1
  57. sick.Volume = 50
  58. sick:Play()
  59.  
  60.  
  61. IT = Instance.new
  62. CF = CFrame.new
  63. VT = Vector3.new
  64. RAD = math.rad
  65. C3 = Color3.new
  66. UD2 = UDim2.new
  67. BRICKC = BrickColor.new
  68. ANGLES = CFrame.Angles
  69. EULER = CFrame.fromEulerAnglesXYZ
  70. COS = math.cos
  71. ACOS = math.acos
  72. SIN = math.sin
  73. ASIN = math.asin
  74. ABS = math.abs
  75. MRANDOM = math.random
  76. FLOOR = math.floor
  77.  
  78. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  79.     local NEWMESH = IT(MESH)
  80.     if MESH == "SpecialMesh" then
  81.         NEWMESH.MeshType = MESHTYPE
  82.         if MESHID ~= "nil" and MESHID ~= "" then
  83.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  84.         end
  85.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  86.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  87.         end
  88.     end
  89.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  90.     NEWMESH.Scale = SCALE
  91.     NEWMESH.Parent = PARENT
  92.     return NEWMESH
  93. end
  94.  
  95. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  96.     local NEWPART = IT("Part")
  97.     NEWPART.formFactor = FORMFACTOR
  98.     NEWPART.Reflectance = REFLECTANCE
  99.     NEWPART.Transparency = TRANSPARENCY
  100.     NEWPART.CanCollide = false
  101.     NEWPART.Locked = true
  102.     NEWPART.Anchored = true
  103.     if ANCHOR == false then
  104.         NEWPART.Anchored = false
  105.     end
  106.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  107.     NEWPART.Name = NAME
  108.     NEWPART.Size = SIZE
  109.     NEWPART.Position = Torso.Position
  110.     NEWPART.Material = MATERIAL
  111.     NEWPART:BreakJoints()
  112.     NEWPART.Parent = PARENT
  113.     return NEWPART
  114. end
  115.                        
  116.  
  117. --//=================================\\
  118. --||          CUSTOMIZATION
  119. --\\=================================//
  120.  
  121. Player_Size = 1 --Size of the player.
  122. Animation_Speed = 3
  123. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  124.  
  125. local Speed = 22
  126. local Effects2 = {}
  127.  
  128. --//=================================\\
  129. --||      END OF CUSTOMIZATION
  130. --\\=================================//
  131.  
  132.     local function weldBetween(a, b)
  133.         local weldd = Instance.new("ManualWeld")
  134.         weldd.Part0 = a
  135.         weldd.Part1 = b
  136.         weldd.C0 = CFrame.new()
  137.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  138.         weldd.Parent = a
  139.         return weldd
  140.     end
  141.  
  142. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  143. local acs = Instance.new("Part")
  144. acs.CanCollide = false
  145. acs.Anchored = false
  146. acs.Size = Vector3.new(0,0,0)
  147. acs.CFrame = attachmentpart.CFrame
  148. acs.Parent = Character
  149. acs.BrickColor = color
  150.     local meshs = Instance.new("SpecialMesh")
  151.     meshs.MeshId = mesh
  152.     meshs.TextureId = texture
  153.     meshs.Parent = acs
  154.     meshs.Scale = scale
  155.     meshs.Offset = offset
  156. weldBetween(attachmentpart,acs)
  157. end
  158.  
  159. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  160. if TYPE == "Gem" then
  161.     local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  162.     acs.Anchored = false
  163.     acs.CanCollide = false
  164.     acs.CFrame = PART.CFrame
  165.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  166. weldBetween(PART,acs)
  167. elseif TYPE == "Skull" then
  168.     local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  169.     acs.Anchored = false
  170.     acs.CanCollide = false
  171.     acs.CFrame = PART.CFrame
  172.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  173. weldBetween(PART,acs)
  174. elseif TYPE == "Eye" then
  175.     local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  176.     acs.Anchored = false
  177.     acs.CanCollide = false
  178.     acs.CFrame = PART.CFrame
  179.     local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  180. weldBetween(PART,acs)
  181. end
  182. end
  183.  
  184. --//=================================\\
  185. --||          USEFUL VALUES
  186. --\\=================================//
  187.  
  188. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  189. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  190. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  191. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  192. local CHANGEDEFENSE = 0
  193. local CHANGEDAMAGE = 0
  194. local CHANGEMOVEMENT = 0
  195. local ANIM = "Idle"
  196. local ATTACK = false
  197. local EQUIPPED = false
  198. local HOLD = false
  199. local COMBO = 1
  200. local Rooted = false
  201. local SINE = 0
  202. local KEYHOLD = false
  203. local CHANGE = 2 / Animation_Speed
  204. local WALKINGANIM = false
  205. local WALK = 0
  206. local VALUE1 = false
  207. local VALUE2 = false
  208.  
  209. local ROBLOXIDLEANIMATION = IT("Animation")
  210. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  211. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  212. --ROBLOXIDLEANIMATION.Parent = Humanoid
  213. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  214. WEAPONGUI.Name = "Weapon GUI"
  215. local Weapon = IT("Model")
  216. Weapon.Name = "Adds"
  217. local Effects = IT("Folder", Weapon)
  218. Effects.Name = "Effects"
  219. local ANIMATOR = Humanoid.Animator
  220. local ANIMATE = Character.Animate
  221. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  222. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  223. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  224. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  225. local UNANCHOR = true
  226.  
  227. local SKILLTEXTCOLOR = C3(0,0,0)
  228. local CHOSENBRICK = "Royal purple"
  229.  
  230. --//=================================\\
  231. --\\=================================//
  232.  
  233.  
  234. --//=================================\\
  235. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  236. --\\=================================//
  237.  
  238. ArtificialHB = Instance.new("BindableEvent", script)
  239. ArtificialHB.Name = "ArtificialHB"
  240.  
  241. script:WaitForChild("ArtificialHB")
  242.  
  243. frame = Frame_Speed
  244. tf = 0
  245. allowframeloss = false
  246. tossremainder = false
  247. lastframe = tick()
  248. script.ArtificialHB:Fire()
  249.  
  250. game:GetService("RunService").Heartbeat:connect(function(s, p)
  251.     tf = tf + s
  252.     if tf >= frame then
  253.         if allowframeloss then
  254.             script.ArtificialHB:Fire()
  255.             lastframe = tick()
  256.         else
  257.             for i = 1, math.floor(tf / frame) do
  258.                 script.ArtificialHB:Fire()
  259.             end
  260.         lastframe = tick()
  261.         end
  262.         if tossremainder then
  263.             tf = 0
  264.         else
  265.             tf = tf - frame * math.floor(tf / frame)
  266.         end
  267.     end
  268. end)
  269.  
  270. --//=================================\\
  271. --\\=================================//
  272.  
  273.  
  274.  
  275.  
  276.  
  277. --//=================================\\
  278. --||          SOME FUNCTIONS
  279. --\\=================================//
  280.  
  281. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  282.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  283. end
  284.  
  285. function PositiveAngle(NUMBER)
  286.     if NUMBER >= 0 then
  287.         NUMBER = 0
  288.     end
  289.     return NUMBER
  290. end
  291.  
  292. function NegativeAngle(NUMBER)
  293.     if NUMBER <= 0 then
  294.         NUMBER = 0
  295.     end
  296.     return NUMBER
  297. end
  298.  
  299. function Swait(NUMBER)
  300.     if NUMBER == 0 or NUMBER == nil then
  301.         ArtificialHB.Event:wait()
  302.     else
  303.         for i = 1, NUMBER do
  304.             ArtificialHB.Event:wait()
  305.         end
  306.     end
  307. end
  308.  
  309. function QuaternionFromCFrame(cf)
  310.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  311.     local trace = m00 + m11 + m22
  312.     if trace > 0 then
  313.         local s = math.sqrt(1 + trace)
  314.         local recip = 0.5 / s
  315.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  316.     else
  317.         local i = 0
  318.         if m11 > m00 then
  319.             i = 1
  320.         end
  321.         if m22 > (i == 0 and m00 or m11) then
  322.             i = 2
  323.         end
  324.         if i == 0 then
  325.             local s = math.sqrt(m00 - m11 - m22 + 1)
  326.             local recip = 0.5 / s
  327.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  328.         elseif i == 1 then
  329.             local s = math.sqrt(m11 - m22 - m00 + 1)
  330.             local recip = 0.5 / s
  331.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  332.         elseif i == 2 then
  333.             local s = math.sqrt(m22 - m00 - m11 + 1)
  334.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  335.         end
  336.     end
  337. end
  338.  
  339. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  340.     local xs, ys, zs = x + x, y + y, z + z
  341.     local wx, wy, wz = w * xs, w * ys, w * zs
  342.     local xx = x * xs
  343.     local xy = x * ys
  344.     local xz = x * zs
  345.     local yy = y * ys
  346.     local yz = y * zs
  347.     local zz = z * zs
  348.     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))
  349. end
  350.  
  351. function QuaternionSlerp(a, b, t)
  352.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  353.     local startInterp, finishInterp;
  354.     if cosTheta >= 0.0001 then
  355.         if (1 - cosTheta) > 0.0001 then
  356.             local theta = ACOS(cosTheta)
  357.             local invSinTheta = 1 / SIN(theta)
  358.             startInterp = SIN((1 - t) * theta) * invSinTheta
  359.             finishInterp = SIN(t * theta) * invSinTheta
  360.         else
  361.             startInterp = 1 - t
  362.             finishInterp = t
  363.         end
  364.     else
  365.         if (1 + cosTheta) > 0.0001 then
  366.             local theta = ACOS(-cosTheta)
  367.             local invSinTheta = 1 / SIN(theta)
  368.             startInterp = SIN((t - 1) * theta) * invSinTheta
  369.             finishInterp = SIN(t * theta) * invSinTheta
  370.         else
  371.             startInterp = t - 1
  372.             finishInterp = t
  373.         end
  374.     end
  375.     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
  376. end
  377.  
  378. function Clerp(a, b, t)
  379.     local qa = {QuaternionFromCFrame(a)}
  380.     local qb = {QuaternionFromCFrame(b)}
  381.     local ax, ay, az = a.x, a.y, a.z
  382.     local bx, by, bz = b.x, b.y, b.z
  383.     local _t = 1 - t
  384.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  385. end
  386.  
  387. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  388.     local frame = IT("Frame")
  389.     frame.BackgroundTransparency = TRANSPARENCY
  390.     frame.BorderSizePixel = BORDERSIZEPIXEL
  391.     frame.Position = POSITION
  392.     frame.Size = SIZE
  393.     frame.BackgroundColor3 = COLOR
  394.     frame.BorderColor3 = BORDERCOLOR
  395.     frame.Name = NAME
  396.     frame.Parent = PARENT
  397.     return frame
  398. end
  399.  
  400. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  401.     local label = IT("TextLabel")
  402.     label.BackgroundTransparency = 1
  403.     label.Size = UD2(1, 0, 1, 0)
  404.     label.Position = UD2(0, 0, 0, 0)
  405.     label.TextColor3 = TEXTCOLOR
  406.     label.TextStrokeTransparency = STROKETRANSPARENCY
  407.     label.TextTransparency = TRANSPARENCY
  408.     label.FontSize = TEXTFONTSIZE
  409.     label.Font = TEXTFONT
  410.     label.BorderSizePixel = BORDERSIZEPIXEL
  411.     label.TextScaled = false
  412.     label.Text = TEXT
  413.     label.Name = NAME
  414.     label.Parent = PARENT
  415.     return label
  416. end
  417.  
  418. function NoOutlines(PART)
  419.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  420. end
  421.  
  422.  
  423. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  424.     local NEWWELD = IT(TYPE)
  425.     NEWWELD.Part0 = PART0
  426.     NEWWELD.Part1 = PART1
  427.     NEWWELD.C0 = C0
  428.     NEWWELD.C1 = C1
  429.     NEWWELD.Parent = PARENT
  430.     return NEWWELD
  431. end
  432.  
  433.  
  434. function CreateSound(ID, PARENT, VOLUME, PITCH)
  435.     local NEWSOUND = nil
  436.     coroutine.resume(coroutine.create(function()
  437.         NEWSOUND = IT("Sound", PARENT)
  438.         NEWSOUND.Volume = VOLUME
  439.         NEWSOUND.Pitch = PITCH
  440.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  441.         Swait()
  442.         NEWSOUND:play()
  443.         game:GetService("Debris"):AddItem(NEWSOUND, 1)
  444.     end))
  445.     return NEWSOUND
  446. end
  447.  
  448. function CFrameFromTopBack(at, top, back)
  449.     local right = top:Cross(back)
  450.     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)
  451. end
  452.  
  453. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  454.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  455.     local mesh = IT("SpecialMesh",wave)
  456.     mesh.MeshType = "FileMesh"
  457.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  458.     mesh.Scale = SIZE
  459.     mesh.Offset = VT(0,0,-SIZE.X/8)
  460.     wave.CFrame = CFRAME
  461.     coroutine.resume(coroutine.create(function(PART)
  462.         for i = 1, WAIT do
  463.             Swait()
  464.             mesh.Scale = mesh.Scale + GROW
  465.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  466.             if DOESROT == true then
  467.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  468.             end
  469.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  470.             if wave.Transparency > 0.99 then
  471.                 wave:remove()
  472.             end
  473.         end
  474.     end))
  475. end
  476.  
  477. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  478.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  479.     local mesh = IT("SpecialMesh",wave)
  480.     mesh.MeshType = "FileMesh"
  481.     mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  482.     mesh.Scale = SIZE
  483.     mesh.Offset = VT(0,0,-SIZE.X/8)
  484.     wave.CFrame = CFRAME
  485.     coroutine.resume(coroutine.create(function(PART)
  486.         for i = 1, WAIT do
  487.             Swait()
  488.             mesh.Scale = mesh.Scale + GROW
  489.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  490.             if DOESROT == true then
  491.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  492.             end
  493.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  494.             if wave.Transparency > 0.99 then
  495.                 wave:remove()
  496.             end
  497.         end
  498.     end))
  499. end
  500.  
  501. function clerp(a, b, t)
  502.   return a:lerp(b, t)
  503. end
  504.  
  505. function newBezier(startpos, pos2, pos3, endpos, t)
  506.   local A = clerp(startpos, pos2, t)
  507.   local B = clerp(pos2, pos3, t)
  508.   local C = clerp(pos3, endpos, t)
  509.   local lerp1 = clerp(A, B, t)
  510.   local lerp2 = clerp(B, C, t)
  511.   local cubic = clerp(lerp1, lerp2, t)
  512.   return cubic
  513. end
  514.  
  515. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  516.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  517.     local mesh = IT("SpecialMesh",wave)
  518.     mesh.MeshType = "FileMesh"
  519.     mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  520.     mesh.Scale = SIZE
  521.     mesh.Offset = VT(0,0,-SIZE.X/8)
  522.     wave.CFrame = CFRAME
  523.     coroutine.resume(coroutine.create(function(PART)
  524.         for i = 1, WAIT do
  525.             Swait()
  526.             mesh.Scale = mesh.Scale + GROW
  527.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  528.             if DOESROT == true then
  529.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  530.             end
  531.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  532.             if wave.Transparency > 0.99 then
  533.                 wave:remove()
  534.             end
  535.         end
  536.     end))
  537. end
  538.  
  539. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  540.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  541.     local mesh = IT("SpecialMesh",wave)
  542.     mesh.MeshType = "FileMesh"
  543.     mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  544.     mesh.Scale = SIZE
  545.     mesh.Offset = VT(0,0,-SIZE.X/8)
  546.     wave.CFrame = CFRAME
  547.     coroutine.resume(coroutine.create(function(PART)
  548.         for i = 1, WAIT do
  549.             Swait()
  550.             mesh.Scale = mesh.Scale + GROW
  551.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  552.             if DOESROT == true then
  553.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  554.             end
  555.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  556.             if wave.Transparency > 0.99 then
  557.                 wave:remove()
  558.             end
  559.         end
  560.     end))
  561. end
  562.  
  563. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  564.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  565.     local mesh = IT("SpecialMesh",wave)
  566.     mesh.MeshType = "FileMesh"
  567.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  568.     mesh.Scale = SIZE
  569.     wave.CFrame = CFRAME
  570.     coroutine.resume(coroutine.create(function(PART)
  571.         for i = 1, WAIT do
  572.             Swait()
  573.             mesh.Scale = mesh.Scale + GROW
  574.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  575.             if DOESROT == true then
  576.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  577.             end
  578.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  579.             if wave.Transparency > 0.99 then
  580.                 wave:remove()
  581.             end
  582.         end
  583.     end))
  584. end
  585.  
  586. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  587.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  588.     local mesh = IT("SpecialMesh",wave)
  589.     mesh.MeshType = "FileMesh"
  590.     mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  591.     mesh.Scale = SIZE
  592.     wave.CFrame = CFRAME
  593.     coroutine.resume(coroutine.create(function(PART)
  594.         for i = 1, WAIT do
  595.             Swait()
  596.             mesh.Scale = mesh.Scale + GROW
  597.             if DOESROT == true then
  598.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  599.             end
  600.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  601.             if wave.Transparency > 0.99 then
  602.                 wave:remove()
  603.             end
  604.         end
  605.     end))
  606. end
  607.  
  608. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  609.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  610.     local mesh = IT("SpecialMesh",wave)
  611.     mesh.MeshType = "FileMesh"
  612.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  613.     mesh.Scale = SIZE
  614.     mesh.Offset = VT(0,0,0)
  615.     wave.CFrame = CFRAME
  616.     coroutine.resume(coroutine.create(function(PART)
  617.         for i = 1, WAIT do
  618.             Swait()
  619.             mesh.Scale = mesh.Scale + GROW
  620.             if DOESROT == true then
  621.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  622.             end
  623.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  624.             if wave.Transparency > 0.99 then
  625.                 wave:remove()
  626.             end
  627.         end
  628.     end))
  629. end
  630.  
  631. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  632.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  633.     local mesh = IT("SpecialMesh",wave)
  634.     mesh.MeshType = "Sphere"
  635.     mesh.Scale = SIZE
  636.     mesh.Offset = VT(0,0,0)
  637.     wave.CFrame = CFRAME
  638.     coroutine.resume(coroutine.create(function(PART)
  639.         for i = 1, WAIT do
  640.             Swait()
  641.             mesh.Scale = mesh.Scale + GROW
  642.             wave.Transparency = wave.Transparency + (1/WAIT)
  643.             if wave.Transparency > 0.99 then
  644.                 wave:remove()
  645.             end
  646.         end
  647.     end))
  648. end
  649.  
  650. function Slice(SIZE,WAIT,CFRAME,COLOR,GROW)
  651.     local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  652.     local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  653.     wave.CFrame = CFRAME
  654.     coroutine.resume(coroutine.create(function(PART)
  655.         for i = 1, WAIT do
  656.             Swait()
  657.             mesh.Scale = mesh.Scale * GROW
  658.             wave.Transparency = wave.Transparency + (0.5/WAIT)
  659.             if wave.Transparency > 0.99 then
  660.                 wave:remove()
  661.             end
  662.         end
  663.     end))
  664. end
  665.  
  666. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW)
  667.     local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  668.     local mesh = IT("BlockMesh",wave)
  669.     wave.CFrame = CFRAME
  670.     coroutine.resume(coroutine.create(function(PART)
  671.         for i = 1, WAIT do
  672.             Swait()
  673.             mesh.Scale = mesh.Scale + GROW
  674.             wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  675.             wave.Transparency = wave.Transparency + (1/WAIT)
  676.             if wave.Transparency > 0.99 then
  677.                 wave:remove()
  678.             end
  679.         end
  680.     end))
  681. end
  682.  
  683. function MakeForm(PART,TYPE)
  684.     if TYPE == "Cyl" then
  685.         local MSH = IT("CylinderMesh",PART)
  686.     elseif TYPE == "Ball" then
  687.         local MSH = IT("SpecialMesh",PART)
  688.         MSH.MeshType = "Sphere"
  689.     elseif TYPE == "Wedge" then
  690.         local MSH = IT("SpecialMesh",PART)
  691.         MSH.MeshType = "Wedge"
  692.     end
  693. end
  694.  
  695. function CheckTableForString(Table, String)
  696.     for i, v in pairs(Table) do
  697.         if string.find(string.lower(String), string.lower(v)) then
  698.             return true
  699.         end
  700.     end
  701.     return false
  702. end
  703.  
  704. function CheckIntangible(Hit)
  705.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  706.     if Hit and Hit.Parent then
  707.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  708.             return true
  709.         end
  710.     end
  711.     return false
  712. end
  713.  
  714. Debris = game:GetService("Debris")
  715.  
  716. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  717.     local Direction = CFrame.new(StartPos, Vec).lookVector
  718.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  719.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  720.     if RayHit and CheckIntangible(RayHit) then
  721.         if DelayIfHit then
  722.             wait()
  723.         end
  724.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  725.     end
  726.     return RayHit, RayPos, RayNormal
  727. end
  728.  
  729. function turnto(position)
  730.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  731. end
  732.  
  733. --//=================================\\
  734. --||         WEAPON CREATION
  735. --\\=================================//
  736.  
  737. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  738. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(15)), CF(0, 0, 0))
  739. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false)
  740. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  741. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Flame", VT(0.65,1.4,0.65),false)
  742. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  743. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  744. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  745.  
  746. local DECAL = IT("Decal",Part)
  747. DECAL.Texture = "http://www.roblox.com/asset/?id=1260793696"
  748. DECAL.Face = "Top"
  749.  
  750. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  751. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(15)), CF(0, 0, 0))
  752. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false)
  753. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  754. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Earth green", "Radioactive", VT(0.45,1.4,0.45),false)
  755. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  756. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  757. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  758.  
  759. local DECAL = IT("Decal",Part)
  760. DECAL.Texture = "http://www.roblox.com/asset/?id=1172964487"
  761. DECAL.Face = "Top"
  762.  
  763. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  764. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(-0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(15)), CF(0, 0, 0))
  765. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
  766. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  767. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Crimson", "Light", VT(0.35,1.4,0.35),false)
  768. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  769. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  770. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  771.  
  772. local DECAL = IT("Decal",Part)
  773. DECAL.Texture = "http://www.roblox.com/asset/?id=68854060"
  774. DECAL.Face = "Top"
  775.  
  776. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  777. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  778. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  779. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  780. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  781. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.28, 0, 0) * ANGLES(RAD(180), RAD(90), RAD(0)), CF(0, 0, 0))
  782. MakeForm(Part,"Wedge")
  783.  
  784. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  785. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  786. MakeForm(Part,"Wedge")
  787.  
  788. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  789. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  790. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  791. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  792. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  793. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  794. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  795. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  796. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  797. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  798.  
  799. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.1,0.2,0.1),false)
  800. CreateWeldOrSnapOrMotor("Weld", Head, Head, Part, CF(-0.2, 0.2, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  801. MakeForm(Part,"Ball")
  802. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.1,0.2,0.1),false)
  803. CreateWeldOrSnapOrMotor("Weld", Head, Head, Part, CF(0.2, 0.2, -0.55) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  804. MakeForm(Part,"Ball")
  805.  
  806. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  807. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.7, 0.7, 0.5) * ANGLES(RAD(50), RAD(0), RAD(-15)), CF(0, 0, 0))
  808. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.7,1.4,0.7),false)
  809. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  810. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Carnation pink", "Love", VT(0.65,1.4,0.65),false)
  811. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  812. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.8,0.5,0.8),false)
  813. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  814.  
  815.             local FAKECHARACTER = IT("Model",Effects)
  816.             FAKECHARACTER.Name = "NeonDoll"
  817.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  818.             CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0.5,0), CF(0,0,0))
  819.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  820.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(15)), CF(0,0.15,0))
  821.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  822.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(-90), RAD(0), RAD(-15)), CF(0,0.15,0))
  823.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  824.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  825.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  826.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  827.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  828.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  829.  
  830. local DECAL = IT("Decal",Part)
  831. DECAL.Texture = "http://www.roblox.com/asset/?id=301069998"
  832. DECAL.Face = "Top"
  833.  
  834. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  835. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.6, 0, 0.5) * ANGLES(RAD(80), RAD(0), RAD(-15)), CF(0, 0, 0))
  836. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.5,1.4,0.5),false)
  837. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  838. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Dark Matter", VT(0.10,1.4,0.10),false)
  839. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  840.             local FAKECHARACTER = IT("Model",Effects)
  841.             FAKECHARACTER.Name = "NeonDoll"
  842.  
  843.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.3,0.3,0.15),false)
  844.             CreateWeldOrSnapOrMotor("Weld", Part, Part, TORS, CF(0,0,0), CF(0,0,0))
  845.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  846.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  847.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  848.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  849.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  850.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(10)), CF(0,0.15,0))
  851.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.3,0.15),false)
  852.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-10)), CF(0,0.15,0))
  853.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0, "Alder", "Part", VT(0.15,0.15,0.15),false)
  854.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  855. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.6,0.5,0.6),false)
  856. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  857.  
  858. local DECAL = IT("Decal",Part)
  859. DECAL.Texture = "http://www.roblox.com/asset/?id=332392312"
  860. DECAL.Face = "Top"
  861.  
  862. local StartPart = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  863. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, StartPart, CF(0.5, -0.5, 0.45) * ANGLES(RAD(110), RAD(0), RAD(-15)), CF(0, 0, 0))
  864. local Part = CreatePart(3, Weapon, "Glass", 0, 0.5, "Stone grey", "Glass", VT(0.4,1.4,0.4),false)
  865. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  866. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "White", "Light", VT(0.35,1.4,0.35),false)
  867. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  868. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.5,0.5,0.5),false)
  869. CreateWeldOrSnapOrMotor("Weld", StartPart, StartPart, Part, CF(0, 1.4, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  870.  
  871. local DECAL = IT("Decal",Part)
  872. DECAL.Texture = "http://www.roblox.com/asset/?id=50184258"
  873. DECAL.Face = "Top"
  874.  
  875. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,1.1),false)
  876. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0.7, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  877. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.55,0.7,1.1),false)
  878. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.25, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  879. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,0.7,0.525),false)
  880. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0.28, 0, 0) * ANGLES(RAD(-180), RAD(-90), RAD(0)), CF(0, 0, 0))
  881. MakeForm(Part,"Wedge")
  882.  
  883. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  884. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0.75, 0.51, 0) * ANGLES(RAD(-180), RAD(90), RAD(0)), CF(0, 0, 0))
  885. MakeForm(Part,"Wedge")
  886.  
  887. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  888. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  889. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  890. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  891. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  892. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  893. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  894. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  895. local Part = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false)
  896. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  897.  
  898. for _, c in pairs(Weapon:GetChildren()) do
  899.     if c.ClassName == "Part" then
  900.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  901.     end
  902. end
  903.  
  904.  
  905. Weapon.Parent = Character
  906.  
  907. Humanoid.Died:connect(function()
  908.     ATTACK = true
  909. end)
  910.  
  911. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  912. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  913. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 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")
  914.  
  915. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  916. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  917. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Toggle tanks", C3(0,0,0), 8, "SciFi", 0, 2, 1, "Text 3")
  918. --//=================================\\
  919. --||         DAMAGE FUNCTIONS
  920. --\\=================================//
  921.  
  922. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  923.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  924.     STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  925.     local BODYGYRO = IT("BodyGyro", STATPART)
  926.     local BODYPOSITION = IT("BodyPosition", STATPART)
  927.     BODYPOSITION.P = 2000
  928.     BODYPOSITION.D = 100
  929.     BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  930.     BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  931.     game:GetService("Debris"):AddItem(STATPART ,5)
  932.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  933.     BILLBOARDGUI.Adornee = STATPART
  934.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  935.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  936.     BILLBOARDGUI.AlwaysOnTop = false
  937.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  938.     TEXTLABEL.BackgroundTransparency = 1
  939.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  940.     TEXTLABEL.Text = TEXT
  941.     TEXTLABEL.Font = "SciFi"
  942.     TEXTLABEL.FontSize="Size42"
  943.     TEXTLABEL.TextColor3 = COLOR
  944.     TEXTLABEL.TextStrokeTransparency = 1
  945.     TEXTLABEL.TextScaled = true
  946.     TEXTLABEL.TextWrapped = true
  947.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  948.         if LABELTYPE == "Normal" then
  949.             for i = 1, 30 do
  950.                 Swait()
  951.                 STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  952.                 TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  953.             end
  954.         elseif LABELTYPE == "Debuff" then
  955.             for i = 1, 30 do
  956.                 Swait()
  957.                 STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  958.                 TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  959.             end
  960.         elseif LABELTYPE == "Shock" then
  961.             local ORIGIN = STATPART.Position
  962.             for i = 1, 30 do
  963.                 Swait()
  964.                 STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  965.                 TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  966.             end
  967.         end
  968.         THEPART.Parent = nil
  969.     end),STATPART, BODYPOSITION, TEXTLABEL)
  970. end
  971.  
  972. --//=================================\\
  973. --||            DAMAGING
  974. --\\=================================//
  975.  
  976. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier)
  977.     local defence = Instance.new("BoolValue",Humanoid.Parent)
  978.     defence.Name = ("HitBy"..Player.Name)
  979.     game:GetService("Debris"):AddItem(defence, 0.5)
  980.         Humanoid.Health = Humanoid.Health - Damage
  981.         if Humanoid.Parent:FindFirstChild("Head") then
  982.                 StatLabel("Normal", Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  983.             end
  984.         end
  985.    
  986.  
  987. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  988.     local dmg = math.random(min,max)
  989.     for i,v in ipairs(workspace:GetChildren()) do
  990.     if v:FindFirstChild("HitBy"..Player.Name) == nil then
  991.         local body = v:GetChildren()
  992.             for part = 1, #body do
  993.                 if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  994.                     if(body[part].Position - position).Magnitude < radius then
  995.                         if v.ClassName == "Model" then
  996.                             if v:FindFirstChildOfClass("Humanoid") then
  997.                                 if CanBeDodgedByJumping == true then
  998.                                     if body[part].Position.Y < position.Y+5 then
  999.                                         ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1000.                                     end
  1001.                                 else
  1002.                                     ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1003.                                 end
  1004.                                 local bv = Instance.new("BodyVelocity")
  1005.                                 bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1006.                                 bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1007.                                 bv.Parent = body[part]
  1008.                                 Debris:AddItem(bv,0.2)
  1009.                             end
  1010.                         end
  1011.                     end
  1012.                 end
  1013.             end
  1014.         end
  1015.         if v:FindFirstChild("HitBy"..Player.Name) then
  1016.             v:FindFirstChild("HitBy"..Player.Name):remove()
  1017.         end
  1018.     end
  1019. end
  1020.  
  1021. function AoEStun(POS,RANGE,LAST)
  1022.     for i,v in ipairs(workspace:GetChildren()) do
  1023.     if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1024.         local body = v:GetChildren()
  1025.             for part = 1, #body do
  1026.                 if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1027.                     if(body[part].Position - POS).Magnitude < RANGE then
  1028.                         if v.ClassName == "Model" then
  1029.                             if v:FindFirstChild("Humanoid") then
  1030.                                 if v.Humanoid.Health ~= 0 then
  1031.                                     Stun(v.Humanoid,LAST)
  1032.                                     local defence = Instance.new("BoolValue",v)
  1033.                                     defence.Name = ("StunnedBy"..Player.Name)
  1034.                                     game:GetService("Debris"):AddItem(defence, 0.1)
  1035.                                 end
  1036.                             end
  1037.                         end
  1038.                     end
  1039.                 end
  1040.             end
  1041.         end
  1042.     end
  1043. end
  1044.  
  1045. function Stun(HUMANOID,LAST)
  1046.     if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1047.         HUMANOID.PlatformStand = true
  1048.         local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1049.         defence.Name = ("StunnedBy"..Player.Name)
  1050.         game:GetService("Debris"):AddItem(defence, LAST)
  1051.         if HUMANOID.Parent:FindFirstChild("Head") then
  1052.             StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1053.         end
  1054.         coroutine.resume(coroutine.create(function()
  1055.             Swait(LAST*100)
  1056.             HUMANOID.PlatformStand = false
  1057.         end))
  1058.     end
  1059. end
  1060.  
  1061. function Poison(HUMANOID,LAST,DAMAGE)
  1062.     if HUMANOID.Parent:FindFirstChild("PoisonedBy"..Player.Name) == nil then
  1063.         local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1064.         defence.Name = ("PoisonedBy"..Player.Name)
  1065.         game:GetService("Debris"):AddItem(defence, LAST)
  1066.         coroutine.resume(coroutine.create(function()
  1067.             for i = 1, LAST/2 do
  1068.                 if HUMANOID.Parent:FindFirstChild("Head") then
  1069.                     StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "POISON/"..DAMAGE, C3(0,1,0))
  1070.                 end
  1071.                 Swait(2)
  1072.                 HUMANOID.Health = HUMANOID.Health - DAMAGE
  1073.             end
  1074.         end))
  1075.     end
  1076. end
  1077.  
  1078. function killnearest(position,range,maxstrength)
  1079.     for i,v in ipairs(workspace:GetChildren()) do
  1080.     local body = v:GetChildren()
  1081.         for part = 1, #body do
  1082.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1083.                 if(body[part].Position - position).Magnitude < range then
  1084.                     if v.ClassName == "Model" then
  1085.                         v:BreakJoints()
  1086.                     end
  1087.                     --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  1088.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1089.                 end
  1090.             end
  1091.         end
  1092.         if v.ClassName == "Part" then
  1093.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  1094.                 --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  1095.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1096.             end
  1097.         end
  1098.     end
  1099. end
  1100.  
  1101. --//=================================\\
  1102. --||    ATTACK FUNCTIONS AND STUFF
  1103. --\\=================================//
  1104.  
  1105. function FireArc(Part,ToLocation,AmountOfTime,Height,DoesCourontine)
  1106.     if DoesCourontine == false then
  1107.         local Direction = CF(Part.Position,ToLocation)
  1108.         local Distance = (Part.Position - ToLocation).magnitude
  1109.         for i = 1, AmountOfTime do
  1110.             Swait()
  1111.             Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1112.             Direction = Part.CFrame
  1113.         end
  1114.     elseif DoesCourontine == true then
  1115.         coroutine.resume(coroutine.create(function()
  1116.             local Direction = CF(Part.Position,ToLocation)
  1117.             local Distance = (Part.Position - ToLocation).magnitude
  1118.             for i = 1, AmountOfTime do
  1119.                 Swait()
  1120.                 Part.CFrame = Direction*CF(0,(AmountOfTime/200)+((AmountOfTime/Height)-((i*2)/Height)),-Distance/AmountOfTime)
  1121.                 Direction = Part.CFrame
  1122.             end
  1123.         end))
  1124.     end
  1125. end
  1126.  
  1127. function impale(chain,hit)
  1128.     if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1129.         local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  1130.         if humanoid.Health ~= 0 then
  1131.             hit.Parent:BreakJoints()
  1132.             getbloody(hit,15)
  1133.             local prtcl = asd:Clone()
  1134.             prtcl.Parent = chain
  1135.             prtcl.Enabled = true
  1136.             prtcl.Speed = NumberRange.new(0)
  1137.             prtcl.Size = NumberSequence.new(0.2)
  1138.         end
  1139.     end
  1140. end
  1141.  
  1142. function CreateMagicCircle()
  1143.     local sinkhole = IT("Part")
  1144.     sinkhole.Size = VT(0,0,0)
  1145.     sinkhole.Parent = Effects
  1146.     sinkhole.Material = "Neon"
  1147.     sinkhole.Color = C3(0,0,0)
  1148.     sinkhole.Anchored = true
  1149.     sinkhole.CanCollide = false
  1150.     sinkhole.Transparency = 1
  1151.     local decal = IT("Decal",sinkhole)
  1152.     decal.Face = "Top"
  1153.     decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1154.     local decal2 = IT("Decal",sinkhole)
  1155.     decal2.Face = "Bottom"
  1156.     decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1157.     return sinkhole
  1158. end
  1159.  
  1160. function Chain()
  1161.         ATTACK = true
  1162.     Rooted = false
  1163.     for i=0, 2, 0.1 / Animation_Speed do
  1164.         turnto(Mouse.Hit.p)
  1165.         Swait()
  1166.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  1167.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(5)), 0.25 / Animation_Speed)
  1168.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1169.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1170.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1171.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1172.     end
  1173.     CreateSound("1208650519", RightArm, 10, 2)
  1174.     local RING = CreateMagicCircle()
  1175.     RING.CFrame = RightArm.CFrame * CF(0,-1.1,0)
  1176.     for i = 1, 5 do
  1177.         turnto(Mouse.Hit.p)
  1178.         Swait()
  1179.         local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1180.         MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1181.         MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1182.         RING.CFrame = RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(0),RAD(i*2),RAD(0))
  1183.         RING.Size = RING.Size + VT(1,0,1)
  1184.     end
  1185.     coroutine.resume(coroutine.create(function()
  1186.         local POS = Mouse.Hit.p
  1187.         local A = IT("Attachment",RING)
  1188.         for i = 1, 15 do
  1189.             Swait(MRANDOM(0,5))
  1190.             coroutine.resume(coroutine.create(function()
  1191.                 local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1192.                 --print("Chain start")
  1193.                 Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1194.                 Front.CanCollide = true
  1195.                 CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 10, 1)
  1196.                 local B = IT("Attachment",Front)
  1197.                 local ChainLink = IT("Beam",RING)
  1198.                 ChainLink.Texture = "rbxassetid://1262544869"
  1199.                 ChainLink.TextureSpeed = 0
  1200.                 ChainLink.FaceCamera = true
  1201.                 ChainLink.Width0 = 3
  1202.                 ChainLink.Attachment0 = A
  1203.                 ChainLink.Attachment1 = B
  1204.                 ChainLink.CurveSize0 = MRANDOM(-5,5)
  1205.                 ChainLink.CurveSize1 = MRANDOM(-5,5)
  1206.                 ChainLink.TextureMode = "Static"
  1207.                 local bv = Instance.new("BodyVelocity")
  1208.                 bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1209.                 bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1210.                 bv.Parent = Front
  1211.                 bv.Name = "MOVE"
  1212.                 --print("Chain made")
  1213.                 coroutine.resume(coroutine.create(function()
  1214.                     Swait(50)
  1215.                     bv:remove()
  1216.                     local POS = Front.Position
  1217.                     Front.CanCollide = false
  1218.                     local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1219.                     local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1220.                     for i = 0, 1, 0.07 do
  1221.                         Swait()
  1222.                         Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1223.                     end
  1224.                     Front:remove()
  1225.                     ChainLink:remove()
  1226.                 end))
  1227.                 local harm = Front.Touched:Connect(function(hit)
  1228.                     impale(Front,hit)
  1229.                 end)
  1230.             end))
  1231.         end
  1232.         Swait(60)
  1233.         for i = 1, 5 do
  1234.             Swait()
  1235.             RING.Size = RING.Size - VT(1,0,1)
  1236.         end
  1237.         RING:remove()
  1238.     end))
  1239.     ATTACK = false
  1240.     Rooted = false
  1241. end
  1242.  
  1243. function MegaChain()
  1244.     ATTACK = true
  1245.     Rooted = true
  1246.     for i=0, 1, 0.1 / Animation_Speed do
  1247.         Swait()
  1248.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1249.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1250.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, -1) * ANGLES(RAD(60), RAD(-690), RAD(2 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1251.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 , 0) * ANGLES(RAD(90), RAD(25), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed/8)
  1252.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3 * Player_Size, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-20)), 0.5 / Animation_Speed/8)
  1253.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.3, 0) * ANGLES(RAD(0), RAD(5), RAD(0)) * ANGLES(RAD(45), RAD(0), RAD(10)), 0.5 / Animation_Speed/8)
  1254.     end
  1255.     local RING = CreateMagicCircle()
  1256.     CreateSound("1208650519", RING, 10, 1.5)
  1257.     RING.CFrame = RootPart.CFrame * CF(0,-2.8,0)
  1258.     local FRAME = RootPart.CFrame * CF(0,-2.8,0)
  1259.     for i = 1, 75 do
  1260.         Swait()
  1261.         local FRAME = CF(RightArm.CFrame * CF(MRANDOM(-5,5),MRANDOM(0,7.5),MRANDOM(-5,5)).p,RightArm.Position)
  1262.         MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1263.         MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1264.         RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/5),RAD(0))
  1265.         RING.Size = RING.Size + VT(1,0,1)
  1266.     end
  1267.     coroutine.resume(coroutine.create(function()
  1268.         for i = 1, 450 do
  1269.             Swait(2)
  1270.             local FRAME = CF(RING.CFrame * CF(MRANDOM(-25,25),MRANDOM(0,35),MRANDOM(-25,25)).p,RING.Position)
  1271.             MagicSphere(VT(0,0,5),25,FRAME,"Royal purple",VT(0.2,0.2,0))
  1272.             MagicSphere(VT(0,0,4.9),25,FRAME,"Really black",VT(0.18,0.18,0))
  1273.             MagicSphere(VT(0,0,0),10,RING.CFrame,"Royal purple",VT(2,4,2))
  1274.             MagicSphere(VT(0,0,0),10,RING.CFrame,"Really black",VT(1.8,3.8,1.8))
  1275.             local A = IT("Attachment",RING)
  1276.             local POS = RING.CFrame * CF(MRANDOM(-150,150),MRANDOM(5,50),MRANDOM(-150,150)).p
  1277.             coroutine.resume(coroutine.create(function()
  1278.                 local Front = CreatePart(3, Effects, "Neon", 1, 1, "Really black", "Chain head", VT(1,1,1),false)
  1279.                 --print("Chain start")
  1280.                 Front.CFrame = RING.CFrame*CF(MRANDOM(-3,3),0,MRANDOM(-3,3))
  1281.                 Front.CanCollide = false
  1282.                 CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], Front, 2, 1)
  1283.                 local B = IT("Attachment",Front)
  1284.                 local ChainLink = IT("Beam",RING)
  1285.                 ChainLink.Texture = "rbxassetid://1262544869"
  1286.                 ChainLink.TextureSpeed = 0
  1287.                 ChainLink.FaceCamera = true
  1288.                 ChainLink.Width0 = 3
  1289.                 ChainLink.Attachment0 = A
  1290.                 ChainLink.Attachment1 = B
  1291.                 ChainLink.CurveSize0 = MRANDOM(-5,5)
  1292.                 ChainLink.CurveSize1 = MRANDOM(-5,5)
  1293.                 ChainLink.TextureMode = "Static"
  1294.                 local bv = Instance.new("BodyVelocity")
  1295.                 bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1296.                 bv.velocity = CF(Front.Position,VT(POS.X+MRANDOM(-3,3),POS.Y+MRANDOM(-3,3),POS.Z+MRANDOM(-3,3))).lookVector*500
  1297.                 bv.Parent = Front
  1298.                 bv.Name = "MOVE"
  1299.                 --print("Chain made")
  1300.                 coroutine.resume(coroutine.create(function()
  1301.                     Swait(50)
  1302.                     bv:remove()
  1303.                     local POS = Front.Position
  1304.                     Front.CanCollide = false
  1305.                     local onefourth = POS:Lerp(RING.Position, 0.25) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1306.                     local threefourths = POS:Lerp(RING.Position, 0.75) + Vector3.new(math.random(-5, 5), math.random(-5, 5),math.random(-5, 5))
  1307.                     for i = 0, 1, 0.07 do
  1308.                         Swait()
  1309.                         Front.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, RING.Position, i))
  1310.                     end
  1311.                     Front:remove()
  1312.                     ChainLink:remove()
  1313.                 end))
  1314.                 local harm = Front.Touched:Connect(function(hit)
  1315.                     impale(Front,hit)
  1316.                 end)
  1317.             end))
  1318.             AoEDamage(RING.Position,75,0,0,0,0,0,0,0,0,0,true)
  1319.             RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(5),RAD(0))
  1320.         end
  1321.         Swait(65)
  1322.         for i = 1, 75 do
  1323.             Swait()
  1324.             RING.CFrame = RING.CFrame* ANGLES(RAD(0),RAD(-i/5),RAD(0))
  1325.             RING.Size = RING.Size - VT(1,0,1)
  1326.         end
  1327.         RING:remove()
  1328.     end))
  1329.     ATTACK = false
  1330.     Rooted = false
  1331. end
  1332.  
  1333. function PowerOutburst()
  1334.     ATTACK = true
  1335.     Rooted = false
  1336.     for i=0, 1, 0.1 / Animation_Speed do
  1337.         Swait()
  1338.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1339.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1340.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1341.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1342.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1343.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1344.     end
  1345.     Head.face.Texture = "rbxassetid://1297068763"
  1346.     for i=0, 0.2, 0.1 / Animation_Speed do
  1347.         Swait()
  1348.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1349.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1350.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1351.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1352.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1353.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),3 / Animation_Speed)
  1354.     end
  1355.     for i=0, 3, 0.1 / Animation_Speed do
  1356.         local COLORS = {"Earth green","Lime green","New Yeller"}
  1357.         coroutine.resume(coroutine.create(function()
  1358.             local FIRE = CreatePart(3, Effects, "Neon", 0, 0.8, COLORS[MRANDOM(1,#COLORS)], "FirePart", VT(0,0,0))
  1359.             FIRE.CFrame = Head.CFrame*CF(0,-0.25,-0.5)
  1360.             MakeForm(FIRE,"Ball")
  1361.             for i = 1, 25 do
  1362.                 Swait()
  1363.                 FIRE.CFrame = FIRE.CFrame*CF(0,0,-0.1)
  1364.                 FIRE.Transparency = FIRE.Transparency + (0.2/25)
  1365.                 FIRE.Size = FIRE.Size * 1.35
  1366.             end
  1367.             AoEDamage(FIRE.Position,FIRE.Size.Y/2.5,2,3,0,6,1.5,false)
  1368.             FIRE:remove()
  1369.         end))
  1370.         Slice(0.6,15,Head.CFrame*CF(0,-0.25,-1.5)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS[MRANDOM(1,#COLORS)],1.15)
  1371.         Swait()
  1372.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 3 / Animation_Speed)
  1373.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-90 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1374.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1375.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1376.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1377.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),3 / Animation_Speed)
  1378.     end
  1379.     ATTACK = false
  1380.     Rooted = false
  1381. end
  1382.  
  1383. function RadioactiveSludge()
  1384.     ATTACK = true
  1385.     Rooted = false
  1386.     local COLORS = {"Earth green","Slime green"}
  1387.     local COLOR = COLORS[MRANDOM(1,#COLORS)]
  1388.     local FIRE = CreatePart(3, Effects, "Neon", 0, 0, "Earth green", "FirePart", VT(0,0,0))
  1389.     MakeForm(FIRE,"Ball")
  1390.     FIRE.CFrame = RootPart.CFrame*CF(0,-0.25,-3)
  1391.     local LIGHT = IT("PointLight",FIRE)
  1392.     LIGHT.Range = 0.05
  1393.     LIGHT.Brightness = 100
  1394.     LIGHT.Color = C3(0,1,0)
  1395.     for i=0, 1.5, 0.1 / Animation_Speed do
  1396.         Swait()
  1397.         turnto(Mouse.Hit.p)
  1398.         FIRE.Size = FIRE.Size * 1.1
  1399.         FIRE.CFrame = RootPart.CFrame*CF(0,-0.25,-3)
  1400.         LIGHT.Range = LIGHT.Range * 1.1
  1401.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  1402.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1403.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.8) * ANGLES(RAD(125), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1404.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.8) * ANGLES(RAD(125), RAD(0), RAD(12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1405.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1406.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),3 / Animation_Speed)
  1407.     end
  1408.     Rooted = true
  1409.     coroutine.resume(coroutine.create(function()
  1410.         local COLORS2 = {"Earth green","Lime green","New Yeller"}
  1411.         FireArc(FIRE,Mouse.Hit.p,30,7,false)
  1412.         local FLOOR = CreatePart(3, Effects, "Neon", 0, 0, "Earth green", "FirePart", VT(0,0,0))
  1413.         local HIT, POS = Raycast(FIRE.Position, CF(FIRE.Position,FIRE.Position+VT(0,-1,0)).lookVector, 2, Character)
  1414.         MakeForm(FLOOR,"Cyl")
  1415.         FLOOR.CFrame = CF(POS)
  1416.         LIGHT.Parent = FLOOR
  1417.         for i = 1, 50 do
  1418.             Swait()
  1419.             LIGHT.Range = LIGHT.Range + 0.3
  1420.             AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  1421.             Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  1422.             FIRE.CFrame = FIRE.CFrame * CF(0,-0.1,0)
  1423.             FLOOR.Size = FLOOR.Size + VT(0.7,0,0.7)
  1424.         end
  1425.         FIRE:remove()
  1426.         for i = 1, 300 do
  1427.             Swait()
  1428.             AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  1429.             Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  1430.         end
  1431.         for i = 1, 25 do
  1432.             Swait()
  1433.             LIGHT.Range = LIGHT.Range - 0.8
  1434.             AoEDamage(FLOOR.Position,FLOOR.Size.Z,0,2,3,0,6,1.5,false)
  1435.             Slice(FLOOR.Size.Z/20,15,FLOOR.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),COLORS2[MRANDOM(1,#COLORS2)],1.15)
  1436.             FIRE.CFrame = FIRE.CFrame * CF(0,-0.1,0)
  1437.             FLOOR.Size = FLOOR.Size - VT(1.4,0,1.4)
  1438.         end
  1439.         FLOOR:remove()
  1440.     end))
  1441.     for i=0, 0.5, 0.1 / Animation_Speed do
  1442.         Swait()
  1443.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 3 / Animation_Speed)
  1444.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  1445.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.8) * ANGLES(RAD(160), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1446.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.8) * ANGLES(RAD(160), RAD(0), RAD(12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1447.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 3 / Animation_Speed)
  1448.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)),3 / Animation_Speed)
  1449.     end
  1450.     ATTACK = false
  1451.     Rooted = false
  1452. end
  1453.  
  1454. function CastProperRay(StartPos, Vec, Length, Ignore)
  1455.     local Direction = CFrame.new(StartPos, Vec).lookVector
  1456.     local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1457.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1458.     return RayHit, RayPos, RayNormal
  1459. end
  1460.  
  1461. function BanishBullet()
  1462.     ATTACK = true
  1463.     Rooted = false
  1464.     for i = 0, 0.4, 0.1 / Animation_Speed do
  1465.         Swait()
  1466.         turnto(Mouse.Hit.p)
  1467.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1468.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1469.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1470.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1471.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1472.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1473.     end
  1474.     repeat
  1475.         for i = 0, 0.2, 0.1 / Animation_Speed do
  1476.             Swait()
  1477.             turnto(Mouse.Hit.p)
  1478.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1479.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1480.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1481.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1482.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1483.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1484.         end
  1485.         CreateSound("238353911", RightArm, 10, MRANDOM(9, 11) / 10)
  1486.         MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.1, 0.1, 0.1))
  1487.         MagicSphere(VT(0.1, 0.1, 0.1), 45, RightArm.CFrame, "Crimson", VT(0.05, 0.05, 0.05))
  1488.         local RayHit, Way = CastProperRay(RightArm.Position, Mouse.Hit.p, 1500, Character)
  1489.                 local distance = (RightArm.Position - Way).magnitude
  1490.         for i = 1, 5 do
  1491.             local laser = Instance.new("Part", Effects)
  1492.             laser.Transparency = 0
  1493.             laser.CanCollide = false
  1494.             laser.Anchored = true
  1495.             laser.Color = C3(1, 0, 0)
  1496.             laser.Material = "Neon"
  1497.             laser.formFactor = Enum.FormFactor.Custom
  1498.             laser.Size = Vector3.new(0.15, 0.15, distance)
  1499.             laser.CFrame = CFrame.new(RightArm.Position, Way) * CFrame.new(0, 0, -distance / 2)
  1500.             MagicSphere(VT(0.1, 0.1, 0.1), 45, CF(Way), "Crimson", VT(0.05, 0.05, 0.05))
  1501.             for i = 1, 5 do
  1502.                 MagicSphere(VT(0.2, 0.2, 1), 65, CF(CF(Way) * CF(MRANDOM(-1, 1), MRANDOM(-1, 1), MRANDOM(-1, 1)).p, Way), "Crimson", VT(0.001, 0.001, 0), 0.5)
  1503.             end
  1504.             table.insert(Effects2, {
  1505.                 laser,
  1506.                 "Disappear",
  1507.                 0.1,
  1508.                 1,
  1509.                 1,
  1510.                 1,
  1511.                 2
  1512.             })
  1513.             if RayHit ~= nil then
  1514.                 local v = RayHit.Parent
  1515.                 if v ~= nil and v.ClassName == "Model" then
  1516.                     CastWarpOutlines(v)
  1517.                     v.Parent = nil
  1518.                     if game.Players:FindFirstChild(v.Name) then
  1519.                         local Value = IT("BoolValue", Delete)
  1520.                         Value.Name = v.Name
  1521.                     end
  1522.                 end
  1523.             end
  1524.         end
  1525.         for i = 0, 0.3, 0.1 / Animation_Speed do
  1526.             Swait()
  1527.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1528.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1529.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1530.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1531.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1532.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1533.         end
  1534.     until KEYHOLD == false
  1535.     ATTACK = false
  1536.     Rooted = false
  1537. end
  1538. function Dark_blade()
  1539.     local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 7 * Player_Size, Character)
  1540.     if HITFLOOR ~= nil then
  1541.         ATTACK = true
  1542.         Rooted = true
  1543.         local GYRO = IT("BodyGyro",RootPart)
  1544.         GYRO.D = 100
  1545.         GYRO.P = 2000
  1546.         GYRO.MaxTorque = VT(0,4000000,0)
  1547.         GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1548.         CreateSound("429459101", RightArm, 10, 0.8)
  1549.         for i=0, 3.5, 0.1 / Animation_Speed do
  1550.             Swait()
  1551.             GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1552.             Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  1553.             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)
  1554.             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)
  1555.             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)
  1556.             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)
  1557.             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)
  1558.             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)
  1559.         end
  1560.         GYRO:remove()
  1561.         for i=0, 0.15, 0.1 / Animation_Speed do
  1562.             Swait()
  1563.             GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1564.             Slice("Thin",0.3,5,RightArm.CFrame * CF(0,-1.1,0) * ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(-0.01,0,-0.01))
  1565.             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)
  1566.             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)
  1567.             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)
  1568.             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)
  1569.             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)
  1570.             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)
  1571.         end
  1572.         local BOMBSPOTS = {}
  1573.         for i = 1, 25 do
  1574.             local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly blue", "Blade", VT(8,1,8))
  1575.             SPOT.Color = SKILLTEXTCOLOR
  1576.             SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  1577.             table.insert(BOMBSPOTS,SPOT)
  1578.             MakeForm(SPOT,"Cyl")
  1579.         end
  1580.         for i=0, 0.2, 0.1 / Animation_Speed do
  1581.             Swait()
  1582.             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)
  1583.             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)
  1584.             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)
  1585.             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)
  1586.             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)
  1587.             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)
  1588.         end
  1589.         ATTACK = false
  1590.         Rooted = false
  1591.         coroutine.resume(coroutine.create(function()
  1592.             Swait(3)
  1593.             for i = 1, #BOMBSPOTS do
  1594.                 if BOMBSPOTS[i] ~= nil then
  1595.                     local E = BOMBSPOTS[i]
  1596.                     coroutine.resume(coroutine.create(function()
  1597.                         local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly blue", "Blade", VT(0,0,0))
  1598.                         BLADE.Color = SKILLTEXTCOLOR
  1599.                         CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  1600.                         CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  1601.                         BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  1602.                         for i = 1, 10 do
  1603.                             Swait()
  1604.                             MagicSphere(VT(1,1,1)/5,65,CF(E.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,MRANDOM(3,6),0),C3(1,1,1),VT(0,0,0))
  1605.                             killnearest(BLADE.Position,6,80)
  1606.                             BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  1607.                             BLADE.Transparency = BLADE.Transparency - 0.1
  1608.                         end
  1609.                         Swait(45)
  1610.                         for i = 1, 100 do
  1611.                             Swait()
  1612.                             BLADE.Transparency = BLADE.Transparency + 0.01
  1613.                             E.Transparency = E.Transparency + 0.01
  1614.                         end
  1615.                         BLADE:remove()
  1616.                         E:remove()
  1617.                     end))
  1618.                 end
  1619.             end
  1620.         end))
  1621.     end
  1622. end
  1623.  
  1624. function CreateGUICircle(TARGET)
  1625.     local GUI = Instance.new("BillboardGui",Character)
  1626.     GUI.Size = UDim2.new(0,0,0,0)
  1627.     GUI.Adornee = TARGET
  1628.     local GUI2 = IT("ImageLabel",GUI)
  1629.     GUI2.BackgroundTransparency = 1
  1630.     GUI2.BorderSizePixel = 0
  1631.     GUI2.Size = UDim2.new(1,0,1,0)
  1632.     GUI2.SizeConstraint = "RelativeYY"
  1633.     GUI.AlwaysOnTop = true
  1634.     GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1635.     return GUI,GUI2
  1636. end
  1637.  
  1638. function CastWarpOutlines(TARGET)
  1639.     coroutine.resume(coroutine.create(function()
  1640.         local T = TARGET:GetChildren()
  1641.         for i = 1, # T do
  1642.             local child = T[i]
  1643.             if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1644.                 local clone = child:Clone()
  1645.                 clone.Parent = Effects
  1646.                 clone.Anchored = true
  1647.                 clone.CanCollide = false
  1648.                 clone:ClearAllChildren()
  1649.                 clone.CFrame = child.CFrame
  1650.                 if clone.Name == "Head" then
  1651.                     clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1652.                 end
  1653.                 if clone.ClassName == "MeshPart" then
  1654.                     clone.TextureID = ""
  1655.                 end
  1656.                 clone.BrickColor = BRICKC"Black"
  1657.                 clone.Material = "Neon"
  1658.                 coroutine.resume(coroutine.create(function()
  1659.                     for i = 1, 200 do
  1660.                         Swait()
  1661.                         clone.Transparency = clone.Transparency + 0.005
  1662.                         clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1663.                     end
  1664.                     clone:remove()
  1665.                 end))
  1666.             end
  1667.         end
  1668.     end))
  1669. end
  1670.  
  1671. function Sink(position,radius)
  1672.     for i,v in ipairs(workspace:GetChildren()) do
  1673.     if v:FindFirstChild("Hit2By"..Player.Name) == nil then
  1674.         local body = v:GetChildren()
  1675.             for part = 1, #body do
  1676.                 if(v:FindFirstChild("Hit2By"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1677.                     if(body[part].Position - position).Magnitude < radius then
  1678.                         if v.ClassName == "Model" then
  1679.                             if v:FindFirstChild("Humanoid") then
  1680.                                 local defence = Instance.new("BoolValue",v)
  1681.                                 defence.Name = ("Hit2By"..Player.Name)
  1682.                                 if v.Humanoid.Health ~= 0 then
  1683.                                     local TORS = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1684.                                     if TORS ~= nil then
  1685.                                         local HITFLOOR2, HITPOS2 = Raycast(TORS.Position, (CF(TORS.Position, TORS.Position + VT(0, -1, 0))).lookVector, 5 * TORS.Size.Y/2, v)
  1686.                                         coroutine.resume(coroutine.create(function()
  1687.                                             if HITFLOOR2 ~= nil then
  1688.                                                 TORS.Anchored = true
  1689.                                                 table.insert(Effects2,{v})
  1690.                                                 repeat
  1691.                                                     Swait()
  1692.                                                     TORS.CFrame = TORS.CFrame * CF(0,-1,0)
  1693.                                                 until TORS.Position.Y<position.Y-4
  1694.                                                 v:remove()
  1695.                                             end
  1696.                                         end))
  1697.                                     end
  1698.                                 end
  1699.                             end
  1700.                         end
  1701.                         --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1702.                     end
  1703.                 end
  1704.             end
  1705.         end
  1706.     end
  1707. end
  1708.  
  1709. function Shadowpuddle()
  1710. ATTACK = true
  1711.     Rooted = true
  1712.     CreateSound(ALONE, Head, 10, 1)
  1713.     for i=0, 2, 0.1 / Animation_Speed do
  1714.         Swait()
  1715.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1716.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1717.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1718.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1719.         RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1720.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1721.     end
  1722.     CreateSound("1075001850", RootPart, 10, 3)
  1723.     UNANCHOR = false
  1724.     RootPart.Anchored = true
  1725.     local GATE = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really black", "Heart", VT(1,0.2,1))
  1726.     MakeForm(GATE,"Cyl")
  1727.     GATE.Color = C3(0,0,0)
  1728.     GATE.CFrame = CF(RootPart.Position)*CF(0,-3,0)
  1729.     for i=1, 250 do
  1730.         Swait()
  1731.         UNANCHOR = false
  1732.         GATE.Size = GATE.Size + VT(1,0,1)
  1733.         --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1734.         RootPart.Anchored = true
  1735.         Sink(GATE.Position,GATE.Size.Z/2.2)
  1736.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -20) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.005 / Animation_Speed)
  1737.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1738.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1739.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1740.         RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1741.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1742.     end
  1743.     repeat Swait() until #Effects2 == 0
  1744.     for i=1, 25 do
  1745.         Swait()
  1746.         GATE.Size = GATE.Size - VT(10,0,10)
  1747.         --AURA.Size = GATE.Size + VT(0.1,0.1,0.1)
  1748.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.5) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  1749.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1750.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0, -0.3) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1751.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1752.         RightHip.C0 = Clerp(RightHip.C0, CF(1, 0.5, -0.75) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1753.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.4) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1754.     end
  1755.     GATE:remove()
  1756.     RootPart.Anchored = false
  1757.     UNANCHOR = true
  1758.     ATTACK = false
  1759.     Rooted = false
  1760. end
  1761.  
  1762. function Mortar(Target)
  1763.     local newball = Instance.new("Part", workspace)
  1764.     newball.Anchored = true
  1765.     newball.Shape = "Ball"
  1766.     newball.Material = "Neon"
  1767.     newball.Size = Vector3.new(0,0,0)
  1768.     newball.CanCollide = false
  1769.     newball.CFrame = CF(Target)
  1770.     newball.Color = C3(1,1,1)
  1771.     newball.Transparency = 1
  1772.     local POS = Mouse.Hit.p
  1773.     local onefourth = Target:Lerp(POS, 0.25) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1774.     local threefourths = Target:Lerp(POS, 0.75) + Vector3.new(math.random(-25, 25), math.random(0, 25), math.random(-25, 25))
  1775.      local A1 = IT("Attachment",newball)
  1776.         A1.Position = Vector3.new(0, 2.5, 0)
  1777.       local A2 = IT("Attachment",newball)
  1778.         A2.Position = Vector3.new(0, -2.5, 0)
  1779.       local Trail = IT("Trail",newball)
  1780.         Trail.LightEmission = 1
  1781.         Trail.FaceCamera = true
  1782.         Trail.Texture = "rbxassetid://945758042"
  1783.         Trail.Attachment0 = A1
  1784.         Trail.Attachment1 = A2
  1785.         Trail.Lifetime = 1
  1786.         Trail.MinLength = 0
  1787.         Trail.Transparency = NumberSequence.new(0, 1)
  1788.         Trail.Color = ColorSequence.new(newball.Color)
  1789.     coroutine.resume(coroutine.create(function()
  1790.         for i = 0, 1, 0.07 do
  1791.             Swait()
  1792.             MagicSphere(VT(2,2,2),50,newball.CFrame,"Pearl",VT(-0.01,-0.01,-0.01))
  1793.             newball.CFrame = CFrame.new(newBezier(Target, onefourth, threefourths, POS, i))
  1794.         end
  1795.         AoEDamage(newball.Position,5,5,8,0,false,2,2,false,true)
  1796.         CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], newball, 10, 1)
  1797.         MagicSphere(VT(0,0,0),55,newball.CFrame,"Pearl",VT(0.06,0.5,0.06))
  1798.         for i = 1, 10 do
  1799.             MagicSphere(VT(0.5,0.5,3),50,CF(newball.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,newball.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  1800.         end
  1801.         game:GetService("Debris"):AddItem(newball, 5)
  1802.     end))
  1803. end
  1804.  
  1805.  
  1806. function LightArray()
  1807.     ATTACK = true
  1808.     Rooted = false
  1809.     for i=0, 1, 0.1 / Animation_Speed do
  1810.         Swait()
  1811.         turnto(Mouse.Hit.p)
  1812.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  1813.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.25 / Animation_Speed)
  1814.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1815.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1816.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1817.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1818.     end
  1819.     local LOOP = 0
  1820.     for i = 1, 30 do
  1821.         Swait()
  1822.         turnto(Mouse.Hit.p)
  1823.         LOOP = LOOP + 1
  1824.         if LOOP == 10 then
  1825.             LOOP = 0
  1826.             Mortar(LeftArm.CFrame*CF(0,-1,0).p)
  1827.         end
  1828.     end
  1829. ATTACK = false
  1830.     Rooted = false
  1831. end
  1832.  
  1833. function Oblivion()
  1834.     ATTACK = true
  1835.     Rooted = true
  1836.     for i=0, 2, 0.1 / Animation_Speed do
  1837.         Swait()
  1838.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1839.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1840.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1841.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, -0.5) * ANGLES(RAD(35), RAD(0), RAD(65)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1842.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1843.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1844.     end
  1845.     for i=0, 0.5, 0.1 / Animation_Speed do
  1846.         Swait()
  1847.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.2, 0) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1848.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1849.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75,0) * ANGLES(RAD(0), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1850.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1851.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(-15)), 0.5 / Animation_Speed)
  1852.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1853.     end
  1854.     for i = 1, 75 do
  1855.         Swait()
  1856.         MagicSphere(VT(0.5,0.5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Pearl",VT(-0.005,-0.005,0.03),0)
  1857.     end
  1858.     CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1859.     CreateSound(LIGHTHITSOUNDS[MRANDOM(1,#LIGHTHITSOUNDS)], Torso, 10, 0.5)
  1860.     AoEDamage(Torso.Position,45,45,58,0,false,2,2,false,true)
  1861.     MagicSphere(VT(0,0,0),25,Torso.CFrame,"Pearl",VT(5,5,5))
  1862.     MagicSphere(VT(0,0,0),50,Torso.CFrame,"Pearl",VT(2.5,2.5,2.5))
  1863.     MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1864.     MagicSphere(VT(0,0.2,0),30,Torso.CFrame*ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))),"Pearl",VT(6,0,6))
  1865.     ATTACK = false
  1866.     Rooted = false
  1867. end
  1868.  
  1869. function kiss()
  1870.     ATTACK = true
  1871.     Rooted = false
  1872.     local HASGRABBED = false
  1873.     local GRABTARGET = nil
  1874.     local TORS = nil
  1875.     local WELD = nil
  1876.     for i=0, 1, 0.1 / Animation_Speed do
  1877.         Swait()
  1878.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1879.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1880.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1881.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1882.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1883.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1884.     end
  1885.     local GRAB1 = RightArm.Touched:Connect(function(hit)
  1886.         if hit.Parent:FindFirstChild("Humanoid") then
  1887.             if hit.Parent.Humanoid.Health ~= 0 then
  1888.                 UNANCHOR = false
  1889.                 RootPart.Anchored = true
  1890.                 TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1891.                 TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1892.                 WELD = weldBetween(RootPart,TORS)
  1893.                 HASGRABBED = true
  1894.                 Rooted = true
  1895.             end
  1896.         end
  1897.     end)
  1898.     local GRAB2 = LeftArm.Touched:Connect(function(hit)
  1899.         if hit.Parent:FindFirstChild("Humanoid") then
  1900.             if hit.Parent.Humanoid.Health ~= 0 then
  1901.                 UNANCHOR = false
  1902.                 RootPart.Anchored = true
  1903.                 TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1904.                 TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  1905.                 WELD = weldBetween(RootPart,TORS)
  1906.                 HASGRABBED = true
  1907.                 Rooted = true
  1908.             end
  1909.         end
  1910.     end)
  1911.     for i=0, 1, 0.1 / Animation_Speed do
  1912.         Swait()
  1913.         if HASGRABBED == true then
  1914.             break
  1915.         end
  1916.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1917.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1918.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1919.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1920.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1921.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1922.     end
  1923.     GRAB1:disconnect()
  1924.     GRAB2:disconnect()
  1925.     if HASGRABBED == true then
  1926.         TORS.Anchored = false
  1927.         GRABTARGET = TORS.Parent
  1928.                 HED = GRABTARGET:FindFirstChild("Head")
  1929.         for i=0, 2, 0.1 / Animation_Speed do
  1930.             Swait()
  1931.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1932.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1933.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1934.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1935.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1936.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1937.         end
  1938.                         local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Carnation pink", "Heart", VT(1,1,1), false)
  1939.                                                 local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  1940.                                                 CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1941.         local ECH = 0
  1942.         CreateSound("247269322", Head, 10, 0.8)
  1943.         Head.face.Texture = "rbxassetid://47425887"
  1944.         for i=0, 8, 0.1 / Animation_Speed do
  1945.             Swait()
  1946.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1947.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  1948.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1949.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1950.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1951.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1952.         end
  1953.         WELD:remove()
  1954.     end
  1955.     UNANCHOR = true
  1956.     ATTACK = false
  1957.     Rooted = false
  1958. end
  1959.  
  1960. function friend()
  1961.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1962.         local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1963.         local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1964.         local ARM = HUM.Parent:FindFirstChild("Right Arm") or HUM.Parent:FindFirstChild("RightUpperArm")
  1965.         if TORSO and ARM then
  1966.               ATTACK = true
  1967.             local FAKECHARACTER = IT("Model",Effects)
  1968.             FAKECHARACTER.Name = "NeonDoll"
  1969.             local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1970.             CreateWeldOrSnapOrMotor("Weld", HUM, ARM, TORS, CF(0,1.2,0), CF(0,0,0))
  1971.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1972.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(15)), CF(0,0.15,0))
  1973.             local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1974.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(90), RAD(0), RAD(-15)), CF(0,0.15,0))
  1975.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1976.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(30)), CF(0,0.15,0))
  1977.             local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1978.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-30)), CF(0,0.15,0))
  1979.             local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 0.4, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1980.             CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1981.                  ATTACK = false
  1982.                         repeat
  1983.                         wait(1)
  1984.                         ApplyDamage(HUM,5,5,2,5)
  1985.                       until HUM.health == 0
  1986.                    end
  1987.                end
  1988.            end
  1989.  
  1990. function Debree(POS, SWAIT)
  1991.     coroutine.resume(coroutine.create(function()
  1992.         local HOLDER = IT("Model", Effects)
  1993.         HOLDER.Name = "Debree"
  1994.         local HITFLOOR = Raycast(POS, CF(POS, POS + VT(0, -1, 0)).lookVector, 4 * Player_Size, Character)
  1995.         MagicSphere(VT(15, 1, 15), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  1996.         MagicSphere(VT(13, 1, 13), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  1997.         MagicSphere(VT(12, 1, 12), SWAIT, CF(POS), "Really red", VT(0, 0, 0))
  1998.         repeat
  1999.             Swait()
  2000.         until HITFLOOR ~= nil
  2001.         local O = 0
  2002.         for i = 1, 18 do
  2003.             do
  2004.                 local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2005.                 Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2006.                 O = O - 2.25 + i / 4
  2007.                 coroutine.resume(coroutine.create(function()
  2008.                     Swait(SWAIT)
  2009.                     for i = 1, 60 do
  2010.                         Swait()
  2011.                         local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2012.                         Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2013.                     end
  2014.                     for i = 1, 50 do
  2015.                         Swait()
  2016.                         Part.Size = Part.Size * 0.9
  2017.                     end
  2018.                 end))
  2019.             end
  2020.         end
  2021.         local O = 0
  2022.         for i = 1, 18 do
  2023.             do
  2024.                 local Part = CreatePart(3, HOLDER, HITFLOOR.Material, 0, 0, HITFLOOR.BrickColor, "Debree", VT(3, 3, 3))
  2025.                 Part.CFrame = CF(CF(POS) * CF(10 - i, 0, O).p) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2026.                 O = O + 2.25 - i / 4
  2027.                 coroutine.resume(coroutine.create(function()
  2028.                     Swait(SWAIT)
  2029.                     for i = 1, 60 do
  2030.                         Swait()
  2031.                         local RayHit, Way = CastProperRay(Part.Position, POS, 0.1, workspace)
  2032.                         Part.CFrame = CF(Way) * ANGLES(RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-180, 180)))
  2033.                     end
  2034.                     for i = 1, 50 do
  2035.                         Swait()
  2036.                         Part.Size = Part.Size * 0.9
  2037.                     end
  2038.                 end))
  2039.             end
  2040.         end
  2041.         Swait(SWAIT + 110)
  2042.         HOLDER:remove()
  2043.     end))
  2044. end
  2045.  
  2046. function Banishtele()
  2047.     ATTACK = true
  2048.     Rooted = true
  2049.     for i = 0, 1, 0.1 / Animation_Speed do
  2050.         Swait()
  2051.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2052.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2053.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2054.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2055.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2056.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2057.     end
  2058.     Debree(CF(RootPart.Position) * CF(0, -2.8, 0).p, 75)
  2059.     UNANCHOR = false
  2060.     RootPart.Anchored = true
  2061.     for i = 0, 2, 0.1 / Animation_Speed do
  2062.         Swait()
  2063.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -10 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2064.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2065.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2066.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2067.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2068.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2069.     end
  2070.     local POS = RootPart.Position
  2071.     RootPart.CFrame = CF(CF(Mouse.Hit.p) * CF(0, 2.8, 0).p, POS)
  2072.     Debree(CF(RootPart.Position) * CF(0, -2.5, 0).p, 150)
  2073.     for i = 0, 2, 0.1 / Animation_Speed do
  2074.         Swait()
  2075.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2076.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2077.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2078.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2079.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2080.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2081.     end
  2082.     ATTACK = false
  2083.     Rooted = false
  2084. end
  2085. --//=================================\\
  2086. --||      ASSIGN THINGS TO KEYS
  2087. --\\=================================//
  2088.  
  2089. function MouseDown(Mouse)
  2090.     if ATTACK == false then
  2091.     end
  2092. end
  2093.  
  2094. function MouseUp(Mouse)
  2095. HOLD = false
  2096. end
  2097.  
  2098.  
  2099.  
  2100.  
  2101. function KeyDown(Key)
  2102.     KEYHOLD = true
  2103.     if Key == "z" and ATTACK == false then
  2104.         if CHOSENBRICK == "Royal purple" then
  2105.             Chain()
  2106.         elseif CHOSENBRICK == "Earth green" then
  2107.             PowerOutburst()
  2108.         elseif CHOSENBRICK == "Crimson" then
  2109.             BanishBullet()
  2110.         elseif CHOSENBRICK == "Carnation pink" then
  2111.             kiss()
  2112.         elseif CHOSENBRICK == "Really black" then
  2113.             Dark_blade()
  2114.                 elseif CHOSENBRICK == "White" then
  2115.                         LightArray()
  2116.         end
  2117.     end
  2118.  
  2119.     if Key == "v" and ATTACK == false then
  2120.         if CHOSENBRICK == "Royal purple" then
  2121.             MegaChain()
  2122.         elseif CHOSENBRICK == "Earth green" then
  2123.             RadioactiveSludge()
  2124.         elseif CHOSENBRICK == "Crimson" then
  2125.             Banishtele()
  2126.         elseif CHOSENBRICK == "Carnation pink" then
  2127.             friend()
  2128.         elseif CHOSENBRICK == "Really black" then
  2129.              Shadowpuddle()
  2130.                 elseif CHOSENBRICK == "White" then
  2131.             Oblivion()
  2132.             return
  2133.         end
  2134.     end
  2135.  
  2136.     if Key == "x" and ATTACK == false then
  2137.         if CHOSENBRICK == "Crimson" then
  2138.         Delete:ClearAllChildren()
  2139.     end
  2140.     end
  2141.                 if Key == "c" and ATTACK == false then
  2142.         if CHOSENBRICK == "Royal purple" then
  2143.             CHOSENBRICK = "Earth green"
  2144.         elseif CHOSENBRICK == "Earth green" then
  2145.             CHOSENBRICK = "Crimson"
  2146.         elseif CHOSENBRICK == "Crimson" then
  2147.             CHOSENBRICK = "Carnation pink"
  2148.         elseif CHOSENBRICK == "Carnation pink" then
  2149.             CHOSENBRICK = "Really black"
  2150.                  elseif CHOSENBRICK == "Really black" then
  2151.                          CHOSENBRICK = "White"
  2152.                 elseif CHOSENBRICK == "White" then
  2153.             CHOSENBRICK = "Royal purple"
  2154.         end
  2155.     end
  2156.  
  2157.     if Key == "t" and ATTACK == false then
  2158.         Taunt()
  2159.     end
  2160.     if Key == "" and ATTACK == false then
  2161.         Dark_blade()
  2162.     end
  2163. end
  2164.  
  2165. function KeyUp(Key)
  2166.     KEYHOLD = false
  2167. end
  2168.  
  2169.     Mouse.Button1Down:connect(function(NEWKEY)
  2170.         MouseDown(NEWKEY)
  2171.     end)
  2172.     Mouse.Button1Up:connect(function(NEWKEY)
  2173.         MouseUp(NEWKEY)
  2174.     end)
  2175.     Mouse.KeyDown:connect(function(NEWKEY)
  2176.         KeyDown(NEWKEY)
  2177.     end)
  2178.     Mouse.KeyUp:connect(function(NEWKEY)
  2179.         KeyUp(NEWKEY)
  2180.     end)
  2181.  
  2182. --//=================================\\
  2183. --\\=================================//
  2184.  
  2185.  
  2186. function unanchor()
  2187.     if UNANCHOR == true then
  2188.         g = Character:GetChildren()
  2189.         for i = 1, #g do
  2190.             if g[i].ClassName == "Part" then
  2191.                 g[i].Anchored = false
  2192.             end
  2193.         end
  2194.     end
  2195. end
  2196.  
  2197.  
  2198. --//=================================\\
  2199. --||    WRAP THE WHOLE SCRIPT UP
  2200. --\\=================================//
  2201. Humanoid.Changed:connect(function(Jump)
  2202.     if Jump == "Jump" and (Disable_Jump == true) then
  2203.         Humanoid.Jump = false
  2204.     end
  2205. end)
  2206.  
  2207. while true do
  2208.     Swait()
  2209.     ANIMATE.Parent = nil
  2210.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2211.     IDLEANIMATION:Play()
  2212.     SINE = SINE + CHANGE
  2213.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2214.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2215.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2216.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2217.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2218.     if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2219.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2220.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2221.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2222.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(90 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2223.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2224.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2225.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2226.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2227.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2228.     end
  2229.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2230.         ANIM = "Jump"
  2231.         if ATTACK == false then
  2232.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2233.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2234.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2235.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2236.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2237.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2238.            end
  2239.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2240.         ANIM = "Fall"
  2241.         if ATTACK == false then
  2242.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2243.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2244.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2245.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2246.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2247.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2248.         end
  2249.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2250.         ANIM = "Idle"
  2251.         if ATTACK == false then
  2252.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(45), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2253.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2254.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2255.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2256.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2257.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(45), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2258.         end
  2259.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2260.         ANIM = "Walk"
  2261.         WALK = WALK + 1 / Animation_Speed
  2262.         if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2263.             WALK = 0
  2264.             if WALKINGANIM == true then
  2265.                 WALKINGANIM = false
  2266.             elseif WALKINGANIM == false then
  2267.                 WALKINGANIM = true
  2268.             end
  2269.         end
  2270.         --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2271.         --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2272.         if ATTACK == false then
  2273.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2274.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2275.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2276.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(22.5), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2277.             RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2278.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2279.         end
  2280.     end
  2281.     unanchor()
  2282.     Humanoid.MaxHealth = "inf"
  2283.     Humanoid.Health = "inf"
  2284.     if Rooted == false then
  2285.         Disable_Jump = false
  2286.         Humanoid.WalkSpeed = Speed
  2287.     elseif Rooted == true then
  2288.         Disable_Jump = true
  2289.         Humanoid.WalkSpeed = 0
  2290.     end
  2291.     sick.Parent = Character
  2292.  
  2293.     if Head:FindFirstChild("face") and ATTACK == false then
  2294.         Head.face.Texture = "rbxassetid://1297067294"
  2295.     end
  2296.     for _, c in pairs(Weapon:GetChildren()) do
  2297.         if c.Name == "Eon" then
  2298.             c.BrickColor = BRICKC(CHOSENBRICK)
  2299.         end
  2300.     end
  2301.     SKILL1TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  2302.     SKILL2TEXT.TextColor3 = BRICKC(CHOSENBRICK).Color
  2303.     if CHOSENBRICK == "Royal purple" then
  2304.         SKILL1TEXT.Text = "[Z] Void Chain"
  2305.         SKILL2TEXT.Text = "[V] Mega Chain"
  2306.                  sick.SoundId = "rbxassetid://1369353534"
  2307.     elseif CHOSENBRICK == "Earth green" then
  2308.         SKILL1TEXT.Text = "[Z] Power Outburst"
  2309.         SKILL2TEXT.Text = "[V] Radioactive Sludge"
  2310.                  sick.SoundId = "rbxassetid://968287483"
  2311.     elseif CHOSENBRICK == "Crimson" then
  2312.         SKILL1TEXT.Text = "[Z] Limited Banish"
  2313.         SKILL2TEXT.Text = "[V] Banish Teleport"
  2314.                 sick.SoundId = "rbxassetid://1140442110"
  2315.     elseif CHOSENBRICK == "Carnation pink" then
  2316.         SKILL1TEXT.Text = "[Z] Loving Kizzu"
  2317.         SKILL2TEXT.Text = "[V] Heart Friend"
  2318.                  sick.SoundId = "rbxassetid://1131624146"
  2319.     elseif CHOSENBRICK == "Really black" then
  2320.         SKILL1TEXT.Text = "[Z] Dark Blades"
  2321.         SKILL2TEXT.Text = "[V] Black Hole Puddle"
  2322.                  sick.SoundId = "rbxassetid://342929664"
  2323.         elseif CHOSENBRICK == "White" then
  2324.         SKILL1TEXT.Text = "[Z] Light Array"
  2325.         SKILL2TEXT.Text = "[V] Oblivion"
  2326.                 sick.SoundId = "rbxassetid://395351949"
  2327.     end
  2328. end
  2329.  
  2330. --//=================================\\
  2331. --\\=================================//
  2332.  
  2333.  
  2334.  
  2335.  
  2336.  
  2337. --//====================================================\\--
  2338. --||                     END OF SCRIPT
  2339. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement