MrSlakyx

ik

Jul 11th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 89.60 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28.  
  29. IT = Instance.new
  30. CF = CFrame.new
  31. VT = Vector3.new
  32. RAD = math.rad
  33. C3 = Color3.new
  34. UD2 = UDim2.new
  35. BRICKC = BrickColor.new
  36. ANGLES = CFrame.Angles
  37. EULER = CFrame.fromEulerAnglesXYZ
  38. COS = math.cos
  39. ACOS = math.acos
  40. SIN = math.sin
  41. ASIN = math.asin
  42. ABS = math.abs
  43. MRANDOM = math.random
  44. FLOOR = math.floor
  45.  
  46. --//=================================\\
  47. --|| USEFUL VALUES
  48. --\\=================================//
  49.  
  50. Animation_Speed = 3
  51. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  52. local Speed = 16
  53. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  55. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  56. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  57. local DAMAGEMULTIPLIER = 1
  58. local ANIM = "Idle"
  59. local ATTACK = false
  60. local EQUIPPED = false
  61. local HOLD = false
  62. local COMBO = 1
  63. local Rooted = false
  64. local SINE = 0
  65. local KEYHOLD = false
  66. local CHANGE = 2 / Animation_Speed
  67. local WALKINGANIM = false
  68. local VALUE1 = false
  69. local VALUE2 = false
  70. local ROBLOXIDLEANIMATION = IT("Animation")
  71. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  72. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  73. --ROBLOXIDLEANIMATION.Parent = Humanoid
  74. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  75. WEAPONGUI.Name = "Weapon GUI"
  76. local Effects = IT("Folder", Character)
  77. Effects.Name = "Effects"
  78. local ANIMATOR = Humanoid.Animator
  79. local ANIMATE = Character.Animate
  80. local UNANCHOR = true
  81. local FLIGHT = false
  82. local BODYPOS = nil
  83. local GYRO = nil
  84. local FLIGHTRING = nil
  85. local PARTICLES = false
  86. local WINGS = false
  87. local APPLYGYRO = true
  88. local DIRECTTURN = false
  89.  
  90. local PHEONIXCOLOR = C3(0.9,0.9,0.9)
  91.  
  92. --//=================================\\
  93. --\\=================================//
  94.  
  95.  
  96. --//=================================\\
  97. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  98. --\\=================================//
  99.  
  100. ArtificialHB = Instance.new("BindableEvent", script)
  101. ArtificialHB.Name = "ArtificialHB"
  102.  
  103. script:WaitForChild("ArtificialHB")
  104.  
  105. frame = Frame_Speed
  106. tf = 0
  107. allowframeloss = false
  108. tossremainder = false
  109. lastframe = tick()
  110. script.ArtificialHB:Fire()
  111.  
  112. game:GetService("RunService").Heartbeat:connect(function(s, p)
  113. tf = tf + s
  114. if tf >= frame then
  115. if allowframeloss then
  116. script.ArtificialHB:Fire()
  117. lastframe = tick()
  118. else
  119. for i = 1, math.floor(tf / frame) do
  120. script.ArtificialHB:Fire()
  121. end
  122. lastframe = tick()
  123. end
  124. if tossremainder then
  125. tf = 0
  126. else
  127. tf = tf - frame * math.floor(tf / frame)
  128. end
  129. end
  130. end)
  131.  
  132. --//=================================\\
  133. --\\=================================//
  134.  
  135. --//=================================\\
  136. --|| SOME FUNCTIONS
  137. --\\=================================//
  138.  
  139. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  140. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  141. end
  142.  
  143. function PositiveAngle(NUMBER)
  144. if NUMBER >= 0 then
  145. NUMBER = 0
  146. end
  147. return NUMBER
  148. end
  149.  
  150. function NegativeAngle(NUMBER)
  151. if NUMBER <= 0 then
  152. NUMBER = 0
  153. end
  154. return NUMBER
  155. end
  156.  
  157. function Swait(NUMBER)
  158. if NUMBER == 0 or NUMBER == nil then
  159. ArtificialHB.Event:wait()
  160. else
  161. for i = 1, NUMBER do
  162. ArtificialHB.Event:wait()
  163. end
  164. end
  165. end
  166.  
  167. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  168. local NEWMESH = IT(MESH)
  169. if MESH == "SpecialMesh" then
  170. NEWMESH.MeshType = MESHTYPE
  171. if MESHID ~= "nil" and MESHID ~= "" then
  172. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  173. end
  174. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  175. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  176. end
  177. end
  178. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  179. NEWMESH.Scale = SCALE
  180. NEWMESH.Parent = PARENT
  181. return NEWMESH
  182. end
  183.  
  184. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  185. local NEWPART = IT("Part")
  186. NEWPART.formFactor = FORMFACTOR
  187. NEWPART.Reflectance = REFLECTANCE
  188. NEWPART.Transparency = TRANSPARENCY
  189. NEWPART.CanCollide = false
  190. NEWPART.Locked = true
  191. NEWPART.Anchored = true
  192. if ANCHOR == false then
  193. NEWPART.Anchored = false
  194. end
  195. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  196. NEWPART.Name = NAME
  197. NEWPART.Size = SIZE
  198. NEWPART.Position = Torso.Position
  199. NEWPART.Material = MATERIAL
  200. NEWPART:BreakJoints()
  201. NEWPART.Parent = PARENT
  202. return NEWPART
  203. end
  204.  
  205. local function weldBetween(a, b)
  206. local weldd = Instance.new("ManualWeld")
  207. weldd.Part0 = a
  208. weldd.Part1 = b
  209. weldd.C0 = CFrame.new()
  210. weldd.C1 = b.CFrame:inverse() * a.CFrame
  211. weldd.Parent = a
  212. return weldd
  213. end
  214.  
  215.  
  216. function QuaternionFromCFrame(cf)
  217. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  218. local trace = m00 + m11 + m22
  219. if trace > 0 then
  220. local s = math.sqrt(1 + trace)
  221. local recip = 0.5 / s
  222. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  223. else
  224. local i = 0
  225. if m11 > m00 then
  226. i = 1
  227. end
  228. if m22 > (i == 0 and m00 or m11) then
  229. i = 2
  230. end
  231. if i == 0 then
  232. local s = math.sqrt(m00 - m11 - m22 + 1)
  233. local recip = 0.5 / s
  234. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  235. elseif i == 1 then
  236. local s = math.sqrt(m11 - m22 - m00 + 1)
  237. local recip = 0.5 / s
  238. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  239. elseif i == 2 then
  240. local s = math.sqrt(m22 - m00 - m11 + 1)
  241. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  242. end
  243. end
  244. end
  245.  
  246. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  247. local xs, ys, zs = x + x, y + y, z + z
  248. local wx, wy, wz = w * xs, w * ys, w * zs
  249. local xx = x * xs
  250. local xy = x * ys
  251. local xz = x * zs
  252. local yy = y * ys
  253. local yz = y * zs
  254. local zz = z * zs
  255. 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))
  256. end
  257.  
  258. function QuaternionSlerp(a, b, t)
  259. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  260. local startInterp, finishInterp;
  261. if cosTheta >= 0.0001 then
  262. if (1 - cosTheta) > 0.0001 then
  263. local theta = ACOS(cosTheta)
  264. local invSinTheta = 1 / SIN(theta)
  265. startInterp = SIN((1 - t) * theta) * invSinTheta
  266. finishInterp = SIN(t * theta) * invSinTheta
  267. else
  268. startInterp = 1 - t
  269. finishInterp = t
  270. end
  271. else
  272. if (1 + cosTheta) > 0.0001 then
  273. local theta = ACOS(-cosTheta)
  274. local invSinTheta = 1 / SIN(theta)
  275. startInterp = SIN((t - 1) * theta) * invSinTheta
  276. finishInterp = SIN(t * theta) * invSinTheta
  277. else
  278. startInterp = t - 1
  279. finishInterp = t
  280. end
  281. end
  282. 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
  283. end
  284.  
  285. function Clerp(a, b, t)
  286. local qa = {QuaternionFromCFrame(a)}
  287. local qb = {QuaternionFromCFrame(b)}
  288. local ax, ay, az = a.x, a.y, a.z
  289. local bx, by, bz = b.x, b.y, b.z
  290. local _t = 1 - t
  291. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  292. end
  293.  
  294. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  295. local frame = IT("Frame")
  296. frame.BackgroundTransparency = TRANSPARENCY
  297. frame.BorderSizePixel = BORDERSIZEPIXEL
  298. frame.Position = POSITION
  299. frame.Size = SIZE
  300. frame.BackgroundColor3 = COLOR
  301. frame.BorderColor3 = BORDERCOLOR
  302. frame.Name = NAME
  303. frame.Parent = PARENT
  304. return frame
  305. end
  306.  
  307. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  308. local label = IT("TextLabel")
  309. label.BackgroundTransparency = 1
  310. label.Size = UD2(1, 0, 1, 0)
  311. label.Position = UD2(0, 0, 0, 0)
  312. label.TextColor3 = TEXTCOLOR
  313. label.TextStrokeTransparency = STROKETRANSPARENCY
  314. label.TextTransparency = TRANSPARENCY
  315. label.FontSize = TEXTFONTSIZE
  316. label.Font = TEXTFONT
  317. label.BorderSizePixel = BORDERSIZEPIXEL
  318. label.TextScaled = false
  319. label.Text = TEXT
  320. label.Name = NAME
  321. label.Parent = PARENT
  322. return label
  323. end
  324.  
  325. function NoOutlines(PART)
  326. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  327. end
  328.  
  329. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  330. local NEWWELD = IT(TYPE)
  331. NEWWELD.Part0 = PART0
  332. NEWWELD.Part1 = PART1
  333. NEWWELD.C0 = C0
  334. NEWWELD.C1 = C1
  335. NEWWELD.Parent = PARENT
  336. return NEWWELD
  337. end
  338.  
  339. local S = IT("Sound")
  340. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  341. local NEWSOUND = nil
  342. coroutine.resume(coroutine.create(function()
  343. NEWSOUND = S:Clone()
  344. NEWSOUND.Parent = PARENT
  345. NEWSOUND.Volume = VOLUME
  346. NEWSOUND.Pitch = PITCH
  347. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  348. NEWSOUND:play()
  349. if DOESLOOP == true then
  350. NEWSOUND.Looped = true
  351. else
  352. repeat wait(1) until NEWSOUND.Playing == false
  353. NEWSOUND:remove()
  354. end
  355. end))
  356. return NEWSOUND
  357. end
  358.  
  359. function CFrameFromTopBack(at, top, back)
  360. local right = top:Cross(back)
  361. 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)
  362. end
  363.  
  364. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  365. function WACKYEFFECT(Table)
  366. local TYPE = (Table.EffectType or "Sphere")
  367. local SIZE = (Table.Size or VT(1,1,1))
  368. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  369. local TRANSPARENCY = (Table.Transparency or 0)
  370. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  371. local CFRAME = (Table.CFrame or Torso.CFrame)
  372. local MOVEDIRECTION = (Table.MoveToPos or nil)
  373. local ROTATION1 = (Table.RotationX or 0)
  374. local ROTATION2 = (Table.RotationY or 0)
  375. local ROTATION3 = (Table.RotationZ or 0)
  376. local MATERIAL = (Table.Material or "Neon")
  377. local COLOR = (Table.Color or C3(1,1,1))
  378. local TIME = (Table.Time or 45)
  379. local SOUNDID = (Table.SoundID or nil)
  380. local SOUNDPITCH = (Table.SoundPitch or nil)
  381. local SOUNDVOLUME = (Table.SoundVolume or nil)
  382. coroutine.resume(coroutine.create(function()
  383. local PLAYSSOUND = false
  384. local SOUND = nil
  385. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  386. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  387. PLAYSSOUND = true
  388. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  389. end
  390. EFFECT.Color = COLOR
  391. local MSH = nil
  392. if TYPE == "Sphere" then
  393. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  394. elseif TYPE == "Block" then
  395. MSH = IT("BlockMesh",EFFECT)
  396. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  397. elseif TYPE == "Wave" then
  398. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  399. elseif TYPE == "Ring" then
  400. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  401. elseif TYPE == "Slash" then
  402. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  403. elseif TYPE == "Round Slash" then
  404. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  405. elseif TYPE == "Swirl" then
  406. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  407. elseif TYPE == "Skull" then
  408. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  409. elseif TYPE == "Crystal" then
  410. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  411. end
  412. if MSH ~= nil then
  413. local MOVESPEED = nil
  414. if MOVEDIRECTION ~= nil then
  415. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  416. end
  417. local GROWTH = SIZE - ENDSIZE
  418. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  419. if TYPE == "Block" then
  420. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  421. else
  422. EFFECT.CFrame = CFRAME
  423. end
  424. for LOOP = 1, TIME+1 do
  425. Swait()
  426. MSH.Scale = MSH.Scale - GROWTH/TIME
  427. if TYPE == "Wave" then
  428. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  429. end
  430. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  431. if TYPE == "Block" then
  432. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  433. else
  434. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  435. end
  436. if MOVEDIRECTION ~= nil then
  437. local ORI = EFFECT.Orientation
  438. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  439. EFFECT.Orientation = ORI
  440. end
  441. end
  442. if PLAYSSOUND == false then
  443. EFFECT:remove()
  444. else
  445. repeat Swait() until SOUND.Playing == false
  446. EFFECT:remove()
  447. end
  448. else
  449. if PLAYSSOUND == false then
  450. EFFECT:remove()
  451. else
  452. repeat Swait() until SOUND.Playing == false
  453. EFFECT:remove()
  454. end
  455. end
  456. end))
  457. end
  458.  
  459. function MakeForm(PART,TYPE)
  460. if TYPE == "Cyl" then
  461. local MSH = IT("CylinderMesh",PART)
  462. elseif TYPE == "Ball" then
  463. local MSH = IT("SpecialMesh",PART)
  464. MSH.MeshType = "Sphere"
  465. elseif TYPE == "Wedge" then
  466. local MSH = IT("SpecialMesh",PART)
  467. MSH.MeshType = "Wedge"
  468. end
  469. end
  470.  
  471. Debris = game:GetService("Debris")
  472.  
  473. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  474. local DIRECTION = CF(StartPos,EndPos).lookVector
  475. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  476. end
  477.  
  478. function turnto(position)
  479. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  480. end
  481.  
  482. local DECAL = IT("Decal",nil)
  483.  
  484. function MagicRing(PART,CFRAME,VARIANT)
  485. if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
  486. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0,0,0),false)
  487. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  488. local MESH = IT("BlockMesh",RING)
  489. local BOTTOMTEXTURE = DECAL:Clone()
  490. BOTTOMTEXTURE.Parent = RING
  491. BOTTOMTEXTURE.Face = "Bottom"
  492. BOTTOMTEXTURE.Name = "BottomTexture"
  493. local TOPTEXTURE = DECAL:Clone()
  494. TOPTEXTURE.Parent = RING
  495. TOPTEXTURE.Face = "Top"
  496. TOPTEXTURE.Name = "TopTexture"
  497. local T = script.RingEmit:Clone()
  498. T.Parent = RING
  499. local LIGHT = IT("PointLight",RING)
  500. if VARIANT == "Pheonix" then
  501. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617574752"
  502. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617575377"
  503. T.Color = ColorSequence.new(PHEONIXCOLOR)
  504. CreateSound(462809305,RING,5,1,false)
  505. elseif VARIANT == "Sun" then
  506. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217786509"
  507. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217788749"
  508. T.Color = ColorSequence.new(BRICKC"Bright orange".Color)
  509. CreateSound(462809305,RING,5,1,false)
  510. LIGHT.Color = BRICKC"Bright orange".Color
  511. elseif VARIANT == "Fire" then
  512. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222222911"
  513. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222223218"
  514. T.Color = ColorSequence.new(BRICKC"Bright orange".Color)
  515. CreateSound(343211019,RING,5,1,false)
  516. LIGHT.Color = C3(1,85/255,0)
  517. end
  518. T.LightEmission = 1
  519. T:Emit(5)
  520. Debris:AddItem(T,5)
  521. return RING,WELD,MESH
  522. end
  523. end
  524.  
  525. function AddChildrenToTable(FROM,PARENT,DIST,TABLE)
  526. for _, c in pairs(PARENT:GetDescendants()) do
  527. if c.ClassName == "Model" then
  528. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  529. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  530. local TORSO = (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso"))
  531. if (TORSO.Position - FROM).Magnitude < DIST then
  532. table.insert(TABLE,c)
  533. end
  534. end
  535. end
  536. end
  537. end
  538.  
  539. --//=================================\\
  540. --|| WEAPON CREATION
  541. --\\=================================//
  542.  
  543. local GUI = script.NameGui
  544. GUI.Parent = RootPart
  545. GUI.PlayerToHideFrom = Player
  546. GUI.PlayerName.Text = Player.Name
  547.  
  548. local BACKATTACHMENT1 = IT("Attachment",Torso)
  549. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  550. local BACKATTACHMENT2 = IT("Attachment",Torso)
  551. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  552. local WINGS1 = script.Wing1
  553. local WINGS1B = script.Wing1B
  554. local WINGS2 = script.Wing2
  555. local WINGS2B = script.Wing2B
  556. WINGS1.Parent = BACKATTACHMENT1
  557. WINGS1B.Parent = BACKATTACHMENT1
  558. WINGS2.Parent = BACKATTACHMENT2
  559. WINGS2B.Parent = BACKATTACHMENT2
  560. local FACEATTACHMENT = IT("Attachment",Head)
  561. FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
  562. FACEATTACHMENT.Orientation = VT(0, 35, 0)
  563. local EYE = script.Eye1
  564. EYE.Parent = FACEATTACHMENT
  565. local EYE2 = script.Eye2
  566. EYE2.Parent = FACEATTACHMENT
  567.  
  568. Humanoid.Died:connect(function()
  569. ATTACK = true
  570. end)
  571.  
  572. --//=================================\\
  573. --|| DAMAGING
  574. --\\=================================//
  575.  
  576. function ApplyDamage(Humanoid,Damage,TorsoPart,Time,AfterBurn,Variant)
  577. local defence = Instance.new("BoolValue",Humanoid.Parent)
  578. defence.Name = ("HitBy"..Player.Name)
  579. game:GetService("Debris"):AddItem(defence, 0.001)
  580. Damage = Damage * DAMAGEMULTIPLIER
  581. if Humanoid.Health ~= 0 then
  582. local CritChance = MRANDOM(1,100)
  583. if Damage > Humanoid.Health then
  584. Damage = math.ceil(Humanoid.Health)
  585. if Damage == 0 then
  586. Damage = 0.1
  587. end
  588. end
  589. Humanoid.Health = Humanoid.Health - Damage
  590. if AfterBurn == true then
  591. Afterburn(Humanoid,Time,Damage/5,Variant)
  592. end
  593. end
  594. end
  595.  
  596. function Afterburn(Human,Time,Damage,Variant)
  597. coroutine.resume(coroutine.create(function()
  598. if Human then
  599. if Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso") then
  600. local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")
  601. local FIRE = nil
  602. if Variant == "Pheonix" then
  603. FIRE = script.PheonixBurn:Clone()
  604. FIRE.Parent = Torso
  605. FIRE.Enabled = true
  606. elseif Variant == "Sun" then
  607. FIRE = script.SunBurn:Clone()
  608. FIRE.Parent = Torso
  609. FIRE.Enabled = true
  610. elseif Variant == "Fire" then
  611. FIRE = script.Burn:Clone()
  612. FIRE.Parent = Torso
  613. FIRE.Enabled = true
  614. end
  615. for i = 1, Time do
  616. wait(0.5)
  617. Human.Health = Human.Health - Damage
  618. end
  619. wait(0.25)
  620. FIRE.Enabled = false
  621. Debris:AddItem(FIRE,1.5)
  622. end
  623. end
  624. end))
  625. end
  626.  
  627. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,AFTERBURN,TIME,VARIANT,DOESCAMSHAKE,CAMVALUES)
  628. local CHILDREN = workspace:GetDescendants()
  629. for index, CHILD in pairs(CHILDREN) do
  630. if CHILD.ClassName == "Model" and CHILD ~= Character then
  631. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  632. if HUM then
  633. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  634. if TORSO then
  635. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  636. local DMG = MRANDOM(MINDMG,MAXDMG)
  637. ApplyDamage(HUM,DMG,TORSO,TIME,AFTERBURN,VARIANT)
  638. if HUM.MaxHealth == math.huge then
  639. CHILD:BreakJoints()
  640. end
  641. if DOESCAMSHAKE == true then
  642. local CAMSHAKER = script.CamShake:Clone()
  643. CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
  644. CAMSHAKER.Timer.Value = CAMVALUES.TIMER
  645. CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
  646. CAMSHAKER.Parent = CHILD
  647. CAMSHAKER.Disabled = false
  648. end
  649. if FLING > 0 then
  650. for _, c in pairs(CHILD:GetChildren()) do
  651. if c:IsA("BasePart") then
  652. local bv = Instance.new("BodyVelocity")
  653. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  654. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  655. bv.Parent = c
  656. Debris:AddItem(bv,0.05)
  657. end
  658. end
  659. end
  660. end
  661. end
  662. end
  663. end
  664. end
  665. end
  666.  
  667. --//=================================\\
  668. --|| LAND ATTACKS
  669. --\\=================================//
  670.  
  671. function ShootingStar()
  672. ATTACK = true
  673. Rooted = false
  674. local GYRO = IT("BodyGyro",RootPart)
  675. GYRO.D = 20
  676. GYRO.P = 4000
  677. GYRO.MaxTorque = VT(0,40000,0)
  678. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0),"Sun")
  679. coroutine.resume(coroutine.create(function()
  680. for i = 1, 35 do
  681. Swait()
  682. MESH.Scale = MESH.Scale + VT(2.6,0,2.6)
  683. end
  684. end))
  685. for i=0, 1.8, 0.1 / Animation_Speed do
  686. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  687. Swait()
  688. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  689. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  690. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  691. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  692. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  693. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  694. end
  695. coroutine.resume(coroutine.create(function()
  696. local POSITION = Mouse.Hit.p
  697. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  698. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  699. local FIRE = script.SunFireball:Clone()
  700. FIRE.Parent = FIREBALL
  701. FIRE.Enabled = true
  702. local EXPLOSION = script.SunExplosion:Clone()
  703. EXPLOSION.Parent = FIREBALL
  704. CreateSound(463598785,FIREBALL,5,1,false)
  705. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  706. local FRAME = CF(VT(POSITION.X+MRANDOM(-45,45)/3,RootPart.Position.Y,POSITION.Z+MRANDOM(-45,45)/3),RootPart.Position+VT(0,145,0))*CF(0,0,-DISTANCE/2)
  707. for i = 1, 75 do
  708. Swait()
  709. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  710. end
  711. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  712. for i = 1, 300 do
  713. Swait()
  714. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  715. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  716. if HITFLOOR ~= nil then
  717. FIRE.Enabled = false
  718. EXPLOSION:Emit(500)
  719. CreateSound(416328540,FIREBALL,5,1,false)
  720. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  721. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  722. wait(5)
  723. break
  724. end
  725. end
  726. FIREBALL:remove()
  727. end))
  728. GYRO:remove()
  729. RING.Anchored = true
  730. WELD:remove()
  731. coroutine.resume(coroutine.create(function()
  732. for i = 1, 35 do
  733. Swait()
  734. MESH.Scale = MESH.Scale - VT(2.6,0,2.6)
  735. end
  736. RING:remove()
  737. end))
  738. ATTACK = false
  739. Rooted = false
  740. end
  741.  
  742. function PheonixRage()
  743. ATTACK = true
  744. Rooted = true
  745. local A = false
  746. local B = false
  747. local RING,WELD,MESH = MagicRing(RootPart,CF(0,-3,0),"Pheonix")
  748. WELD:remove()
  749. RING.Anchored = true
  750. coroutine.resume(coroutine.create(function()
  751. for i = 1, 45 do
  752. Swait()
  753. MESH.Scale = MESH.Scale + VT(15,0,15)
  754. end
  755. end))
  756. coroutine.resume(coroutine.create(function()
  757. repeat
  758. Swait()
  759. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  760. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  761. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  762. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  765. until A == true
  766. repeat
  767. Swait()
  768. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-25), RAD(0), RAD(0)), 1 / Animation_Speed)
  769. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  770. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  771. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  772. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  773. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-35), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  774. until B == true
  775. for i = 1, 45 do
  776. Swait()
  777. MESH.Scale = MESH.Scale - VT(15,0,15)
  778. end
  779. RING:remove()
  780. end))
  781. wait(1)
  782. for i = 1, 4 do
  783. WACKYEFFECT({EffectType = "Sphere", Size = VT(45,45,45), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  784. wait(0.5)
  785. end
  786. A = true
  787. ApplyAoE(Torso.Position,80,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  788. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(140,140,140), Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  789. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(150,150,150), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 0.8, SoundVolume = 6})
  790. local EXPLOSION = script.PheonixExplosion1:Clone()
  791. EXPLOSION.Parent = Torso
  792. EXPLOSION.Enabled = true
  793. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  794. EXPLOSION2.Parent = Torso
  795. EXPLOSION2.Enabled = true
  796. wait(0.3)
  797. EXPLOSION.Enabled = false
  798. EXPLOSION2.Enabled = false
  799. Debris:AddItem(EXPLOSION,5)
  800. Debris:AddItem(EXPLOSION2,5)
  801. wait(1)
  802. B = true
  803. ATTACK = false
  804. Rooted = false
  805. end
  806.  
  807. function Breath()
  808. ATTACK = true
  809. local POSITION = IT("BodyPosition",RootPart)
  810. POSITION.Position = RootPart.CFrame*CF(0,35,35).p
  811. POSITION.D = 1250
  812. POSITION.P = 40000
  813. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  814. WINGS = true
  815. local RING,WELD,MESH = MagicRing(Torso,CF(0,0.5,0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)),"Pheonix")
  816. coroutine.resume(coroutine.create(function()
  817. for i = 1, 20 do
  818. Swait()
  819. MESH.Scale = MESH.Scale + VT(4,0,4)
  820. end
  821. end))
  822. for i = 1, 25 do
  823. Swait()
  824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
  825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  828. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  830. end
  831. local GYRO = IT("BodyGyro",RootPart)
  832. GYRO.D = 20
  833. GYRO.P = 4000
  834. GYRO.MaxTorque = VT(0,40000,0)
  835. coroutine.resume(coroutine.create(function()
  836. repeat
  837. Swait()
  838. GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  839. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  840. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  841. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  842. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  843. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  844. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  845. until ATTACK == false
  846. POSITION:remove()
  847. GYRO:remove()
  848. for i = 1, 20 do
  849. Swait()
  850. MESH.Scale = MESH.Scale - VT(4,0,4)
  851. end
  852. RING:remove()
  853. end))
  854. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  855. for i = 1, 35 do
  856. Swait()
  857. MESH.Scale = MESH.Scale + VT(2.6,0,2.6)
  858. end
  859. wait(0.3)
  860. coroutine.resume(coroutine.create(function()
  861. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5,5,5))
  862. FIREBALL.CFrame = CF(RING.Position,Mouse.Hit.p)
  863. local PARTICLES1 = script.PheonixFireball1:Clone()
  864. PARTICLES1.Parent = FIREBALL
  865. PARTICLES1.Enabled = true
  866. local PARTICLES2 = script.PheonixFireball2:Clone()
  867. PARTICLES2.Parent = FIREBALL
  868. PARTICLES2.Enabled = true
  869. CreateSound(463593339,FIREBALL,6,1,false)
  870. for i = 1, 250 do
  871. Swait()
  872. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  873. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  874. if HIT then
  875. ApplyAoE(FIREBALL.Position,50,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  876. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(100,100,100), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  877. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  878. PARTICLES1.Enabled = false
  879. PARTICLES2.Enabled = false
  880. local EXPLOSION = script.PheonixExplosion1:Clone()
  881. EXPLOSION.Parent = FIREBALL
  882. EXPLOSION.Enabled = true
  883. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  884. EXPLOSION2.Parent = FIREBALL
  885. EXPLOSION2.Enabled = true
  886. wait(0.3)
  887. EXPLOSION.Enabled = false
  888. EXPLOSION2.Enabled = false
  889. break
  890. end
  891. end
  892. PARTICLES1.Enabled = false
  893. PARTICLES2.Enabled = false
  894. Debris:AddItem(FIREBALL,7)
  895. end))
  896. wait(0.3)
  897. coroutine.resume(coroutine.create(function()
  898. WELD:remove()
  899. RING.Anchored = true
  900. for i = 1, 35 do
  901. Swait()
  902. MESH.Scale = MESH.Scale - VT(2.6,0,2.6)
  903. end
  904. RING:remove()
  905. end))
  906. WINGS = false
  907. ATTACK = false
  908. end
  909.  
  910. --//=================================\\
  911. --|| MIDFLIGHT ATTACKS
  912. --\\=================================//
  913.  
  914. function ThreeShootingStars()
  915. ATTACK = true
  916. Rooted = false
  917. local POS1 = nil
  918. local POS2 = nil
  919. local POS3 = nil
  920. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0),"Sun")
  921. coroutine.resume(coroutine.create(function()
  922. for i = 1, 35 do
  923. Swait()
  924. MESH.Scale = MESH.Scale + VT(2.6,0,2.6)
  925. end
  926. end))
  927. coroutine.resume(coroutine.create(function()
  928. repeat
  929. Swait()
  930. if POS1 then
  931. coroutine.resume(coroutine.create(function()
  932. local POSITION = POS1
  933. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  934. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  935. local FIRE = script.SunFireball:Clone()
  936. FIRE.Parent = FIREBALL
  937. FIRE.Enabled = true
  938. local EXPLOSION = script.SunExplosion:Clone()
  939. EXPLOSION.Parent = FIREBALL
  940. CreateSound(463598785,FIREBALL,5,1,false)
  941. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  942. local FRAME = CF(VT(POSITION.X+MRANDOM(-45,45)/3,RootPart.Position.Y,POSITION.Z+MRANDOM(-45,45)/3),RootPart.Position+VT(0,45,0))*CF(0,0,-DISTANCE/2)
  943. for i = 1, 75 do
  944. Swait()
  945. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  946. end
  947. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  948. for i = 1, 300 do
  949. Swait()
  950. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  951. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  952. if HITFLOOR ~= nil then
  953. FIRE.Enabled = false
  954. EXPLOSION:Emit(500)
  955. CreateSound(416328540,FIREBALL,5,1,false)
  956. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  957. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  958. wait(5)
  959. break
  960. end
  961. end
  962. FIREBALL:remove()
  963. end))
  964. POS1 = nil
  965. end
  966. if POS2 then
  967. coroutine.resume(coroutine.create(function()
  968. local POSITION = POS2
  969. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  970. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  971. local FIRE = script.SunFireball:Clone()
  972. FIRE.Parent = FIREBALL
  973. FIRE.Enabled = true
  974. local EXPLOSION = script.SunExplosion:Clone()
  975. EXPLOSION.Parent = FIREBALL
  976. CreateSound(463598785,FIREBALL,5,1,false)
  977. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  978. local FRAME = CF(VT(POSITION.X+MRANDOM(-45,45)/3,RootPart.Position.Y,POSITION.Z+MRANDOM(-45,45)/3),RootPart.Position+VT(0,45,0))*CF(0,0,-DISTANCE/2)
  979. for i = 1, 75 do
  980. Swait()
  981. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  982. end
  983. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  984. for i = 1, 300 do
  985. Swait()
  986. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  987. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  988. if HITFLOOR ~= nil then
  989. FIRE.Enabled = false
  990. EXPLOSION:Emit(500)
  991. CreateSound(416328540,FIREBALL,5,1,false)
  992. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  993. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  994. wait(5)
  995. break
  996. end
  997. end
  998. FIREBALL:remove()
  999. end))
  1000. POS2 = nil
  1001. end
  1002. if POS3 then
  1003. coroutine.resume(coroutine.create(function()
  1004. local POSITION = POS3
  1005. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3,3,3))
  1006. FIREBALL.CFrame = RightArm.CFrame*CF(0,-3,0)
  1007. local FIRE = script.SunFireball:Clone()
  1008. FIRE.Parent = FIREBALL
  1009. FIRE.Enabled = true
  1010. local EXPLOSION = script.SunExplosion:Clone()
  1011. EXPLOSION.Parent = FIREBALL
  1012. CreateSound(463598785,FIREBALL,5,1,false)
  1013. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1014. local FRAME = CF(VT(POSITION.X+MRANDOM(-45,45)/3,RootPart.Position.Y,POSITION.Z+MRANDOM(-45,45)/3),RootPart.Position+VT(0,45,0))*CF(0,0,-DISTANCE/2)
  1015. for i = 1, 75 do
  1016. Swait()
  1017. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1018. end
  1019. FIREBALL.CFrame = CF(FIREBALL.Position,POSITION)
  1020. for i = 1, 300 do
  1021. Swait()
  1022. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  1023. local HITFLOOR,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1024. if HITFLOOR ~= nil then
  1025. FIRE.Enabled = false
  1026. EXPLOSION:Emit(500)
  1027. CreateSound(416328540,FIREBALL,5,1,false)
  1028. ApplyAoE(FIREBALL.Position,75,25,35,65,true,MRANDOM(5,15),"Sun",true,{SHAKE = 1, TIMER = 6, DOESFADE = true})
  1029. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(150,150,150), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1030. wait(5)
  1031. break
  1032. end
  1033. end
  1034. FIREBALL:remove()
  1035. end))
  1036. POS3 = nil
  1037. end
  1038. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  1039. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  1040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1042. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1043. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1044. until ATTACK == false
  1045. end))
  1046. wait(0.4)
  1047. POS1 = Mouse.Hit.p
  1048. wait(0.5)
  1049. POS2 = Mouse.Hit.p
  1050. wait(0.6)
  1051. POS3 = Mouse.Hit.p
  1052. wait(0.3)
  1053. RING.Anchored = true
  1054. WELD:remove()
  1055. coroutine.resume(coroutine.create(function()
  1056. for i = 1, 35 do
  1057. Swait()
  1058. MESH.Scale = MESH.Scale - VT(2.6,0,2.6)
  1059. end
  1060. RING:remove()
  1061. end))
  1062. ATTACK = false
  1063. Rooted = false
  1064. end
  1065.  
  1066. function PheonixFlare()
  1067. ATTACK = true
  1068. Rooted = false
  1069. PARTICLES = true
  1070. coroutine.resume(coroutine.create(function()
  1071. repeat
  1072. Swait()
  1073. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1074. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1075. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1076. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1077. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1078. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1079. until ATTACK == false
  1080. end))
  1081. CreateSound(462676772,Torso,7,1,false)
  1082. WINGS1.Acceleration = VT(9,0,-12)
  1083. WINGS1B.Acceleration = VT(9,0,-12)
  1084. WINGS2.Acceleration = VT(-9,0,-12)
  1085. WINGS2B.Acceleration = VT(-9,0,-12)
  1086. wait(0.25)
  1087. coroutine.resume(coroutine.create(function()
  1088. local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0,0,0))
  1089. WIND.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1090. local PARTICLES = script.Gale:Clone()
  1091. PARTICLES.Parent = WIND
  1092. PARTICLES.Enabled = true
  1093. CreateSound(376218535,WIND,6,1,false)
  1094. for i = 1, 250 do
  1095. Swait()
  1096. local HIT,HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
  1097. WIND.CFrame = WIND.CFrame*CF(0,0,-2)
  1098. if HIT then
  1099. ApplyAoE(WIND.Position,45,10,30,135,false,MRANDOM(12,16),"Nul",true,{SHAKE = 3, TIMER = 7, DOESFADE = true})
  1100. CreateSound(260430117,WIND,3,1,false)
  1101. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(20,0,20), Size2 = VT(60,8,60), Transparency = 0.9, Transparency2 = 1, CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.8,0.8,0.8), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1102. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(20,0,20), Size2 = VT(60,8,60), Transparency = 0.9, Transparency2 = 1, CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.8,0.8,0.8), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1103. break
  1104. end
  1105. end
  1106. PARTICLES.Enabled = false
  1107. Debris:AddItem(WIND,7)
  1108. end))
  1109. wait(1)
  1110. CreateSound(462676772,Torso,7,1,false)
  1111. WINGS1.Acceleration = VT(9,1,4)
  1112. WINGS1B.Acceleration = VT(9,1,4)
  1113. WINGS2.Acceleration = VT(-9,1,4)
  1114. WINGS2B.Acceleration = VT(-9,1,4)
  1115. wait(0.25)
  1116. coroutine.resume(coroutine.create(function()
  1117. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5,5,5))
  1118. FIREBALL.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1119. local PARTICLES1 = script.PheonixFireball1:Clone()
  1120. PARTICLES1.Parent = FIREBALL
  1121. PARTICLES1.Enabled = true
  1122. local PARTICLES2 = script.PheonixFireball2:Clone()
  1123. PARTICLES2.Parent = FIREBALL
  1124. PARTICLES2.Enabled = true
  1125. CreateSound(463593339,FIREBALL,6,1,false)
  1126. for i = 1, 250 do
  1127. Swait()
  1128. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1129. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  1130. if HIT then
  1131. ApplyAoE(FIREBALL.Position,70,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1132. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1133. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(140,140,140), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  1134. PARTICLES1.Enabled = false
  1135. PARTICLES2.Enabled = false
  1136. local EXPLOSION = script.PheonixExplosion1:Clone()
  1137. EXPLOSION.Parent = FIREBALL
  1138. EXPLOSION.Enabled = true
  1139. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1140. EXPLOSION2.Parent = FIREBALL
  1141. EXPLOSION2.Enabled = true
  1142. wait(0.3)
  1143. EXPLOSION.Enabled = false
  1144. EXPLOSION2.Enabled = false
  1145. break
  1146. end
  1147. end
  1148. PARTICLES1.Enabled = false
  1149. PARTICLES2.Enabled = false
  1150. Debris:AddItem(FIREBALL,7)
  1151. end))
  1152. wait(0.5)
  1153. PARTICLES = false
  1154. ATTACK = false
  1155. Rooted = false
  1156. end
  1157.  
  1158. function PheonixFireballs()
  1159. ATTACK = true
  1160. local POWER = 1
  1161. DIRECTTURN = true
  1162. coroutine.resume(coroutine.create(function()
  1163. repeat
  1164. Swait()
  1165. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1166. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1167. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1168. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1169. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1170. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1171. until ATTACK == false
  1172. end))
  1173. local RING1,WELD1,MESH1 = MagicRing(RightArm,CF(0,-1.2,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  1174. local RING2,WELD2,MESH2 = MagicRing(RightArm,CF(0,-1.6,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  1175. for i = 1, 35 do
  1176. Swait()
  1177. MESH1.Scale = MESH1.Scale + VT(6,0,6)
  1178. MESH2.Scale = MESH2.Scale + VT(3,0,3)
  1179. end
  1180. repeat wait() POWER = POWER + 1 until KEYHOLD == false
  1181. if POWER <= 30 then
  1182. for i = 1, 15 do
  1183. wait(0.1)
  1184. coroutine.resume(coroutine.create(function()
  1185. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2,2,2))
  1186. FIREBALL.CFrame = CF(RootPart.Position,Mouse.Hit.p)
  1187. local PARTICLES1 = script.PheonixFireball1:Clone()
  1188. PARTICLES1.Parent = FIREBALL
  1189. PARTICLES1.Enabled = true
  1190. local PARTICLES2 = script.PheonixFireball2:Clone()
  1191. PARTICLES2.Parent = FIREBALL
  1192. PARTICLES2.Enabled = true
  1193. PARTICLES1.Size = NumberSequence.new(3,0)
  1194. PARTICLES2.Size = NumberSequence.new(3,0)
  1195. CreateSound(463593339,FIREBALL,6,1,false)
  1196. for i = 1, 250 do
  1197. Swait()
  1198. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
  1199. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-4)
  1200. if HIT then
  1201. ApplyAoE(FIREBALL.Position,25,5,15,5,true,MRANDOM(5,6),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1202. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1203. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(60,60,60), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  1204. PARTICLES1.Enabled = false
  1205. PARTICLES2.Enabled = false
  1206. local EXPLOSION = script.PheonixExplosion1:Clone()
  1207. EXPLOSION.Parent = FIREBALL
  1208. EXPLOSION.Enabled = true
  1209. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1210. EXPLOSION2.Parent = FIREBALL
  1211. EXPLOSION2.Enabled = true
  1212. wait(0.3)
  1213. EXPLOSION.Enabled = false
  1214. EXPLOSION2.Enabled = false
  1215. break
  1216. end
  1217. end
  1218. PARTICLES1.Enabled = false
  1219. PARTICLES2.Enabled = false
  1220. Debris:AddItem(FIREBALL,7)
  1221. end))
  1222. end
  1223. else
  1224. for E = 1, 5 do
  1225. local OFFSET = ANGLES(RAD((360/5)*E),RAD((360/5)*E),RAD(0))*CF(0,0,75)
  1226. coroutine.resume(coroutine.create(function()
  1227. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5,5,5))
  1228. FIREBALL.CFrame = CF(RootPart.Position,CF(Mouse.Hit.p,RootPart.Position)*OFFSET.p)
  1229. local PARTICLES1 = script.PheonixFireball1:Clone()
  1230. PARTICLES1.Parent = FIREBALL
  1231. PARTICLES1.Enabled = true
  1232. local PARTICLES2 = script.PheonixFireball2:Clone()
  1233. PARTICLES2.Parent = FIREBALL
  1234. PARTICLES2.Enabled = true
  1235. CreateSound(463593339,FIREBALL,6,1,false)
  1236. for i = 1, 650 do
  1237. Swait()
  1238. local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1239. FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
  1240. if HIT then
  1241. ApplyAoE(FIREBALL.Position,70,45,50,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
  1242. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(120,120,120), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1243. WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(140,140,140), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1, SoundVolume = 6})
  1244. PARTICLES1.Enabled = false
  1245. PARTICLES2.Enabled = false
  1246. local EXPLOSION = script.PheonixExplosion1:Clone()
  1247. EXPLOSION.Parent = FIREBALL
  1248. EXPLOSION.Enabled = true
  1249. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1250. EXPLOSION2.Parent = FIREBALL
  1251. EXPLOSION2.Enabled = true
  1252. wait(0.3)
  1253. EXPLOSION.Enabled = false
  1254. EXPLOSION2.Enabled = false
  1255. break
  1256. end
  1257. end
  1258. PARTICLES1.Enabled = false
  1259. PARTICLES2.Enabled = false
  1260. Debris:AddItem(FIREBALL,7)
  1261. end))
  1262. end
  1263. end
  1264. wait(0.5)
  1265. WELD1:remove()
  1266. WELD2:remove()
  1267. RING1.Anchored = true
  1268. RING2.Anchored = true
  1269. coroutine.resume(coroutine.create(function()
  1270. for i = 1, 35 do
  1271. Swait()
  1272. MESH1.Scale = MESH1.Scale - VT(6,0,6)
  1273. MESH2.Scale = MESH2.Scale - VT(3,0,3)
  1274. end
  1275. RING1:remove()
  1276. RING2:remove()
  1277. end))
  1278. DIRECTTURN = false
  1279. ATTACK = false
  1280. end
  1281.  
  1282. function PheonixJump()
  1283. local DONE = false
  1284. local STRENGTH = 10
  1285. local UP = 5
  1286. ATTACK = true
  1287. DIRECTTURN = true
  1288. local RING,WELD,MESH = MagicRing(RootPart,CF(0,-3.5,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Pheonix")
  1289. for i = 1, 30 do
  1290. Swait()
  1291. MESH.Scale = MESH.Scale + VT(12,0,12)
  1292. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1293. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1294. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1295. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1296. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1297. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  1298. end
  1299. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  1300. if NEWKEY == "w" and VALUE2 == false then
  1301. coroutine.resume(coroutine.create(function()
  1302. ApplyAoE(RING.Position,35,15,20,35,true,MRANDOM(12,16),"Pheonix",true,{SHAKE = 2, TIMER = 15, DOESFADE = true})
  1303. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(50,50,50), Transparency = 0, Transparency2 = 1, CFrame = CF(RING.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1304. WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70), Transparency = 0.5, Transparency2 = 1, CFrame = CF(RING.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = 462692971, SoundPitch = 1.2, SoundVolume = 6})
  1305. local EXPLOSION = script.PheonixExplosion1:Clone()
  1306. EXPLOSION.Parent = RING
  1307. EXPLOSION.Enabled = true
  1308. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1309. EXPLOSION2.Parent = RING
  1310. EXPLOSION2.Enabled = true
  1311. wait(0.3)
  1312. EXPLOSION.Enabled = false
  1313. EXPLOSION2.Enabled = false
  1314. Debris:AddItem(RING,3)
  1315. end))
  1316. CreateSound(462676772,Torso,8,1,false)
  1317. coroutine.resume(coroutine.create(function()
  1318. for i = 1, 25 do
  1319. Swait()
  1320. ApplyAoE(Torso.Position,15,15,20,75,true,MRANDOM(4,5),"Pheonix",false,{SHAKE = 4, TIMER = 5, DOESFADE = true})
  1321. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1322. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1323. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(28.8*i)), 2 / Animation_Speed)
  1324. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1325. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1326. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1327. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1328. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1329. end
  1330. ATTACK = false
  1331. end))
  1332. repeat
  1333. VALUE2 = true
  1334. Swait()
  1335. BODYPOS.Position = RootPart.CFrame*CF(0,UP,-STRENGTH).p
  1336. if STRENGTH > 4 then
  1337. STRENGTH = STRENGTH - 0.1
  1338. else
  1339. STRENGTH = 4
  1340. end
  1341. if UP > 0 then
  1342. UP = UP - 0.15
  1343. else
  1344. UP = 0
  1345. end
  1346. until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
  1347. DONE = true
  1348. end
  1349. end)
  1350. repeat
  1351. Swait()
  1352. if STRENGTH < 40 then
  1353. STRENGTH = STRENGTH + 0.15
  1354. MESH.Scale = MESH.Scale + VT(0.5,0,0.5)
  1355. end
  1356. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1357. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1358. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1359. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1360. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1361. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
  1362. until VALUE2 == true
  1363. DIRECTTURN = false
  1364. WELD:remove()
  1365. RING.Anchored = true
  1366. local SIZE = MESH.Scale.X
  1367. coroutine.resume(coroutine.create(function()
  1368. for i = 1, 30 do
  1369. Swait()
  1370. MESH.Scale = MESH.Scale - VT(SIZE,0,SIZE)/30
  1371. end
  1372. RING:remove()
  1373. end))
  1374. repeat wait() until DONE == true
  1375. KEYDOWN:disconnect()
  1376. VALUE2 = false
  1377. end
  1378.  
  1379. function DragonFirePillar()
  1380. ATTACK = true
  1381. local POS = Mouse.Hit.p
  1382. APPLYGYRO = false
  1383. local RING,WELD,MESH = MagicRing(RightArm,CF(0,-1.2,0) * ANGLES(RAD(0), RAD(180), RAD(0)),"Fire")
  1384. coroutine.resume(coroutine.create(function()
  1385. repeat
  1386. Swait()
  1387. GYRO.CFrame = CF(RootPart.Position,POS)
  1388. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.1, -0.3) * ANGLES(RAD(0), RAD(45), RAD(0)) * ANGLES(RAD(165), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1392. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1393. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1394. until ATTACK == false
  1395. end))
  1396. for i = 1, 40 do
  1397. MESH.Scale = MESH.Scale + VT(4,0,4)
  1398. Swait()
  1399. end
  1400. for i = 1, 6 do
  1401. WACKYEFFECT({EffectType = "Sphere", Size = VT(35,35,35), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.5, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1402. wait(1)
  1403. end
  1404. coroutine.resume(coroutine.create(function()
  1405. coroutine.resume(coroutine.create(function()
  1406. for i = 1, 30 do
  1407. Swait()
  1408. MESH.Scale = MESH.Scale - VT(4,0,4)
  1409. end
  1410. RING:remove()
  1411. end))
  1412. WACKYEFFECT({Time = 640, EffectType = "Sphere", Size = VT(15,500,15), Size2 = VT(10,700,10), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1413. for i = 1, 15 do
  1414. ApplyAoE(POS,35,20,30,15,true,MRANDOM(3,4),"Fire",true,{SHAKE = 5, TIMER = 6, DOESFADE = true})
  1415. WACKYEFFECT({Time = 125, EffectType = "Wave", Size = VT(0,5,0), Size2 = VT(250,35,250), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-5,5)*2, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 4})
  1416. WACKYEFFECT({Time = 75, EffectType = "Swirl", Size = VT(20,20,20), Size2 = VT(65,500,65), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-5,5)*6, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = nil, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 4})
  1417. WACKYEFFECT({Time = 75, EffectType = "Swirl", Size = VT(20,20,20), Size2 = VT(45,600,45), Transparency = 0.4, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-5,5)*6, RotationZ = 0, Material = "Neon", Color = C3(1,85/255,0), SoundID = 304529688, SoundPitch = MRANDOM(9,11)/10, SoundVolume = 4})
  1418. wait(0.6)
  1419. end
  1420. end))
  1421. APPLYGYRO = true
  1422. ATTACK = false
  1423. end
  1424.  
  1425. function PheonixTornado()
  1426. ATTACK = true
  1427. local BUILDUP = true
  1428. local HITS = {}
  1429. PARTICLES = true
  1430. coroutine.resume(coroutine.create(function()
  1431. repeat
  1432. Swait()
  1433. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1434. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1435. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1436. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1437. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1438. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1439. until BUILDUP == false
  1440. end))
  1441. WINGS1.Acceleration = VT(9,0,-12)
  1442. WINGS1B.Acceleration = VT(9,0,-12)
  1443. WINGS2.Acceleration = VT(-9,0,-12)
  1444. WINGS2B.Acceleration = VT(-9,0,-12)
  1445. wait(1)
  1446. CreateSound(462676772,Torso,7,1,false)
  1447. WINGS1.Acceleration = VT(9,1,4)
  1448. WINGS1B.Acceleration = VT(9,1,4)
  1449. WINGS2.Acceleration = VT(-9,1,4)
  1450. WINGS2B.Acceleration = VT(-9,1,4)
  1451. wait(0.25)
  1452. AddChildrenToTable(Torso.Position,workspace,35,HITS)
  1453. WACKYEFFECT({Time = 40, EffectType = "Swirl", Size = VT(50,5,50), Size2 = VT(50,60,50), Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0.8,0.8,0.8), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1454. BUILDUP = false
  1455. PARTICLES = false
  1456. if #HITS > 0 then
  1457. local BODIES = {}
  1458. if #HITS == 1 then
  1459. for i = 1, #HITS do
  1460. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  1461. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  1462. if HUM and TORSO then
  1463. if HUM.Health > 0 then
  1464. local POSITION = IT("BodyPosition",TORSO)
  1465. POSITION.Position = RootPart.CFrame*CF(0,45,-35).p
  1466. POSITION.D = 15
  1467. POSITION.P = 4000000
  1468. table.insert(BODIES,POSITION)
  1469. end
  1470. end
  1471. end
  1472. else
  1473. for i = 1, #HITS do
  1474. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  1475. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  1476. if HUM and TORSO then
  1477. if HUM.Health > 0 then
  1478. local POSITION = IT("BodyPosition",TORSO)
  1479. POSITION.Position = RootPart.CFrame*CF(0,35,-35) * ANGLES(RAD(0), RAD((360/#HITS)*i), RAD(0)) * CF(0,0,10).p
  1480. POSITION.D = 450
  1481. POSITION.P = 40000
  1482. POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1483. table.insert(BODIES,POSITION)
  1484. end
  1485. end
  1486. end
  1487. end
  1488. local POS = RootPart.CFrame*CF(0,35,-35).p
  1489. wait(1.75)
  1490. BODYPOS.D = 450
  1491. BODYPOS.Position = POS
  1492. wait(0.5)
  1493. APPLYGYRO = false
  1494. local E = 0
  1495. CreateSound(1417056081,RootPart,10,0.5,false)
  1496. for i = 1, 50 do
  1497. Swait()
  1498. E = E + 1
  1499. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1500. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1501. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E*10)) * CF(45,0,0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  1502. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1503. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1504. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1505. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1506. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1507. end
  1508. local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0,0,0))
  1509. TORNADO.CFrame = CF(POS)
  1510. local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25,25,25), VT(0,0,0))
  1511. local DECAL = IT("Decal",TORNADO)
  1512. DECAL.Texture = "rbxassetid://559849514"
  1513. DECAL.Transparency = 1
  1514. DECAL.Color3 = BRICKC"Deep orange".Color
  1515. local LOOP = 0
  1516. for i = 1, 250 do
  1517. Swait()
  1518. E = E + 1
  1519. LOOP = LOOP + 1
  1520. if LOOP == 10 then
  1521. LOOP = 0
  1522. ApplyAoE(TORNADO.Position,35,2,2,0,true,MRANDOM(3,4),"Pheonix",true,{SHAKE = 2, TIMER = 4, DOESFADE = true})
  1523. end
  1524. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E*10), RAD(0))
  1525. DECAL.Transparency = DECAL.Transparency - 1/500
  1526. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1527. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.9, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1528. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E*10)) * CF(45,0,0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  1529. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1530. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1531. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1532. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1533. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1534. end
  1535. for i = 1, #BODIES do
  1536. BODIES[i]:remove()
  1537. end
  1538. coroutine.resume(coroutine.create(function()
  1539. for i = 1, 25 do
  1540. Swait()
  1541. DECAL.Transparency = DECAL.Transparency + 1/50
  1542. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E*10), RAD(0))
  1543. end
  1544. TORNADO:remove()
  1545. end))
  1546. for i = 1, 75 do
  1547. Swait()
  1548. E = E + 1
  1549. LOOP = LOOP + 1
  1550. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E*15), RAD(0))
  1551. DECAL.Transparency = DECAL.Transparency - 1/500
  1552. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(45,5,45)/3, Size2 = VT(35,200,35)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1553. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(55,5,55)/3, Size2 = VT(45,200,45)/5, Transparency = 0.8, Transparency2 = 1, CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1554. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(-E*10)) * CF(45-((45/75)*i),0,0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  1555. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1556. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1557. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1558. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1559. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1560. end
  1561. BODYPOS.D = 75
  1562. end
  1563. APPLYGYRO = true
  1564. ATTACK = false
  1565. end
  1566.  
  1567. function PheonixNuke()
  1568. if Mouse.Target ~= nil then
  1569. ATTACK = true
  1570. Rooted = false
  1571. BODYPOS.Position = Mouse.Hit.p+VT(0,6,0)
  1572. BODYPOS.D = 700
  1573. coroutine.resume(coroutine.create(function()
  1574. repeat
  1575. Swait()
  1576. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1582. until ATTACK == false
  1583. end))
  1584. wait(1.5)
  1585. for i = 1, 4 do
  1586. WACKYEFFECT({EffectType = "Sphere", Size = VT(125,125,125), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.8, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1587. wait(0.7)
  1588. end
  1589. PARTICLES = true
  1590. WINGS1.Acceleration = VT(9,3,4)
  1591. WINGS1B.Acceleration = VT(9,3,4)
  1592. WINGS2.Acceleration = VT(-9,3,4)
  1593. WINGS2B.Acceleration = VT(-9,3,4)
  1594. wait(2)
  1595. CreateSound(462676772,Torso,8,1,false)
  1596. WINGS1.Acceleration = VT(9,-2,-12)
  1597. WINGS1B.Acceleration = VT(9,-2,-12)
  1598. WINGS2.Acceleration = VT(-9,-2,-12)
  1599. WINGS2B.Acceleration = VT(-9,-2,-12)
  1600. wait(1)
  1601. for i = 1, 5 do
  1602. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25, Character)
  1603. ApplyAoE(Torso.Position,240,25,30,165,true,MRANDOM(5,7),"Pheonix",true,{SHAKE = 8, TIMER = 25, DOESFADE = true})
  1604. for i = 1, 5 do
  1605. WACKYEFFECT({Time = 120, EffectType = "Swirl", Size = VT(20,20,20), Size2 = (VT(180,180,180)+(VT(50,50,50)*i))*2, Transparency = 0.8, Transparency2 = 1, CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 6+i, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1606. end
  1607. WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(40,40,40), Size2 = VT(240,240,240)*2, Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = 1, SoundVolume = 8})
  1608. WACKYEFFECT({Time = 80, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(250,250,250)*2, Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = 0.7, SoundVolume = 10})
  1609. local EXPLOSION = script.PheonixExplosion1:Clone()
  1610. EXPLOSION.Parent = Torso
  1611. EXPLOSION.Enabled = true
  1612. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1613. EXPLOSION2.Parent = Torso
  1614. EXPLOSION2.Enabled = true
  1615. EXPLOSION.Drag = -5
  1616. EXPLOSION2.Drag = -5
  1617. EXPLOSION:Emit(100)
  1618. EXPLOSION2:Emit(100)
  1619. CreateSound(462692971,Effects,2,1,false)
  1620. for i = 1, 5 do
  1621. wait()
  1622. WACKYEFFECT({Time = 40, EffectType = "Wave", Size = VT(20,0,20), Size2 = (VT(160,6,160)+(VT(50,4,50)*i))*2, Transparency = 0.8, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -12+i, RotationZ = 0, Material = "Neon", Color = C3(1,170/255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1623. WACKYEFFECT({Time = 40, EffectType = "Wave", Size = VT(20,0,20), Size2 = (VT(180,6,180)+(VT(50,5,50)*i))*2, Transparency = 0.8, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -12+i, RotationZ = 0, Material = "Neon", Color = PHEONIXCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1624. end
  1625. EXPLOSION.Enabled = false
  1626. EXPLOSION2.Enabled = false
  1627. Debris:AddItem(EXPLOSION,5)
  1628. Debris:AddItem(EXPLOSION2,5)
  1629. wait(0.4)
  1630. end
  1631. wait(0.6)
  1632. PARTICLES = false
  1633. BODYPOS.D = 75
  1634. ATTACK = false
  1635. Rooted = false
  1636. end
  1637. end
  1638.  
  1639. --//=================================\\
  1640. --|| ASSIGN THINGS TO KEYS
  1641. --\\=================================//
  1642.  
  1643. function MouseDown(Mouse)
  1644. if ATTACK == false then
  1645. end
  1646. end
  1647.  
  1648. function MouseUp(Mouse)
  1649. HOLD = false
  1650. end
  1651.  
  1652. function KeyDown(Key)
  1653. KEYHOLD = true
  1654. if EQUIPPED == true then
  1655. if FLIGHT == false then
  1656. if Key == "z" and ATTACK == false then
  1657. ShootingStar()
  1658. end
  1659.  
  1660. if Key == "b" and ATTACK == false then
  1661. Breath()
  1662. end
  1663.  
  1664. if Key == "c" and ATTACK == false then
  1665. PheonixRage()
  1666. end
  1667.  
  1668. if Key == "q" and ATTACK == false then
  1669. FLIGHT = true
  1670. GYRO = IT("BodyGyro",RootPart)
  1671. GYRO.D = 75
  1672. GYRO.P = 40000
  1673. GYRO.MaxTorque = VT(40000,40000,40000)
  1674. GYRO.cframe = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-1).p)
  1675. BODYPOS = Instance.new("BodyPosition",RootPart)
  1676. BODYPOS.D = 100
  1677. BODYPOS.P = 20000
  1678. BODYPOS.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1679. BODYPOS.position = RootPart.Position+VT(0,3,0)
  1680. local RING,WELD,MESH = MagicRing(Torso,CF(0,0.5,1)* ANGLES(RAD(-90), RAD(0), RAD(0)),"Pheonix")
  1681. FLIGHTRING = RING
  1682. coroutine.resume(coroutine.create(function()
  1683. for i = 1, 40 do
  1684. Swait()
  1685. MESH.Scale = MESH.Scale + VT(4,0,4)
  1686. end
  1687. end))
  1688. PheonixJump()
  1689. end
  1690. elseif FLIGHT == true then
  1691. if Key == "z" and ATTACK == false and VALUE2 == false then
  1692. ThreeShootingStars()
  1693. end
  1694.  
  1695. if Key == "b" and ATTACK == false and VALUE2 == false then
  1696. PheonixFlare()
  1697. end
  1698.  
  1699. if Key == "g" and ATTACK == false and VALUE2 == false then
  1700. DragonFirePillar()
  1701. end
  1702.  
  1703. if Key == "v" and ATTACK == false and VALUE2 == false then
  1704. PheonixTornado()
  1705. end
  1706.  
  1707. if Key == "x" and ATTACK == false and VALUE2 == false then
  1708. PheonixNuke()
  1709. end
  1710.  
  1711. if Key == "q" and ATTACK == false and VALUE2 == false then
  1712. FLIGHT = false
  1713. coroutine.resume(coroutine.create(function()
  1714. if FLIGHTRING then
  1715. local MSH = FLIGHTRING.Mesh
  1716. local RING = FLIGHTRING
  1717. for i = 1, 40 do
  1718. Swait()
  1719. MSH.Scale = MSH.Scale - VT(4,0,4)
  1720. end
  1721. RING:remove()
  1722. end
  1723. end))
  1724. end
  1725.  
  1726. if Key == "c" and ATTACK == false and VALUE2 == false then
  1727. PheonixJump()
  1728. end
  1729.  
  1730. if Key == "e" and ATTACK == false and VALUE2 == false then
  1731. PheonixFireballs()()
  1732. end
  1733.  
  1734. if Key == "w" and ATTACK == false and VALUE2 == false then
  1735. repeat
  1736. VALUE2 = true
  1737. Swait()
  1738. BODYPOS.Position = RootPart.CFrame*CF(0,0,-2.5).p
  1739. until KEYHOLD == false
  1740. VALUE2 = false
  1741. end
  1742. end
  1743. end
  1744.  
  1745. if Key == "f" and ATTACK == false and FLIGHT == false then
  1746. if EQUIPPED == false then
  1747. EQUIPPED = true
  1748. EYE.Enabled = true
  1749. EYE2.Enabled = true
  1750. sick:Play()
  1751. else
  1752. EQUIPPED = false
  1753. FLIGHT = false
  1754. EYE.Enabled = false
  1755. EYE2.Enabled = false
  1756. end
  1757. end
  1758.  
  1759. if string.byte(Key) == 50 and ATTACK == false then
  1760. if Speed == 16 then
  1761. Speed = 45
  1762. elseif Speed == 45 then
  1763. Speed = 16
  1764. end
  1765. end
  1766. end
  1767.  
  1768. function KeyUp(Key)
  1769. KEYHOLD = false
  1770. end
  1771.  
  1772. Mouse.Button1Down:connect(function(NEWKEY)
  1773. MouseDown(NEWKEY)
  1774. end)
  1775. Mouse.Button1Up:connect(function(NEWKEY)
  1776. MouseUp(NEWKEY)
  1777. end)
  1778. Mouse.KeyDown:connect(function(NEWKEY)
  1779. KeyDown(NEWKEY)
  1780. end)
  1781. Mouse.KeyUp:connect(function(NEWKEY)
  1782. KeyUp(NEWKEY)
  1783. end)
  1784.  
  1785. --//=================================\\
  1786. --\\=================================//
  1787.  
  1788.  
  1789. function unanchor()
  1790. if UNANCHOR == true then
  1791. g = Character:GetChildren()
  1792. for i = 1, #g do
  1793. if g[i].ClassName == "Part" then
  1794. g[i].Anchored = false
  1795. end
  1796. end
  1797. end
  1798. end
  1799.  
  1800.  
  1801. --//=================================\\
  1802. --|| WRAP THE WHOLE SCRIPT UP
  1803. --\\=================================//
  1804.  
  1805. Humanoid.Changed:connect(function(Jump)
  1806. if Jump == "Jump" and (Disable_Jump == true) then
  1807. Humanoid.Jump = false
  1808. end
  1809. end)
  1810.  
  1811. local LOOP = 0
  1812. local TWIST = true
  1813. while true do
  1814. Swait()
  1815. script.Parent = WEAPONGUI
  1816. ANIMATE.Parent = nil
  1817. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1818. v:Stop();
  1819. end
  1820. SINE = SINE + CHANGE
  1821. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1822. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1823. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1824. local WALKSPEEDVALUE = 5
  1825. if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
  1826. if Humanoid.WalkSpeed <= 20 then
  1827. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * 1 / Animation_Speed)
  1828. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1829. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1830. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
  1831. else
  1832. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
  1833. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / (2*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1834. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
  1835. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
  1836. end
  1837. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or FLIGHT == true then
  1838. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1839. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1840. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1841. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1842. end
  1843. if FLIGHT == false then
  1844. if GYRO ~= nil then
  1845. GYRO:remove()
  1846. end
  1847. if BODYPOS ~= nil then
  1848. BODYPOS:remove()
  1849. end
  1850. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1851. ANIM = "Jump"
  1852. if ATTACK == false then
  1853. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1854. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1855. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1856. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1857. 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)
  1858. 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)
  1859. end
  1860. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1861. ANIM = "Fall"
  1862. if ATTACK == false then
  1863. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1865. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1866. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1867. 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)
  1868. 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)
  1869. end
  1870. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1871. ANIM = "Idle"
  1872. if ATTACK == false then
  1873. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1874. 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)
  1875. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(5 + 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1876. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-5 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1877. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1878. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1879. end
  1880. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1881. ANIM = "Walk"
  1882. if ATTACK == false then
  1883. if Humanoid.WalkSpeed <= 30 then
  1884. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1885. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1886. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
  1887. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
  1888. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1889. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1890. elseif Humanoid.WalkSpeed > 30 then
  1891. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1892. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  1893. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1894. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1895. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed)
  1896. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed)
  1897. end
  1898. end
  1899. end
  1900. elseif FLIGHT == true then
  1901. if APPLYGYRO == true then
  1902. if VALUE2 == false and DIRECTTURN == false then
  1903. if GYRO ~= nil then
  1904. GYRO.MaxTorque = VT(0,40000,0)
  1905. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1906. end
  1907. else
  1908. if GYRO ~= nil then
  1909. GYRO.MaxTorque = VT(40000,40000,40000)
  1910. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1911. end
  1912. end
  1913. end
  1914. if VALUE2 == false and ATTACK == false then
  1915. ANIM = "IdleFlight"
  1916. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1917. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1918. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1919. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1920. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1921. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1922. elseif VALUE2 == true and ATTACK == false then
  1923. ANIM = "Flight"
  1924. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  1925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
  1927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1928. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1930. end
  1931. end
  1932. local ACCEL1 = VT(10,2-(6*COS(SINE / 24)),-4-(2*COS(SINE / 24)))
  1933. local ACCEL2 = VT(-10,2-(6*COS(SINE / 24)),-4-(2*COS(SINE / 24)))
  1934. if PARTICLES == false then
  1935. WINGS1.Acceleration = ACCEL1
  1936. WINGS1B.Acceleration = ACCEL1
  1937. WINGS2.Acceleration = ACCEL2
  1938. WINGS2B.Acceleration = ACCEL2
  1939. end
  1940. if FLIGHT == true or WINGS == true then
  1941. WINGS1.Enabled = true
  1942. WINGS1B.Enabled = true
  1943. WINGS2.Enabled = true
  1944. WINGS2B.Enabled = true
  1945. else
  1946. WINGS1.Enabled = false
  1947. WINGS1B.Enabled = false
  1948. WINGS2.Enabled = false
  1949. WINGS2B.Enabled = false
  1950. end
  1951. unanchor()
  1952. Humanoid.MaxHealth = "inf"
  1953. Humanoid.Health = "inf"
  1954. if Rooted == false and FLIGHT == false then
  1955. Disable_Jump = false
  1956. Humanoid.WalkSpeed = Speed
  1957. elseif Rooted == true or FLIGHT == true then
  1958. Disable_Jump = true
  1959. Humanoid.WalkSpeed = 0
  1960. end
  1961. sick.SoundId = "rbxassetid://1604456093"
  1962. sick.EmitterSize = 50
  1963. sick.Looped = true
  1964. if FLIGHT == true then
  1965. sick.Pitch = 1
  1966. sick.Volume = 1.5
  1967. LOOP = LOOP + 1
  1968. if LOOP >= 10 then
  1969. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  1970. if HITFLOOR then
  1971. local DISTANCE = (RootPart.Position - HITPOS).Magnitude
  1972. local SIZE = (26-DISTANCE)*2
  1973. if TWIST == true then
  1974. TWIST = false
  1975. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(SIZE/2,0,SIZE/2), Size2 = VT(SIZE,6,SIZE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(0), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(1,(205+35*SIN(SINE / 24))/255,(0.5+0.5*SIN(SINE / 24))), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1976. else
  1977. TWIST = true
  1978. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(SIZE/2,0,SIZE/2), Size2 = VT(SIZE,6,SIZE), Transparency = 0.6, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5,5)), RAD(0), RAD(MRANDOM(-5,5))), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,(205+35*SIN(SINE / 24))/255,(0.5+0.5*SIN(SINE / 24))), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1979. end
  1980. LOOP = 0
  1981. end
  1982. end
  1983. else
  1984. sick.Pitch = 0.95
  1985. sick.Volume = 1
  1986. end
  1987. sick.Playing = EQUIPPED
  1988. sick.Parent = Character
  1989. Humanoid.Name = "WarPheonix"
  1990. Humanoid.DisplayDistanceType = "None"
  1991. end
  1992.  
  1993. --//=================================\\
  1994. --\\=================================//
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000. --//====================================================\\--
  2001. --|| END OF SCRIPT
  2002. --\\====================================================//--
Add Comment
Please, Sign In to add comment