Advertisement
Christoffer07700Extr

Wrecker Edit

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