NASA960

Filtering Enabled The Rising Phoenix

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