omg12

Ruin edit

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