wanTH092

Full Wrecker (leak)

Jul 13th, 2018
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 123.38 KB | None | 0 0
  1. --      [[[
  2. --000000[[====================================================================================\\
  3. --000000[[                    DEIVIS97 EDIT    
  4. --000000[[====================================================================================//
  5. --      [[[
  6.  
  7. wait(0.2)
  8.  
  9.  
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. Torso.Transparency = 1
  32. local sick = Instance.new("Sound",Character)
  33. sick.SoundId = "rbxassetid://196739738"
  34. sick.Looped = true
  35. sick.Pitch = 1
  36. sick.Volume = 10
  37. sick:Play()
  38.  
  39. IT = Instance.new
  40. CF = CFrame.new
  41. VT = Vector3.new
  42. RAD = math.rad
  43. C3 = Color3.new
  44. UD2 = UDim2.new
  45. BRICKC = BrickColor.new
  46. ANGLES = CFrame.Angles
  47. EULER = CFrame.fromEulerAnglesXYZ
  48. COS = math.cos
  49. ACOS = math.acos
  50. SIN = math.sin
  51. ASIN = math.asin
  52. ABS = math.abs
  53. MRANDOM = math.random
  54. FLOOR = math.floor
  55.  
  56. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  57.     local NEWMESH = IT(MESH)
  58.     if MESH == "SpecialMesh" then
  59.         NEWMESH.MeshType = MESHTYPE
  60.         if MESHID ~= "nil" and MESHID ~= "" then
  61.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  62.         end
  63.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  64.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  65.         end
  66.     end
  67.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  68.     NEWMESH.Scale = SCALE
  69.     NEWMESH.Parent = PARENT
  70.     return NEWMESH
  71. end
  72.  
  73. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  74.     local NEWPART = IT("Part")
  75.     NEWPART.formFactor = FORMFACTOR
  76.     NEWPART.Reflectance = REFLECTANCE
  77.     NEWPART.Transparency = TRANSPARENCY
  78.     NEWPART.CanCollide = false
  79.     NEWPART.Locked = true
  80.     NEWPART.Anchored = true
  81.     if ANCHOR == false then
  82.         NEWPART.Anchored = false
  83.     end
  84.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  85.     NEWPART.Name = NAME
  86.     NEWPART.Size = SIZE
  87.     NEWPART.Position = Torso.Position
  88.     NEWPART.Material = MATERIAL
  89.     NEWPART:BreakJoints()
  90.     NEWPART.Parent = PARENT
  91.     return NEWPART
  92. end
  93.  
  94. --//=================================\\
  95. --||          CUSTOMIZATION
  96. --\\=================================//
  97.  
  98. Class_Name = "Template"
  99. Weapon_Name = "Add-ons"
  100.  
  101. Custom_Colors = {
  102.     Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  103.     Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  104.  
  105.     Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  106.     Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  107.     Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  108.     Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  109.     Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  110.  
  111.     Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  112.     Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  113.     Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  114.     Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  115.     Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  116. }
  117.  
  118.  
  119. Player_Size = 1 --Size of the player.
  120. Animation_Speed = 3
  121. Animation_Speed2 = 1
  122. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  123.  
  124. local Speed = 16
  125. local Effects2 = {}
  126.  
  127. --//=================================\\
  128. --||      END OF CUSTOMIZATION
  129. --\\=================================//
  130.  
  131.     local function weldBetween(a, b)
  132.         local weldd = Instance.new("ManualWeld")
  133.         weldd.Part0 = a
  134.         weldd.Part1 = b
  135.         weldd.C0 = CFrame.new()
  136.         weldd.C1 = b.CFrame:inverse() * a.CFrame
  137.         weldd.Parent = a
  138.         return weldd
  139.     end
  140.  
  141. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  142. local acs = Instance.new("Part")
  143. acs.CanCollide = false
  144. acs.Anchored = false
  145. acs.Size = Vector3.new(0,0,0)
  146. acs.CFrame = attachmentpart.CFrame
  147. acs.Parent = Character
  148. acs.BrickColor = color
  149.     local meshs = Instance.new("SpecialMesh")
  150.     meshs.MeshId = mesh
  151.     meshs.TextureId = texture
  152.     meshs.Parent = acs
  153.     meshs.Scale = scale
  154.     meshs.Offset = offset
  155. weldBetween(attachmentpart,acs)
  156. end
  157.  
  158. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  159. if TYPE == "Gem" then
  160.     local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  161.     acs.Anchored = false
  162.     acs.CanCollide = false
  163.     acs.CFrame = PART.CFrame
  164.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  165. weldBetween(PART,acs)
  166. elseif TYPE == "Skull" then
  167.     local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  168.     acs.Anchored = false
  169.     acs.CanCollide = false
  170.     acs.CFrame = PART.CFrame
  171.     local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  172. weldBetween(PART,acs)
  173. elseif TYPE == "Eye" then
  174.     local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  175.     acs.Anchored = false
  176.     acs.CanCollide = false
  177.     acs.CFrame = PART.CFrame
  178.     local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  179. weldBetween(PART,acs)
  180. end
  181. end
  182.  
  183. --//=================================\\
  184. --||          USEFUL VALUES
  185. --\\=================================//
  186.  
  187. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  188. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  189. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  190. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  191. local CHANGEDEFENSE = 0
  192. local CHANGEDAMAGE = 0
  193. local CHANGEMOVEMENT = 0
  194. local ANIM = "Idle"
  195. local ATTACK = false
  196. local EQUIPPED = false
  197. local HOLD = false
  198. local COMBO = 1
  199. local Rooted = false
  200. local SINE = 0
  201. local KEYHOLD = false
  202. local CHANGE = 2 / Animation_Speed
  203. local WALKINGANIM = false
  204. local WALK = 0
  205. local VALUE1 = false
  206. local VALUE2 = false
  207. local ROBLOXIDLEANIMATION = IT("Animation")
  208. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  209. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  210. --ROBLOXIDLEANIMATION.Parent = Humanoid
  211. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  212. WEAPONGUI.Name = "Weapon GUI"
  213. local Weapon = IT("Model")
  214. Weapon.Name = Weapon_Name
  215. local Effects = IT("Folder", Weapon)
  216. Effects.Name = "Effects"
  217. local ANIMATOR = Humanoid.Animator
  218. local ANIMATE = Character.Animate
  219. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  220. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  221. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  222. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  223. local CASTSOUNDS = {"1369158","2974000","2974249"}
  224. local BOLTSOUNDS = {"821439273","224339201","168586586"}
  225. local TORNADOSOUND = "362395087"
  226. local UNANCHOR = true
  227.  
  228. local SKILLTEXTCOLOR = C3(0,255,255)
  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. function CreateSound(ID, PARENT, VOLUME, PITCH)
  434.     local NEWSOUND = nil
  435.     coroutine.resume(coroutine.create(function()
  436.         NEWSOUND = IT("Sound", PARENT)
  437.         NEWSOUND.Volume = VOLUME
  438.         NEWSOUND.Pitch = PITCH
  439.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  440.         NEWSOUND:play()
  441.         game:GetService("Debris"):AddItem(NEWSOUND, 20)
  442.     end))
  443.     return NEWSOUND
  444. end
  445.  
  446. function CFrameFromTopBack(at, top, back)
  447.     local right = top:Cross(back)
  448.     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)
  449. end
  450.  
  451. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  452.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  453.     local mesh = IT("SpecialMesh",wave)
  454.     mesh.MeshType = "FileMesh"
  455.     mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  456.     mesh.Scale = SIZE
  457.     mesh.Offset = VT(0,0,-SIZE.X/8)
  458.     wave.CFrame = CFRAME
  459.     coroutine.resume(coroutine.create(function(PART)
  460.         for i = 1, WAIT do
  461.             Swait()
  462.             mesh.Scale = mesh.Scale + GROW
  463.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  464.             if DOESROT == true then
  465.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  466.             end
  467.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  468.             if wave.Transparency > 0.99 then
  469.                 wave:remove()
  470.             end
  471.         end
  472.     end))
  473. end
  474.  
  475. function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  476.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  477.     local mesh = IT("SpecialMesh",wave)
  478.     mesh.MeshType = "FileMesh"
  479.     mesh.MeshId = "http://www.roblox.com/asset/?id=1078075"
  480.     mesh.Scale = SIZE
  481.     mesh.Offset = VT(0,0,-SIZE.X/8)
  482.     wave.CFrame = CFRAME
  483.     coroutine.resume(coroutine.create(function(PART)
  484.         for i = 1, WAIT do
  485.             Swait()
  486.             mesh.Scale = mesh.Scale + GROW
  487.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  488.             if DOESROT == true then
  489.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  490.             end
  491.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  492.             if wave.Transparency > 0.99 then
  493.                 wave:remove()
  494.             end
  495.         end
  496.     end))
  497. end
  498.  
  499. function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  500.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  501.     local mesh = IT("SpecialMesh",wave)
  502.     mesh.MeshType = "FileMesh"
  503.     mesh.MeshId = "http://www.roblox.com/asset/?id=1323306"
  504.     mesh.Scale = SIZE
  505.     mesh.Offset = VT(0,0,-SIZE.X/8)
  506.     wave.CFrame = CFRAME
  507.     coroutine.resume(coroutine.create(function(PART)
  508.         for i = 1, WAIT do
  509.             Swait()
  510.             mesh.Scale = mesh.Scale + GROW
  511.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  512.             if DOESROT == true then
  513.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  514.             end
  515.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  516.             if wave.Transparency > 0.99 then
  517.                 wave:remove()
  518.             end
  519.         end
  520.     end))
  521. end
  522.  
  523. function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  524.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  525.     local mesh = IT("SpecialMesh",wave)
  526.     mesh.MeshType = "FileMesh"
  527.     mesh.MeshId = "http://www.roblox.com/asset/?id=9982590"
  528.     mesh.Scale = SIZE
  529.     mesh.Offset = VT(0,0,-SIZE.X/8)
  530.     wave.CFrame = CFRAME
  531.     coroutine.resume(coroutine.create(function(PART)
  532.         for i = 1, WAIT do
  533.             Swait()
  534.             mesh.Scale = mesh.Scale + GROW
  535.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  536.             if DOESROT == true then
  537.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  538.             end
  539.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  540.             if wave.Transparency > 0.99 then
  541.                 wave:remove()
  542.             end
  543.         end
  544.     end))
  545. end
  546.  
  547. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS)
  548.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  549.     local mesh = IT("SpecialMesh",wave)
  550.     mesh.MeshType = "FileMesh"
  551.     mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  552.     mesh.Scale = SIZE
  553.     wave.CFrame = CFRAME
  554.     coroutine.resume(coroutine.create(function(PART)
  555.         for i = 1, WAIT do
  556.             Swait()
  557.             mesh.Scale = mesh.Scale + GROW
  558.             mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  559.             if DOESROT == true then
  560.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  561.             end
  562.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  563.             if wave.Transparency > 0.99 then
  564.                 wave:remove()
  565.             end
  566.         end
  567.     end))
  568. end
  569.  
  570. function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  571.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  572.     local mesh = IT("SpecialMesh",wave)
  573.     mesh.MeshType = "FileMesh"
  574.     mesh.MeshId = "http://www.roblox.com/asset/?id=102638417"
  575.     mesh.Scale = SIZE
  576.     wave.CFrame = CFRAME
  577.     coroutine.resume(coroutine.create(function(PART)
  578.         for i = 1, WAIT do
  579.             Swait()
  580.             mesh.Scale = mesh.Scale + GROW
  581.             if DOESROT == true then
  582.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  583.             end
  584.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  585.             if wave.Transparency > 0.99 then
  586.                 wave:remove()
  587.             end
  588.         end
  589.     end))
  590. end
  591.  
  592. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS)
  593.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0))
  594.     local mesh = IT("SpecialMesh",wave)
  595.     mesh.MeshType = "FileMesh"
  596.     mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  597.     mesh.Scale = SIZE
  598.     mesh.Offset = VT(0,0,0)
  599.     wave.CFrame = CFRAME
  600.     coroutine.resume(coroutine.create(function(PART)
  601.         for i = 1, WAIT do
  602.             Swait()
  603.             mesh.Scale = mesh.Scale + GROW
  604.             if DOESROT == true then
  605.                 wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  606.             end
  607.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  608.             if wave.Transparency > 0.99 then
  609.                 wave:remove()
  610.             end
  611.         end
  612.     end))
  613. end
  614.  
  615. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  616.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  617.     local mesh = IT("SpecialMesh",wave)
  618.     mesh.MeshType = "Sphere"
  619.     mesh.Scale = SIZE
  620.     mesh.Offset = VT(0,0,0)
  621.     wave.CFrame = CFRAME
  622.     coroutine.resume(coroutine.create(function(PART)
  623.         for i = 1, WAIT do
  624.             Swait()
  625.             mesh.Scale = mesh.Scale + GROW
  626.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  627.             if wave.Transparency > 0.99 then
  628.                 wave:remove()
  629.             end
  630.         end
  631.     end))
  632. end
  633.  
  634. function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS)
  635.     local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true)
  636.     wave.CFrame = CFRAME
  637.     coroutine.resume(coroutine.create(function(PART)
  638.         for i = 1, WAIT do
  639.             Swait()
  640.             wave.Size = wave.Size + GROW
  641.             wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360)))
  642.             wave.Transparency = wave.Transparency + ((1-TRANS)/WAIT)
  643.             if wave.Transparency > 0.99 then
  644.                 wave:remove()
  645.             end
  646.         end
  647.     end))
  648. end
  649.  
  650. function MakeForm(PART,TYPE)
  651.     if TYPE == "Cyl" then
  652.         local MSH = IT("CylinderMesh",PART)
  653.     elseif TYPE == "Ball" then
  654.         local MSH = IT("SpecialMesh",PART)
  655.         MSH.MeshType = "Sphere"
  656.     elseif TYPE == "Wedge" then
  657.         local MSH = IT("SpecialMesh",PART)
  658.         MSH.MeshType = "Wedge"
  659.     end
  660. end
  661.  
  662. function CheckTableForString(Table, String)
  663.     for i, v in pairs(Table) do
  664.         if string.find(string.lower(String), string.lower(v)) then
  665.             return true
  666.         end
  667.     end
  668.     return false
  669. end
  670.  
  671. function CheckIntangible(Hit)
  672.     local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  673.     if Hit and Hit.Parent then
  674.         if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  675.             return true
  676.         end
  677.     end
  678.     return false
  679. end
  680.  
  681. Debris = game:GetService("Debris")
  682.  
  683. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  684.     local Direction = CFrame.new(StartPos, Vec).lookVector
  685.     local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  686.     local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  687.     if RayHit and CheckIntangible(RayHit) then
  688.         if DelayIfHit then
  689.             wait()
  690.         end
  691.         RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  692.     end
  693.     return RayHit, RayPos, RayNormal
  694. end
  695.  
  696. function turnto(position)
  697.     RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  698. end
  699.  
  700. --//=================================\\
  701. --||            SPEECH
  702. --\\=================================//
  703.  
  704. function chatfunc(text,waitt)
  705. local chat = coroutine.wrap(function()
  706. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  707. Character:FindFirstChild("TalkingBillBoard"):destroy()
  708. end
  709. local naeeym2 = Instance.new("BillboardGui",Character)
  710. naeeym2.Size = UDim2.new(0,100,0,40)
  711. naeeym2.StudsOffset = Vector3.new(0,5,0)
  712. naeeym2.Adornee = Character.Head
  713. naeeym2.Name = "TalkingBillBoard"
  714. naeeym2.AlwaysOnTop = true
  715. local tecks2 = Instance.new("TextLabel",naeeym2)
  716. tecks2.BackgroundTransparency = 1
  717. tecks2.BorderSizePixel = 0
  718. tecks2.Text = ""
  719. tecks2.Font = "SciFi"
  720. tecks2.TextSize = 30
  721. tecks2.TextStrokeTransparency = 1
  722. tecks2.TextColor3 = SKILLTEXTCOLOR
  723. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  724. tecks2.Size = UDim2.new(1,0,0.5,0)
  725. for i = 1,string.len(text),1 do
  726. tecks2.Text = string.sub(text,1,i)
  727. Swait()
  728. end
  729. wait(waitt)
  730. coroutine.resume(coroutine.create(function()
  731.     for i = 1, 10 do
  732.         tecks2.TextTransparency = tecks2.TextTransparency + 0.1
  733.         Swait()
  734.     end
  735.     naeeym2:Destroy()
  736. end))
  737. end)
  738. chat()
  739. end
  740.  
  741. --//=================================\\
  742. --||         WEAPON CREATION
  743. --\\=================================//
  744.  
  745. function CreateGauntlet(LIMB,ROT,OFFSET)
  746. local FIST = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.025,2.025,1.025),false)
  747. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LIMB, FIST, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  748. FIST.CanCollide = true
  749. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.075,0.25,1.075),false)
  750. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  751. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,0.15,1.1),false)
  752. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  753. --ALL OF THE 04--
  754. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.5,0.5),false)
  755. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  756. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false)
  757. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  758. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false)
  759. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  760.  
  761. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  762. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  763. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  764. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  765. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false)
  766. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  767. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,2.065,1.065),false)
  768. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/4, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  769. MakeForm(part,"Wedge")
  770. -----------------
  771. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.45,0.45),false)
  772. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  773. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false)
  774. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  775. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false)
  776. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  777.  
  778. local part = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.075,2.075,1.075),false)
  779. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3.5, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  780. MakeForm(part,"Wedge")
  781. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,2.1,1.1),false)
  782. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3, 0.1, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0))
  783. MakeForm(part,"Wedge")
  784. end
  785.  
  786. CreateGauntlet(RightArm,180,0.3)
  787. CreateGauntlet(LeftArm,0,-0.3)
  788. CreateGauntlet(RightLeg,180,0.3)
  789. CreateGauntlet(LeftLeg,0,-0.3)
  790.  
  791. function CreateTorso(LIMB,ROT,OFFSET)
  792. local FIST = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(2,2,1),false)
  793. local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LIMB, FIST, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  794. FIST.CanCollide = true
  795.  
  796. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.5,1.2),false)
  797. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  798. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,1.2),false)
  799. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  800. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,1.2),false)
  801. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  802.  
  803. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(2.065,0.025,1.065),false)
  804. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  805. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(2.065,0.025,1.065),false)
  806. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  807. local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(2.065,0.025,1.065),false)
  808. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  809. -----------------
  810. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.25,0.45,0.45),false)
  811. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  812. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.25,0.2,0.2),false)
  813. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, -0.5, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  814. local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.25,0.2,0.2),false)
  815. local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0.01, 0.5, 0) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  816.  
  817. end
  818.  
  819. CreateTorso(Torso,360,-0.3)
  820.  
  821.  
  822. for _, c in pairs(Weapon:GetChildren()) do
  823.     if c.ClassName == "Part" then
  824.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  825.     end
  826. end
  827.  
  828. Weapon.Parent = Character
  829.  
  830. Humanoid.Died:connect(function()
  831.     ATTACK = true
  832. end)
  833.  
  834. print(Class_Name.." loaded.")
  835.  
  836. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  837. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  838. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  839.  
  840. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Turret cannon", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1")
  841. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Shield pulse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2")
  842. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[1-8] Switch stance", C3(255,0,0), 6, "SciFi", 0, 2, 1, "Text 3")
  843.  
  844. --//=================================\\
  845. --||         DAMAGE FUNCTIONS
  846. --\\=================================//
  847.  
  848. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  849.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  850.     STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  851.     local BODYGYRO = IT("BodyGyro", STATPART)
  852.     local BODYPOSITION = IT("BodyPosition", STATPART)
  853.     BODYPOSITION.P = 2000
  854.     BODYPOSITION.D = 100
  855.     BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  856.     BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  857.     game:GetService("Debris"):AddItem(STATPART ,5)
  858.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  859.     BILLBOARDGUI.Adornee = STATPART
  860.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  861.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  862.     BILLBOARDGUI.AlwaysOnTop = true
  863.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  864.     TEXTLABEL.BackgroundTransparency = 1
  865.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  866.     TEXTLABEL.Text = TEXT
  867.     TEXTLABEL.Font = "SciFi"
  868.     TEXTLABEL.FontSize="Size42"
  869.     TEXTLABEL.TextColor3 = COLOR
  870.     TEXTLABEL.TextStrokeTransparency = 1
  871.     TEXTLABEL.TextScaled = true
  872.     TEXTLABEL.TextWrapped = true
  873.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  874.         if LABELTYPE == "Normal" then
  875.             for i = 1, 20 do
  876.                 Swait()
  877.                 STATPART.Position = STATPART.Position + VT(0, (10-i)/10 ,0)
  878.                 TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  879.             end
  880.         elseif LABELTYPE == "Debuff" then
  881.             for i = 1, 20 do
  882.                 Swait()
  883.                 STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  884.                 TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  885.             end
  886.         elseif LABELTYPE == "Shock" then
  887.             local ORIGIN = STATPART.Position
  888.             for i = 1, 20 do
  889.                 Swait()
  890.                 STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  891.                 TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20)
  892.             end
  893.         end
  894.         THEPART.Parent = nil
  895.     end),STATPART, BODYPOSITION, TEXTLABEL)
  896. end
  897.  
  898.  
  899. --//=================================\\
  900. --||            DAMAGING
  901. --\\=================================//
  902.  
  903. function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier)
  904.     if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then
  905.         local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid")
  906.         local dmg = math.random(min,max)
  907.         if humanoid.Health > 0 then
  908.             if beserk == true then
  909.                 humanoid.Health = 0
  910.             else
  911.                 CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10)
  912.                 hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength
  913.                 if math.random(1,100) < critrate+1 then
  914.                     humanoid.Health = humanoid.Health - dmg*critmultiplier
  915.                     StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  916.                 else
  917.                     humanoid.Health = humanoid.Health - dmg
  918.                     StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0))
  919.                 end
  920.                 local defence = Instance.new("BoolValue",hit.Parent)
  921.                 defence.Name = ("HitBy"..Player.Name)
  922.                 game:GetService("Debris"):AddItem(defence, 0.1)
  923.             end
  924.         end
  925.     end
  926. end
  927.  
  928. function AoEWarp(position,radius)
  929.     for i,v in ipairs(workspace:GetChildren()) do
  930.     if v:FindFirstChild("HitBy"..Player.Name) == nil then
  931.         local body = v:GetChildren()
  932.             for part = 1, #body do
  933.                 if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  934.                     if(body[part].Position - position).Magnitude < radius then
  935.                         if v.ClassName == "Model" then
  936.                             if v:FindFirstChild("Humanoid") then
  937.                                 if v.Humanoid.Health ~= 0 then
  938.                                     if body[part].Position.Y < position.Y+12 then
  939.                                         print("Got "..v.Name)
  940.                                         local defence = Instance.new("BoolValue",v)
  941.                                         defence.Name = ("HitBy"..Player.Name)
  942.                                         game:GetService("Debris"):AddItem(defence, 0.01)
  943.                                         local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  944.                                         Warp(TORSO)
  945.                                     end
  946.                                 end
  947.                             end
  948.                         end
  949.                         --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  950.                     end
  951.                 end
  952.             end
  953.         end
  954.     end
  955. end
  956.  
  957. function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping)
  958.     local dmg = math.random(min,max)
  959.     for i,v in ipairs(workspace:GetChildren()) do
  960.     if v:FindFirstChild("HitBy"..Player.Name) == nil then
  961.         local body = v:GetChildren()
  962.             for part = 1, #body do
  963.                 if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  964.                     if(body[part].Position - position).Magnitude < radius then
  965.                         if v.ClassName == "Model" then
  966.                             if v:FindFirstChild("Humanoid") then
  967.                                 if v.Humanoid.Health ~= 0 then
  968.                                     if CanBeDodgedByJumping == true then
  969.                                         if body[part].Position.Y < position.Y+5 then
  970.                                             if math.random(1,100) < critrate+1 then
  971.                                                 v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  972.                                                 StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  973.                                             else
  974.                                                 v.Humanoid.Health = v.Humanoid.Health - dmg
  975.                                                 StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  976.                                             end
  977.                                             local defence = Instance.new("BoolValue",v)
  978.                                             defence.Name = ("HitBy"..Player.Name)
  979.                                             game:GetService("Debris"):AddItem(defence, 0.1)
  980.                                         end
  981.                                     else
  982.                                         if beserk == true then
  983.                                             v.Humanoid.Health = 0
  984.                                         end
  985.                                         if math.random(1,100) < critrate+1 then
  986.                                             v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier
  987.                                             StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0))
  988.                                         else
  989.                                             v.Humanoid.Health = v.Humanoid.Health - dmg
  990.                                             StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0))
  991.                                         end
  992.                                         local defence = Instance.new("BoolValue",v)
  993.                                         defence.Name = ("HitBy"..Player.Name)
  994.                                         game:GetService("Debris"):AddItem(defence, 0.1)
  995.                                     end
  996.                                 end
  997.                             end
  998.                         end
  999.                         body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1000.                     end
  1001.                 end
  1002.             end
  1003.             if v.ClassName == "Part" then
  1004.                 if v.Anchored == false and (v.Position - position).Magnitude < radius then
  1005.                     v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1006.                 end
  1007.             end
  1008.         end
  1009.     end
  1010. end
  1011.  
  1012. function AoEStun(POS,RANGE,LAST,TYPE)
  1013.     for i,v in ipairs(workspace:GetChildren()) do
  1014.     if v:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1015.         local body = v:GetChildren()
  1016.             for part = 1, #body do
  1017.                 if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1018.                     if(body[part].Position - POS).Magnitude < RANGE then
  1019.                         if v.ClassName == "Model" then
  1020.                             if v:FindFirstChild("Humanoid") then
  1021.                                 if v.Humanoid.Health ~= 0 then
  1022.                                     if TYPE == "Stun" then
  1023.                                         Stun(v.Humanoid,LAST)
  1024.                                     elseif TYPE == "Freeze" then
  1025.                                         Freeze(v.Humanoid,LAST)
  1026.                                     end
  1027.                                     local defence = Instance.new("BoolValue",v)
  1028.                                     defence.Name = ("StunnedBy"..Player.Name)
  1029.                                     game:GetService("Debris"):AddItem(defence, 0.1)
  1030.                                 end
  1031.                             end
  1032.                         end
  1033.                     end
  1034.                 end
  1035.             end
  1036.         end
  1037.     end
  1038. end
  1039.  
  1040. function Warp(Victim)
  1041.     print("Warping "..Victim.Name.."...")
  1042.     Victim.Anchored = true
  1043.     coroutine.resume(coroutine.create(function()
  1044.         local GUI,GUI2 = CreateGUICircle(Victim)
  1045.         CreateSound("1208650519", Victim, 10, 1)
  1046.         for i = 1, 200 do
  1047.             Swait()
  1048.             GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  1049.             GUI2.Rotation = GUI2.Rotation + 2
  1050.         end
  1051.         CastWarpOutlines(Victim.Parent)
  1052.         Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65))
  1053.         CreateSound("1177785010", Victim, 10, 1)
  1054.         local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid")
  1055.         if HUMANOID ~= nil then
  1056.             local dmg = MRANDOM(75,95)
  1057.             HUMANOID.Health = HUMANOID.Health - dmg
  1058.             StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  1059.         end
  1060.         for i = 1, 50 do
  1061.             Swait()
  1062.             GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  1063.             GUI2.Rotation = GUI2.Rotation - 8
  1064.         end
  1065.         Victim.Anchored = false
  1066.         GUI:remove()
  1067.     end))
  1068. end
  1069.  
  1070. function Stun(HUMANOID,LAST)
  1071.     if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1072.         HUMANOID.PlatformStand = true
  1073.         local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1074.         defence.Name = ("StunnedBy"..Player.Name)
  1075.         game:GetService("Debris"):AddItem(defence, LAST)
  1076.         if HUMANOID.Parent:FindFirstChild("Head") then
  1077.             StatLabel("Shock", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3))
  1078.         end
  1079.         coroutine.resume(coroutine.create(function()
  1080.             Swait(LAST*100)
  1081.             HUMANOID.PlatformStand = false
  1082.         end))
  1083.     end
  1084. end
  1085.  
  1086. function Freeze(HUMANOID,LAST)
  1087.     if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then
  1088.         local q = HUMANOID.Parent:GetChildren()
  1089.         for i = 1, #q do
  1090.             local bob = q[i]
  1091.             if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1092.                 if bob.Transparency < 1 then
  1093.                     bob.Anchored = true
  1094.                     local icelayer = bob:Clone()
  1095.                     icelayer.Parent = bob
  1096.                     icelayer.Material = "Ice"
  1097.                     icelayer.CanCollide = false
  1098.                     icelayer.BrickColor = BRICKC"Steel blue"
  1099.                     icelayer.Transparency = 0.5
  1100.                     icelayer.CFrame = bob.CFrame
  1101.                     icelayer.Name = "Ice"
  1102.                     icelayer.Size = icelayer.Size + VT(0.1,0.1,0.1)
  1103.                     if icelayer:FindFirstChildOfClass("Decal") then
  1104.                         icelayer:FindFirstChildOfClass("Decal"):remove()
  1105.                     end
  1106.                 end
  1107.             end
  1108.         end
  1109.         local defence = Instance.new("BoolValue",HUMANOID.Parent)
  1110.         defence.Name = ("StunnedBy"..Player.Name)
  1111.         game:GetService("Debris"):AddItem(defence, LAST)
  1112.         if HUMANOID.Parent:FindFirstChild("Head") then
  1113.             StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Frozen!", C3(0.3, 0.3, 0.3))
  1114.         end
  1115.         coroutine.resume(coroutine.create(function()
  1116.             Swait(LAST*100)
  1117.             local q = HUMANOID.Parent:GetChildren()
  1118.             for i = 1, #q do
  1119.                 local bob = q[i]
  1120.                 if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then
  1121.                     if bob.Transparency < 1 then
  1122.                         bob.Anchored = false
  1123.                         bob.Ice:remove()
  1124.                     end
  1125.                 end
  1126.             end
  1127.         end))
  1128.     end
  1129. end
  1130.  
  1131. function killnearest(position,range,maxstrength)
  1132.     for i,v in ipairs(workspace:GetChildren()) do
  1133.     local body = v:GetChildren()
  1134.         for part = 1, #body do
  1135.             if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1136.                 if(body[part].Position - position).Magnitude < range then
  1137.                     table.insert(Effects2,{body[part],"Evaporate",0.005,2,2,2,2})
  1138.                     body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  1139.                 end
  1140.             end
  1141.         end
  1142.         if v.ClassName == "Part" then
  1143.             if v.Anchored == false and (v.Position - position).Magnitude < range then
  1144.                 table.insert(Effects2,{v,"Evaporate",0.005,2,2,2,2})
  1145.                 v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  1146.             end
  1147.         end
  1148.     end
  1149. end
  1150.  
  1151. --//=================================\\
  1152. --||    ATTACK FUNCTIONS AND STUFF
  1153. --\\=================================//
  1154.  
  1155. function Stance1()
  1156.     VALUE1 = 1
  1157.     SKILL1TEXT.Text = "[Z] Turret cannon"
  1158.     SKILL2TEXT.Text = "[X] Shield pulse"
  1159.     sick.SoundId = "rbxassetid://196739738"
  1160.     local wep = Weapon:GetChildren()
  1161.     for part = 1, #wep do
  1162.         if wep[part].ClassName == "Part" then
  1163.             local P = wep[part]
  1164.             if P.Name == "01-Type" then
  1165.                 P.Material = "Granite"
  1166.                 P.BrickColor = BRICKC"Pearl"
  1167.             elseif P.Name == "02-Type" then
  1168.                 P.Material = "Metal"
  1169.                 P.BrickColor = BRICKC"Pearl"
  1170.             elseif P.Name == "03-Type" then
  1171.                 P.Material = "Metal"
  1172.                 P.BrickColor = BRICKC"Really black"
  1173.             elseif P.Name == "04-Type" then
  1174.                 P.Material = "Neon"
  1175.                 P.BrickColor = BRICKC"Pearl"
  1176.             end
  1177.         end
  1178.     end
  1179. end
  1180.  
  1181. function Stance2()
  1182.     VALUE1 = 2
  1183.     SKILL1TEXT.Text = "[Z] Fireball"
  1184.     SKILL2TEXT.Text = "[X] Fire field"
  1185.     sick.SoundId = "rbxassetid://253050461"
  1186.     local wep = Weapon:GetChildren()
  1187.     for part = 1, #wep do
  1188.         if wep[part].ClassName == "Part" then
  1189.             local P = wep[part]
  1190.             if P.Name == "01-Type" then
  1191.                 P.Material = "Granite"
  1192.                 P.BrickColor = BRICKC"Deep orange"
  1193.             elseif P.Name == "02-Type" then
  1194.                 P.Material = "Metal"
  1195.                 P.BrickColor = BRICKC"Maroon"
  1196.             elseif P.Name == "03-Type" then
  1197.                 P.Material = "Metal"
  1198.                 P.BrickColor = BRICKC"Really black"
  1199.             elseif P.Name == "04-Type" then
  1200.                 P.Material = "Neon"
  1201.                 P.BrickColor = BRICKC"CGA brown"
  1202.             end
  1203.         end
  1204.     end
  1205. end
  1206.  
  1207. function Stance3()
  1208.     VALUE1 = 3
  1209.     SKILL1TEXT.Text = "[Z] Icicle storm"
  1210.     SKILL2TEXT.Text = "[X] Frost breath"
  1211.     sick.SoundId = "rbxassetid://306681534"
  1212.     local wep = Weapon:GetChildren()
  1213.     for part = 1, #wep do
  1214.         if wep[part].ClassName == "Part" then
  1215.             local P = wep[part]
  1216.             if P.Name == "01-Type" then
  1217.                 P.Material = "Marble"
  1218.                 P.BrickColor = BRICKC"Medium stone grey"
  1219.             elseif P.Name == "02-Type" then
  1220.                 P.Material = "Neon"
  1221.                 P.BrickColor = BRICKC"Cyan"
  1222.             elseif P.Name == "03-Type" then
  1223.                 P.Material = "Metal"
  1224.                 P.BrickColor = BRICKC"Cyan"
  1225.             elseif P.Name == "04-Type" then
  1226.                 P.Material = "Ice"
  1227.                 P.BrickColor = BRICKC"Steel blue"
  1228.             end
  1229.         end
  1230.     end
  1231. end
  1232.  
  1233. function Stance4()
  1234.     VALUE1 = 4
  1235.     SKILL1TEXT.Text = "[Z] Shriek"
  1236.     SKILL2TEXT.Text = "[X] Bloodbath"
  1237.     sick.SoundId = "rbxassetid://866334508"
  1238.     local wep = Weapon:GetChildren()
  1239.     for part = 1, #wep do
  1240.         if wep[part].ClassName == "Part" then
  1241.             local P = wep[part]
  1242.             if P.Name == "01-Type" then
  1243.                 P.Material = "Cobblestone"
  1244.                 P.BrickColor = BRICKC"Really black"
  1245.             elseif P.Name == "02-Type" then
  1246.                 P.Material = "Metal"
  1247.                 P.BrickColor = BRICKC"Maroon"
  1248.             elseif P.Name == "03-Type" then
  1249.                 P.Material = "Metal"
  1250.                 P.BrickColor = BRICKC"Black"
  1251.             elseif P.Name == "04-Type" then
  1252.                 P.Material = "Neon"
  1253.                 P.BrickColor = BRICKC"Really red"
  1254.             end
  1255.         end
  1256.     end
  1257. end
  1258.  
  1259. function Stance5()
  1260.     VALUE1 = 5
  1261.     SKILL1TEXT.Text = "[Z] Rock throw"
  1262.     SKILL2TEXT.Text = "[X] Earth tremor"
  1263.     sick.SoundId = "rbxassetid://395520245"
  1264.     local wep = Weapon:GetChildren()
  1265.     for part = 1, #wep do
  1266.         if wep[part].ClassName == "Part" then
  1267.             local P = wep[part]
  1268.             if P.Name == "01-Type" then
  1269.                 P.Material = "Cobblestone"
  1270.                 P.BrickColor = BRICKC"Rust"
  1271.             elseif P.Name == "02-Type" then
  1272.                 P.Material = "Cobblestone"
  1273.                 P.BrickColor = BRICKC"CGA brown"
  1274.             elseif P.Name == "03-Type" then
  1275.                 P.Material = "Marble"
  1276.                 P.BrickColor = BRICKC"Black"
  1277.             elseif P.Name == "04-Type" then
  1278.                 P.Material = "Slate"
  1279.                 P.BrickColor = BRICKC"Pine cone"
  1280.             end
  1281.         end
  1282.     end
  1283. end
  1284.  
  1285. function Stance6()
  1286.     VALUE1 = 6
  1287.     SKILL1TEXT.Text = "[Z] Radiant void"
  1288.     SKILL2TEXT.Text = "[X] Void warp"
  1289.     sick.SoundId = "rbxassetid://601021377"
  1290.     local wep = Weapon:GetChildren()
  1291.     for part = 1, #wep do
  1292.         if wep[part].ClassName == "Part" then
  1293.             local P = wep[part]
  1294.             if P.Name == "01-Type" then
  1295.                 P.Material = "Granite"
  1296.                 P.BrickColor = BRICKC"Royal purple"
  1297.             elseif P.Name == "02-Type" then
  1298.                 P.Material = "Slate"
  1299.                 P.BrickColor = BRICKC"Really black"
  1300.             elseif P.Name == "03-Type" then
  1301.                 P.Material = "Metal"
  1302.                 P.BrickColor = BRICKC"Black"
  1303.             elseif P.Name == "04-Type" then
  1304.                 P.Material = "Neon"
  1305.                 P.BrickColor = BRICKC"Royal purple"
  1306.             end
  1307.         end
  1308.     end
  1309. end
  1310.  
  1311. function Stance7()
  1312.     VALUE1 = 7
  1313.     SKILL1TEXT.Text = "[Z] Divine glow"
  1314.     SKILL2TEXT.Text = "[X] Divine evaporation"
  1315.     sick.SoundId = "rbxassetid://965804171"
  1316.     local wep = Weapon:GetChildren()
  1317.     for part = 1, #wep do
  1318.         if wep[part].ClassName == "Part" then
  1319.             local P = wep[part]
  1320.             if P.Name == "01-Type" then
  1321.                 P.Material = "Neon"
  1322.                 P.BrickColor = BRICKC"Stone grey"
  1323.             elseif P.Name == "02-Type" then
  1324.                 P.Material = "Granite"
  1325.                 P.BrickColor = BRICKC"Gold"
  1326.             elseif P.Name == "03-Type" then
  1327.                 P.Material = "Metal"
  1328.                 P.BrickColor = BRICKC"Gold"
  1329.             elseif P.Name == "04-Type" then
  1330.                 P.Material = "Granite"
  1331.                 P.BrickColor = BRICKC"New Yeller"
  1332.             end
  1333.         end
  1334.     end
  1335. end
  1336.  
  1337. function Stance8()
  1338.     VALUE1 = 8
  1339.     SKILL1TEXT.Text = "[Z] Leaf Storm"
  1340.     SKILL2TEXT.Text = "[X] Leaf Field"
  1341.     sick.SoundId = "rbxassetid://630020632"
  1342.     local wep = Weapon:GetChildren()
  1343.     for part = 1, #wep do
  1344.         if wep[part].ClassName == "Part" then
  1345.             local P = wep[part]
  1346.             if P.Name == "01-Type" then
  1347.                 P.Material = "Granite"
  1348.                 P.BrickColor = BRICKC"1020"
  1349.             elseif P.Name == "02-Type" then
  1350.                 P.Material = "Slate"
  1351.                 P.BrickColor = BRICKC"Really black"
  1352.             elseif P.Name == "03-Type" then
  1353.                 P.Material = "Metal"
  1354.                 P.BrickColor = BRICKC"Shamrock"
  1355.             elseif P.Name == "04-Type" then
  1356.                 P.Material = "Neon"
  1357.                 P.BrickColor = BRICKC"1020"
  1358.             end
  1359.         end
  1360.     end
  1361. end
  1362.  
  1363. function Stance9()
  1364.     VALUE1 = 9
  1365.     SKILL1TEXT.Text = "[Z] Meteor"
  1366.     SKILL2TEXT.Text = "[X] Selfexplosion"
  1367.     sick.SoundId = "rbxassetid://1384301003"
  1368.     local wep = Weapon:GetChildren()
  1369.     for part = 1, #wep do
  1370.         if wep[part].ClassName == "Part" then
  1371.             local P = wep[part]
  1372.             if P.Name == "01-Type" then
  1373.                 P.Material = "Granite"
  1374.                 P.BrickColor = BRICKC"Really black"
  1375.             elseif P.Name == "02-Type" then
  1376.                 P.Material = "Neon"
  1377.                 P.BrickColor = BRICKC"Toothpaste"
  1378.             elseif P.Name == "03-Type" then
  1379.                 P.Material = "Metal"
  1380.                 P.BrickColor = BRICKC"Really black"
  1381.             elseif P.Name == "04-Type" then
  1382.                 P.Material = "Neon"
  1383.                 P.BrickColor = BRICKC"Toothpaste"
  1384.             end
  1385.         end
  1386.     end
  1387. end
  1388.  
  1389.  
  1390. function createfireball(size,explosionsize,pos,velocity)
  1391.     local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1392.     local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  1393.     local FIREBALL = IT("Part",Effects)
  1394.     FIREBALL.Shape = "Ball"
  1395.     FIREBALL.Size = VT(size,size,size)
  1396.     FIREBALL.Material = "Neon"
  1397.     FIREBALL.CFrame = CF(pos)
  1398.     FIREBALL.Transparency = 1
  1399.     local bv = Instance.new("BodyVelocity")
  1400.     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1401.     bv.velocity = velocity
  1402.     bv.Parent = FIREBALL
  1403.     bv.Name = "MOVE"
  1404.     local HIT = false
  1405.     local harm = FIREBALL.Touched:Connect(function(hit)
  1406.         if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then
  1407.             HIT = true
  1408.             coroutine.resume(coroutine.create(function()
  1409.                 FIREBALL.Anchored = true
  1410.                 FIREBALL.CanCollide = false
  1411.                 CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1)
  1412.                 AoEDamage(FIREBALL.Position,explosionsize*2,45,65,25,false,3,2,false,true)
  1413.                 MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3,3,3),0)
  1414.                 MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3.5,3.5,3.5),0)
  1415.                 Swait(250)
  1416.                 FIREBALL:remove()
  1417.             end))
  1418.         end
  1419.     end)
  1420.     coroutine.resume(coroutine.create(function()
  1421.         repeat
  1422.             Swait()
  1423.             MagicSphere(VT(size,size,size),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-size/15,-size/15,-size/15),0)
  1424.         until HIT == true
  1425.     end))
  1426.     return FIREBALL
  1427. end
  1428.  
  1429. function AttackTemplate()
  1430.     ATTACK = true
  1431.     Rooted = false
  1432.     for i=0, 1, 0.1 / Animation_Speed do
  1433.         Swait()
  1434.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1435.         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.15 / Animation_Speed)
  1436.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1437.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1438.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1439.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1440.     end
  1441.     ATTACK = false
  1442.     Rooted = false
  1443. end
  1444.  
  1445. local asd = Instance.new("ParticleEmitter")
  1446. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1447. asd.LightEmission = .1
  1448. asd.Size = NumberSequence.new(0.2)
  1449. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1450. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1451. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1452. asd.Transparency = bbb
  1453. asd.Size = aaa
  1454. asd.ZOffset = .9
  1455. asd.Acceleration = Vector3.new(0, -15, 0)
  1456. asd.LockedToPart = false
  1457. asd.EmissionDirection = "Back"
  1458. asd.Lifetime = NumberRange.new(1, 2)
  1459. asd.Rotation = NumberRange.new(-100, 100)
  1460. asd.RotSpeed = NumberRange.new(-100, 100)
  1461. asd.Speed = NumberRange.new(25,35)
  1462. asd.Enabled = false
  1463. asd.VelocitySpread = 15
  1464.  
  1465. function getbloody(victim,amount)
  1466. local PART = IT("Part",Effects)
  1467. PART.Transparency = 1
  1468. PART.Size = victim.Size
  1469. PART.Anchored = true
  1470. PART.CanCollide = false
  1471. PART.CFrame = CF(victim.Position,Torso.Position)
  1472. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1473. Debris:AddItem(PART,5)
  1474. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1475. local prtcl = asd:Clone()
  1476. prtcl.Parent = PART
  1477. prtcl:Emit(amount*10)
  1478. end
  1479.  
  1480. function CreateMagicCircle()
  1481.     local sinkhole = IT("Part")
  1482.     sinkhole.Size = VT(0,0,0)
  1483.     sinkhole.Parent = Effects
  1484.     sinkhole.Material = "Neon"
  1485.     sinkhole.Color = C3(0,0,0)
  1486.     sinkhole.Anchored = true
  1487.     sinkhole.CanCollide = false
  1488.     sinkhole.Transparency = 1
  1489.     local decal = IT("Decal",sinkhole)
  1490.     decal.Face = "Top"
  1491.     decal.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1492.     local decal2 = IT("Decal",sinkhole)
  1493.     decal2.Face = "Bottom"
  1494.     decal2.Texture = "http://www.roblox.com/asset/?id=1260793696"
  1495.     return sinkhole
  1496. end
  1497.  
  1498. function CreateLeafMagicCircle()
  1499.     local sinkhole = IT("Part")
  1500.     sinkhole.Size = VT(0,0,0)
  1501.     sinkhole.Parent = Effects
  1502.     sinkhole.Material = "Neon"
  1503.     sinkhole.Color = C3(0,0,0)
  1504.     sinkhole.Anchored = true
  1505.     sinkhole.CanCollide = false
  1506.     sinkhole.Transparency = 1
  1507.     local decal = IT("Decal",sinkhole)
  1508.     decal.Face = "Top"
  1509.     decal.Texture = "http://www.roblox.com/asset/?id=332014171"
  1510.     local decal2 = IT("Decal",sinkhole)
  1511.     decal2.Face = "Bottom"
  1512.     decal2.Texture = "http://www.roblox.com/asset/?id=332014171"
  1513.     return sinkhole
  1514. end
  1515.  
  1516. function CreateGUICircle(TARGET)
  1517.     local GUI = Instance.new("BillboardGui",Character)
  1518.     GUI.Size = UDim2.new(0,0,0,0)
  1519.     GUI.Adornee = TARGET
  1520.     local GUI2 = IT("ImageLabel",GUI)
  1521.     GUI2.BackgroundTransparency = 1
  1522.     GUI2.BorderSizePixel = 0
  1523.     GUI2.Size = UDim2.new(1,0,1,0)
  1524.     GUI2.SizeConstraint = "RelativeYY"
  1525.     GUI.AlwaysOnTop = true
  1526.     GUI2.Image = "http://www.roblox.com/asset/?id=1260793696"
  1527.     return GUI,GUI2
  1528. end
  1529.  
  1530. function CastWarpOutlines(TARGET)
  1531.     coroutine.resume(coroutine.create(function()
  1532.         local T = TARGET:GetChildren()
  1533.         for i = 1, # T do
  1534.             local child = T[i]
  1535.             if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  1536.                 local clone = child:Clone()
  1537.                 clone.Parent = Effects
  1538.                 clone.Anchored = true
  1539.                 clone.CanCollide = false
  1540.                 clone:ClearAllChildren()
  1541.                 clone.CFrame = child.CFrame
  1542.                 if clone.Name == "Head" then
  1543.                     if TARGET:FindFirstChildOfClass("MeshPart") == nil then
  1544.                         clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  1545.                     end
  1546.                 end
  1547.                 if clone.ClassName == "MeshPart" then
  1548.                     clone.TextureID = ""
  1549.                 end
  1550.                 clone.BrickColor = BRICKC"Black"
  1551.                 clone.Material = "Neon"
  1552.                 coroutine.resume(coroutine.create(function()
  1553.                     for i = 1, 200 do
  1554.                         Swait()
  1555.                         clone.Transparency = clone.Transparency + 0.005
  1556.                         clone.Size = clone.Size + VT(0.001,0.001,0.001)
  1557.                     end
  1558.                     clone:remove()
  1559.                 end))
  1560.             end
  1561.         end
  1562.     end))
  1563. end
  1564.  
  1565. --Z MOVES--
  1566.  
  1567. function TurretCannon()
  1568.     ATTACK = true
  1569.     Rooted = false
  1570.     for i=0, 2, 0.1 / Animation_Speed do
  1571.         Swait()
  1572.         turnto(Mouse.Hit.p)
  1573.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1574.         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.15 / Animation_Speed)
  1575.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1576.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1577.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1578.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1579.     end
  1580.     Rooted = true
  1581.     local TURRETS = {RightArm,LeftArm}
  1582.     local soundeffect = IT("Sound",Torso)
  1583.     soundeffect.SoundId = "rbxassetid://337638956"
  1584.     soundeffect.Looped = true
  1585.     soundeffect.Volume = 1
  1586.     soundeffect.Playing = true
  1587.     repeat
  1588.         Swait()
  1589.         turnto(Mouse.Hit.p)
  1590.         local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  1591.         MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"New Yeller",VT(0.3,0.3,0.3),0)
  1592.         local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  1593.         BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  1594.         local bv = Instance.new("BodyVelocity")
  1595.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1596.         bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  1597.         bv.Parent = BULLET
  1598.         bv.Name = "PROJECTILEVELOCITY"
  1599.         MakeForm(BULLET,"Ball")
  1600.         local BOO = BULLET.Touched:Connect(function(hit)
  1601.             dealdamage(hit,5,8,5,false,2,3)
  1602.         end)
  1603.         table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  1604.     until KEYHOLD == false
  1605.     soundeffect:remove()
  1606.     ATTACK = false
  1607.     Rooted = false
  1608. end
  1609.  
  1610. function Meteor()
  1611.     ATTACK = true
  1612.     Rooted = false
  1613.     for i=0, 2, 0.1 / Animation_Speed do
  1614.         Swait()
  1615.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1616.         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.15 / Animation_Speed)
  1617.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1618.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1619.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1620.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1621.     end
  1622.     local ROCK = IT("Part",Effects)
  1623.     ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0)
  1624.     ROCK.Size = VT(25,25,25)
  1625.     ROCK.Material = "Neon"
  1626.     ROCK.Transparency = 1
  1627.     ROCK.BrickColor = BRICKC"Crimson"
  1628.     local WELD = weldBetween(RightArm,ROCK)
  1629.     ROCK.CanCollide = false
  1630.     for i = 1, 10 do
  1631.         Swait()
  1632.         ROCK.Transparency = ROCK.Transparency - 0.1
  1633.     end
  1634.     for i=0, 0.2, 0.1 / Animation_Speed do
  1635.         Swait()
  1636.         turnto(Mouse.Hit.p)
  1637.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1638.         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.5 / Animation_Speed)
  1639.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1640.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1641.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1642.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1643.     end
  1644.     WELD:remove()
  1645.     coroutine.resume(coroutine.create(function()
  1646.         local POS = ROCK.Position
  1647.         ROCK.Anchored = true
  1648.         local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  1649.         local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  1650.         for i = 0, 1, 0.07 do
  1651.             Swait()
  1652.             ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  1653.         end
  1654.         ROCK.Anchored = false
  1655.         ROCK.CanCollide = true
  1656.         CreateWave(VT(40,40,40),25,CF(ROCK.Position),false,0,"Really black",VT(60,60,60),0.5)
  1657.         AoEDamage(ROCK.Position,9999,9999,9999,9999,false,12,3,true)
  1658.         Swait(500)
  1659.         ROCK.Anchored = true
  1660.         ROCK.CanCollide = false
  1661.         for i = 1, 10 do
  1662.             Swait()
  1663.             ROCK.Transparency = ROCK.Transparency + 0.5
  1664.         end
  1665.         ROCK:remove()
  1666.     end))
  1667.     for i=0, 1.6, 0.1 / Animation_Speed do
  1668.         Swait()
  1669.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1670.         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.5 / Animation_Speed)
  1671.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1672.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1673.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1674.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1675.     end
  1676.     ATTACK = false
  1677.     Rooted = false
  1678. end
  1679.  
  1680. function Fireball()
  1681.     ATTACK = true
  1682.     Rooted = true
  1683.     local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  1684.     CreateSound("169445572", RightArm, 2, 1.6)
  1685.     for i=0, 5, 0.1 / Animation_Speed2 do
  1686.         Swait()
  1687.         MagicSphere(VT(2,2,2),35,RightArm.CFrame*CF(0,-1,0),FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-2/35,-2/35,-2/35),0.6)
  1688.         turnto(Mouse.Hit.p)
  1689.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2)
  1690.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2)
  1691.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1692.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1693.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1694.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1695.     end
  1696.     local aimpos = Mouse.Hit.p
  1697.     createfireball(2,8,RightArm.CFrame * CF(0,-2,0).p,CF(RightArm.CFrame * CF(0,-2,0).p,aimpos).lookVector*100)
  1698.     for i=0, 1.5, 0.1 / Animation_Speed2 do
  1699.         Swait()
  1700.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2)
  1701.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2)
  1702.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2)
  1703.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2)
  1704.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1705.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2)
  1706.     end
  1707.     ATTACK = false
  1708.     Rooted = false
  1709. end
  1710.  
  1711. function IcicleStorm()
  1712.     ATTACK = true
  1713.     Rooted = false
  1714.     local BulletHolder = IT("Folder",Weapon)
  1715.     BulletHolder.Name = "Bullets"
  1716.     game:GetService("Debris"):AddItem(BulletHolder, 30)
  1717.     for i=0, 3, 0.1 / Animation_Speed do
  1718.         Swait()
  1719.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1720.         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)
  1721.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1722.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1723.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1724.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1725.     end
  1726.     CreateSound("333476017", Torso, 10, 1)
  1727.     for i = 1, 25 do
  1728.         Swait()
  1729.         RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1730.         coroutine.resume(coroutine.create(function()
  1731.             local gem = IT("Part",BulletHolder)
  1732.             gem.Size = VT(0.2,0.2,0.2)
  1733.             gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(25,50),math.random(-25,25))
  1734.             gem.Anchored = true
  1735.             gem.BrickColor = BRICKC"Steel blue"
  1736.             local Cys = Instance.new("SpecialMesh", gem)
  1737.             Cys.MeshType = "FileMesh"
  1738.             Cys.MeshId = "rbxassetid://9756362"
  1739.             Cys.Scale = Vector3.new(2,2,2)
  1740.         end))
  1741.     end
  1742.     local IceHitSounds = {
  1743.       "338594737",
  1744.       "338594687",
  1745.       "338594666",
  1746.       "338594648",
  1747.       "338594606",
  1748.       "338594574",
  1749.       "338594556",
  1750.       "338594524",
  1751.       "338594467"
  1752.     }
  1753.     coroutine.resume(coroutine.create(function()
  1754.         q = BulletHolder:GetChildren()
  1755.         for i = 1, #q do
  1756.             Swait()
  1757.             turnto(Mouse.Hit.p)
  1758.             local bullet = q[i]
  1759.             local bv = Instance.new("BodyVelocity")
  1760.             bullet.Mesh.Scale = VT(2,2,5)
  1761.             bullet.CFrame = CF(bullet.Position,Mouse.Hit.p)
  1762.             bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1763.             bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*500
  1764.             bv.Parent = bullet
  1765.             bv.Name = "DASH"
  1766.             bullet.Anchored = false
  1767.             local paw = bullet.Touched:Connect(function(hit)
  1768.                 if bullet.Anchored == false then
  1769.                     CreateSound(IceHitSounds[math.random(1, #IceHitSounds)], bullet, 3, 1)
  1770.                     local cframe = bullet.CFrame
  1771.                     bullet.Anchored = true
  1772.                     table.insert(Effects2,{bullet,"Block1",0.015,0,0,0,2})
  1773.                     AoEDamage(bullet.Position,5,15,15,0,false,5,3,false)
  1774.                     if MRANDOM(1,45) == 1 then
  1775.                         AoEStun(bullet.Position,5,5,"Freeze")
  1776.                     end
  1777.                 end
  1778.             end)
  1779.         end
  1780.     end))
  1781.     ATTACK = false
  1782.     Rooted = false
  1783. end
  1784.  
  1785. function Shriek()
  1786.     ATTACK = true
  1787.     Rooted = false
  1788.     for i=0, 1, 0.1 / Animation_Speed do
  1789.         Swait()
  1790.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  1791.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1792.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  1793.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  1794.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  1795.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 , -0.8, -0.2) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  1796.     end
  1797.     Rooted = true
  1798.     CreateSound("439369949", Effects, 10, 1)
  1799.     for i=0, 3, 0.1 / Animation_Speed do
  1800.         Swait()
  1801.         MagicSphere(VT(2,2,2),5,Head.CFrame,"Pearl",VT(35,35,35),0.97)
  1802.         AoEDamage(Head.Position,65,3,5,4,false,12,3,false)
  1803.         AoEStun(Head.Position,65,2,"Stun")
  1804.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(-30)), 1 / Animation_Speed)
  1805.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)),1  / Animation_Speed)
  1806.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1807.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1808.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 1 / Animation_Speed)
  1809.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.2) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1810.     end
  1811.     ATTACK = false
  1812.     Rooted = false
  1813. end
  1814.  
  1815. function clerp(a, b, t)
  1816.   return a:lerp(b, t)
  1817. end
  1818.  
  1819. function newBezier(startpos, pos2, pos3, endpos, t)
  1820.   local A = clerp(startpos, pos2, t)
  1821.   local B = clerp(pos2, pos3, t)
  1822.   local C = clerp(pos3, endpos, t)
  1823.   local lerp1 = clerp(A, B, t)
  1824.   local lerp2 = clerp(B, C, t)
  1825.   local cubic = clerp(lerp1, lerp2, t)
  1826.   return cubic
  1827. end
  1828.  
  1829. function RockThrow()
  1830.     ATTACK = true
  1831.     Rooted = false
  1832.     for i=0, 2, 0.1 / Animation_Speed do
  1833.         Swait()
  1834.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  1835.         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.15 / Animation_Speed)
  1836.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1837.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1838.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1839.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1840.     end
  1841.     local ROCK = IT("Part",Effects)
  1842.     ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0)
  1843.     ROCK.Size = VT(1.2,1.2,1.2)
  1844.     ROCK.Material = "Cobblestone"
  1845.     ROCK.Transparency = 1
  1846.     ROCK.BrickColor = BRICKC"Pine Cone"
  1847.     local WELD = weldBetween(RightArm,ROCK)
  1848.     ROCK.CanCollide = false
  1849.     for i = 1, 10 do
  1850.         Swait()
  1851.         ROCK.Transparency = ROCK.Transparency - 0.1
  1852.     end
  1853.     for i=0, 0.2, 0.1 / Animation_Speed do
  1854.         Swait()
  1855.         turnto(Mouse.Hit.p)
  1856.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1857.         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.5 / Animation_Speed)
  1858.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1859.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1860.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1861.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1862.     end
  1863.     WELD:remove()
  1864.     coroutine.resume(coroutine.create(function()
  1865.         local POS = ROCK.Position
  1866.         ROCK.Anchored = true
  1867.         local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0)
  1868.         local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0)
  1869.         for i = 0, 1, 0.07 do
  1870.             Swait()
  1871.             ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i))
  1872.         end
  1873.         ROCK.Anchored = false
  1874.         ROCK.CanCollide = true
  1875.         CreateWave(VT(1,1,1),25,CF(ROCK.Position),false,0,"Pearl",VT(1,0.2,1),0.5)
  1876.         AoEDamage(ROCK.Position,5,35,55,4,false,12,3,true)
  1877.         Swait(500)
  1878.         ROCK.Anchored = true
  1879.         ROCK.CanCollide = false
  1880.         for i = 1, 10 do
  1881.             Swait()
  1882.             ROCK.Transparency = ROCK.Transparency + 0.1
  1883.         end
  1884.         ROCK:remove()
  1885.     end))
  1886.     for i=0, 1.6, 0.1 / Animation_Speed do
  1887.         Swait()
  1888.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1889.         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.5 / Animation_Speed)
  1890.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1891.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1892.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1893.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1894.     end
  1895.     ATTACK = false
  1896.     Rooted = false
  1897. end
  1898.  
  1899. function RadiantVoid()
  1900.     ATTACK = true
  1901.     Rooted = true
  1902.     for i=0, 1, 0.1 / Animation_Speed do
  1903.         Swait()
  1904.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1905.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1906.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1907.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1908.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  1909.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  1910.     end
  1911.     local RING = CreateMagicCircle()
  1912.     RING.CFrame = CF(RootPart.Position)*CF(0,-2.8,0)
  1913.     CreateSound("1208650519", Torso, 10, 1)
  1914.     for i = 1, 200 do
  1915.         Swait()
  1916.         RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/15),RAD(0))
  1917.         RING.Size = RING.Size + VT(1,0,1)
  1918.     end
  1919.     AoEWarp(RING.Position,RING.Size.X/2)
  1920.     coroutine.resume(coroutine.create(function()
  1921.         Swait(75)
  1922.         for i = 1, 50 do
  1923.             Swait()
  1924.             RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(-i/2),RAD(0))
  1925.             RING.Size = RING.Size - VT(4,0,4)
  1926.         end
  1927.         RING:remove()
  1928.     end))
  1929.     ATTACK = false
  1930.     Rooted = false
  1931. end
  1932.  
  1933. function DivineGlow()
  1934.     ATTACK = true
  1935.     Rooted = true
  1936.     for i=0, 2, 0.1 / Animation_Speed do
  1937.         Swait()
  1938.         MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,0.5),0.5)
  1939.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1940.         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.15 / Animation_Speed)
  1941.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1942.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1943.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1944.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  1945.     end
  1946.     CreateSound("3264923", Torso, 10, 3)
  1947.     coroutine.resume(coroutine.create(function()
  1948.         local FRAME = Torso.CFrame
  1949.         MagicSphere(VT(3,3,3),450,FRAME,"New Yeller",VT(-3/550,-3/550,-3/550),0)
  1950.         for i = 1, 450 do
  1951.             Swait()
  1952.             MagicSphere(VT(0.2,0.2,0.2),15,CF(FRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,FRAME.p),"New Yeller",VT(0.001,0.001,2.5),0.5)
  1953.             AoEDamage(FRAME.p,35,3,5,-5,false,12,3,false)
  1954.         end
  1955.         MagicSphere(VT(6,6,6),70,FRAME,"New Yeller",VT(1,1,1),0)
  1956.         MagicSphere(VT(5,5,5),70,FRAME,"Pearl",VT(1,1,1),0.5)
  1957.         AoEDamage(FRAME.p,55,45,45,-5,false,2,30,false)
  1958.     end))
  1959.     ATTACK = false
  1960.     Rooted = false
  1961. end
  1962.  
  1963.  
  1964. --X MOVES--
  1965.  
  1966. function ShieldPulse()
  1967.     ATTACK = true
  1968.     Rooted = false
  1969.     for i=0, 1, 0.1 / Animation_Speed do
  1970.         Swait()
  1971.         turnto(Mouse.Hit.p)
  1972.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1973.         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)
  1974.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1975.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1976.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1977.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1978.     end
  1979.     local shield = IT("Part",Effects)
  1980.     shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  1981.     shield.Size = VT(0.2,0.2,0.2)
  1982.     shield.Anchored = true
  1983.     shield.Material = "Neon"
  1984.     shield.Color = C3(1,1,1)
  1985.     shield.Transparency = 0.5
  1986.     repeat
  1987.         Swait()
  1988.         turnto(Mouse.Hit.p)
  1989.         shield.CFrame = RootPart.CFrame * CF(0,0,-3)
  1990.         shield.Size = shield.Size + VT(0.07,0.07,0)
  1991.     until KEYHOLD == false
  1992.     local bv = Instance.new("BodyVelocity")
  1993.     bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1994.     bv.velocity = RootPart.CFrame.lookVector*300
  1995.     bv.Parent = shield
  1996.     shield.Anchored = false
  1997.     shield.CanCollide = false
  1998.     bv.Name = "PROJECTILEVELOCITY"
  1999.     local BOO = shield.Touched:Connect(function(hit)
  2000.         dealdamage(hit,55,75,5,false,2,3)
  2001.     end)
  2002.     Debris:AddItem(shield,5)
  2003.     ATTACK = false
  2004.     Rooted = false
  2005. end
  2006.  
  2007. function FireField()
  2008.     ATTACK = true
  2009.     Rooted = true
  2010.     for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2011.         Swait()
  2012.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2013.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2014.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2015.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2016.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2017.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2018.     end
  2019.     CreateSound("217767125", LeftArm, 10, 1)
  2020.     local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  2021.     coroutine.resume(coroutine.create(function()
  2022.         local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2023.         for i = 1, 450 do
  2024.             Swait()
  2025.             AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2026.             MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2027.         end
  2028.     end))
  2029.     for i=0, 1.5, 0.1 / Animation_Speed do
  2030.         Swait()
  2031.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2032.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2033.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2034.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2035.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2036.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2037.     end
  2038.     ATTACK = false
  2039.     Rooted = false
  2040. end
  2041.  
  2042. function FrostBreath()
  2043.     ATTACK = true
  2044.     Rooted = true
  2045.     for i=0, 2, 0.1 / Animation_Speed do
  2046.         Swait()
  2047.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2048.         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.15 / Animation_Speed)
  2049.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2050.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2051.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2052.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2053.     end
  2054.     CreateSound("976606790", Head, 10, 2)
  2055.     local IceColors = {"Steel blue","Cyan","Pastel blue-green"}
  2056.     for i=0, 4, 0.1 / Animation_Speed do
  2057.         Swait()
  2058.         for i = 1, 6 do
  2059.             AoEStun(Head.CFrame * CF(0,-0.4,-i*3).p,i*3,35,"Freeze")
  2060.             CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/15,i/10,i/15),0.7)
  2061.             CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/10,i/10,i/10),0.7)
  2062.         end
  2063.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2064.         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)
  2065.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2066.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-22)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2067.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2068.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2069.     end
  2070.     ATTACK = false
  2071.     Rooted = false
  2072. end
  2073.  
  2074. function Bloodbath()
  2075.     local HASSTARTED = false
  2076.     local target = nil
  2077.     local targettorso = nil
  2078.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2079.         if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2080.             target = Mouse.Target.Parent.Humanoid
  2081.             targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2082.         end
  2083.     end
  2084.     if target ~= nil then
  2085.         CreateSound("305685800", Head, 10, 1)
  2086.         targettorso.Anchored = true
  2087.         HASSTARTED = true
  2088.         ATTACK = true
  2089.         Rooted = true
  2090.         CastWarpOutlines(Character)
  2091.         RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
  2092.         coroutine.resume(coroutine.create(function()
  2093.             Swait(10*100)
  2094.             if HASSTARTED == true then
  2095.                 ATTACK = false
  2096.                 Rooted = false
  2097.                 UNANCHOR = true
  2098.             end
  2099.         end))
  2100.         UNANCHOR = false
  2101.         RootPart.Anchored = true
  2102.         coroutine.resume(coroutine.create(function()
  2103.             for i=0, 3, 0.1 / Animation_Speed do
  2104.                 Swait()
  2105.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
  2106.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed)
  2107.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  2108.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  2109.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2110.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  2111.             end
  2112.             for i=0, 3, 0.1 / Animation_Speed do
  2113.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
  2114.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  2115.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2116.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2117.                 RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2118.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2119.             end
  2120.             getbloody(targettorso,25)
  2121.             Swait(5)
  2122.             targettorso:remove()
  2123.             Swait(15)
  2124.             ATTACK = false
  2125.             Rooted = false
  2126.             HASSTARTED = false
  2127.             UNANCHOR = true
  2128.         end))
  2129.     end
  2130. end
  2131.  
  2132. function EarthTremor()
  2133.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2134.     if HITFLOOR ~= nil then
  2135.         ATTACK = true
  2136.         Rooted = true
  2137.         for i=0, 2, 0.1 / Animation_Speed do
  2138.             Swait()
  2139.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2140.             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.3 / Animation_Speed)
  2141.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2142.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2143.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2144.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.3 / Animation_Speed)
  2145.         end
  2146.         for i=0, 0.3, 0.1 / Animation_Speed do
  2147.             Swait()
  2148.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2149.             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.75 / Animation_Speed)
  2150.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2151.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2152.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2153.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2154.         end
  2155.         CreateSound("438666141", RightLeg, 5, 1)
  2156.         local sinkhole = IT("Part")
  2157.         sinkhole.Size = VT(35,0,35)
  2158.         sinkhole.Parent = Effects
  2159.         sinkhole.Material = "Neon"
  2160.         sinkhole.Color = C3(0,0,0)
  2161.         sinkhole.Anchored = true
  2162.         sinkhole.CanCollide = false
  2163.         sinkhole.Transparency = 1
  2164.         local decal = IT("Decal",sinkhole)
  2165.         decal.Face = "Top"
  2166.         decal.Texture = "http://www.roblox.com/asset/?id=29268434"
  2167.         decal.Transparency = 1
  2168.         sinkhole.CFrame = CF(RightLeg.Position)*CF(0,-0.75,0)
  2169.         AoEDamage(RightLeg.Position,35,15,25,4,false,32,7,true)
  2170.         coroutine.resume(coroutine.create(function()
  2171.             for i = 1, 5 do
  2172.                 Swait()
  2173.                 decal.Transparency = decal.Transparency - 0.2
  2174.             end
  2175.             Swait(500)
  2176.             for i = 1, 5 do
  2177.                 Swait()
  2178.                 decal.Transparency = decal.Transparency + 0.2
  2179.             end
  2180.             sinkhole:remove()
  2181.         end))
  2182.         for i=0, 1, 0.1 / Animation_Speed do
  2183.             Swait()
  2184.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed)
  2185.             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.75 / Animation_Speed)
  2186.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  2187.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  2188.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed)
  2189.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed)
  2190.         end
  2191.         ATTACK = false
  2192.         Rooted = false
  2193.     end
  2194. end
  2195.  
  2196. function VoidWarp()
  2197.     local HASSTARTED = false
  2198.     local target = nil
  2199.     local targettorso = nil
  2200.     if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2201.         if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2202.             target = Mouse.Target.Parent.Humanoid
  2203.             targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2204.         end
  2205.     end
  2206.     if target ~= nil then
  2207.         ATTACK = true
  2208.         Rooted = true
  2209.         for i=0, 1.5, 0.1 / Animation_Speed do
  2210.             Swait()
  2211.             if targettorso ~= nil then
  2212.                 turnto(targettorso.Position)
  2213.             end
  2214.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2215.             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.15 / Animation_Speed)
  2216.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2217.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2218.             RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2219.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2220.         end
  2221.         if targettorso ~= nil then
  2222.             local GUI,GUI3 = CreateGUICircle(targettorso)
  2223.             local GUI2,GUI4 = CreateGUICircle(Torso)
  2224.             CreateSound("1208650519", targettorso, 10, 1)
  2225.             CreateSound("1208650519", Torso, 10, 1)
  2226.             targettorso.Anchored = true
  2227.             for i = 1, 200 do
  2228.                 Swait()
  2229.                 GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0)
  2230.                 GUI2.Size = GUI.Size
  2231.                 GUI3.Rotation = GUI3.Rotation + 2
  2232.                 GUI4.Rotation = GUI4.Rotation - 2
  2233.             end
  2234.             if targettorso ~= nil then
  2235.                 CastWarpOutlines(targettorso.Parent)
  2236.                 CastWarpOutlines(Character)
  2237.                 local TFrame = Torso.CFrame
  2238.                 local TTFrame = targettorso.CFrame
  2239.                 Torso.CFrame = TTFrame
  2240.                 targettorso.CFrame = TFrame
  2241.                 local HUMANOID = targettorso.Parent:FindFirstChildOfClass("Humanoid")
  2242.                 local dmg = MRANDOM(75,95)
  2243.                 HUMANOID.Health = HUMANOID.Health - dmg
  2244.                 StatLabel("Normal", targettorso.CFrame * CF(0, 0 + (targettorso.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3))
  2245.                 CreateSound("1177785010", targettorso, 10, 1)
  2246.                 CreateSound("1177785010", Torso, 10, 1)
  2247.                 HASSTARTED = true
  2248.                 coroutine.resume(coroutine.create(function()
  2249.                     for i = 1, 50 do
  2250.                         Swait()
  2251.                         GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0)
  2252.                         GUI2.Size = GUI.Size
  2253.                         GUI3.Rotation = GUI3.Rotation - 8
  2254.                         GUI4.Rotation = GUI4.Rotation + 8
  2255.                     end
  2256.                     GUI:remove()
  2257.                     GUI2:remove()
  2258.                     targettorso.Anchored = false
  2259.                 end))
  2260.             end
  2261.             if HASSTARTED == false then
  2262.                 GUI:remove()
  2263.                 GUI2:remove()
  2264.             end
  2265.         end
  2266.         ATTACK = false
  2267.         Rooted = false
  2268.     end
  2269. end
  2270.  
  2271. function DivineEvaporation()
  2272.     ATTACK = true
  2273.     Rooted = false
  2274.     for i=0, 6, 0.1 / Animation_Speed do
  2275.         Swait()
  2276.         MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,1),0)
  2277.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2278.         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.15 / Animation_Speed)
  2279.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2280.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2281.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2282.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2283.     end
  2284.     CreateSound("3264923", Torso, 10, 1)
  2285.     for i = 1, 50 do
  2286.         MagicSphere(VT(0.2,0.2,0.2),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.005,0.005,0.1),0)
  2287.     end
  2288.     MagicSphere(VT(20,20,20),50,Torso.CFrame,"New Yeller",VT(0,0,0),0.9)
  2289.     killnearest(Torso.Position,15,5)
  2290.     ATTACK = false
  2291.     Rooted = false
  2292. end
  2293.  
  2294. function Selfexplosion()
  2295.     ATTACK = true
  2296.     Rooted = false
  2297.     for i=0, 6, 0.1 / Animation_Speed do
  2298.         Swait()
  2299.         MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Toothpaste",VT(0.001,0.001,1),0)
  2300.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2301.         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.15 / Animation_Speed)
  2302.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2303.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2304.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2305.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2306.     end
  2307.     CreateSound("3264923", Torso, 10, 1)
  2308.     for i = 99, 100 do
  2309.         MagicSphere(VT(5,5,5),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"Really black",VT(0.005,0.005,0.1),0)
  2310.     end
  2311.     MagicSphere(VT(10,10,10),50,Torso.CFrame,"Really red",VT(0,0,0),0.9)
  2312.     killnearest(Torso.Position,1000,10000)
  2313.     ATTACK = false
  2314.     Rooted = false
  2315. end
  2316.  
  2317. function LeafField()
  2318.     ATTACK = true
  2319.     Rooted = true
  2320.     for i=0, 1.5, 0.1 / Animation_Speed*3 do
  2321.         Swait()
  2322.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2323.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2324.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2325.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2326.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2327.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2328.     end
  2329.     CreateSound("217767125", LeftArm, 10, 1)
  2330.     local FIREBALLCOLORS = {"Lime green", "Mint", "Forest green"}
  2331.     coroutine.resume(coroutine.create(function()
  2332.         local CFRAME = RootPart.CFrame * CF(0,-3.4,0)
  2333.         for i = 1, 450 do
  2334.             Swait()
  2335.             AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true)
  2336.             MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8)
  2337.         end
  2338.     end))
  2339.     for i=0, 1.5, 0.1 / Animation_Speed do
  2340.         Swait()
  2341.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2342.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  2343.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2344.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2345.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2346.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2347.     end
  2348.     ATTACK = false
  2349.     Rooted = false
  2350. end
  2351.  
  2352.  
  2353. function LeafStorm()
  2354.     ATTACK = true
  2355.     ATTACK = true
  2356.     Rooted = false
  2357.     for i=0, 2, 0.1 / Animation_Speed do
  2358.         Swait()
  2359.         turnto(Mouse.Hit.p)
  2360.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2361.         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.15 / Animation_Speed)
  2362.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2363.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2364.         RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2365.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2366.     end
  2367.     Rooted = true
  2368.     local TURRETS = {RightArm,LeftArm}
  2369.     local soundeffect = IT("Sound",Torso)
  2370.     soundeffect.SoundId = "rbxassetid://337638956"
  2371.     soundeffect.Looped = true
  2372.     soundeffect.Volume = 1
  2373.     soundeffect.Playing = true
  2374.     repeat
  2375.         Swait()
  2376.         turnto(Mouse.Hit.p)
  2377.         local TURRET = TURRETS[MRANDOM(1,#TURRETS)]
  2378.         MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"Shamrock",VT(0.3,0.3,0.3),0)
  2379.         local BULLET = CreatePart(3, Effects, "Grass", 0, 0, "Shamrock", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false)
  2380.         BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  2381.         local bv = Instance.new("BodyVelocity")
  2382.         bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2383.         bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300
  2384.         bv.Parent = BULLET
  2385.         bv.Name = "PROJECTILEVELOCITY"
  2386.         MakeForm(BULLET,"Ball")
  2387.         local BOO = BULLET.Touched:Connect(function(hit)
  2388.             dealdamage(hit,5,8,5,false,2,3)
  2389.         end)
  2390.         table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2})
  2391.     until KEYHOLD == false
  2392.     soundeffect:remove()
  2393.     ATTACK = false
  2394.     Rooted = false
  2395. end
  2396.  
  2397.  
  2398. --//=================================\\
  2399. --||      ASSIGN THINGS TO KEYS
  2400. --\\=================================//
  2401.  
  2402. function ChineseEarthquake()
  2403.     Rooted = true
  2404.     local icri = CreateSound("1177999394", Torso, 10, 1)
  2405.     Swait(130)
  2406.     local FRAME = Torso.CFrame
  2407.     repeat
  2408.         Swait()
  2409.         Torso.CFrame = FRAME * CF(0,1,0)
  2410.         Swait()
  2411.         Torso.CFrame = FRAME
  2412.     until icri.Playing == false
  2413.     Rooted = false
  2414. end
  2415.  
  2416. function MouseDown(Mouse)
  2417.     if ATTACK == false then
  2418.     end
  2419. end
  2420.  
  2421. function MouseUp(Mouse)
  2422. HOLD = false
  2423. end
  2424.  
  2425. function KeyDown(Key)
  2426.     KEYHOLD = true
  2427.     if Rooted == false then
  2428.         if Key == "z" and ATTACK == false then
  2429.             if VALUE1 == 1 then
  2430.                 TurretCannon()
  2431.             elseif VALUE1 == 2 then
  2432.                 Fireball()
  2433.             elseif VALUE1 == 3 then
  2434.                 IcicleStorm()
  2435.             elseif VALUE1 == 4 then
  2436.                 Shriek()
  2437.             elseif VALUE1 == 5 then
  2438.                 RockThrow()
  2439.             elseif VALUE1 == 6 then
  2440.                 RadiantVoid()
  2441.             elseif VALUE1 == 7 then
  2442.                 DivineGlow()
  2443.             elseif VALUE1 == 8 then
  2444.                 LeafStorm()
  2445.             elseif VALUE1 == 9 then
  2446.                 Meteor()   
  2447.             end
  2448.         end
  2449.    
  2450.         if Key == "x" and ATTACK == false then
  2451.             if VALUE1 == 1 then
  2452.                 ShieldPulse()
  2453.             elseif VALUE1 == 2 then
  2454.                 FireField()
  2455.             elseif VALUE1 == 3 then
  2456.                 FrostBreath()
  2457.             elseif VALUE1 == 4 then
  2458.                 Bloodbath()
  2459.             elseif VALUE1 == 5 then
  2460.                 EarthTremor()
  2461.             elseif VALUE1 == 6 then
  2462.                 VoidWarp()
  2463.             elseif VALUE1 == 7 then
  2464.                 DivineEvaporation()
  2465.             elseif VALUE1 == 8 then
  2466.                 LeafField()
  2467.             elseif VALUE1 == 9 then
  2468.                 Selfexplosion()
  2469.             end
  2470.         end
  2471.  
  2472.         if Key == "1" and ATTACK == false then
  2473.             Stance1()
  2474.         end
  2475.    
  2476.         if Key == "2" and ATTACK == false then
  2477.             Stance2()
  2478.         end
  2479.    
  2480.         if Key == "3" and ATTACK == false then
  2481.             Stance3()  
  2482.         end
  2483.    
  2484.         if Key == "4" and ATTACK == false then
  2485.             Stance4()
  2486.         end
  2487.    
  2488.         if Key == "5" and ATTACK == false then
  2489.             Stance5()
  2490.         end
  2491.    
  2492.         if Key == "6" and ATTACK == false then
  2493.             Stance6()
  2494.         end
  2495.    
  2496.         if Key == "7" and ATTACK == false then
  2497.             Stance7()
  2498.         end
  2499.        
  2500.         if Key == "9" and ATTACK == false then
  2501.             Stance9()
  2502.         end
  2503.  
  2504.         if Key == "8" and ATTACK == false then
  2505.             Stance8()
  2506.         end
  2507.    
  2508.         if Key == "t" and ATTACK == false and VALUE1 == 5 then
  2509.             ChineseEarthquake()
  2510.         end
  2511.     end
  2512. end
  2513.  
  2514. function KeyUp(Key)
  2515.     KEYHOLD = false
  2516. end
  2517.  
  2518.     Mouse.Button1Down:connect(function(NEWKEY)
  2519.         MouseDown(NEWKEY)
  2520.     end)
  2521.     Mouse.Button1Up:connect(function(NEWKEY)
  2522.         MouseUp(NEWKEY)
  2523.     end)
  2524.     Mouse.KeyDown:connect(function(NEWKEY)
  2525.         KeyDown(NEWKEY)
  2526.     end)
  2527.     Mouse.KeyUp:connect(function(NEWKEY)
  2528.         KeyUp(NEWKEY)
  2529.     end)
  2530.  
  2531. --//=================================\\
  2532. --\\=================================//
  2533.  
  2534.  
  2535. function unanchor()
  2536.     if UNANCHOR == true then
  2537.         g = Character:GetChildren()
  2538.         for i = 1, #g do
  2539.             if g[i].ClassName == "Part" then
  2540.                 g[i].Anchored = false
  2541.             end
  2542.         end
  2543.     end
  2544. end
  2545.  
  2546.  
  2547. --//=================================\\
  2548. --||    WRAP THE WHOLE SCRIPT UP
  2549. --\\=================================//
  2550.  
  2551. Humanoid.Changed:connect(function(Jump)
  2552.     if Jump == "Jump" and (Disable_Jump == true) then
  2553.         Humanoid.Jump = false
  2554.     end
  2555. end)
  2556.  
  2557.         VALUE1 = 1
  2558.         Speed = 25
  2559.  
  2560. while true do
  2561.     Swait()
  2562.     ANIMATE.Parent = nil
  2563.     local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2564.     IDLEANIMATION:Play()
  2565.     SINE = SINE + CHANGE
  2566.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2567.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2568.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  2569.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  2570.     local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16)
  2571.     if ANIM == "Walk" and TORSOVELOCITY > 1 and VALUE1 ~= 7 and VALUE1 ~= 9 then
  2572.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2573.         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) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2574.     elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2575.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2576.         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)
  2577.         --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)
  2578.         --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)
  2579.     end
  2580.         if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2581.             ANIM = "Jump"
  2582.             if ATTACK == false then
  2583.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2584.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2585.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2586.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2587.                 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)
  2588.                 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)
  2589.             end
  2590.         elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2591.             ANIM = "Fall"
  2592.             if ATTACK == false then
  2593.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2594.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2595.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2596.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2597.                 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)
  2598.                 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)
  2599.             end
  2600.         elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2601.             ANIM = "Idle"
  2602.             if ATTACK == false then
  2603.                 if VALUE1 == 1 then
  2604.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2605.                     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.15 / Animation_Speed)
  2606.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2607.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2608.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2609.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2610.                 elseif VALUE1 == 2 then
  2611.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / Animation_Speed)
  2612.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2613.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2614.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2615.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2616.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2617.                 elseif VALUE1 == 3 then
  2618.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2619.                     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)
  2620.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2621.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2622.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2623.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2624.                 elseif VALUE1 == 4 then
  2625.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2626.                     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)
  2627.                     if MRANDOM(1,15) == 1 then
  2628.                         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2629.                     end
  2630.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2631.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2632.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2633.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2634.                 elseif VALUE1 == 5 then
  2635.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2636.                     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.15 / Animation_Speed)
  2637.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2638.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2639.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2640.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2641.                 elseif VALUE1 == 6 then
  2642.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2643.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2644.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2645.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2646.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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)
  2647.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2648.                 elseif VALUE1 == 7 then
  2649.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2650.                     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.15 / Animation_Speed)
  2651.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2652.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2653.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2654.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2655.                 elseif VALUE1 == 8 then
  2656.                 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + -0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed)
  2657.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2658.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2659.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2660.                 RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2661.                 LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2662.                 elseif VALUE1 == 9 then
  2663.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2664.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2665.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2666.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2667.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2668.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2669.                 end
  2670.             end
  2671.         elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2672.             ANIM = "Walk"
  2673.             WALK = WALK + 1 / Animation_Speed
  2674.             if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  2675.                 WALK = 0
  2676.                 if WALKINGANIM == true then
  2677.                     WALKINGANIM = false
  2678.                 elseif WALKINGANIM == false then
  2679.                     WALKINGANIM = true
  2680.                 end
  2681.             end
  2682.             --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)
  2683.             --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)
  2684.             if ATTACK == false then
  2685.                 if VALUE1 < 4 or VALUE1 == 6 then
  2686.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2687.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2688.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2689.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2690.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2691.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2692.                 elseif VALUE1 == 4 then
  2693.                     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)
  2694.                     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)
  2695.                     if MRANDOM(1,15) == 1 then
  2696.                         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1)
  2697.                     end
  2698.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2699.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2700.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2701.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed)
  2702.                 elseif VALUE1 == 7 then
  2703.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2704.                     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)
  2705.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2706.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2707.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2708.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  2709.                 elseif VALUE1 == 5 then
  2710.                     RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2711.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2712.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2713.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2714.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2715.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2716.                 elseif VALUE1 == 8 then
  2717. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2718.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2719.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  2720.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  2721.                     RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2722.                     LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12) , -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed)
  2723.                 end
  2724.             end
  2725.         end
  2726. if #Effects2>0 then
  2727. for e=1,#Effects2 do
  2728. if Effects2[e]~=nil then
  2729. local Thing=Effects2[e]
  2730. if Thing~=nil then
  2731. local Part=Thing[1]
  2732. local Mode=Thing[2]
  2733. local Delay=Thing[3]
  2734. local IncX=Thing[4]
  2735. local IncY=Thing[5]
  2736. local IncZ=Thing[6]
  2737. local Part2=Thing[8]
  2738. if Thing[1].Transparency<=1 then
  2739. if Thing[2]=="Block1" then
  2740. Thing[1].CFrame=Thing[1].CFrame
  2741. Mesh=Thing[1].Mesh
  2742. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2743. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2744. elseif Thing[2]=="Cylinder" then
  2745. Mesh=Thing[1].Mesh
  2746. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2747. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2748. elseif Thing[2]=="Blood" then
  2749. Mesh=Thing[7]
  2750. Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0)
  2751. Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6])
  2752. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2753. elseif Thing[2]=="Elec" then
  2754. Mesh=Thing[1].Mesh
  2755. Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9])
  2756. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2757. elseif Thing[2]=="Disappear" then
  2758. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2759. elseif Thing[2]=="Evaporate" then
  2760. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2761. local C = {-5,-2,2,5}
  2762. MagicSphere(VT(0,0,0),15,CF(Thing[1].CFrame*CF(C[MRANDOM(1,#C)],C[MRANDOM(1,#C)],C[MRANDOM(1,#C)]).p,Thing[1].Position),"New Yeller",VT(0.01,0.01,0.5),0.8)
  2763. end
  2764. else
  2765. Part.Parent=nil
  2766. table.remove(Effects2,e)
  2767. end
  2768. end
  2769. end
  2770. end
  2771. end
  2772. unanchor()
  2773. Humanoid.MaxHealth = "inf"
  2774. Humanoid.Health = "inf"
  2775. if Rooted == false then
  2776.     Disable_Jump = false
  2777.     Humanoid.WalkSpeed = Speed
  2778. elseif Rooted == true then
  2779.     Disable_Jump = true
  2780.     Humanoid.WalkSpeed = 0
  2781. end
  2782. local MATHS = {"0","1"}
  2783. Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]
  2784. Humanoid.PlatformStand = false
  2785. end
  2786.  
  2787. --//=================================\\
  2788. --\\=================================//
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794. --//====================================================\\--
  2795. --||                     END OF SCRIPT
  2796. --\\====================================================//--
Add Comment
Please, Sign In to add comment