zombieslayerwtf

Pheonix [Leaked]

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