Advertisement
Guest User

PHOENIX

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