wanTH092

test

Jun 3rd, 2018
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 112.48 KB | None | 0 0
  1.  
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4.     local env = getfenv(func)
  5.     local newenv = setmetatable({},{
  6.         __index = function(self,k)
  7.             if k=="script" then
  8.                 return var
  9.             else
  10.                 return env[k]
  11.             end
  12.         end,
  13.     })
  14.     setfenv(func,newenv)
  15.     return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. LocalScript0 = Instance.new("LocalScript")
  20. ParticleEmitter1 = Instance.new("ParticleEmitter")
  21. ParticleEmitter2 = Instance.new("ParticleEmitter")
  22. ParticleEmitter3 = Instance.new("ParticleEmitter")
  23. ParticleEmitter4 = Instance.new("ParticleEmitter")
  24. ParticleEmitter5 = Instance.new("ParticleEmitter")
  25. ParticleEmitter6 = Instance.new("ParticleEmitter")
  26. ParticleEmitter7 = Instance.new("ParticleEmitter")
  27. ParticleEmitter8 = Instance.new("ParticleEmitter")
  28. LocalScript9 = Instance.new("LocalScript")
  29. NumberValue10 = Instance.new("NumberValue")
  30. NumberValue11 = Instance.new("NumberValue")
  31. BoolValue12 = Instance.new("BoolValue")
  32. ParticleEmitter13 = Instance.new("ParticleEmitter")
  33. ParticleEmitter14 = Instance.new("ParticleEmitter")
  34. ParticleEmitter15 = Instance.new("ParticleEmitter")
  35. ParticleEmitter16 = Instance.new("ParticleEmitter")
  36. ParticleEmitter17 = Instance.new("ParticleEmitter")
  37. ParticleEmitter18 = Instance.new("ParticleEmitter")
  38. ParticleEmitter19 = Instance.new("ParticleEmitter")
  39. ParticleEmitter20 = Instance.new("ParticleEmitter")
  40. ParticleEmitter21 = Instance.new("ParticleEmitter")
  41. ParticleEmitter22 = Instance.new("ParticleEmitter")
  42. LocalScript0.Name = "WarPheonix"
  43. LocalScript0.Parent = mas
  44. table.insert(cors,sandbox(LocalScript0,function()
  45.  
  46. wait(0.2)
  47. Player = game:GetService("Players").LocalPlayer
  48. PlayerGui = Player.PlayerGui
  49. Cam = workspace.CurrentCamera
  50. Backpack = Player.Backpack
  51. Character = Player.Character
  52. Humanoid = Character.Humanoid
  53. Mouse = Player:GetMouse()
  54. RootPart = Character.HumanoidRootPart
  55. Torso = Character.Torso
  56. Head = Character.Head
  57. RightArm = Character["Right Arm"]
  58. LeftArm = Character["Left Arm"]
  59. RightLeg = Character["Right Leg"]
  60. LeftLeg = Character["Left Leg"]
  61. RootJoint = RootPart.RootJoint
  62. Neck = Torso.Neck
  63. RightShoulder = Torso["Right Shoulder"]
  64. LeftShoulder = Torso["Left Shoulder"]
  65. RightHip = Torso["Right Hip"]
  66. LeftHip = Torso["Left Hip"]
  67. local sick = Instance.new("Sound", Character)
  68.     sick.SoundId = "rbxassetid://1604456093"
  69.     sick.Looped = true
  70. IT = Instance.new
  71. CF = CFrame.new
  72. VT = Vector3.new
  73. RAD = math.rad
  74. C3 = Color3.new
  75. UD2 = UDim2.new
  76. BRICKC = BrickColor.new
  77. ANGLES = CFrame.Angles
  78. EULER = CFrame.fromEulerAnglesXYZ
  79. COS = math.cos
  80. ACOS = math.acos
  81. SIN = math.sin
  82. ASIN = math.asin
  83. ABS = math.abs
  84. MRANDOM = math.random
  85. FLOOR = math.floor
  86.  
  87. local naeeym2 = Instance.new("BillboardGui",Character)
  88. naeeym2.AlwaysOnTop = true
  89. naeeym2.Size = UDim2.new(5,35,2,35)
  90. naeeym2.StudsOffset = Vector3.new(0,4.5,0)
  91. naeeym2.Adornee = Character.Head
  92. naeeym2.Name = "Name"
  93. naeeym2.MaxDistance = 200
  94. local tecks2 = Instance.new("TextLabel",naeeym2)
  95. tecks2.BackgroundTransparency = 1
  96. tecks2.TextScaled = true
  97. tecks2.BorderSizePixel = 0
  98. tecks2.Text = "The War Phoenix"
  99. tecks2.Font = "Fantasy"
  100. tecks2.TextSize = 48
  101. tecks2.TextStrokeTransparency = 0
  102. tecks2.TextColor3 = Color3.new(255,255,255)
  103. tecks2.TextStrokeColor3 = Color3.new(188/255, 155/255, 93/255)
  104. tecks2.Size = UDim2.new(1,0,0.5,0)
  105. tecks2.Parent = naeeym2
  106.  
  107. local naeeym3 = Instance.new("BillboardGui",Character)
  108. naeeym3.AlwaysOnTop = true
  109. naeeym3.Size = UDim2.new(5,35,2,35)
  110. naeeym3.StudsOffset = Vector3.new(0,3,0)
  111. naeeym3.Adornee = Character.Head
  112. naeeym3.Name = "Name"
  113. naeeym3.MaxDistance = 200
  114. local tecks3 = Instance.new("TextLabel",naeeym2)
  115. tecks3.BackgroundTransparency = 1
  116. tecks3.TextScaled = true
  117. tecks3.BorderSizePixel = 0
  118. tecks3.Text = Player.Name
  119. tecks3.Font = "Fantasy"
  120. tecks3.TextSize = 32
  121. tecks3.TextStrokeTransparency = 1
  122. tecks3.TextColor3 = Color3.new(125/255,125/255,125/255)
  123. tecks3.TextStrokeColor3 = Color3.new(125/255,125/255,125/255)
  124. tecks3.Size = UDim2.new(1,0,0.5,0)
  125. tecks3.Parent = naeeym3
  126.  
  127.  
  128. Animation_Speed = 3
  129. Frame_Speed = 0.016666666666666666
  130. local Speed = 16
  131. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  132. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  133. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  134. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  135. local DAMAGEMULTIPLIER = 1
  136. local ANIM = "Idle"
  137. local ATTACK = false
  138. local EQUIPPED = false
  139. local HOLD = false
  140. local COMBO = 1
  141. local Rooted = false
  142. local SINE = 0
  143. local KEYHOLD = false
  144. local CHANGE = 2 / Animation_Speed
  145. local WALKINGANIM = false
  146. local VALUE1 = false
  147. local VALUE2 = false
  148. local ROBLOXIDLEANIMATION = IT("Animation")
  149. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  150. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  151. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  152. WEAPONGUI.Name = "Weapon GUI"
  153. local Effects = IT("Folder", Character)
  154. Effects.Name = "Effects"
  155. local ANIMATOR = Humanoid.Animator
  156. local ANIMATE = Character.Animate
  157. local UNANCHOR = true
  158. local FLIGHT = false
  159. local BODYPOS, GYRO, FLIGHTRING
  160. local PARTICLES = false
  161. local WINGS = false
  162. local APPLYGYRO = true
  163. local DIRECTTURN = false
  164. local PHEONIXCOLOR = C3(0.9, 0.9, 0.9)
  165. ArtificialHB = Instance.new("BindableEvent", script)
  166. ArtificialHB.Name = "ArtificialHB"
  167. script:WaitForChild("ArtificialHB")
  168. frame = Frame_Speed
  169. tf = 0
  170. allowframeloss = false
  171. tossremainder = false
  172. lastframe = tick()
  173. script.ArtificialHB:Fire()
  174. game:GetService("RunService").Heartbeat:connect(function(s, p)
  175.     tf = tf + s
  176.     if tf >= frame then
  177.         if allowframeloss then
  178.             script.ArtificialHB:Fire()
  179.             lastframe = tick()
  180.         else
  181.             for i = 1, math.floor(tf / frame) do
  182.                 script.ArtificialHB:Fire()
  183.             end
  184.             lastframe = tick()
  185.         end
  186.         if tossremainder then
  187.             tf = 0
  188.         else
  189.             tf = tf - frame * math.floor(tf / frame)
  190.         end
  191.     end
  192. end)
  193. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  194.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  195. end
  196. function PositiveAngle(NUMBER)
  197.     if NUMBER >= 0 then
  198.         NUMBER = 0
  199.     end
  200.     return NUMBER
  201. end
  202. function NegativeAngle(NUMBER)
  203.     if NUMBER <= 0 then
  204.         NUMBER = 0
  205.     end
  206.     return NUMBER
  207. end
  208. function Swait(NUMBER)
  209.     if NUMBER == 0 or NUMBER == nil then
  210.         ArtificialHB.Event:wait()
  211.     else
  212.         for i = 1, NUMBER do
  213.             ArtificialHB.Event:wait()
  214.         end
  215.     end
  216. end
  217. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  218.     local NEWMESH = IT(MESH)
  219.     if MESH == "SpecialMesh" then
  220.         NEWMESH.MeshType = MESHTYPE
  221.         if MESHID ~= "nil" and MESHID ~= "" then
  222.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  223.         end
  224.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  225.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  226.         end
  227.     end
  228.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  229.     NEWMESH.Scale = SCALE
  230.     NEWMESH.Parent = PARENT
  231.     return NEWMESH
  232. end
  233. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  234.     local NEWPART = IT("Part")
  235.     NEWPART.formFactor = FORMFACTOR
  236.     NEWPART.Reflectance = REFLECTANCE
  237.     NEWPART.Transparency = TRANSPARENCY
  238.     NEWPART.CanCollide = false
  239.     NEWPART.Locked = true
  240.     NEWPART.Anchored = true
  241.     if ANCHOR == false then
  242.         NEWPART.Anchored = false
  243.     end
  244.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  245.     NEWPART.Name = NAME
  246.     NEWPART.Size = SIZE
  247.     NEWPART.Position = Torso.Position
  248.     NEWPART.Material = MATERIAL
  249.     NEWPART:BreakJoints()
  250.     NEWPART.Parent = PARENT
  251.     return NEWPART
  252. end
  253. local weldBetween = function(a, b)
  254.     local weldd = Instance.new("ManualWeld")
  255.     weldd.Part0 = a
  256.     weldd.Part1 = b
  257.     weldd.C0 = CFrame.new()
  258.     weldd.C1 = b.CFrame:inverse() * a.CFrame
  259.     weldd.Parent = a
  260.     return weldd
  261. end
  262. function QuaternionFromCFrame(cf)
  263.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  264.     local trace = m00 + m11 + m22
  265.     if trace > 0 then
  266.         local s = math.sqrt(1 + trace)
  267.         local recip = 0.5 / s
  268.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  269.     else
  270.         local i = 0
  271.         if m00 < m11 then
  272.             i = 1
  273.         end
  274.         if m22 > (i == 0 and m00 or m11) then
  275.             i = 2
  276.         end
  277.         if i == 0 then
  278.             local s = math.sqrt(m00 - m11 - m22 + 1)
  279.             local recip = 0.5 / s
  280.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  281.         elseif i == 1 then
  282.             local s = math.sqrt(m11 - m22 - m00 + 1)
  283.             local recip = 0.5 / s
  284.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  285.         elseif i == 2 then
  286.             local s = math.sqrt(m22 - m00 - m11 + 1)
  287.             local recip = 0.5 / s
  288.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  289.         end
  290.     end
  291. end
  292. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  293.     local xs, ys, zs = x + x, y + y, z + z
  294.     local wx, wy, wz = w * xs, w * ys, w * zs
  295.     local xx = x * xs
  296.     local xy = x * ys
  297.     local xz = x * zs
  298.     local yy = y * ys
  299.     local yz = y * zs
  300.     local zz = z * zs
  301.     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))
  302. end
  303. function QuaternionSlerp(a, b, t)
  304.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  305.     local startInterp, finishInterp
  306.     if cosTheta >= 1.0E-4 then
  307.         if 1 - cosTheta > 1.0E-4 then
  308.             local theta = ACOS(cosTheta)
  309.             local invSinTheta = 1 / SIN(theta)
  310.             startInterp = SIN((1 - t) * theta) * invSinTheta
  311.             finishInterp = SIN(t * theta) * invSinTheta
  312.         else
  313.             startInterp = 1 - t
  314.             finishInterp = t
  315.         end
  316.     elseif 1 + cosTheta > 1.0E-4 then
  317.         local theta = ACOS(-cosTheta)
  318.         local invSinTheta = 1 / SIN(theta)
  319.         startInterp = SIN((t - 1) * theta) * invSinTheta
  320.         finishInterp = SIN(t * theta) * invSinTheta
  321.     else
  322.         startInterp = t - 1
  323.         finishInterp = t
  324.     end
  325.     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
  326. end
  327. function Clerp(a, b, t)
  328.     local qa = {
  329.         QuaternionFromCFrame(a)
  330.     }
  331.     local qb = {
  332.         QuaternionFromCFrame(b)
  333.     }
  334.     local ax, ay, az = a.x, a.y, a.z
  335.     local bx, by, bz = b.x, b.y, b.z
  336.     local _t = 1 - t
  337.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  338. end
  339. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  340.     local frame = IT("Frame")
  341.     frame.BackgroundTransparency = TRANSPARENCY
  342.     frame.BorderSizePixel = BORDERSIZEPIXEL
  343.     frame.Position = POSITION
  344.     frame.Size = SIZE
  345.     frame.BackgroundColor3 = COLOR
  346.     frame.BorderColor3 = BORDERCOLOR
  347.     frame.Name = NAME
  348.     frame.Parent = PARENT
  349.     return frame
  350. end
  351. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  352.     local label = IT("TextLabel")
  353.     label.BackgroundTransparency = 1
  354.     label.Size = UD2(1, 0, 1, 0)
  355.     label.Position = UD2(0, 0, 0, 0)
  356.     label.TextColor3 = TEXTCOLOR
  357.     label.TextStrokeTransparency = STROKETRANSPARENCY
  358.     label.TextTransparency = TRANSPARENCY
  359.     label.FontSize = TEXTFONTSIZE
  360.     label.Font = TEXTFONT
  361.     label.BorderSizePixel = BORDERSIZEPIXEL
  362.     label.TextScaled = false
  363.     label.Text = TEXT
  364.     label.Name = NAME
  365.     label.Parent = PARENT
  366.     return label
  367. end
  368. function NoOutlines(PART)
  369.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  370. end
  371. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  372.     local NEWWELD = IT(TYPE)
  373.     NEWWELD.Part0 = PART0
  374.     NEWWELD.Part1 = PART1
  375.     NEWWELD.C0 = C0
  376.     NEWWELD.C1 = C1
  377.     NEWWELD.Parent = PARENT
  378.     return NEWWELD
  379. end
  380. local S = IT("Sound")
  381. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  382.     local NEWSOUND
  383.     coroutine.resume(coroutine.create(function()
  384.         NEWSOUND = S:Clone()
  385.         NEWSOUND.Parent = PARENT
  386.         NEWSOUND.Volume = VOLUME
  387.         NEWSOUND.Pitch = PITCH
  388.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  389.         NEWSOUND:play()
  390.         if DOESLOOP == true then
  391.             NEWSOUND.Looped = true
  392.         else
  393.             repeat
  394.                 wait(1)
  395.             until NEWSOUND.Playing == false
  396.             NEWSOUND:remove()
  397.         end
  398.     end))
  399.     return NEWSOUND
  400. end
  401. function CFrameFromTopBack(at, top, back)
  402.     local right = top:Cross(back)
  403.     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)
  404. end
  405. function WACKYEFFECT(Table)
  406.     local TYPE = Table.EffectType or "Sphere"
  407.     local SIZE = Table.Size or VT(1, 1, 1)
  408.     local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  409.     local TRANSPARENCY = Table.Transparency or 0
  410.     local ENDTRANSPARENCY = Table.Transparency2 or 1
  411.     local CFRAME = Table.CFrame or Torso.CFrame
  412.     local MOVEDIRECTION = Table.MoveToPos or nil
  413.     local ROTATION1 = Table.RotationX or 0
  414.     local ROTATION2 = Table.RotationY or 0
  415.     local ROTATION3 = Table.RotationZ or 0
  416.     local MATERIAL = Table.Material or "Neon"
  417.     local COLOR = Table.Color or C3(1, 1, 1)
  418.     local TIME = Table.Time or 45
  419.     local SOUNDID = Table.SoundID or nil
  420.     local SOUNDPITCH = Table.SoundPitch or nil
  421.     local SOUNDVOLUME = Table.SoundVolume or nil
  422.     coroutine.resume(coroutine.create(function()
  423.         local PLAYSSOUND = false
  424.         local SOUND
  425.         local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  426.         if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  427.             PLAYSSOUND = true
  428.             SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  429.         end
  430.         EFFECT.Color = COLOR
  431.         local MSH
  432.         if TYPE == "Sphere" then
  433.             MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  434.         elseif TYPE == "Block" then
  435.             MSH = IT("BlockMesh", EFFECT)
  436.             MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  437.         elseif TYPE == "Wave" then
  438.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  439.         elseif TYPE == "Ring" then
  440.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  441.         elseif TYPE == "Slash" then
  442.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  443.         elseif TYPE == "Round Slash" then
  444.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  445.         elseif TYPE == "Swirl" then
  446.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  447.         elseif TYPE == "Skull" then
  448.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  449.         elseif TYPE == "Crystal" then
  450.             MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  451.         end
  452.         if MSH ~= nil then
  453.             local MOVESPEED
  454.             if MOVEDIRECTION ~= nil then
  455.                 MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  456.             end
  457.             local GROWTH = SIZE - ENDSIZE
  458.             local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  459.             if TYPE == "Block" then
  460.                 EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  461.             else
  462.                 EFFECT.CFrame = CFRAME
  463.             end
  464.             for LOOP = 1, TIME + 1 do
  465.                 Swait()
  466.                 MSH.Scale = MSH.Scale - GROWTH / TIME
  467.                 if TYPE == "Wave" then
  468.                     MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  469.                 end
  470.                 EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  471.                 if TYPE == "Block" then
  472.                     EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  473.                 else
  474.                     EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  475.                 end
  476.                 if MOVEDIRECTION ~= nil then
  477.                     local ORI = EFFECT.Orientation
  478.                     EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  479.                     EFFECT.Orientation = ORI
  480.                 end
  481.             end
  482.             if PLAYSSOUND == false then
  483.                 EFFECT:remove()
  484.             else
  485.                 repeat
  486.                     Swait()
  487.                 until SOUND.Playing == false
  488.                 EFFECT:remove()
  489.             end
  490.         elseif PLAYSSOUND == false then
  491.             EFFECT:remove()
  492.         else
  493.             repeat
  494.                 Swait()
  495.             until SOUND.Playing == false
  496.             EFFECT:remove()
  497.         end
  498.     end))
  499. end
  500. function MakeForm(PART, TYPE)
  501.     if TYPE == "Cyl" then
  502.         local MSH = IT("CylinderMesh", PART)
  503.     elseif TYPE == "Ball" then
  504.         local MSH = IT("SpecialMesh", PART)
  505.         MSH.MeshType = "Sphere"
  506.     elseif TYPE == "Wedge" then
  507.         local MSH = IT("SpecialMesh", PART)
  508.         MSH.MeshType = "Wedge"
  509.     end
  510. end
  511. Debris = game:GetService("Debris")
  512. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  513.     local DIRECTION = CF(StartPos, EndPos).lookVector
  514.     return Raycast(StartPos, DIRECTION, Distance, Ignore)
  515. end
  516. function turnto(position)
  517.     RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  518. end
  519. local DECAL = IT("Decal", nil)
  520. function MagicRing(PART, CFRAME, VARIANT)
  521.     if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
  522.         local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0, 0, 0), false)
  523.         local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  524.         local MESH = IT("BlockMesh", RING)
  525.         local BOTTOMTEXTURE = DECAL:Clone()
  526.         BOTTOMTEXTURE.Parent = RING
  527.         BOTTOMTEXTURE.Face = "Bottom"
  528.         BOTTOMTEXTURE.Name = "BottomTexture"
  529.         local TOPTEXTURE = DECAL:Clone()
  530.         TOPTEXTURE.Parent = RING
  531.         TOPTEXTURE.Face = "Top"
  532.         TOPTEXTURE.Name = "TopTexture"
  533.         local T = script.RingEmit:Clone()
  534.         T.Parent = RING
  535.         local LIGHT = IT("PointLight", RING)
  536.         if VARIANT == "Pheonix" then
  537.             BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617574752"
  538.             TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1617575377"
  539.             T.Color = ColorSequence.new(PHEONIXCOLOR)
  540.             CreateSound(462809305, RING, 5, 1, false)
  541.         elseif VARIANT == "Sun" then
  542.             BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217786509"
  543.             TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1217788749"
  544.             T.Color = ColorSequence.new(BRICKC("Bright orange").Color)
  545.             CreateSound(462809305, RING, 5, 1, false)
  546.             LIGHT.Color = BRICKC("Bright orange").Color
  547.         elseif VARIANT == "Fire" then
  548.             BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222222911"
  549.             TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=1222223218"
  550.             T.Color = ColorSequence.new(BRICKC("Bright orange").Color)
  551.             CreateSound(343211019, RING, 5, 1, false)
  552.             LIGHT.Color = C3(1, 0.3333333333333333, 0)
  553.         end
  554.         T.LightEmission = 1
  555.         T:Emit(5)
  556.         Debris:AddItem(T, 5)
  557.         return RING, WELD, MESH
  558.     end
  559. end
  560. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  561.     for _, c in pairs(PARENT:GetDescendants()) do
  562.         if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  563.             local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  564.             local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  565.             if DIST > (TORSO.Position - FROM).Magnitude then
  566.                 table.insert(TABLE, c)
  567.             end
  568.         end
  569.     end
  570. end
  571. local BACKATTACHMENT1 = IT("Attachment", Torso)
  572. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  573. local BACKATTACHMENT2 = IT("Attachment", Torso)
  574. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  575. local WINGS1 = script.Wing1
  576. WINGS1.EmissionDirection="Right"
  577. WINGS1.Size=NumberSequence.new(2)
  578. local WINGS1B = script.Wing1B
  579. WINGS1B.EmissionDirection="Right"
  580. WINGS1B.Size=NumberSequence.new(2)
  581. local WINGS2 = script.Wing2
  582. WINGS2.EmissionDirection="Left"
  583. WINGS2.Size=NumberSequence.new(2)
  584. local WINGS2B = script.Wing2B
  585. WINGS2B.EmissionDirection="Left"
  586. WINGS2B.Size=NumberSequence.new(2)
  587. WINGS1.Parent = BACKATTACHMENT1
  588. WINGS1.LockedToPart=true
  589. WINGS1B.Parent = BACKATTACHMENT1
  590. WINGS1B.LockedToPart=true
  591. WINGS2.Parent = BACKATTACHMENT2
  592. WINGS2.LockedToPart=true
  593. WINGS2B.Parent = BACKATTACHMENT2
  594. WINGS2B.LockedToPart=true
  595. local FACEATTACHMENT = IT("Attachment", Head)
  596. FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
  597. FACEATTACHMENT.Orientation = VT(0, 35, 0)
  598. local EYE = script.Eye1
  599. EYE.LockedToPart=true
  600. EYE.Parent = FACEATTACHMENT
  601. local EYE2 = script.Eye2
  602. EYE2.Parent = FACEATTACHMENT
  603. EYE2.LockedToPart=true
  604. local TRAIL1 = script.PheonixTrail:Clone()
  605. TRAIL1.LockedToPart=true
  606. TRAIL1.Size=NumberSequence.new(.01)
  607. TRAIL1.Parent = BACKATTACHMENT1
  608. local TRAIL2 = script.PheonixTrail:Clone()
  609. TRAIL2.LockedToPart=true
  610. TRAIL2.Parent = BACKATTACHMENT2
  611. TRAIL2.Size=NumberSequence.new(.01)
  612. local LIGHT = IT("PointLight", FACEATTACHMENT)
  613. LIGHT.Enabled = false
  614. LIGHT.Brightness = 5
  615. LIGHT.Range = 6
  616. Humanoid.Died:connect(function()
  617.     ATTACK = true
  618. end)
  619. function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant)
  620.     local defence = Instance.new("BoolValue", Humanoid.Parent)
  621.     defence.Name = "HitBy" .. Player.Name
  622.     game:GetService("Debris"):AddItem(defence, 0.001)
  623.     Damage = Damage * DAMAGEMULTIPLIER
  624.     if Humanoid.Health ~= 0 then
  625.         local CritChance = MRANDOM(1, 100)
  626.         if Damage > Humanoid.Health then
  627.             Damage = math.ceil(Humanoid.Health)
  628.             if Damage == 0 then
  629.                 Damage = 0.1
  630.             end
  631.         end
  632.         Humanoid.Health = Humanoid.Health - Damage
  633.         if AfterBurn == true then
  634.             Afterburn(Humanoid, Time, Damage / 5, Variant)
  635.         end
  636.     end
  637. end
  638. function Afterburn(Human, Time, Damage, Variant)
  639.     coroutine.resume(coroutine.create(function()
  640.         if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then
  641.             local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")
  642.             local FIRE
  643.             if Variant == "Pheonix" then
  644.                 FIRE = script.PheonixBurn:Clone()
  645.                 FIRE.Parent = Torso
  646.                 FIRE.Enabled = true
  647.             elseif Variant == "Sun" then
  648.                 FIRE = script.SunBurn:Clone()
  649.                 FIRE.Parent = Torso
  650.                 FIRE.Enabled = true
  651.             elseif Variant == "Fire" then
  652.                 FIRE = script.Burn:Clone()
  653.                 FIRE.Parent = Torso
  654.                 FIRE.Enabled = true
  655.             end
  656.             for i = 1, Time do
  657.                 wait(0.5)
  658.                 Human.Health = Human.Health - Damage
  659.             end
  660.             wait(0.25)
  661.             FIRE.Enabled = false
  662.             Debris:AddItem(FIRE, 1.5)
  663.         end
  664.     end))
  665. end
  666. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES)
  667.     local CHILDREN = workspace:GetChildren()
  668.     for index, CHILD in pairs(CHILDREN) do
  669.         if CHILD.ClassName == "Model" and CHILD ~= Character then
  670.             local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  671.             if HUM then
  672.                 local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  673.                 if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  674.                     local DMG = MRANDOM(MINDMG, MAXDMG)
  675.                     ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT)
  676.                     if HUM.MaxHealth == math.huge then
  677.                         CHILD:BreakJoints()
  678.                     end
  679.                     if DOESCAMSHAKE == true then
  680.                         local CAMSHAKER = script.CamShake:Clone()
  681.                         CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
  682.                         CAMSHAKER.Timer.Value = CAMVALUES.TIMER
  683.                         CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
  684.                         CAMSHAKER.Parent = CHILD
  685.                         CAMSHAKER.Disabled = false
  686.                     end
  687.                     if FLING > 0 then
  688.                         for _, c in pairs(CHILD:GetChildren()) do
  689.                             if c:IsA("BasePart") then
  690.                                 local bv = Instance.new("BodyVelocity")
  691.                                 bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  692.                                 bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  693.                                 bv.Parent = c
  694.                                 Debris:AddItem(bv, 0.05)
  695.                             end
  696.                         end
  697.                     end
  698.                 end
  699.             end
  700.         end
  701.     end
  702. end
  703. function ShootingStar()
  704.     ATTACK = true
  705.     Rooted = false
  706.     local GYRO = IT("BodyGyro", RootPart)
  707.     GYRO.D = 20
  708.     GYRO.P = 4000
  709.     GYRO.MaxTorque = VT(0, 40000, 0)
  710.     local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
  711.     coroutine.resume(coroutine.create(function()
  712.         for i = 1, 35 do
  713.             Swait()
  714.             MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  715.         end
  716.     end))
  717.     for i = 0, 1.8, 0.1 / Animation_Speed do
  718.         GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  719.         Swait()
  720.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  721.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  722.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  723.         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)
  724.         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)
  725.         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)
  726.     end
  727.     coroutine.resume(coroutine.create(function()
  728.         local POSITION = Mouse.Hit.p
  729.         local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
  730.         FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  731.         local FIRE = script.SunFireball:Clone()
  732.         FIRE.Parent = FIREBALL
  733.         FIRE.Enabled = true
  734.         local EXPLOSION = script.SunExplosion:Clone()
  735.         EXPLOSION.Parent = FIREBALL
  736.         CreateSound(463598785, FIREBALL, 5, 1, false)
  737.         local DISTANCE = (RootPart.Position - POSITION).Magnitude
  738.         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)
  739.         for i = 1, 75 do
  740.             Swait()
  741.             FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  742.         end
  743.         FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  744.         for i = 1, 300 do
  745.             Swait()
  746.             FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  747.             local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  748.             if HITFLOOR ~= nil then
  749.                 FIRE.Enabled = false
  750.                 EXPLOSION:Emit(500)
  751.                 CreateSound(416328540, FIREBALL, 5, 1, false)
  752.                 ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  753.                     SHAKE = 1,
  754.                     TIMER = 6,
  755.                     DOESFADE = true
  756.                 })
  757.                 WACKYEFFECT({
  758.                     EffectType = "Sphere",
  759.                     Size = VT(0, 0, 0),
  760.                     Size2 = VT(150, 150, 150),
  761.                     Transparency = 0,
  762.                     Transparency2 = 1,
  763.                     CFrame = CF(FIREBALL.Position),
  764.                     MoveToPos = nil,
  765.                     RotationX = 0,
  766.                     RotationY = 0,
  767.                     RotationZ = 0,
  768.                     Material = "Neon",
  769.                     Color = C3(1, 0.6666666666666666, 0),
  770.                     SoundID = nil,
  771.                     SoundPitch = nil,
  772.                     SoundVolume = nil
  773.                 })
  774.                 wait(5)
  775.                 break
  776.             end
  777.         end
  778.         FIREBALL:remove()
  779.     end))
  780.     GYRO:remove()
  781.     RING.Anchored = true
  782.     WELD:remove()
  783.     coroutine.resume(coroutine.create(function()
  784.         for i = 1, 35 do
  785.             Swait()
  786.             MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  787.         end
  788.         RING:remove()
  789.     end))
  790.     ATTACK = false
  791.     Rooted = false
  792. end
  793. function PheonixRage()
  794.     ATTACK = true
  795.     Rooted = true
  796.     local A = false
  797.     local B = false
  798.     local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix")
  799.     WELD:remove()
  800.     RING.Anchored = true
  801.     coroutine.resume(coroutine.create(function()
  802.         for i = 1, 45 do
  803.             Swait()
  804.             MESH.Scale = MESH.Scale + VT(15, 0, 15)
  805.         end
  806.     end))
  807.     coroutine.resume(coroutine.create(function()
  808.         repeat
  809.             Swait()
  810.             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)
  811.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  812.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  813.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  814.             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)
  815.             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)
  816.         until A == true
  817.         repeat
  818.             Swait()
  819.             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)
  820.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  821.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  822.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  823.             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)
  824.             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)
  825.         until B == true
  826.         for i = 1, 45 do
  827.             Swait()
  828.             MESH.Scale = MESH.Scale - VT(15, 0, 15)
  829.         end
  830.         RING:remove()
  831.     end))
  832.     wait(1)
  833.     for i = 1, 4 do
  834.         WACKYEFFECT({
  835.             EffectType = "Sphere",
  836.             Size = VT(45, 45, 45),
  837.             Size2 = VT(0, 0, 0),
  838.             Transparency = 1,
  839.             Transparency2 = 0.8,
  840.             CFrame = CF(Torso.Position),
  841.             MoveToPos = nil,
  842.             RotationX = 0,
  843.             RotationY = 0,
  844.             RotationZ = 0,
  845.             Material = "Neon",
  846.             Color = PHEONIXCOLOR,
  847.             SoundID = nil,
  848.             SoundPitch = nil,
  849.             SoundVolume = nil
  850.         })
  851.         wait(0.5)
  852.     end
  853.     A = true
  854.     ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  855.         SHAKE = 2,
  856.         TIMER = 25,
  857.         DOESFADE = true
  858.     })
  859.     WACKYEFFECT({
  860.         Time = 60,
  861.         EffectType = "Sphere",
  862.         Size = VT(40, 40, 40),
  863.         Size2 = VT(140, 140, 140),
  864.         Transparency = 0,
  865.         Transparency2 = 1,
  866.         CFrame = CF(Torso.Position),
  867.         MoveToPos = nil,
  868.         RotationX = 0,
  869.         RotationY = 0,
  870.         RotationZ = 0,
  871.         Material = "Neon",
  872.         Color = C3(1, 0.6666666666666666, 0),
  873.         SoundID = nil,
  874.         SoundPitch = nil,
  875.         SoundVolume = nil
  876.     })
  877.     WACKYEFFECT({
  878.         Time = 60,
  879.         EffectType = "Sphere",
  880.         Size = VT(50, 50, 50),
  881.         Size2 = VT(150, 150, 150),
  882.         Transparency = 0.5,
  883.         Transparency2 = 1,
  884.         CFrame = CF(Torso.Position),
  885.         MoveToPos = nil,
  886.         RotationX = 0,
  887.         RotationY = 0,
  888.         RotationZ = 0,
  889.         Material = "Neon",
  890.         Color = PHEONIXCOLOR,
  891.         SoundID = 462692971,
  892.         SoundPitch = 0.8,
  893.         SoundVolume = 6
  894.     })
  895.     local EXPLOSION = script.PheonixExplosion1:Clone()
  896.     EXPLOSION.Parent = Torso
  897.     EXPLOSION.Enabled = true
  898.     local EXPLOSION2 = script.PheonixExplosion2:Clone()
  899.     EXPLOSION2.Parent = Torso
  900.     EXPLOSION2.Enabled = true
  901.     wait(0.3)
  902.     EXPLOSION.Enabled = false
  903.     EXPLOSION2.Enabled = false
  904.     Debris:AddItem(EXPLOSION, 5)
  905.     Debris:AddItem(EXPLOSION2, 5)
  906.     wait(1)
  907.     B = true
  908.     ATTACK = false
  909.     Rooted = false
  910. end
  911. function Breath()
  912.     ATTACK = true
  913.     local POSITION = IT("BodyPosition", RootPart)
  914.     POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p
  915.     POSITION.D = 1250
  916.     POSITION.P = 40000
  917.     POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  918.     WINGS = true
  919.     local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  920.     coroutine.resume(coroutine.create(function()
  921.         for i = 1, 20 do
  922.             Swait()
  923.             MESH.Scale = MESH.Scale + VT(4, 0, 4)
  924.         end
  925.     end))
  926.     for i = 1, 25 do
  927.         Swait()
  928.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
  929.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  930.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  931.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  932.         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)
  933.         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)
  934.     end
  935.     local GYRO = IT("BodyGyro", RootPart)
  936.     GYRO.D = 20
  937.     GYRO.P = 4000
  938.     GYRO.MaxTorque = VT(0, 40000, 0)
  939.     coroutine.resume(coroutine.create(function()
  940.         repeat
  941.             Swait()
  942.             GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  943.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  944.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  945.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  946.             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)
  947.             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)
  948.             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)
  949.         until ATTACK == false
  950.         POSITION:remove()
  951.         GYRO:remove()
  952.         for i = 1, 20 do
  953.             Swait()
  954.             MESH.Scale = MESH.Scale - VT(4, 0, 4)
  955.         end
  956.         RING:remove()
  957.     end))
  958.     local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  959.     for i = 1, 35 do
  960.         Swait()
  961.         MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  962.     end
  963.     wait(0.3)
  964.     coroutine.resume(coroutine.create(function()
  965.         local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  966.         FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p)
  967.         local PARTICLES1 = script.PheonixFireball1:Clone()
  968.         PARTICLES1.Parent = FIREBALL
  969.         PARTICLES1.Enabled = true
  970.         local PARTICLES2 = script.PheonixFireball2:Clone()
  971.         PARTICLES2.Parent = FIREBALL
  972.         PARTICLES2.Enabled = true
  973.         CreateSound(463593339, FIREBALL, 6, 1, false)
  974.         for i = 1, 250 do
  975.             Swait()
  976.             local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  977.             FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  978.             if HIT then
  979.                 ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  980.                     SHAKE = 2,
  981.                     TIMER = 25,
  982.                     DOESFADE = true
  983.                 })
  984.                 WACKYEFFECT({
  985.                     Time = 60,
  986.                     EffectType = "Sphere",
  987.                     Size = VT(0, 0, 0),
  988.                     Size2 = VT(100, 100, 100),
  989.                     Transparency = 0,
  990.                     Transparency2 = 1,
  991.                     CFrame = CF(FIREBALL.Position),
  992.                     MoveToPos = nil,
  993.                     RotationX = 0,
  994.                     RotationY = 0,
  995.                     RotationZ = 0,
  996.                     Material = "Neon",
  997.                     Color = C3(1, 0.6666666666666666, 0),
  998.                     SoundID = nil,
  999.                     SoundPitch = nil,
  1000.                     SoundVolume = nil
  1001.                 })
  1002.                 WACKYEFFECT({
  1003.                     Time = 60,
  1004.                     EffectType = "Sphere",
  1005.                     Size = VT(0, 0, 0),
  1006.                     Size2 = VT(120, 120, 120),
  1007.                     Transparency = 0.5,
  1008.                     Transparency2 = 1,
  1009.                     CFrame = CF(FIREBALL.Position),
  1010.                     MoveToPos = nil,
  1011.                     RotationX = 0,
  1012.                     RotationY = 0,
  1013.                     RotationZ = 0,
  1014.                     Material = "Neon",
  1015.                     Color = PHEONIXCOLOR,
  1016.                     SoundID = 462692971,
  1017.                     SoundPitch = 1,
  1018.                     SoundVolume = 6
  1019.                 })
  1020.                 PARTICLES1.Enabled = false
  1021.                 PARTICLES2.Enabled = false
  1022.                 local EXPLOSION = script.PheonixExplosion1:Clone()
  1023.                 EXPLOSION.Parent = FIREBALL
  1024.                 EXPLOSION.Enabled = true
  1025.                 local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1026.                 EXPLOSION2.Parent = FIREBALL
  1027.                 EXPLOSION2.Enabled = true
  1028.                 wait(0.3)
  1029.                 EXPLOSION.Enabled = false
  1030.                 EXPLOSION2.Enabled = false
  1031.                 break
  1032.             end
  1033.         end
  1034.         PARTICLES1.Enabled = false
  1035.         PARTICLES2.Enabled = false
  1036.         Debris:AddItem(FIREBALL, 7)
  1037.     end))
  1038.     wait(0.3)
  1039.     coroutine.resume(coroutine.create(function()
  1040.         WELD:remove()
  1041.         RING.Anchored = true
  1042.         for i = 1, 35 do
  1043.             Swait()
  1044.             MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  1045.         end
  1046.         RING:remove()
  1047.     end))
  1048.     WINGS = false
  1049.     ATTACK = false
  1050. end
  1051. function ThreeShootingStars()
  1052.     ATTACK = true
  1053.     Rooted = false
  1054.     local POS1, POS2, POS3
  1055.     local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
  1056.     coroutine.resume(coroutine.create(function()
  1057.         for i = 1, 35 do
  1058.             Swait()
  1059.             MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  1060.         end
  1061.     end))
  1062.     coroutine.resume(coroutine.create(function()
  1063.         repeat
  1064.             Swait()
  1065.             if POS1 then
  1066.                 coroutine.resume(coroutine.create(function()
  1067.                     local POSITION = POS1
  1068.                     local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
  1069.                     FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  1070.                     local FIRE = script.SunFireball:Clone()
  1071.                     FIRE.Parent = FIREBALL
  1072.                     FIRE.Enabled = true
  1073.                     local EXPLOSION = script.SunExplosion:Clone()
  1074.                     EXPLOSION.Parent = FIREBALL
  1075.                     CreateSound(463598785, FIREBALL, 5, 1, false)
  1076.                     local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1077.                     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)
  1078.                     for i = 1, 75 do
  1079.                         Swait()
  1080.                         FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1081.                     end
  1082.                     FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  1083.                     for i = 1, 300 do
  1084.                         Swait()
  1085.                         FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1086.                         local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1087.                         if HITFLOOR ~= nil then
  1088.                             FIRE.Enabled = false
  1089.                             EXPLOSION:Emit(500)
  1090.                             CreateSound(416328540, FIREBALL, 5, 1, false)
  1091.                             ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  1092.                                 SHAKE = 1,
  1093.                                 TIMER = 6,
  1094.                                 DOESFADE = true
  1095.                             })
  1096.                             WACKYEFFECT({
  1097.                                 EffectType = "Sphere",
  1098.                                 Size = VT(0, 0, 0),
  1099.                                 Size2 = VT(150, 150, 150),
  1100.                                 Transparency = 0,
  1101.                                 Transparency2 = 1,
  1102.                                 CFrame = CF(FIREBALL.Position),
  1103.                                 MoveToPos = nil,
  1104.                                 RotationX = 0,
  1105.                                 RotationY = 0,
  1106.                                 RotationZ = 0,
  1107.                                 Material = "Neon",
  1108.                                 Color = C3(1, 0.6666666666666666, 0),
  1109.                                 SoundID = nil,
  1110.                                 SoundPitch = nil,
  1111.                                 SoundVolume = nil
  1112.                             })
  1113.                             wait(5)
  1114.                             break
  1115.                         end
  1116.                     end
  1117.                     FIREBALL:remove()
  1118.                 end))
  1119.                 POS1 = nil
  1120.             end
  1121.             if POS2 then
  1122.                 coroutine.resume(coroutine.create(function()
  1123.                     local POSITION = POS2
  1124.                     local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
  1125.                     FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  1126.                     local FIRE = script.SunFireball:Clone()
  1127.                     FIRE.Parent = FIREBALL
  1128.                     FIRE.Enabled = true
  1129.                     local EXPLOSION = script.SunExplosion:Clone()
  1130.                     EXPLOSION.Parent = FIREBALL
  1131.                     CreateSound(463598785, FIREBALL, 5, 1, false)
  1132.                     local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1133.                     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)
  1134.                     for i = 1, 75 do
  1135.                         Swait()
  1136.                         FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1137.                     end
  1138.                     FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  1139.                     for i = 1, 300 do
  1140.                         Swait()
  1141.                         FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1142.                         local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1143.                         if HITFLOOR ~= nil then
  1144.                             FIRE.Enabled = false
  1145.                             EXPLOSION:Emit(500)
  1146.                             CreateSound(416328540, FIREBALL, 5, 1, false)
  1147.                             ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  1148.                                 SHAKE = 1,
  1149.                                 TIMER = 6,
  1150.                                 DOESFADE = true
  1151.                             })
  1152.                             WACKYEFFECT({
  1153.                                 EffectType = "Sphere",
  1154.                                 Size = VT(0, 0, 0),
  1155.                                 Size2 = VT(150, 150, 150),
  1156.                                 Transparency = 0,
  1157.                                 Transparency2 = 1,
  1158.                                 CFrame = CF(FIREBALL.Position),
  1159.                                 MoveToPos = nil,
  1160.                                 RotationX = 0,
  1161.                                 RotationY = 0,
  1162.                                 RotationZ = 0,
  1163.                                 Material = "Neon",
  1164.                                 Color = C3(1, 0.6666666666666666, 0),
  1165.                                 SoundID = nil,
  1166.                                 SoundPitch = nil,
  1167.                                 SoundVolume = nil
  1168.                             })
  1169.                             wait(5)
  1170.                             break
  1171.                         end
  1172.                     end
  1173.                     FIREBALL:remove()
  1174.                 end))
  1175.                 POS2 = nil
  1176.             end
  1177.             if POS3 then
  1178.                 coroutine.resume(coroutine.create(function()
  1179.                     local POSITION = POS3
  1180.                     local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Fire", VT(3, 3, 3))
  1181.                     FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  1182.                     local FIRE = script.SunFireball:Clone()
  1183.                     FIRE.Parent = FIREBALL
  1184.                     FIRE.Enabled = true
  1185.                     local EXPLOSION = script.SunExplosion:Clone()
  1186.                     EXPLOSION.Parent = FIREBALL
  1187.                     CreateSound(463598785, FIREBALL, 5, 1, false)
  1188.                     local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1189.                     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)
  1190.                     for i = 1, 75 do
  1191.                         Swait()
  1192.                         FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1193.                     end
  1194.                     FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  1195.                     for i = 1, 300 do
  1196.                         Swait()
  1197.                         FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1198.                         local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1199.                         if HITFLOOR ~= nil then
  1200.                             FIRE.Enabled = false
  1201.                             EXPLOSION:Emit(500)
  1202.                             CreateSound(416328540, FIREBALL, 5, 1, false)
  1203.                             ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  1204.                                 SHAKE = 1,
  1205.                                 TIMER = 6,
  1206.                                 DOESFADE = true
  1207.                             })
  1208.                             WACKYEFFECT({
  1209.                                 EffectType = "Sphere",
  1210.                                 Size = VT(0, 0, 0),
  1211.                                 Size2 = VT(150, 150, 150),
  1212.                                 Transparency = 0,
  1213.                                 Transparency2 = 1,
  1214.                                 CFrame = CF(FIREBALL.Position),
  1215.                                 MoveToPos = nil,
  1216.                                 RotationX = 0,
  1217.                                 RotationY = 0,
  1218.                                 RotationZ = 0,
  1219.                                 Material = "Neon",
  1220.                                 Color = C3(1, 0.6666666666666666, 0),
  1221.                                 SoundID = nil,
  1222.                                 SoundPitch = nil,
  1223.                                 SoundVolume = nil
  1224.                             })
  1225.                             wait(5)
  1226.                             break
  1227.                         end
  1228.                     end
  1229.                     FIREBALL:remove()
  1230.                 end))
  1231.                 POS3 = nil
  1232.             end
  1233.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  1234.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  1235.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1236.             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)
  1237.             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)
  1238.             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)
  1239.         until ATTACK == false
  1240.     end))
  1241.     wait(0.4)
  1242.     POS1 = Mouse.Hit.p
  1243.     wait(0.5)
  1244.     POS2 = Mouse.Hit.p
  1245.     wait(0.6)
  1246.     POS3 = Mouse.Hit.p
  1247.     wait(0.3)
  1248.     RING.Anchored = true
  1249.     WELD:remove()
  1250.     coroutine.resume(coroutine.create(function()
  1251.         for i = 1, 35 do
  1252.             Swait()
  1253.             MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  1254.         end
  1255.         RING:remove()
  1256.     end))
  1257.     ATTACK = false
  1258.     Rooted = false
  1259. end
  1260. function PheonixFlare()
  1261.     ATTACK = true
  1262.     Rooted = false
  1263.     PARTICLES = true
  1264.     coroutine.resume(coroutine.create(function()
  1265.         repeat
  1266.             Swait()
  1267.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1268.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1269.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1270.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1271.             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)
  1272.             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)
  1273.         until ATTACK == false
  1274.     end))
  1275.     CreateSound(462676772, Torso, 7, 1, false)
  1276.     WINGS1.Acceleration = VT(9, 0, -12)
  1277.     WINGS1B.Acceleration = VT(9, 0, -12)
  1278.     WINGS2.Acceleration = VT(-9, 0, -12)
  1279.     WINGS2B.Acceleration = VT(-9, 0, -12)
  1280.     wait(0.25)
  1281.     coroutine.resume(coroutine.create(function()
  1282.         local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0))
  1283.         WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1284.         local PARTICLES = script.Gale:Clone()
  1285.         PARTICLES.Parent = WIND
  1286.         PARTICLES.Enabled = true
  1287.         CreateSound(376218535, WIND, 6, 1, false)
  1288.         for i = 1, 250 do
  1289.             Swait()
  1290.             local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
  1291.             WIND.CFrame = WIND.CFrame * CF(0, 0, -2)
  1292.             if HIT then
  1293.                 ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, {
  1294.                     SHAKE = 3,
  1295.                     TIMER = 7,
  1296.                     DOESFADE = true
  1297.                 })
  1298.                 CreateSound(260430117, WIND, 3, 1, false)
  1299.                 WACKYEFFECT({
  1300.                     Time = 25,
  1301.                     EffectType = "Wave",
  1302.                     Size = VT(20, 0, 20),
  1303.                     Size2 = VT(60, 8, 60),
  1304.                     Transparency = 0.9,
  1305.                     Transparency2 = 1,
  1306.                     CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)),
  1307.                     MoveToPos = nil,
  1308.                     RotationX = 0,
  1309.                     RotationY = 0,
  1310.                     RotationZ = 0,
  1311.                     Material = "Neon",
  1312.                     Color = C3(0.8, 0.8, 0.8),
  1313.                     SoundID = nil,
  1314.                     SoundPitch = nil,
  1315.                     SoundVolume = nil
  1316.                 })
  1317.                 WACKYEFFECT({
  1318.                     Time = 25,
  1319.                     EffectType = "Wave",
  1320.                     Size = VT(20, 0, 20),
  1321.                     Size2 = VT(60, 8, 60),
  1322.                     Transparency = 0.9,
  1323.                     Transparency2 = 1,
  1324.                     CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)),
  1325.                     MoveToPos = nil,
  1326.                     RotationX = 0,
  1327.                     RotationY = 0,
  1328.                     RotationZ = 0,
  1329.                     Material = "Neon",
  1330.                     Color = C3(0.8, 0.8, 0.8),
  1331.                     SoundID = nil,
  1332.                     SoundPitch = nil,
  1333.                     SoundVolume = nil
  1334.                 })
  1335.                 break
  1336.             end
  1337.         end
  1338.         PARTICLES.Enabled = false
  1339.         Debris:AddItem(WIND, 7)
  1340.     end))
  1341.     wait(1)
  1342.     CreateSound(462676772, Torso, 7, 1, false)
  1343.     WINGS1.Acceleration = VT(9, 1, 4)
  1344.     WINGS1B.Acceleration = VT(9, 1, 4)
  1345.     WINGS2.Acceleration = VT(-9, 1, 4)
  1346.     WINGS2B.Acceleration = VT(-9, 1, 4)
  1347.     wait(0.25)
  1348.     coroutine.resume(coroutine.create(function()
  1349.         local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  1350.         FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1351.         local PARTICLES1 = script.PheonixFireball1:Clone()
  1352.         PARTICLES1.Parent = FIREBALL
  1353.         PARTICLES1.Enabled = true
  1354.         local PARTICLES2 = script.PheonixFireball2:Clone()
  1355.         PARTICLES2.Parent = FIREBALL
  1356.         PARTICLES2.Enabled = true
  1357.         CreateSound(463593339, FIREBALL, 6, 1, false)
  1358.         for i = 1, 250 do
  1359.             Swait()
  1360.             local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1361.             FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1362.             if HIT then
  1363.                 ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  1364.                     SHAKE = 2,
  1365.                     TIMER = 25,
  1366.                     DOESFADE = true
  1367.                 })
  1368.                 WACKYEFFECT({
  1369.                     Time = 60,
  1370.                     EffectType = "Sphere",
  1371.                     Size = VT(0, 0, 0),
  1372.                     Size2 = VT(120, 120, 120),
  1373.                     Transparency = 0,
  1374.                     Transparency2 = 1,
  1375.                     CFrame = CF(FIREBALL.Position),
  1376.                     MoveToPos = nil,
  1377.                     RotationX = 0,
  1378.                     RotationY = 0,
  1379.                     RotationZ = 0,
  1380.                     Material = "Neon",
  1381.                     Color = C3(1, 0.6666666666666666, 0),
  1382.                     SoundID = nil,
  1383.                     SoundPitch = nil,
  1384.                     SoundVolume = nil
  1385.                 })
  1386.                 WACKYEFFECT({
  1387.                     Time = 60,
  1388.                     EffectType = "Sphere",
  1389.                     Size = VT(0, 0, 0),
  1390.                     Size2 = VT(140, 140, 140),
  1391.                     Transparency = 0.5,
  1392.                     Transparency2 = 1,
  1393.                     CFrame = CF(FIREBALL.Position),
  1394.                     MoveToPos = nil,
  1395.                     RotationX = 0,
  1396.                     RotationY = 0,
  1397.                     RotationZ = 0,
  1398.                     Material = "Neon",
  1399.                     Color = PHEONIXCOLOR,
  1400.                     SoundID = 462692971,
  1401.                     SoundPitch = 1,
  1402.                     SoundVolume = 6
  1403.                 })
  1404.                 PARTICLES1.Enabled = false
  1405.                 PARTICLES2.Enabled = false
  1406.                 local EXPLOSION = script.PheonixExplosion1:Clone()
  1407.                 EXPLOSION.Parent = FIREBALL
  1408.                 EXPLOSION.Enabled = true
  1409.                 local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1410.                 EXPLOSION2.Parent = FIREBALL
  1411.                 EXPLOSION2.Enabled = true
  1412.                 wait(0.3)
  1413.                 EXPLOSION.Enabled = false
  1414.                 EXPLOSION2.Enabled = false
  1415.                 break
  1416.             end
  1417.         end
  1418.         PARTICLES1.Enabled = false
  1419.         PARTICLES2.Enabled = false
  1420.         Debris:AddItem(FIREBALL, 7)
  1421.     end))
  1422.     wait(0.5)
  1423.     PARTICLES = false
  1424.     ATTACK = false
  1425.     Rooted = false
  1426. end
  1427. function PheonixFireballs()
  1428.     ATTACK = true
  1429.     local POWER = 1
  1430.     DIRECTTURN = true
  1431.     coroutine.resume(coroutine.create(function()
  1432.         repeat
  1433.             Swait()
  1434.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1435.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1436.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1437.             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)
  1438.             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)
  1439.             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)
  1440.         until ATTACK == false
  1441.     end))
  1442.     local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  1443.     local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  1444.     for i = 1, 35 do
  1445.         Swait()
  1446.         MESH1.Scale = MESH1.Scale + VT(6, 0, 6)
  1447.         MESH2.Scale = MESH2.Scale + VT(3, 0, 3)
  1448.     end
  1449.     repeat
  1450.         wait()
  1451.         POWER = POWER + 1
  1452.     until KEYHOLD == false
  1453.     if POWER <= 30 then
  1454.         for i = 1, 15 do
  1455.             wait(0.1)
  1456.             coroutine.resume(coroutine.create(function()
  1457.                 local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2))
  1458.                 FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1459.                 local PARTICLES1 = script.PheonixFireball1:Clone()
  1460.                 PARTICLES1.Parent = FIREBALL
  1461.                 PARTICLES1.Enabled = true
  1462.                 local PARTICLES2 = script.PheonixFireball2:Clone()
  1463.                 PARTICLES2.Parent = FIREBALL
  1464.                 PARTICLES2.Enabled = true
  1465.                 PARTICLES1.Size = NumberSequence.new(3, 0)
  1466.                 PARTICLES2.Size = NumberSequence.new(3, 0)
  1467.                 CreateSound(463593339, FIREBALL, 6, 1, false)
  1468.                 for i = 1, 250 do
  1469.                     Swait()
  1470.                     local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
  1471.                     FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1472.                     if HIT then
  1473.                         ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, {
  1474.                             SHAKE = 2,
  1475.                             TIMER = 25,
  1476.                             DOESFADE = true
  1477.                         })
  1478.                         WACKYEFFECT({
  1479.                             Time = 60,
  1480.                             EffectType = "Sphere",
  1481.                             Size = VT(0, 0, 0),
  1482.                             Size2 = VT(50, 50, 50),
  1483.                             Transparency = 0,
  1484.                             Transparency2 = 1,
  1485.                             CFrame = CF(FIREBALL.Position),
  1486.                             MoveToPos = nil,
  1487.                             RotationX = 0,
  1488.                             RotationY = 0,
  1489.                             RotationZ = 0,
  1490.                             Material = "Neon",
  1491.                             Color = C3(1, 0.6666666666666666, 0),
  1492.                             SoundID = nil,
  1493.                             SoundPitch = nil,
  1494.                             SoundVolume = nil
  1495.                         })
  1496.                         WACKYEFFECT({
  1497.                             Time = 60,
  1498.                             EffectType = "Sphere",
  1499.                             Size = VT(0, 0, 0),
  1500.                             Size2 = VT(60, 60, 60),
  1501.                             Transparency = 0.5,
  1502.                             Transparency2 = 1,
  1503.                             CFrame = CF(FIREBALL.Position),
  1504.                             MoveToPos = nil,
  1505.                             RotationX = 0,
  1506.                             RotationY = 0,
  1507.                             RotationZ = 0,
  1508.                             Material = "Neon",
  1509.                             Color = PHEONIXCOLOR,
  1510.                             SoundID = 462692971,
  1511.                             SoundPitch = 1,
  1512.                             SoundVolume = 6
  1513.                         })
  1514.                         PARTICLES1.Enabled = false
  1515.                         PARTICLES2.Enabled = false
  1516.                         local EXPLOSION = script.PheonixExplosion1:Clone()
  1517.                         EXPLOSION.Parent = FIREBALL
  1518.                         EXPLOSION.Enabled = true
  1519.                         local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1520.                         EXPLOSION2.Parent = FIREBALL
  1521.                         EXPLOSION2.Enabled = true
  1522.                         wait(0.3)
  1523.                         EXPLOSION.Enabled = false
  1524.                         EXPLOSION2.Enabled = false
  1525.                         break
  1526.                     end
  1527.                 end
  1528.                 PARTICLES1.Enabled = false
  1529.                 PARTICLES2.Enabled = false
  1530.                 Debris:AddItem(FIREBALL, 7)
  1531.             end))
  1532.         end
  1533.     else
  1534.         for E = 1, 5 do
  1535.             do
  1536.                 local OFFSET = ANGLES(RAD(72 * E), RAD(72 * E), RAD(0)) * CF(0, 0, 75)
  1537.                 coroutine.resume(coroutine.create(function()
  1538.                     local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  1539.                     FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p)
  1540.                     local PARTICLES1 = script.PheonixFireball1:Clone()
  1541.                     PARTICLES1.Parent = FIREBALL
  1542.                     PARTICLES1.Enabled = true
  1543.                     local PARTICLES2 = script.PheonixFireball2:Clone()
  1544.                     PARTICLES2.Parent = FIREBALL
  1545.                     PARTICLES2.Enabled = true
  1546.                     CreateSound(463593339, FIREBALL, 6, 1, false)
  1547.                     for i = 1, 650 do
  1548.                         Swait()
  1549.                         local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1550.                         FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1551.                         if HIT then
  1552.                             ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  1553.                                 SHAKE = 2,
  1554.                                 TIMER = 25,
  1555.                                 DOESFADE = true
  1556.                             })
  1557.                             WACKYEFFECT({
  1558.                                 Time = 60,
  1559.                                 EffectType = "Sphere",
  1560.                                 Size = VT(0, 0, 0),
  1561.                                 Size2 = VT(120, 120, 120),
  1562.                                 Transparency = 0,
  1563.                                 Transparency2 = 1,
  1564.                                 CFrame = CF(FIREBALL.Position),
  1565.                                 MoveToPos = nil,
  1566.                                 RotationX = 0,
  1567.                                 RotationY = 0,
  1568.                                 RotationZ = 0,
  1569.                                 Material = "Neon",
  1570.                                 Color = C3(1, 0.6666666666666666, 0),
  1571.                                 SoundID = nil,
  1572.                                 SoundPitch = nil,
  1573.                                 SoundVolume = nil
  1574.                             })
  1575.                             WACKYEFFECT({
  1576.                                 Time = 60,
  1577.                                 EffectType = "Sphere",
  1578.                                 Size = VT(0, 0, 0),
  1579.                                 Size2 = VT(140, 140, 140),
  1580.                                 Transparency = 0.5,
  1581.                                 Transparency2 = 1,
  1582.                                 CFrame = CF(FIREBALL.Position),
  1583.                                 MoveToPos = nil,
  1584.                                 RotationX = 0,
  1585.                                 RotationY = 0,
  1586.                                 RotationZ = 0,
  1587.                                 Material = "Neon",
  1588.                                 Color = PHEONIXCOLOR,
  1589.                                 SoundID = 462692971,
  1590.                                 SoundPitch = 1,
  1591.                                 SoundVolume = 6
  1592.                             })
  1593.                             PARTICLES1.Enabled = false
  1594.                             PARTICLES2.Enabled = false
  1595.                             local EXPLOSION = script.PheonixExplosion1:Clone()
  1596.                             EXPLOSION.Parent = FIREBALL
  1597.                             EXPLOSION.Enabled = true
  1598.                             local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1599.                             EXPLOSION2.Parent = FIREBALL
  1600.                             EXPLOSION2.Enabled = true
  1601.                             wait(0.3)
  1602.                             EXPLOSION.Enabled = false
  1603.                             EXPLOSION2.Enabled = false
  1604.                             break
  1605.                         end
  1606.                     end
  1607.                     PARTICLES1.Enabled = false
  1608.                     PARTICLES2.Enabled = false
  1609.                     Debris:AddItem(FIREBALL, 7)
  1610.                 end))
  1611.             end
  1612.         end
  1613.     end
  1614.     wait(0.5)
  1615.     WELD1:remove()
  1616.     WELD2:remove()
  1617.     RING1.Anchored = true
  1618.     RING2.Anchored = true
  1619.     coroutine.resume(coroutine.create(function()
  1620.         for i = 1, 35 do
  1621.             Swait()
  1622.             MESH1.Scale = MESH1.Scale - VT(6, 0, 6)
  1623.             MESH2.Scale = MESH2.Scale - VT(3, 0, 3)
  1624.         end
  1625.         RING1:remove()
  1626.         RING2:remove()
  1627.     end))
  1628.     DIRECTTURN = false
  1629.     ATTACK = false
  1630. end
  1631. function PheonixJump()
  1632.     local DONE = false
  1633.     local STRENGTH = 15
  1634.     local UP = 5
  1635.     ATTACK = true
  1636.     DIRECTTURN = true
  1637.     local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  1638.     for i = 1, 30 do
  1639.         Swait()
  1640.         MESH.Scale = MESH.Scale + VT(12, 0, 12)
  1641.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1642.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1643.         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)
  1644.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1645.         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)
  1646.         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)
  1647.     end
  1648.     local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  1649.         if NEWKEY == "w" and VALUE2 == false then
  1650.             coroutine.resume(coroutine.create(function()
  1651.                 ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  1652.                     SHAKE = 2,
  1653.                     TIMER = 15,
  1654.                     DOESFADE = true
  1655.                 })
  1656.                 WACKYEFFECT({
  1657.                     EffectType = "Sphere",
  1658.                     Size = VT(0, 0, 0),
  1659.                     Size2 = VT(50, 50, 50),
  1660.                     Transparency = 0,
  1661.                     Transparency2 = 1,
  1662.                     CFrame = CF(RING.Position),
  1663.                     MoveToPos = nil,
  1664.                     RotationX = 0,
  1665.                     RotationY = 0,
  1666.                     RotationZ = 0,
  1667.                     Material = "Neon",
  1668.                     Color = C3(1, 0.6666666666666666, 0),
  1669.                     SoundID = nil,
  1670.                     SoundPitch = nil,
  1671.                     SoundVolume = nil
  1672.                 })
  1673.                 WACKYEFFECT({
  1674.                     EffectType = "Sphere",
  1675.                     Size = VT(0, 0, 0),
  1676.                     Size2 = VT(70, 70, 70),
  1677.                     Transparency = 0.5,
  1678.                     Transparency2 = 1,
  1679.                     CFrame = CF(RING.Position),
  1680.                     MoveToPos = nil,
  1681.                     RotationX = 0,
  1682.                     RotationY = 0,
  1683.                     RotationZ = 0,
  1684.                     Material = "Neon",
  1685.                     Color = PHEONIXCOLOR,
  1686.                     SoundID = 462692971,
  1687.                     SoundPitch = 1.2,
  1688.                     SoundVolume = 6
  1689.                 })
  1690.                 local EXPLOSION = script.PheonixExplosion1:Clone()
  1691.                 EXPLOSION.Parent = RING
  1692.                 EXPLOSION.Enabled = true
  1693.                 local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1694.                 EXPLOSION2.Parent = RING
  1695.                 EXPLOSION2.Enabled = true
  1696.                 wait(0.3)
  1697.                 EXPLOSION.Enabled = false
  1698.                 EXPLOSION2.Enabled = false
  1699.                 Debris:AddItem(RING, 3)
  1700.             end))
  1701.             CreateSound(462676772, Torso, 8, 1, false)
  1702.             coroutine.resume(coroutine.create(function()
  1703.                 for i = 1, 25 do
  1704.                     Swait()
  1705.                     ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, {
  1706.                         SHAKE = 4,
  1707.                         TIMER = 5,
  1708.                         DOESFADE = true
  1709.                     })
  1710.                     WACKYEFFECT({
  1711.                         Time = 10,
  1712.                         EffectType = "Wave",
  1713.                         Size = VT(45, 5, 45) / 3,
  1714.                         Size2 = VT(35, 200, 35) / 5,
  1715.                         Transparency = 0.8,
  1716.                         Transparency2 = 1,
  1717.                         CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  1718.                         MoveToPos = nil,
  1719.                         RotationX = 0,
  1720.                         RotationY = 5,
  1721.                         RotationZ = 0,
  1722.                         Material = "Neon",
  1723.                         Color = C3(1, 0.6666666666666666, 0),
  1724.                         SoundID = nil,
  1725.                         SoundPitch = nil,
  1726.                         SoundVolume = nil
  1727.                     })
  1728.                     WACKYEFFECT({
  1729.                         Time = 10,
  1730.                         EffectType = "Wave",
  1731.                         Size = VT(55, 5, 55) / 3,
  1732.                         Size2 = VT(45, 200, 45) / 5,
  1733.                         Transparency = 0.8,
  1734.                         Transparency2 = 1,
  1735.                         CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  1736.                         MoveToPos = nil,
  1737.                         RotationX = 0,
  1738.                         RotationY = -5,
  1739.                         RotationZ = 0,
  1740.                         Material = "Neon",
  1741.                         Color = PHEONIXCOLOR,
  1742.                         SoundID = nil,
  1743.                         SoundPitch = nil,
  1744.                         SoundVolume = nil
  1745.                     })
  1746.                     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)
  1747.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1748.                     RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1749.                     LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1750.                     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)
  1751.                     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)
  1752.                 end
  1753.                 ATTACK = false
  1754.             end))
  1755.             repeat
  1756.                 VALUE2 = true
  1757.                 Swait()
  1758.                 BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p
  1759.                 if STRENGTH > 2.5 then
  1760.                     STRENGTH = STRENGTH - 0.1
  1761.                 else
  1762.                     STRENGTH = 2.5
  1763.                 end
  1764.                 if UP > 0 then
  1765.                     UP = UP - 0.15
  1766.                 else
  1767.                     UP = 0
  1768.                 end
  1769.             until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
  1770.             DONE = true
  1771.         end
  1772.     end)
  1773.     repeat
  1774.         Swait()
  1775.         if STRENGTH < 50 then
  1776.             STRENGTH = STRENGTH + 0.15
  1777.             MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5)
  1778.         end
  1779.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  1780.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  1781.         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)
  1782.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1783.         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)
  1784.         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)
  1785.     until VALUE2 == true
  1786.     DIRECTTURN = false
  1787.     WELD:remove()
  1788.     RING.Anchored = true
  1789.     local SIZE = MESH.Scale.X
  1790.     coroutine.resume(coroutine.create(function()
  1791.         for i = 1, 30 do
  1792.             Swait()
  1793.             MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30
  1794.         end
  1795.         RING:remove()
  1796.     end))
  1797.     repeat
  1798.         wait()
  1799.     until DONE == true
  1800.     KEYDOWN:disconnect()
  1801.     VALUE2 = false
  1802. end
  1803. function DragonFirePillar()
  1804.     ATTACK = true
  1805.     local POS = Mouse.Hit.p
  1806.     APPLYGYRO = false
  1807.     local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire")
  1808.     coroutine.resume(coroutine.create(function()
  1809.         repeat
  1810.             Swait()
  1811.             GYRO.CFrame = CF(RootPart.Position, POS)
  1812.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  1813.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  1814.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1815.             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)
  1816.             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)
  1817.             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)
  1818.         until ATTACK == false
  1819.     end))
  1820.     for i = 1, 40 do
  1821.         MESH.Scale = MESH.Scale + VT(4, 0, 4)
  1822.         Swait()
  1823.     end
  1824.     for i = 1, 6 do
  1825.         WACKYEFFECT({
  1826.             EffectType = "Sphere",
  1827.             Size = VT(35, 35, 35),
  1828.             Size2 = VT(0, 0, 0),
  1829.             Transparency = 1,
  1830.             Transparency2 = 0.5,
  1831.             CFrame = CF(POS),
  1832.             MoveToPos = nil,
  1833.             RotationX = 0,
  1834.             RotationY = 0,
  1835.             RotationZ = 0,
  1836.             Material = "Neon",
  1837.             Color = C3(1, 0.3333333333333333, 0),
  1838.             SoundID = nil,
  1839.             SoundPitch = nil,
  1840.             SoundVolume = nil
  1841.         })
  1842.         wait(1)
  1843.     end
  1844.     coroutine.resume(coroutine.create(function()
  1845.         coroutine.resume(coroutine.create(function()
  1846.             for i = 1, 30 do
  1847.                 Swait()
  1848.                 MESH.Scale = MESH.Scale - VT(4, 0, 4)
  1849.             end
  1850.             RING:remove()
  1851.         end))
  1852.         WACKYEFFECT({
  1853.             Time = 640,
  1854.             EffectType = "Sphere",
  1855.             Size = VT(15, 500, 15),
  1856.             Size2 = VT(10, 700, 10),
  1857.             Transparency = 0,
  1858.             Transparency2 = 1,
  1859.             CFrame = CF(POS),
  1860.             MoveToPos = nil,
  1861.             RotationX = 0,
  1862.             RotationY = 0,
  1863.             RotationZ = 0,
  1864.             Material = "Neon",
  1865.             Color = C3(1, 0.3333333333333333, 0),
  1866.             SoundID = nil,
  1867.             SoundPitch = nil,
  1868.             SoundVolume = nil
  1869.         })
  1870.         for i = 1, 15 do
  1871.             ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, {
  1872.                 SHAKE = 5,
  1873.                 TIMER = 6,
  1874.                 DOESFADE = true
  1875.             })
  1876.             WACKYEFFECT({
  1877.                 Time = 125,
  1878.                 EffectType = "Wave",
  1879.                 Size = VT(0, 5, 0),
  1880.                 Size2 = VT(250, 35, 250),
  1881.                 Transparency = 0.4,
  1882.                 Transparency2 = 1,
  1883.                 CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1884.                 MoveToPos = nil,
  1885.                 RotationX = 0,
  1886.                 RotationY = MRANDOM(-5, 5) * 2,
  1887.                 RotationZ = 0,
  1888.                 Material = "Neon",
  1889.                 Color = C3(1, 0.3333333333333333, 0),
  1890.                 SoundID = nil,
  1891.                 SoundPitch = MRANDOM(9, 11) / 10,
  1892.                 SoundVolume = 4
  1893.             })
  1894.             WACKYEFFECT({
  1895.                 Time = 75,
  1896.                 EffectType = "Swirl",
  1897.                 Size = VT(20, 20, 20),
  1898.                 Size2 = VT(65, 500, 65),
  1899.                 Transparency = 0.4,
  1900.                 Transparency2 = 1,
  1901.                 CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1902.                 MoveToPos = nil,
  1903.                 RotationX = 0,
  1904.                 RotationY = MRANDOM(-5, 5) * 6,
  1905.                 RotationZ = 0,
  1906.                 Material = "Neon",
  1907.                 Color = C3(1, 0.3333333333333333, 0),
  1908.                 SoundID = nil,
  1909.                 SoundPitch = MRANDOM(9, 11) / 10,
  1910.                 SoundVolume = 4
  1911.             })
  1912.             WACKYEFFECT({
  1913.                 Time = 75,
  1914.                 EffectType = "Swirl",
  1915.                 Size = VT(20, 20, 20),
  1916.                 Size2 = VT(45, 600, 45),
  1917.                 Transparency = 0.4,
  1918.                 Transparency2 = 1,
  1919.                 CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1920.                 MoveToPos = nil,
  1921.                 RotationX = 0,
  1922.                 RotationY = MRANDOM(-5, 5) * 6,
  1923.                 RotationZ = 0,
  1924.                 Material = "Neon",
  1925.                 Color = C3(1, 0.3333333333333333, 0),
  1926.                 SoundID = 304529688,
  1927.                 SoundPitch = MRANDOM(9, 11) / 10,
  1928.                 SoundVolume = 4
  1929.             })
  1930.             wait(0.6)
  1931.         end
  1932.     end))
  1933.     APPLYGYRO = true
  1934.     ATTACK = false
  1935. end
  1936. function PheonixTornado()
  1937.     ATTACK = true
  1938.     local BUILDUP = true
  1939.     local HITS = {}
  1940.     PARTICLES = true
  1941.     coroutine.resume(coroutine.create(function()
  1942.         repeat
  1943.             Swait()
  1944.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1945.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1946.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1947.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1948.             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)
  1949.             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)
  1950.         until BUILDUP == false
  1951.     end))
  1952.     WINGS1.Acceleration = VT(9, 0, -12)
  1953.     WINGS1B.Acceleration = VT(9, 0, -12)
  1954.     WINGS2.Acceleration = VT(-9, 0, -12)
  1955.     WINGS2B.Acceleration = VT(-9, 0, -12)
  1956.     wait(1)
  1957.     CreateSound(462676772, Torso, 7, 1, false)
  1958.     WINGS1.Acceleration = VT(9, 1, 4)
  1959.     WINGS1B.Acceleration = VT(9, 1, 4)
  1960.     WINGS2.Acceleration = VT(-9, 1, 4)
  1961.     WINGS2B.Acceleration = VT(-9, 1, 4)
  1962.     wait(0.25)
  1963.     AddChildrenToTable(Torso.Position, workspace, 35, HITS)
  1964.     WACKYEFFECT({
  1965.         Time = 40,
  1966.         EffectType = "Swirl",
  1967.         Size = VT(50, 5, 50),
  1968.         Size2 = VT(50, 60, 50),
  1969.         Transparency = 0.8,
  1970.         Transparency2 = 1,
  1971.         CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  1972.         MoveToPos = nil,
  1973.         RotationX = 0,
  1974.         RotationY = -5,
  1975.         RotationZ = 0,
  1976.         Material = "Neon",
  1977.         Color = C3(0.8, 0.8, 0.8),
  1978.         SoundID = nil,
  1979.         SoundPitch = nil,
  1980.         SoundVolume = nil
  1981.     })
  1982.     BUILDUP = false
  1983.     PARTICLES = false
  1984.     if #HITS > 0 then
  1985.         do
  1986.             local BODIES = {}
  1987.             if #HITS == 1 then
  1988.                 for i = 1, #HITS do
  1989.                     local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  1990.                     local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  1991.                     if HUM and TORSO and 0 < HUM.Health then
  1992.                         local POSITION = IT("BodyPosition", TORSO)
  1993.                         POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p
  1994.                         POSITION.D = 15
  1995.                         POSITION.P = 4000000
  1996.                         table.insert(BODIES, POSITION)
  1997.                     end
  1998.                 end
  1999.             else
  2000.                 for i = 1, #HITS do
  2001.                     local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  2002.                     local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  2003.                     if HUM and TORSO and 0 < HUM.Health then
  2004.                         local POSITION = IT("BodyPosition", TORSO)
  2005.                         POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p
  2006.                         POSITION.D = 450
  2007.                         POSITION.P = 40000
  2008.                         POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2009.                         table.insert(BODIES, POSITION)
  2010.                     end
  2011.                 end
  2012.             end
  2013.             local POS = RootPart.CFrame * CF(0, 35, -35).p
  2014.             wait(1.75)
  2015.             BODYPOS.D = 450
  2016.             BODYPOS.Position = POS
  2017.             wait(0.5)
  2018.             APPLYGYRO = false
  2019.             local E = 0
  2020.             CreateSound(1417056081, RootPart, 10, 0.5, false)
  2021.             for i = 1, 50 do
  2022.                 Swait()
  2023.                 E = E + 1
  2024.                 WACKYEFFECT({
  2025.                     Time = 25,
  2026.                     EffectType = "Wave",
  2027.                     Size = VT(45, 5, 45) / 3,
  2028.                     Size2 = VT(35, 200, 35) / 5,
  2029.                     Transparency = 0.8,
  2030.                     Transparency2 = 1,
  2031.                     CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  2032.                     MoveToPos = nil,
  2033.                     RotationX = 0,
  2034.                     RotationY = 5,
  2035.                     RotationZ = 0,
  2036.                     Material = "Neon",
  2037.                     Color = C3(1, 0.6666666666666666, 0),
  2038.                     SoundID = nil,
  2039.                     SoundPitch = nil,
  2040.                     SoundVolume = nil
  2041.                 })
  2042.                 WACKYEFFECT({
  2043.                     Time = 25,
  2044.                     EffectType = "Wave",
  2045.                     Size = VT(55, 5, 55) / 3,
  2046.                     Size2 = VT(45, 200, 45) / 5,
  2047.                     Transparency = 0.8,
  2048.                     Transparency2 = 1,
  2049.                     CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  2050.                     MoveToPos = nil,
  2051.                     RotationX = 0,
  2052.                     RotationY = -5,
  2053.                     RotationZ = 0,
  2054.                     Material = "Neon",
  2055.                     Color = PHEONIXCOLOR,
  2056.                     SoundID = nil,
  2057.                     SoundPitch = nil,
  2058.                     SoundVolume = nil
  2059.                 })
  2060.                 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)
  2061.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2062.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2063.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2064.                 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)
  2065.                 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)
  2066.             end
  2067.             local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0))
  2068.             TORNADO.CFrame = CF(POS)
  2069.             local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0))
  2070.             local DECAL = IT("Decal", TORNADO)
  2071.             DECAL.Texture = "rbxassetid://559849514"
  2072.             DECAL.Transparency = 1
  2073.             DECAL.Color3 = BRICKC("Deep orange").Color
  2074.             local LOOP = 0
  2075.             for i = 1, 250 do
  2076.                 Swait()
  2077.                 E = E + 1
  2078.                 LOOP = LOOP + 1
  2079.                 if LOOP == 10 then
  2080.                     LOOP = 0
  2081.                     ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, {
  2082.                         SHAKE = 2,
  2083.                         TIMER = 4,
  2084.                         DOESFADE = true
  2085.                     })
  2086.                 end
  2087.                 TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
  2088.                 DECAL.Transparency = DECAL.Transparency - 0.002
  2089.                 WACKYEFFECT({
  2090.                     Time = 25,
  2091.                     EffectType = "Wave",
  2092.                     Size = VT(45, 5, 45) / 3,
  2093.                     Size2 = VT(35, 200, 35) / 5,
  2094.                     Transparency = 0.8,
  2095.                     Transparency2 = 1,
  2096.                     CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  2097.                     MoveToPos = nil,
  2098.                     RotationX = 0,
  2099.                     RotationY = 5,
  2100.                     RotationZ = 0,
  2101.                     Material = "Neon",
  2102.                     Color = C3(1, 0.6666666666666666, 0),
  2103.                     SoundID = nil,
  2104.                     SoundPitch = nil,
  2105.                     SoundVolume = nil
  2106.                 })
  2107.                 WACKYEFFECT({
  2108.                     Time = 25,
  2109.                     EffectType = "Wave",
  2110.                     Size = VT(55, 5, 55) / 3,
  2111.                     Size2 = VT(45, 200, 45) / 5,
  2112.                     Transparency = 0.9,
  2113.                     Transparency2 = 1,
  2114.                     CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  2115.                     MoveToPos = nil,
  2116.                     RotationX = 0,
  2117.                     RotationY = -5,
  2118.                     RotationZ = 0,
  2119.                     Material = "Neon",
  2120.                     Color = PHEONIXCOLOR,
  2121.                     SoundID = nil,
  2122.                     SoundPitch = nil,
  2123.                     SoundVolume = nil
  2124.                 })
  2125.                 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)
  2126.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2127.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2128.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2129.                 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)
  2130.                 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)
  2131.             end
  2132.             for i = 1, #BODIES do
  2133.                 BODIES[i]:remove()
  2134.             end
  2135.             coroutine.resume(coroutine.create(function()
  2136.                 for i = 1, 25 do
  2137.                     Swait()
  2138.                     DECAL.Transparency = DECAL.Transparency + 0.02
  2139.                     TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
  2140.                 end
  2141.                 TORNADO:remove()
  2142.             end))
  2143.             for i = 1, 75 do
  2144.                 Swait()
  2145.                 E = E + 1
  2146.                 LOOP = LOOP + 1
  2147.                 TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
  2148.                 DECAL.Transparency = DECAL.Transparency - 0.002
  2149.                 WACKYEFFECT({
  2150.                     Time = 25,
  2151.                     EffectType = "Wave",
  2152.                     Size = VT(45, 5, 45) / 3,
  2153.                     Size2 = VT(35, 200, 35) / 5,
  2154.                     Transparency = 0.8,
  2155.                     Transparency2 = 1,
  2156.                     CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  2157.                     MoveToPos = nil,
  2158.                     RotationX = 0,
  2159.                     RotationY = 5,
  2160.                     RotationZ = 0,
  2161.                     Material = "Neon",
  2162.                     Color = C3(1, 0.6666666666666666, 0),
  2163.                     SoundID = nil,
  2164.                     SoundPitch = nil,
  2165.                     SoundVolume = nil
  2166.                 })
  2167.                 WACKYEFFECT({
  2168.                     Time = 25,
  2169.                     EffectType = "Wave",
  2170.                     Size = VT(55, 5, 55) / 3,
  2171.                     Size2 = VT(45, 200, 45) / 5,
  2172.                     Transparency = 0.8,
  2173.                     Transparency2 = 1,
  2174.                     CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  2175.                     MoveToPos = nil,
  2176.                     RotationX = 0,
  2177.                     RotationY = -5,
  2178.                     RotationZ = 0,
  2179.                     Material = "Neon",
  2180.                     Color = PHEONIXCOLOR,
  2181.                     SoundID = nil,
  2182.                     SoundPitch = nil,
  2183.                     SoundVolume = nil
  2184.                 })
  2185.                 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.6 * i, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(0)), 2 / Animation_Speed)
  2186.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2187.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2188.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2189.                 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)
  2190.                 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)
  2191.             end
  2192.             BODYPOS.D = 75
  2193.         end
  2194.     end
  2195.     APPLYGYRO = true
  2196.     ATTACK = false
  2197. end
  2198. function PheonixNuke()
  2199.     if Mouse.Target ~= nil then
  2200.         ATTACK = true
  2201.         Rooted = false
  2202.         BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0)
  2203.         BODYPOS.D = 700
  2204.         coroutine.resume(coroutine.create(function()
  2205.             repeat
  2206.                 Swait()
  2207.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2208.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2209.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2210.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2211.                 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)
  2212.                 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)
  2213.             until ATTACK == false
  2214.         end))
  2215.         wait(1.5)
  2216.         for i = 1, 4 do
  2217.             WACKYEFFECT({
  2218.                 EffectType = "Sphere",
  2219.                 Size = VT(125, 125, 125),
  2220.                 Size2 = VT(0, 0, 0),
  2221.                 Transparency = 1,
  2222.                 Transparency2 = 0.8,
  2223.                 CFrame = CF(Torso.Position),
  2224.                 MoveToPos = nil,
  2225.                 RotationX = 0,
  2226.                 RotationY = 0,
  2227.                 RotationZ = 0,
  2228.                 Material = "Neon",
  2229.                 Color = PHEONIXCOLOR,
  2230.                 SoundID = nil,
  2231.                 SoundPitch = nil,
  2232.                 SoundVolume = nil
  2233.             })
  2234.             wait(0.7)
  2235.         end
  2236.         PARTICLES = true
  2237.         WINGS1.Acceleration = VT(9, 3, 4)
  2238.         WINGS1B.Acceleration = VT(9, 3, 4)
  2239.         WINGS2.Acceleration = VT(-9, 3, 4)
  2240.         WINGS2B.Acceleration = VT(-9, 3, 4)
  2241.         wait(2)
  2242.         CreateSound(462676772, Torso, 8, 1, false)
  2243.         WINGS1.Acceleration = VT(9, -2, -12)
  2244.         WINGS1B.Acceleration = VT(9, -2, -12)
  2245.         WINGS2.Acceleration = VT(-9, -2, -12)
  2246.         WINGS2B.Acceleration = VT(-9, -2, -12)
  2247.         wait(1)
  2248.         for i = 1, 5 do
  2249.             local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  2250.             ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, {
  2251.                 SHAKE = 8,
  2252.                 TIMER = 25,
  2253.                 DOESFADE = true
  2254.             })
  2255.             for i = 1, 5 do
  2256.                 WACKYEFFECT({
  2257.                     Time = 120,
  2258.                     EffectType = "Swirl",
  2259.                     Size = VT(20, 20, 20),
  2260.                     Size2 = (VT(180, 180, 180) + VT(50, 50, 50) * i) * 2,
  2261.                     Transparency = 0.8,
  2262.                     Transparency2 = 1,
  2263.                     CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  2264.                     MoveToPos = nil,
  2265.                     RotationX = 0,
  2266.                     RotationY = 6 + i,
  2267.                     RotationZ = 0,
  2268.                     Material = "Neon",
  2269.                     Color = PHEONIXCOLOR,
  2270.                     SoundID = nil,
  2271.                     SoundPitch = nil,
  2272.                     SoundVolume = nil
  2273.                 })
  2274.             end
  2275.             WACKYEFFECT({
  2276.                 Time = 80,
  2277.                 EffectType = "Sphere",
  2278.                 Size = VT(40, 40, 40),
  2279.                 Size2 = VT(240, 240, 240) * 2,
  2280.                 Transparency = 0,
  2281.                 Transparency2 = 1,
  2282.                 CFrame = CF(Torso.Position),
  2283.                 MoveToPos = nil,
  2284.                 RotationX = 0,
  2285.                 RotationY = 0,
  2286.                 RotationZ = 0,
  2287.                 Material = "Neon",
  2288.                 Color = C3(1, 0.6666666666666666, 0),
  2289.                 SoundID = nil,
  2290.                 SoundPitch = 1,
  2291.                 SoundVolume = 8
  2292.             })
  2293.             WACKYEFFECT({
  2294.                 Time = 80,
  2295.                 EffectType = "Sphere",
  2296.                 Size = VT(50, 50, 50),
  2297.                 Size2 = VT(250, 250, 250) * 2,
  2298.                 Transparency = 0.5,
  2299.                 Transparency2 = 1,
  2300.                 CFrame = CF(Torso.Position),
  2301.                 MoveToPos = nil,
  2302.                 RotationX = 0,
  2303.                 RotationY = 0,
  2304.                 RotationZ = 0,
  2305.                 Material = "Neon",
  2306.                 Color = PHEONIXCOLOR,
  2307.                 SoundID = nil,
  2308.                 SoundPitch = 0.7,
  2309.                 SoundVolume = 10
  2310.             })
  2311.             local EXPLOSION = script.PheonixExplosion1:Clone()
  2312.             EXPLOSION.Parent = Torso
  2313.             EXPLOSION.Enabled = true
  2314.             local EXPLOSION2 = script.PheonixExplosion2:Clone()
  2315.             EXPLOSION2.Parent = Torso
  2316.             EXPLOSION2.Enabled = true
  2317.             EXPLOSION.Drag = -5
  2318.             EXPLOSION2.Drag = -5
  2319.             EXPLOSION:Emit(100)
  2320.             EXPLOSION2:Emit(100)
  2321.             CreateSound(462692971, Effects, 2, 1, false)
  2322.             for i = 1, 5 do
  2323.                 wait()
  2324.                 WACKYEFFECT({
  2325.                     Time = 40,
  2326.                     EffectType = "Wave",
  2327.                     Size = VT(20, 0, 20),
  2328.                     Size2 = (VT(160, 6, 160) + VT(50, 4, 50) * i) * 2,
  2329.                     Transparency = 0.8,
  2330.                     Transparency2 = 1,
  2331.                     CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  2332.                     MoveToPos = nil,
  2333.                     RotationX = 0,
  2334.                     RotationY = -12 + i,
  2335.                     RotationZ = 0,
  2336.                     Material = "Neon",
  2337.                     Color = C3(1, 0.6666666666666666, 0),
  2338.                     SoundID = nil,
  2339.                     SoundPitch = nil,
  2340.                     SoundVolume = nil
  2341.                 })
  2342.                 WACKYEFFECT({
  2343.                     Time = 40,
  2344.                     EffectType = "Wave",
  2345.                     Size = VT(20, 0, 20),
  2346.                     Size2 = (VT(180, 6, 180) + VT(50, 5, 50) * i) * 2,
  2347.                     Transparency = 0.8,
  2348.                     Transparency2 = 1,
  2349.                     CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  2350.                     MoveToPos = nil,
  2351.                     RotationX = 0,
  2352.                     RotationY = -12 + i,
  2353.                     RotationZ = 0,
  2354.                     Material = "Neon",
  2355.                     Color = PHEONIXCOLOR,
  2356.                     SoundID = nil,
  2357.                     SoundPitch = nil,
  2358.                     SoundVolume = nil
  2359.                 })
  2360.             end
  2361.             EXPLOSION.Enabled = false
  2362.             EXPLOSION2.Enabled = false
  2363.             Debris:AddItem(EXPLOSION, 5)
  2364.             Debris:AddItem(EXPLOSION2, 5)
  2365.             wait(0.4)
  2366.         end
  2367.         wait(0.6)
  2368.         PARTICLES = false
  2369.         BODYPOS.D = 75
  2370.         ATTACK = false
  2371.         Rooted = false
  2372.     end
  2373. end
  2374. function MouseDown(Mouse)
  2375.     if ATTACK == false then
  2376.     end
  2377. end
  2378. function MouseUp(Mouse)
  2379.     HOLD = false
  2380. end
  2381. function KeyDown(Key)
  2382.     KEYHOLD = true
  2383.     if EQUIPPED == true then
  2384.         if FLIGHT == false then
  2385.             if Key == "z" and ATTACK == false then
  2386.                 ShootingStar()
  2387.             end
  2388.             if Key == "b" and ATTACK == false then
  2389.                 Breath()
  2390.             end
  2391.             if Key == "c" and ATTACK == false then
  2392.                 PheonixRage()
  2393.             end
  2394.             if Key == "q" and ATTACK == false then
  2395.                 FLIGHT = true
  2396.                 GYRO = IT("BodyGyro", RootPart)
  2397.                 GYRO.D = 75
  2398.                 GYRO.P = 40000
  2399.                 GYRO.MaxTorque = VT(40000, 40000, 40000)
  2400.                 GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
  2401.                 BODYPOS = Instance.new("BodyPosition", RootPart)
  2402.                 BODYPOS.D = 100
  2403.                 BODYPOS.P = 20000
  2404.                 BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2405.                 BODYPOS.position = RootPart.Position + VT(0, 3, 0)
  2406.                 do
  2407.                     local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  2408.                     FLIGHTRING = RING
  2409.                     coroutine.resume(coroutine.create(function()
  2410.                         for i = 1, 40 do
  2411.                             Swait()
  2412.                             MESH.Scale = MESH.Scale + VT(4, 0, 4)
  2413.                         end
  2414.                     end))
  2415.                     PheonixJump()
  2416.                 end
  2417.             end
  2418.         elseif FLIGHT == true then
  2419.             if Key == "z" and ATTACK == false and VALUE2 == false then
  2420.                 ThreeShootingStars()
  2421.             end
  2422.             if Key == "b" and ATTACK == false and VALUE2 == false then
  2423.                 PheonixFlare()
  2424.             end
  2425.             if Key == "g" and ATTACK == false and VALUE2 == false then
  2426.                 DragonFirePillar()
  2427.             end
  2428.             if Key == "v" and ATTACK == false and VALUE2 == false then
  2429.                 PheonixTornado()
  2430.             end
  2431.             if Key == "x" and ATTACK == false and VALUE2 == false then
  2432.                 PheonixNuke()
  2433.             end
  2434.             if Key == "q" and ATTACK == false and VALUE2 == false then
  2435.                 FLIGHT = false
  2436.                 coroutine.resume(coroutine.create(function()
  2437.                     if FLIGHTRING then
  2438.                         local MSH = FLIGHTRING.Mesh
  2439.                         local RING = FLIGHTRING
  2440.                         for i = 1, 40 do
  2441.                             Swait()
  2442.                             MSH.Scale = MSH.Scale - VT(4, 0, 4)
  2443.                         end
  2444.                         RING:remove()
  2445.                     end
  2446.                 end))
  2447.             end
  2448.             if Key == "c" and ATTACK == false and VALUE2 == false then
  2449.                 PheonixJump()
  2450.             end
  2451.             if Key == "e" and ATTACK == false and VALUE2 == false then
  2452.                 PheonixFireballs()()
  2453.             end
  2454.             if Key == "w" and ATTACK == false and VALUE2 == false then
  2455.                 repeat
  2456.                     VALUE2 = true
  2457.                     Swait()
  2458.                     BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p
  2459.                 until KEYHOLD == false
  2460.                 VALUE2 = false
  2461.             end
  2462.         end
  2463.     end
  2464.     if Key == "f" and ATTACK == false and FLIGHT == false then
  2465.         if EQUIPPED == false then
  2466.             EQUIPPED = true
  2467.             EYE.Enabled = true
  2468.             EYE2.Enabled = true
  2469.             sick:Play()
  2470.         sick.Pitch = 0.95
  2471.         sick.Volume = .1
  2472.  
  2473.         else
  2474.             EQUIPPED = false
  2475.             FLIGHT = false
  2476.             EYE.Enabled = false
  2477.             EYE2.Enabled = false
  2478.             sick:Stop()
  2479.         end
  2480.     end
  2481.     if string.byte(Key) == 50 and ATTACK == false then
  2482.         if Speed == 16 then
  2483.             Speed = 45
  2484.         elseif Speed == 45 then
  2485.             Speed = 16
  2486.         end
  2487.     end
  2488. end
  2489. function KeyUp(Key)
  2490.     KEYHOLD = false
  2491. end
  2492. Mouse.Button1Down:connect(function(NEWKEY)
  2493.     MouseDown(NEWKEY)
  2494. end)
  2495. Mouse.Button1Up:connect(function(NEWKEY)
  2496.     MouseUp(NEWKEY)
  2497. end)
  2498. Mouse.KeyDown:connect(function(NEWKEY)
  2499.     KeyDown(NEWKEY)
  2500. end)
  2501. Mouse.KeyUp:connect(function(NEWKEY)
  2502.     KeyUp(NEWKEY)
  2503. end)
  2504. function unanchor()
  2505.     if UNANCHOR == true then
  2506.         g = Character:GetChildren()
  2507.         for i = 1, #g do
  2508.             if g[i].ClassName == "Part" then
  2509.                 g[i].Anchored = false
  2510.             end
  2511.         end
  2512.     end
  2513. end
  2514. Humanoid.Changed:connect(function(Jump)
  2515.     if Jump == "Jump" and Disable_Jump == true then
  2516.         Humanoid.Jump = false
  2517.     end
  2518. end)
  2519. local LOOP = 0
  2520. local TWIST = true
  2521. while true do
  2522.     Swait()
  2523.     script.Parent = WEAPONGUI
  2524.     ANIMATE.Parent = nil
  2525.     for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  2526.         v:Stop()
  2527.     end
  2528.     SINE = SINE + CHANGE
  2529.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2530.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2531.     local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
  2532.     local WALKSPEEDVALUE = 5
  2533.     if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
  2534.         if Humanoid.WalkSpeed <= 20 then
  2535.             RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2536.             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)
  2537.             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)
  2538.             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)
  2539.         else
  2540.             RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2.6))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 / Animation_Speed)
  2541.             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.6))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2542.             RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), -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)
  2543.             LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE * 1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE * 2.6), 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)
  2544.         end
  2545.     elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then
  2546.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2547.         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)
  2548.         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)
  2549.         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)
  2550.     end
  2551.     if FLIGHT == false then
  2552.         if GYRO ~= nil then
  2553.             GYRO:remove()
  2554.         end
  2555.         if BODYPOS ~= nil then
  2556.             BODYPOS:remove()
  2557.         end
  2558.         if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2559.             ANIM = "Jump"
  2560.             if ATTACK == false then
  2561.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2562.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2563.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2564.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2565.                 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)
  2566.                 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)
  2567.             end
  2568.         elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2569.             ANIM = "Fall"
  2570.             if ATTACK == false then
  2571.                 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2572.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2573.                 RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2574.                 LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2575.                 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)
  2576.                 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)
  2577.             end
  2578.         elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2579.             ANIM = "Idle"
  2580.             if ATTACK == false then
  2581.                 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)
  2582.                 Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2583.                 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)
  2584.                 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)
  2585.                 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)
  2586.                 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)
  2587.             end
  2588.         elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2589.             ANIM = "Walk"
  2590.             if ATTACK == false then
  2591.                 if Humanoid.WalkSpeed <= 30 then
  2592.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2593.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2594.                     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)
  2595.                     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)
  2596.                     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)
  2597.                     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)
  2598.                 elseif Humanoid.WalkSpeed > 30 then
  2599.                     RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2600.                     Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2601.                     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)
  2602.                     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)
  2603.                     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)
  2604.                     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)
  2605.                 end
  2606.             end
  2607.         end
  2608.     elseif FLIGHT == true then
  2609.         if APPLYGYRO == true then
  2610.             if VALUE2 == false and DIRECTTURN == false then
  2611.                 if GYRO ~= nil then
  2612.                     GYRO.MaxTorque = VT(0, 40000, 0)
  2613.                     GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2614.                 end
  2615.             elseif GYRO ~= nil then
  2616.                 GYRO.MaxTorque = VT(40000, 40000, 40000)
  2617.                 GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2618.             end
  2619.         end
  2620.         if VALUE2 == false and ATTACK == false then
  2621.             ANIM = "IdleFlight"
  2622.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2623.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2624.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2625.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2626.             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)
  2627.             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)
  2628.         elseif VALUE2 == true and ATTACK == false then
  2629.             ANIM = "Flight"
  2630.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  2631.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2632.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2633.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2634.             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)
  2635.             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)
  2636.         end
  2637.     end
  2638.     local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  2639.     local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  2640.     if PARTICLES == false then
  2641.         WINGS1.Acceleration = ACCEL1
  2642.         WINGS1B.Acceleration = ACCEL1
  2643.         WINGS2.Acceleration = ACCEL2
  2644.         WINGS2B.Acceleration = ACCEL2
  2645.     end
  2646.     if FLIGHT == true or WINGS == true then
  2647.         WINGS1.Enabled = true
  2648.         WINGS1B.Enabled = true
  2649.         WINGS2.Enabled = true
  2650.         WINGS2B.Enabled = true
  2651.     else
  2652.         WINGS1.Enabled = false
  2653.         WINGS1B.Enabled = false
  2654.         WINGS2.Enabled = false
  2655.         WINGS2B.Enabled = false
  2656.     end
  2657.     unanchor()
  2658.     TRAIL1.Enabled = FLIGHT
  2659.     TRAIL2.Enabled = FLIGHT
  2660.     LIGHT.Enabled = EQUIPPED
  2661.     Humanoid.MaxHealth = "inf"
  2662.     Humanoid.Health = "inf"
  2663.     if Rooted == false and FLIGHT == false then
  2664.         Disable_Jump = false
  2665.         Humanoid.WalkSpeed = Speed
  2666.     elseif Rooted == true or FLIGHT == true then
  2667.         Disable_Jump = true
  2668.         Humanoid.WalkSpeed = 0
  2669.     end
  2670.  
  2671.     if FLIGHT == true then
  2672.         sick.Pitch = 1
  2673.         sick.Volume = 1.5
  2674.         LOOP = LOOP + 1
  2675.         if LOOP >= 10 then
  2676.             local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2677.             if HITFLOOR then
  2678.                 local DISTANCE = (RootPart.Position - HITPOS).Magnitude
  2679.                 local SIZE = (26 - DISTANCE) * 2
  2680.                 if TWIST == true then
  2681.                     TWIST = false
  2682.                     WACKYEFFECT({
  2683.                         Time = 25,
  2684.                         EffectType = "Wave",
  2685.                         Size = VT(SIZE / 2, 0, SIZE / 2),
  2686.                         Size2 = VT(SIZE, 6, SIZE),
  2687.                         Transparency = 0.6,
  2688.                         Transparency2 = 1,
  2689.                         CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  2690.                         MoveToPos = nil,
  2691.                         RotationX = 0,
  2692.                         RotationY = 15,
  2693.                         RotationZ = 0,
  2694.                         Material = "Neon",
  2695.                         Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  2696.                         SoundID = nil,
  2697.                         SoundPitch = nil,
  2698.                         SoundVolume = nil
  2699.                     })
  2700.                 else
  2701.                     TWIST = true
  2702.                     WACKYEFFECT({
  2703.                         Time = 25,
  2704.                         EffectType = "Wave",
  2705.                         Size = VT(SIZE / 2, 0, SIZE / 2),
  2706.                         Size2 = VT(SIZE, 6, SIZE),
  2707.                         Transparency = 0.6,
  2708.                         Transparency2 = 1,
  2709.                         CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  2710.                         MoveToPos = nil,
  2711.                         RotationX = 0,
  2712.                         RotationY = -15,
  2713.                         RotationZ = 0,
  2714.                         Material = "Neon",
  2715.                         Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  2716.                         SoundID = nil,
  2717.                         SoundPitch = nil,
  2718.                         SoundVolume = nil
  2719.                     })
  2720.                 end
  2721.                 LOOP = 0
  2722.             end
  2723.         end
  2724.     else
  2725. end
  2726.     sick.Parent = Character
  2727.     Humanoid.Name = "WarPheonix"
  2728. end
  2729.  
  2730. end))
  2731. ParticleEmitter1.Name = "RingEmit"
  2732. ParticleEmitter1.Parent = LocalScript0
  2733. ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1)
  2734. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  2735. ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0)
  2736. ParticleEmitter1.Enabled = false
  2737. ParticleEmitter1.LightEmission = 1
  2738. ParticleEmitter1.Texture = "rbxassetid://1493478120"
  2739. ParticleEmitter1.ZOffset = 1
  2740. ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  2741. ParticleEmitter1.Rate = 5
  2742. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  2743. ParticleEmitter2.Name = "Wing1"
  2744. ParticleEmitter2.Parent = LocalScript0
  2745. ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  2746. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  2747. ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  2748. ParticleEmitter2.Enabled = false
  2749. ParticleEmitter2.LightEmission = 1
  2750. ParticleEmitter2.Texture = "rbxassetid://296874871"
  2751. ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
  2752. ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
  2753. ParticleEmitter2.Rate = 300
  2754. ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
  2755. ParticleEmitter2.Speed = NumberRange.new(4, 4)
  2756. ParticleEmitter2.VelocitySpread = 35
  2757. ParticleEmitter3.Name = "SunFireball"
  2758. ParticleEmitter3.Parent = LocalScript0
  2759. ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2760. ParticleEmitter3.Rotation = NumberRange.new(0, 360)
  2761. ParticleEmitter3.Size = NumberSequence.new(10,8.125,5.6875,1.1250001192093,0)
  2762. ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2763. ParticleEmitter3.Enabled = false
  2764. ParticleEmitter3.LightEmission = 0.75
  2765. ParticleEmitter3.Texture = "rbxassetid://296874871"
  2766. ParticleEmitter3.ZOffset = 0.20000000298023
  2767. ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0)
  2768. ParticleEmitter3.Lifetime = NumberRange.new(1, 1)
  2769. ParticleEmitter3.Rate = 300
  2770. ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56)
  2771. ParticleEmitter3.Speed = NumberRange.new(3, 3)
  2772. ParticleEmitter3.VelocitySpread = 360
  2773. ParticleEmitter3.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2774. ParticleEmitter4.Name = "SunExplosion"
  2775. ParticleEmitter4.Parent = LocalScript0
  2776. ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2777. ParticleEmitter4.Rotation = NumberRange.new(0, 360)
  2778. ParticleEmitter4.Size = NumberSequence.new(5,7.875,7.875,5.3125,0)
  2779. ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2780. ParticleEmitter4.Enabled = false
  2781. ParticleEmitter4.LightEmission = 0.75
  2782. ParticleEmitter4.Texture = "rbxassetid://296874871"
  2783. ParticleEmitter4.ZOffset = 0.20000000298023
  2784. ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0)
  2785. ParticleEmitter4.Lifetime = NumberRange.new(0, 3)
  2786. ParticleEmitter4.Rate = 300
  2787. ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56)
  2788. ParticleEmitter4.Speed = NumberRange.new(150, 350)
  2789. ParticleEmitter4.VelocitySpread = 360
  2790. ParticleEmitter4.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2791. ParticleEmitter5.Name = "SunBurn"
  2792. ParticleEmitter5.Parent = LocalScript0
  2793. ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2794. ParticleEmitter5.Rotation = NumberRange.new(0, 360)
  2795. ParticleEmitter5.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  2796. ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2797. ParticleEmitter5.Enabled = false
  2798. ParticleEmitter5.LightEmission = 0.75
  2799. ParticleEmitter5.Texture = "rbxassetid://296874871"
  2800. ParticleEmitter5.ZOffset = 0.5
  2801. ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0)
  2802. ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
  2803. ParticleEmitter5.Rate = 300
  2804. ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56)
  2805. ParticleEmitter5.Speed = NumberRange.new(1, 1)
  2806. ParticleEmitter5.VelocitySpread = 360
  2807. ParticleEmitter5.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2808. ParticleEmitter6.Name = "PheonixBurn"
  2809. ParticleEmitter6.Parent = LocalScript0
  2810. ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2811. ParticleEmitter6.Rotation = NumberRange.new(0, 360)
  2812. ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  2813. ParticleEmitter6.Enabled = false
  2814. ParticleEmitter6.LightEmission = 1
  2815. ParticleEmitter6.Texture = "rbxassetid://296874871"
  2816. ParticleEmitter6.ZOffset = 0.5
  2817. ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0)
  2818. ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
  2819. ParticleEmitter6.Rate = 300
  2820. ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
  2821. ParticleEmitter6.Speed = NumberRange.new(1, 1)
  2822. ParticleEmitter6.VelocitySpread = 360
  2823. ParticleEmitter7.Name = "PheonixExplosion1"
  2824. ParticleEmitter7.Parent = LocalScript0
  2825. ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2826. ParticleEmitter7.Rotation = NumberRange.new(0, 360)
  2827. ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0)
  2828. ParticleEmitter7.Enabled = false
  2829. ParticleEmitter7.LightEmission = 1
  2830. ParticleEmitter7.Texture = "rbxassetid://296874871"
  2831. ParticleEmitter7.ZOffset = 0.20000000298023
  2832. ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0)
  2833. ParticleEmitter7.Lifetime = NumberRange.new(0, 3)
  2834. ParticleEmitter7.Rate = 600
  2835. ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56)
  2836. ParticleEmitter7.Speed = NumberRange.new(50, 50)
  2837. ParticleEmitter7.VelocitySpread = 360
  2838. ParticleEmitter8.Name = "PheonixExplosion2"
  2839. ParticleEmitter8.Parent = LocalScript0
  2840. ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2841. ParticleEmitter8.Rotation = NumberRange.new(0, 360)
  2842. ParticleEmitter8.Size = NumberSequence.new(4,4)
  2843. ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2844. ParticleEmitter8.Enabled = false
  2845. ParticleEmitter8.LightEmission = 0.69999998807907
  2846. ParticleEmitter8.ZOffset = 0.20000000298023
  2847. ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0)
  2848. ParticleEmitter8.Lifetime = NumberRange.new(0, 3)
  2849. ParticleEmitter8.Rate = 300
  2850. ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56)
  2851. ParticleEmitter8.Speed = NumberRange.new(70, 70)
  2852. ParticleEmitter8.VelocitySpread = 360
  2853. ParticleEmitter8.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2854. LocalScript9.Name = "CamShake"
  2855. LocalScript9.Parent = LocalScript0
  2856. LocalScript9.Disabled = true
  2857. NumberValue10.Name = "Timer"
  2858. NumberValue10.Parent = LocalScript9
  2859. NumberValue10.Value = 35
  2860. NumberValue11.Name = "Shake"
  2861. NumberValue11.Parent = LocalScript9
  2862. NumberValue11.Value = 5
  2863. BoolValue12.Name = "DoesFade"
  2864. BoolValue12.Parent = LocalScript9
  2865. ParticleEmitter13.Name = "Gale"
  2866. ParticleEmitter13.Parent = LocalScript0
  2867. ParticleEmitter13.Transparency = NumberSequence.new(1,0.91256833076477,0.83606559038162,0.81967210769653,1)
  2868. ParticleEmitter13.Rotation = NumberRange.new(0, 360)
  2869. ParticleEmitter13.Size = NumberSequence.new(8,6)
  2870. ParticleEmitter13.Enabled = false
  2871. ParticleEmitter13.Texture = "rbxassetid://1614893149"
  2872. ParticleEmitter13.Lifetime = NumberRange.new(1, 1)
  2873. ParticleEmitter13.Rate = 50
  2874. ParticleEmitter13.Speed = NumberRange.new(0, 0)
  2875. ParticleEmitter14.Name = "PheonixFireball1"
  2876. ParticleEmitter14.Parent = LocalScript0
  2877. ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2878. ParticleEmitter14.Rotation = NumberRange.new(0, 360)
  2879. ParticleEmitter14.Size = NumberSequence.new(6.625,4.625,3.4375,1.3124996423721,0)
  2880. ParticleEmitter14.Enabled = false
  2881. ParticleEmitter14.LightEmission = 1
  2882. ParticleEmitter14.Texture = "rbxassetid://296874871"
  2883. ParticleEmitter14.ZOffset = 0.5
  2884. ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  2885. ParticleEmitter14.Rate = 1000
  2886. ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
  2887. ParticleEmitter14.Speed = NumberRange.new(4, 4)
  2888. ParticleEmitter14.VelocitySpread = 360
  2889. ParticleEmitter15.Name = "PheonixFireball2"
  2890. ParticleEmitter15.Parent = LocalScript0
  2891. ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2892. ParticleEmitter15.Rotation = NumberRange.new(0, 360)
  2893. ParticleEmitter15.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0)
  2894. ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2895. ParticleEmitter15.Enabled = false
  2896. ParticleEmitter15.LightEmission = 0.69999998807907
  2897. ParticleEmitter15.ZOffset = 1
  2898. ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  2899. ParticleEmitter15.Rate = 300
  2900. ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
  2901. ParticleEmitter15.Speed = NumberRange.new(4, 4)
  2902. ParticleEmitter15.VelocitySpread = 360
  2903. ParticleEmitter15.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2904. ParticleEmitter16.Name = "Wing2"
  2905. ParticleEmitter16.Parent = LocalScript0
  2906. ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  2907. ParticleEmitter16.Rotation = NumberRange.new(0, 360)
  2908. ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  2909. ParticleEmitter16.Enabled = false
  2910. ParticleEmitter16.LightEmission = 1
  2911. ParticleEmitter16.Texture = "rbxassetid://296874871"
  2912. ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
  2913. ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
  2914. ParticleEmitter16.Rate = 300
  2915. ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
  2916. ParticleEmitter16.Speed = NumberRange.new(4, 4)
  2917. ParticleEmitter16.VelocitySpread = 35
  2918. ParticleEmitter17.Name = "Wing1B"
  2919. ParticleEmitter17.Parent = LocalScript0
  2920. ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  2921. ParticleEmitter17.Rotation = NumberRange.new(0, 360)
  2922. ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  2923. ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2924. ParticleEmitter17.Enabled = false
  2925. ParticleEmitter17.LightEmission = 0.69999998807907
  2926. ParticleEmitter17.ZOffset = 0.20000000298023
  2927. ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
  2928. ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  2929. ParticleEmitter17.Rate = 150
  2930. ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
  2931. ParticleEmitter17.Speed = NumberRange.new(4, 4)
  2932. ParticleEmitter17.VelocitySpread = 35
  2933. ParticleEmitter17.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2934. ParticleEmitter18.Name = "Eye1"
  2935. ParticleEmitter18.EmissionDirection="Right"
  2936. ParticleEmitter18.Parent = LocalScript0
  2937. ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1)
  2938. ParticleEmitter18.Rotation = NumberRange.new(0, 360)
  2939. ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0)
  2940. ParticleEmitter18.Enabled = false
  2941. ParticleEmitter18.LightEmission = 0.75
  2942. ParticleEmitter18.Texture = "rbxassetid://296874871"
  2943. ParticleEmitter18.ZOffset = 0.20000000298023
  2944. ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6)
  2945. ParticleEmitter18.Lifetime = NumberRange.new(1, 1)
  2946. ParticleEmitter18.Rate = 300
  2947. ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
  2948. ParticleEmitter18.VelocitySpread = 5
  2949. ParticleEmitter19.Name = "Eye2"
  2950. ParticleEmitter19.Parent = LocalScript0
  2951. ParticleEmitter19.EmissionDirection="Right"
  2952. ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1)
  2953. ParticleEmitter19.Rotation = NumberRange.new(0, 360)
  2954. ParticleEmitter19.Size = NumberSequence.new(0.65573811531067,0.2732241153717,0)
  2955. ParticleEmitter19.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2956. ParticleEmitter19.Enabled = false
  2957. ParticleEmitter19.LightEmission = 0.75
  2958. ParticleEmitter19.ZOffset = 0.30000001192093
  2959. ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6)
  2960. ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5)
  2961. ParticleEmitter19.Rate = 300
  2962. ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
  2963. ParticleEmitter19.VelocitySpread = 5
  2964. ParticleEmitter19.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2965. ParticleEmitter20.Name = "Wing2B"
  2966. ParticleEmitter20.Parent = LocalScript0
  2967. ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  2968. ParticleEmitter20.Rotation = NumberRange.new(0, 360)
  2969. ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  2970. ParticleEmitter20.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2971. ParticleEmitter20.Enabled = false
  2972. ParticleEmitter20.LightEmission = 0.69999998807907
  2973. ParticleEmitter20.ZOffset = 0.20000000298023
  2974. ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
  2975. ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  2976. ParticleEmitter20.Rate = 150
  2977. ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
  2978. ParticleEmitter20.Speed = NumberRange.new(4, 4)
  2979. ParticleEmitter20.VelocitySpread = 35
  2980. ParticleEmitter20.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
  2981. ParticleEmitter21.Name = "Burn"
  2982. ParticleEmitter21.Parent = LocalScript0
  2983. ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2984. ParticleEmitter21.Rotation = NumberRange.new(0, 360)
  2985. ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0)
  2986. ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  2987. ParticleEmitter21.Enabled = false
  2988. ParticleEmitter21.LightEmission = 0.75
  2989. ParticleEmitter21.Texture = "rbxassetid://296874871"
  2990. ParticleEmitter21.ZOffset = 0.5
  2991. ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0)
  2992. ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
  2993. ParticleEmitter21.Rate = 300
  2994. ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56)
  2995. ParticleEmitter21.Speed = NumberRange.new(1, 1)
  2996. ParticleEmitter21.VelocitySpread = 360
  2997. ParticleEmitter21.Color = ColorSequence.new(Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  2998. ParticleEmitter22.Name = "PheonixTrail"
  2999. ParticleEmitter22.Parent = LocalScript0
  3000. ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  3001. ParticleEmitter22.Rotation = NumberRange.new(0, 360)
  3002. ParticleEmitter22.Size = NumberSequence.new(0.49180328845978,0.4371589422226,0)
  3003. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  3004. ParticleEmitter22.Enabled = false
  3005. ParticleEmitter22.LightEmission = 0.75
  3006. ParticleEmitter22.Texture = "rbxassetid://296874871"
  3007. ParticleEmitter22.ZOffset = 0.5
  3008. ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
  3009. ParticleEmitter22.Rate = 300
  3010. ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56)
  3011. ParticleEmitter22.Speed = NumberRange.new(0, 0)
  3012. ParticleEmitter22.VelocitySpread = 360
  3013. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  3014. for i,v in pairs(mas:GetChildren()) do
  3015.     v.Parent = game:GetService("Lighting")
  3016.     pcall(function() v:MakeJoints() end)
  3017. end
  3018. mas:Destroy()
  3019. for i,v in pairs(cors) do
  3020.     spawn(function()
  3021.         pcall(v)
  3022.     end)
  3023. end
Add Comment
Please, Sign In to add comment