Advertisement
Mz_TH_edit

solo;p;p;;p;;p;pp;;hahaha

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