Advertisement
GojiGaming1337

Untitled

May 26th, 2018
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 116.12 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. it = Instance.new
  45.  
  46. wait(0.2)
  47. Player = game:GetService("Players").LocalPlayer
  48. PlayerGui = Player.PlayerGui
  49. Cam = workspace.CurrentCamera
  50. Backpack = Player.Backpack
  51. Character = Player.Character
  52. Humanoid = Character.Humanoid
  53. Mouse = Player:GetMouse()
  54. RootPart = Character.HumanoidRootPart
  55. Torso = Character.Torso
  56. Head = Character.Head
  57. RightArm = Character["Right Arm"]
  58. LeftArm = Character["Left Arm"]
  59. RightLeg = Character["Right Leg"]
  60. LeftLeg = Character["Left Leg"]
  61. RootJoint = RootPart.RootJoint
  62. Neck = Torso.Neck
  63. RightShoulder = Torso["Right Shoulder"]
  64. LeftShoulder = Torso["Left Shoulder"]
  65. RightHip = Torso["Right Hip"]
  66. LeftHip = Torso["Left Hip"]
  67. local sick = Instance.new("Sound", Character)
  68. sick.SoundId = "rbxassetid://1604456093"
  69. sick.Looped = true
  70. IT = Instance.new
  71. CF = CFrame.new
  72. VT = Vector3.new
  73. RAD = math.rad
  74. C3 = Color3.new
  75. UD2 = UDim2.new
  76. BRICKC = BrickColor.new
  77. ANGLES = CFrame.Angles
  78. EULER = CFrame.fromEulerAnglesXYZ
  79. COS = math.cos
  80. ACOS = math.acos
  81. SIN = math.sin
  82. ASIN = math.asin
  83. ABS = math.abs
  84. MRANDOM = math.random
  85. FLOOR = math.floor
  86.  
  87. local 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 Crimson Phoenix"
  112. tecks2.Font = "Fantasy"
  113. tecks2.TextSize = 48
  114. tecks2.TextStrokeTransparency = 0
  115. tecks2.TextColor3 = Color3.new(0,0,0)
  116. tecks2.TextStrokeColor3 = Color3.new(188/255, 0, 0)
  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 = "Godzilla"
  132. tecks3.Font = "Fantasy"
  133. tecks3.TextSize = 32
  134. tecks3.TextStrokeTransparency = 1
  135. tecks3.TextColor3 = Color3.new(125/255,0,0)
  136. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  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, 0, 0)
  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(0, 0, 0)
  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=338413386"
  551. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=338413386"
  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=341153149"
  556. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=341153149"
  557. T.Color = ColorSequence.new(BRICKC("Persimmon").Color)
  558. CreateSound(462809305, RING, 5, 1, false)
  559. LIGHT.Color = BRICKC("Persimmon").Color
  560. elseif VARIANT == "Fire" then
  561. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=352764483"
  562. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=352764483"
  563. T.Color = ColorSequence.new(BRICKC("Persimmon").Color)
  564. CreateSound(343211019, RING, 5, 1, false)
  565. LIGHT.Color = C3(1, 0.1, 0.1)
  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, "Crimson", "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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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, "Crimson", "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(0.6666666666666666, 0, 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, "Crimson", "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(0.6666666666666666, 0, 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, "Crimson", "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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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("Terra Cotta").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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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(0.6666666666666666, 0, 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. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  2388. local gui = it(GuiType)
  2389. gui.Parent = parent
  2390. gui.Text = text
  2391. gui.BackgroundTransparency = backtrans
  2392. gui.BackgroundColor3 = backcol
  2393. gui.SizeConstraint = "RelativeXY"
  2394. gui.TextXAlignment = "Center"
  2395. gui.TextYAlignment = "Center"
  2396. gui.Position = pos
  2397. gui.Size = size
  2398. gui.Font = "SourceSans"
  2399. gui.FontSize = "Size14"
  2400. gui.TextWrapped = false
  2401. gui.TextStrokeTransparency = 0
  2402. gui.TextColor = BrickColor.new("White")
  2403. return gui
  2404. end
  2405. ---- GUI set
  2406. local basgui = it("GuiMain")
  2407. basgui.Parent = Player.PlayerGui
  2408. basgui.Name = "CooldownsGUI"
  2409. local basframe = it("Frame")
  2410. basframe.Parent = basgui
  2411. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  2412. basframe.BackgroundTransparency = 1
  2413. basframe.BorderColor3 = Color3.new(17, 17, 17)
  2414. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  2415. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  2416. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  2417. basicgui.ZIndex = 2
  2418. basicgui.Font = "Highway"
  2419. basicgui.BackgroundTransparency = 0.5
  2420. basicgui.BorderSizePixel = 0.65
  2421. basicgui.TextScaled = true
  2422. basicgui.Text = "(F)\nToggle On"
  2423. basicgui.TextSize = 24
  2424. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  2425. basicgui2.ZIndex = 2
  2426. basicgui2.Font = "Highway"
  2427. basicgui2.BackgroundTransparency = 0.5
  2428. basicgui2.BorderSizePixel = 0.65
  2429. basicgui2.TextScaled = true
  2430. basicgui2.Text = "(E)\n(Flight) Phoenix Fire"
  2431. basicgui2.TextSize = 24
  2432. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  2433. basicgui3.ZIndex = 2
  2434. basicgui3.Font = "Highway"
  2435. basicgui3.BackgroundTransparency = 0.5
  2436. basicgui3.BorderSizePixel = 0.65
  2437. basicgui3.TextScaled = true
  2438. basicgui3.Text = "(X)\n(Flight) Phoenix Nuke"
  2439. basicgui3.TextSize = 24
  2440. local basicgui7 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.125, 0, 0.45, 0), UDim2.new(0.45, 0, 0.35, 0))
  2441. basicgui7.ZIndex = 2
  2442. basicgui7.Font = "Highway"
  2443. basicgui7.BackgroundTransparency = 0.5
  2444. basicgui7.BorderSizePixel = 0.65
  2445. basicgui7.TextScaled = true
  2446. basicgui7.Text = "(C)\n(Normal) Phoenix Explosion"
  2447. basicgui7.TextSize = 24
  2448. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  2449. basicgui4.ZIndex = 2
  2450. basicgui4.Font = "Highway"
  2451. basicgui4.BackgroundTransparency = 0.5
  2452. basicgui4.BorderSizePixel = 0.65
  2453. basicgui4.TextScaled = true
  2454. basicgui4.Text = "(B)\nPhoenix Breath"
  2455. basicgui4.TextSize = 24
  2456. local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  2457. basicgui5.ZIndex = 2
  2458. basicgui5.Font = "Highway"
  2459. basicgui5.BackgroundTransparency = 0.5
  2460. basicgui5.BorderSizePixel = 0.65
  2461. basicgui5.TextScaled = true
  2462. basicgui5.Text = "(Q)\nToggle Flight Mode"
  2463. basicgui5.TextSize = 24
  2464. local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Really black").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  2465. basicgui6.ZIndex = 2
  2466. basicgui6.Font = "Highway"
  2467. basicgui6.BackgroundTransparency = 0.5
  2468. basicgui6.BorderSizePixel = 0.65
  2469. basicgui6.TextScaled = true
  2470. basicgui6.Text = "(Z)\nShooting Star(s)"
  2471. basicgui6.TextSize = 24
  2472.  
  2473. function MouseDown(Mouse)
  2474. if ATTACK == false then
  2475. end
  2476. end
  2477. function MouseUp(Mouse)
  2478. HOLD = false
  2479. end
  2480. function KeyDown(Key)
  2481. KEYHOLD = true
  2482. if EQUIPPED == true then
  2483. if FLIGHT == false then
  2484. if Key == "z" and ATTACK == false then
  2485. ShootingStar()
  2486. end
  2487. if Key == "b" and ATTACK == false then
  2488. Breath()
  2489. end
  2490. if Key == "c" and ATTACK == false then
  2491. PheonixRage()
  2492. end
  2493. if Key == "q" and ATTACK == false then
  2494. FLIGHT = true
  2495. GYRO = IT("BodyGyro", RootPart)
  2496. GYRO.D = 75
  2497. GYRO.P = 40000
  2498. GYRO.MaxTorque = VT(40000, 40000, 40000)
  2499. GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
  2500. BODYPOS = Instance.new("BodyPosition", RootPart)
  2501. BODYPOS.D = 100
  2502. BODYPOS.P = 20000
  2503. BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2504. BODYPOS.position = RootPart.Position + VT(0, 3, 0)
  2505. do
  2506. local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  2507. FLIGHTRING = RING
  2508. coroutine.resume(coroutine.create(function()
  2509. for i = 1, 40 do
  2510. Swait()
  2511. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  2512. end
  2513. end))
  2514. PheonixJump()
  2515. end
  2516. end
  2517. elseif FLIGHT == true then
  2518. if Key == "z" and ATTACK == false and VALUE2 == false then
  2519. ThreeShootingStars()
  2520. end
  2521. if Key == "b" and ATTACK == false and VALUE2 == false then
  2522. PheonixFlare()
  2523. end
  2524. if Key == "g" and ATTACK == false and VALUE2 == false then
  2525. DragonFirePillar()
  2526. end
  2527. if Key == "v" and ATTACK == false and VALUE2 == false then
  2528. PheonixTornado()
  2529. end
  2530. if Key == "x" and ATTACK == false and VALUE2 == false then
  2531. PheonixNuke()
  2532. end
  2533. if Key == "q" and ATTACK == false and VALUE2 == false then
  2534. FLIGHT = false
  2535. coroutine.resume(coroutine.create(function()
  2536. if FLIGHTRING then
  2537. local MSH = FLIGHTRING.Mesh
  2538. local RING = FLIGHTRING
  2539. for i = 1, 40 do
  2540. Swait()
  2541. MSH.Scale = MSH.Scale - VT(4, 0, 4)
  2542. end
  2543. RING:remove()
  2544. end
  2545. end))
  2546. end
  2547. if Key == "c" and ATTACK == false and VALUE2 == false then
  2548. PheonixJump()
  2549. end
  2550. if Key == "e" and ATTACK == false and VALUE2 == false then
  2551. PheonixFireballs()()
  2552. end
  2553. if Key == "w" and ATTACK == false and VALUE2 == false then
  2554. repeat
  2555. VALUE2 = true
  2556. Swait()
  2557. BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p
  2558. until KEYHOLD == false
  2559. VALUE2 = false
  2560. end
  2561. end
  2562. end
  2563. if Key == "f" and ATTACK == false and FLIGHT == false then
  2564. if EQUIPPED == false then
  2565. EQUIPPED = true
  2566. EYE.Enabled = true
  2567. EYE2.Enabled = true
  2568. sick:Play()
  2569. sick.Pitch = 0.95
  2570. sick.Volume = .1
  2571.  
  2572. else
  2573. EQUIPPED = false
  2574. FLIGHT = false
  2575. EYE.Enabled = false
  2576. EYE2.Enabled = false
  2577. sick:Stop()
  2578. end
  2579. end
  2580. if string.byte(Key) == 50 and ATTACK == false then
  2581. if Speed == 16 then
  2582. Speed = 45
  2583. elseif Speed == 45 then
  2584. Speed = 16
  2585. end
  2586. end
  2587. end
  2588. function KeyUp(Key)
  2589. KEYHOLD = false
  2590. end
  2591. Mouse.Button1Down:connect(function(NEWKEY)
  2592. MouseDown(NEWKEY)
  2593. end)
  2594. Mouse.Button1Up:connect(function(NEWKEY)
  2595. MouseUp(NEWKEY)
  2596. end)
  2597. Mouse.KeyDown:connect(function(NEWKEY)
  2598. KeyDown(NEWKEY)
  2599. end)
  2600. Mouse.KeyUp:connect(function(NEWKEY)
  2601. KeyUp(NEWKEY)
  2602. end)
  2603. function unanchor()
  2604. if UNANCHOR == true then
  2605. g = Character:GetChildren()
  2606. for i = 1, #g do
  2607. if g[i].ClassName == "Part" then
  2608. g[i].Anchored = false
  2609. end
  2610. end
  2611. end
  2612. end
  2613. Humanoid.Changed:connect(function(Jump)
  2614. if Jump == "Jump" and Disable_Jump == true then
  2615. Humanoid.Jump = false
  2616. end
  2617. end)
  2618. local LOOP = 0
  2619. local TWIST = true
  2620. while true do
  2621. Swait()
  2622. script.Parent = WEAPONGUI
  2623. ANIMATE.Parent = nil
  2624. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  2625. v:Stop()
  2626. end
  2627. SINE = SINE + CHANGE
  2628. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2629. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2630. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
  2631. local WALKSPEEDVALUE = 5
  2632. if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
  2633. if Humanoid.WalkSpeed <= 20 then
  2634. 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)
  2635. 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)
  2636. 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)
  2637. 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)
  2638. else
  2639. 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)
  2640. 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)
  2641. 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)
  2642. 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)
  2643. end
  2644. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then
  2645. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2646. 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)
  2647. 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)
  2648. 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)
  2649. end
  2650. if FLIGHT == false then
  2651. if GYRO ~= nil then
  2652. GYRO:remove()
  2653. end
  2654. if BODYPOS ~= nil then
  2655. BODYPOS:remove()
  2656. end
  2657. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2658. ANIM = "Jump"
  2659. if ATTACK == false then
  2660. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2661. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2662. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2663. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2664. 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)
  2665. 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)
  2666. end
  2667. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2668. ANIM = "Fall"
  2669. if ATTACK == false then
  2670. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2671. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2672. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2673. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2674. 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)
  2675. 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)
  2676. end
  2677. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2678. ANIM = "Idle"
  2679. if ATTACK == false then
  2680. 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)
  2681. 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)
  2682. 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)
  2683. 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)
  2684. 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)
  2685. 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)
  2686. end
  2687. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2688. ANIM = "Walk"
  2689. if ATTACK == false then
  2690. if Humanoid.WalkSpeed <= 30 then
  2691. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2692. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2693. 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)
  2694. 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)
  2695. 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)
  2696. 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)
  2697. elseif Humanoid.WalkSpeed > 30 then
  2698. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2699. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2700. 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)
  2701. 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)
  2702. 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)
  2703. 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)
  2704. end
  2705. end
  2706. end
  2707. elseif FLIGHT == true then
  2708. if APPLYGYRO == true then
  2709. if VALUE2 == false and DIRECTTURN == false then
  2710. if GYRO ~= nil then
  2711. GYRO.MaxTorque = VT(0, 40000, 0)
  2712. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2713. end
  2714. elseif GYRO ~= nil then
  2715. GYRO.MaxTorque = VT(40000, 40000, 40000)
  2716. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  2717. end
  2718. end
  2719. if VALUE2 == false and ATTACK == false then
  2720. ANIM = "IdleFlight"
  2721. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2725. 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)
  2726. 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)
  2727. elseif VALUE2 == true and ATTACK == false then
  2728. ANIM = "Flight"
  2729. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  2730. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2731. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2732. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2733. 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)
  2734. 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)
  2735. end
  2736. end
  2737. local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  2738. local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  2739. if PARTICLES == false then
  2740. WINGS1.Acceleration = ACCEL1
  2741. WINGS1B.Acceleration = ACCEL1
  2742. WINGS2.Acceleration = ACCEL2
  2743. WINGS2B.Acceleration = ACCEL2
  2744. end
  2745. if FLIGHT == true or WINGS == true then
  2746. WINGS1.Enabled = true
  2747. WINGS1B.Enabled = true
  2748. WINGS2.Enabled = true
  2749. WINGS2B.Enabled = true
  2750. else
  2751. WINGS1.Enabled = false
  2752. WINGS1B.Enabled = false
  2753. WINGS2.Enabled = false
  2754. WINGS2B.Enabled = false
  2755. end
  2756. unanchor()
  2757. TRAIL1.Enabled = FLIGHT
  2758. TRAIL2.Enabled = FLIGHT
  2759. LIGHT.Enabled = EQUIPPED
  2760. Humanoid.MaxHealth = "inf"
  2761. Humanoid.Health = "inf"
  2762. if Rooted == false and FLIGHT == false then
  2763. Disable_Jump = false
  2764. Humanoid.WalkSpeed = Speed
  2765. elseif Rooted == true or FLIGHT == true then
  2766. Disable_Jump = true
  2767. Humanoid.WalkSpeed = 0
  2768. end
  2769.  
  2770. if FLIGHT == true then
  2771. sick.Pitch = 1
  2772. sick.Volume = 1.5
  2773. LOOP = LOOP + 1
  2774. if LOOP >= 10 then
  2775. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  2776. if HITFLOOR then
  2777. local DISTANCE = (RootPart.Position - HITPOS).Magnitude
  2778. local SIZE = (26 - DISTANCE) * 2
  2779. if TWIST == true then
  2780. TWIST = false
  2781. WACKYEFFECT({
  2782. Time = 25,
  2783. EffectType = "Wave",
  2784. Size = VT(SIZE / 2, 0, SIZE / 2),
  2785. Size2 = VT(SIZE, 6, SIZE),
  2786. Transparency = 0.6,
  2787. Transparency2 = 1,
  2788. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  2789. MoveToPos = nil,
  2790. RotationX = 0,
  2791. RotationY = 15,
  2792. RotationZ = 0,
  2793. Material = "Neon",
  2794. Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  2795. SoundID = nil,
  2796. SoundPitch = nil,
  2797. SoundVolume = nil
  2798. })
  2799. else
  2800. TWIST = true
  2801. WACKYEFFECT({
  2802. Time = 25,
  2803. EffectType = "Wave",
  2804. Size = VT(SIZE / 2, 0, SIZE / 2),
  2805. Size2 = VT(SIZE, 6, SIZE),
  2806. Transparency = 0.6,
  2807. Transparency2 = 1,
  2808. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  2809. MoveToPos = nil,
  2810. RotationX = 0,
  2811. RotationY = -15,
  2812. RotationZ = 0,
  2813. Material = "Neon",
  2814. Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  2815. SoundID = nil,
  2816. SoundPitch = nil,
  2817. SoundVolume = nil
  2818. })
  2819. end
  2820. LOOP = 0
  2821. end
  2822. end
  2823. else
  2824. end
  2825. sick.Parent = Character
  2826. Humanoid.Name = "WarPheonix"
  2827. end
  2828.  
  2829. end))
  2830. ParticleEmitter1.Name = "RingEmit"
  2831. ParticleEmitter1.Parent = LocalScript0
  2832. ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1)
  2833. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  2834. ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0)
  2835. ParticleEmitter1.Enabled = false
  2836. ParticleEmitter1.LightEmission = 1
  2837. ParticleEmitter1.Texture = "rbxassetid://1003693108"
  2838. ParticleEmitter1.ZOffset = 1
  2839. ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  2840. ParticleEmitter1.Rate = 5
  2841. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  2842. ParticleEmitter2.Name = "Wing1"
  2843. ParticleEmitter2.Parent = LocalScript0
  2844. ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  2845. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  2846. ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  2847. ParticleEmitter2.Enabled = false
  2848. ParticleEmitter2.LightEmission = 1
  2849. ParticleEmitter2.Texture = "rbxassetid://1492439733"
  2850. ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
  2851. ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
  2852. ParticleEmitter2.Rate = 300
  2853. ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
  2854. ParticleEmitter2.Speed = NumberRange.new(4, 4)
  2855. ParticleEmitter2.VelocitySpread = 35
  2856. ParticleEmitter3.Name = "SunFireball"
  2857. ParticleEmitter3.Parent = LocalScript0
  2858. ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2859. ParticleEmitter3.Rotation = NumberRange.new(0, 360)
  2860. ParticleEmitter3.Size = NumberSequence.new(10,8.125,5.6875,1.1250001192093,0)
  2861. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2862. ParticleEmitter3.Enabled = false
  2863. ParticleEmitter3.LightEmission = 0.75
  2864. ParticleEmitter3.Texture = "rbxassetid://1492439733"
  2865. ParticleEmitter3.ZOffset = 0.20000000298023
  2866. ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0)
  2867. ParticleEmitter3.Lifetime = NumberRange.new(1, 1)
  2868. ParticleEmitter3.Rate = 300
  2869. ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56)
  2870. ParticleEmitter3.Speed = NumberRange.new(3, 3)
  2871. ParticleEmitter3.VelocitySpread = 360
  2872. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2873. ParticleEmitter4.Name = "SunExplosion"
  2874. ParticleEmitter4.Parent = LocalScript0
  2875. ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2876. ParticleEmitter4.Rotation = NumberRange.new(0, 360)
  2877. ParticleEmitter4.Size = NumberSequence.new(5,7.875,7.875,5.3125,0)
  2878. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2879. ParticleEmitter4.Enabled = false
  2880. ParticleEmitter4.LightEmission = 0.75
  2881. ParticleEmitter4.Texture = "rbxassetid://1492439733"
  2882. ParticleEmitter4.ZOffset = 0.20000000298023
  2883. ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0)
  2884. ParticleEmitter4.Lifetime = NumberRange.new(0, 3)
  2885. ParticleEmitter4.Rate = 300
  2886. ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56)
  2887. ParticleEmitter4.Speed = NumberRange.new(150, 350)
  2888. ParticleEmitter4.VelocitySpread = 360
  2889. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2890. ParticleEmitter5.Name = "SunBurn"
  2891. ParticleEmitter5.Parent = LocalScript0
  2892. ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2893. ParticleEmitter5.Rotation = NumberRange.new(0, 360)
  2894. ParticleEmitter5.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  2895. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2896. ParticleEmitter5.Enabled = false
  2897. ParticleEmitter5.LightEmission = 0.75
  2898. ParticleEmitter5.Texture = "rbxassetid://1492439733"
  2899. ParticleEmitter5.ZOffset = 0.5
  2900. ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0)
  2901. ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
  2902. ParticleEmitter5.Rate = 300
  2903. ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56)
  2904. ParticleEmitter5.Speed = NumberRange.new(1, 1)
  2905. ParticleEmitter5.VelocitySpread = 360
  2906. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2907. ParticleEmitter6.Name = "PheonixBurn"
  2908. ParticleEmitter6.Parent = LocalScript0
  2909. ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2910. ParticleEmitter6.Rotation = NumberRange.new(0, 360)
  2911. ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  2912. ParticleEmitter6.Enabled = false
  2913. ParticleEmitter6.LightEmission = 1
  2914. ParticleEmitter6.Texture = "rbxassetid://1492439733"
  2915. ParticleEmitter6.ZOffset = 0.5
  2916. ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0)
  2917. ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
  2918. ParticleEmitter6.Rate = 300
  2919. ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
  2920. ParticleEmitter6.Speed = NumberRange.new(1, 1)
  2921. ParticleEmitter6.VelocitySpread = 360
  2922. ParticleEmitter7.Name = "PheonixExplosion1"
  2923. ParticleEmitter7.Parent = LocalScript0
  2924. ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2925. ParticleEmitter7.Rotation = NumberRange.new(0, 360)
  2926. ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0)
  2927. ParticleEmitter7.Enabled = false
  2928. ParticleEmitter7.LightEmission = 1
  2929. ParticleEmitter7.Texture = "rbxassetid://1492439733"
  2930. ParticleEmitter7.ZOffset = 0.20000000298023
  2931. ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0)
  2932. ParticleEmitter7.Lifetime = NumberRange.new(0, 3)
  2933. ParticleEmitter7.Rate = 600
  2934. ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56)
  2935. ParticleEmitter7.Speed = NumberRange.new(50, 50)
  2936. ParticleEmitter7.VelocitySpread = 360
  2937. ParticleEmitter8.Name = "PheonixExplosion2"
  2938. ParticleEmitter8.Parent = LocalScript0
  2939. ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2940. ParticleEmitter8.Rotation = NumberRange.new(0, 360)
  2941. ParticleEmitter8.Size = NumberSequence.new(4,4)
  2942. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2943. ParticleEmitter8.Enabled = false
  2944. ParticleEmitter8.LightEmission = 0.69999998807907
  2945. ParticleEmitter8.ZOffset = 0.20000000298023
  2946. ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0)
  2947. ParticleEmitter8.Lifetime = NumberRange.new(0, 3)
  2948. ParticleEmitter8.Rate = 300
  2949. ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56)
  2950. ParticleEmitter8.Speed = NumberRange.new(70, 70)
  2951. ParticleEmitter8.VelocitySpread = 360
  2952. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2953. LocalScript9.Name = "CamShake"
  2954. LocalScript9.Parent = LocalScript0
  2955. LocalScript9.Disabled = true
  2956. NumberValue10.Name = "Timer"
  2957. NumberValue10.Parent = LocalScript9
  2958. NumberValue10.Value = 35
  2959. NumberValue11.Name = "Shake"
  2960. NumberValue11.Parent = LocalScript9
  2961. NumberValue11.Value = 5
  2962. BoolValue12.Name = "DoesFade"
  2963. BoolValue12.Parent = LocalScript9
  2964. ParticleEmitter13.Name = "Gale"
  2965. ParticleEmitter13.Parent = LocalScript0
  2966. ParticleEmitter13.Transparency = NumberSequence.new(1,0.91256833076477,0.83606559038162,0.81967210769653,1)
  2967. ParticleEmitter13.Rotation = NumberRange.new(0, 360)
  2968. ParticleEmitter13.Size = NumberSequence.new(8,6)
  2969. ParticleEmitter13.Enabled = false
  2970. ParticleEmitter13.Texture = "rbxassetid://1614893149"
  2971. ParticleEmitter13.Lifetime = NumberRange.new(1, 1)
  2972. ParticleEmitter13.Rate = 50
  2973. ParticleEmitter13.Speed = NumberRange.new(0, 0)
  2974. ParticleEmitter14.Name = "PheonixFireball1"
  2975. ParticleEmitter14.Parent = LocalScript0
  2976. ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2977. ParticleEmitter14.Rotation = NumberRange.new(0, 360)
  2978. ParticleEmitter14.Size = NumberSequence.new(6.625,4.625,3.4375,1.3124996423721,0)
  2979. ParticleEmitter14.Enabled = false
  2980. ParticleEmitter14.LightEmission = 1
  2981. ParticleEmitter14.Texture = "rbxassetid://1492439733"
  2982. ParticleEmitter14.ZOffset = 0.5
  2983. ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  2984. ParticleEmitter14.Rate = 1000
  2985. ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
  2986. ParticleEmitter14.Speed = NumberRange.new(4, 4)
  2987. ParticleEmitter14.VelocitySpread = 360
  2988. ParticleEmitter15.Name = "PheonixFireball2"
  2989. ParticleEmitter15.Parent = LocalScript0
  2990. ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  2991. ParticleEmitter15.Rotation = NumberRange.new(0, 360)
  2992. ParticleEmitter15.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0)
  2993. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  2994. ParticleEmitter15.Enabled = false
  2995. ParticleEmitter15.LightEmission = 0.69999998807907
  2996. ParticleEmitter15.ZOffset = 1
  2997. ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  2998. ParticleEmitter15.Rate = 300
  2999. ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
  3000. ParticleEmitter15.Speed = NumberRange.new(4, 4)
  3001. ParticleEmitter15.VelocitySpread = 360
  3002. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3003. ParticleEmitter16.Name = "Wing2"
  3004. ParticleEmitter16.Parent = LocalScript0
  3005. ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  3006. ParticleEmitter16.Rotation = NumberRange.new(0, 360)
  3007. ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  3008. ParticleEmitter16.Enabled = false
  3009. ParticleEmitter16.LightEmission = 1
  3010. ParticleEmitter16.Texture = "rbxassetid://1492439733"
  3011. ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
  3012. ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
  3013. ParticleEmitter16.Rate = 300
  3014. ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
  3015. ParticleEmitter16.Speed = NumberRange.new(4, 4)
  3016. ParticleEmitter16.VelocitySpread = 35
  3017. ParticleEmitter17.Name = "Wing1B"
  3018. ParticleEmitter17.Parent = LocalScript0
  3019. ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  3020. ParticleEmitter17.Rotation = NumberRange.new(0, 360)
  3021. ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  3022. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3023. ParticleEmitter17.Enabled = false
  3024. ParticleEmitter17.LightEmission = 0.69999998807907
  3025. ParticleEmitter17.ZOffset = 0.20000000298023
  3026. ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
  3027. ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  3028. ParticleEmitter17.Rate = 150
  3029. ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
  3030. ParticleEmitter17.Speed = NumberRange.new(4, 4)
  3031. ParticleEmitter17.VelocitySpread = 35
  3032. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3033. ParticleEmitter18.Name = "Eye1"
  3034. ParticleEmitter18.EmissionDirection="Right"
  3035. ParticleEmitter18.Parent = LocalScript0
  3036. ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1)
  3037. ParticleEmitter18.Rotation = NumberRange.new(0, 360)
  3038. ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0)
  3039. ParticleEmitter18.Enabled = false
  3040. ParticleEmitter18.LightEmission = 0.75
  3041. ParticleEmitter18.Texture = "rbxassetid://1492439733"
  3042. ParticleEmitter18.ZOffset = 0.20000000298023
  3043. ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6)
  3044. ParticleEmitter18.Lifetime = NumberRange.new(1, 1)
  3045. ParticleEmitter18.Rate = 300
  3046. ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
  3047. ParticleEmitter18.VelocitySpread = 5
  3048. ParticleEmitter19.Name = "Eye2"
  3049. ParticleEmitter19.Parent = LocalScript0
  3050. ParticleEmitter19.EmissionDirection="Right"
  3051. ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1)
  3052. ParticleEmitter19.Rotation = NumberRange.new(0, 360)
  3053. ParticleEmitter19.Size = NumberSequence.new(0.65573811531067,0.2732241153717,0)
  3054. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3055. ParticleEmitter19.Enabled = false
  3056. ParticleEmitter19.LightEmission = 0.75
  3057. ParticleEmitter19.ZOffset = 0.30000001192093
  3058. ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6)
  3059. ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5)
  3060. ParticleEmitter19.Rate = 300
  3061. ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
  3062. ParticleEmitter19.VelocitySpread = 5
  3063. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3064. ParticleEmitter20.Name = "Wing2B"
  3065. ParticleEmitter20.Parent = LocalScript0
  3066. ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  3067. ParticleEmitter20.Rotation = NumberRange.new(0, 360)
  3068. ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  3069. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3070. ParticleEmitter20.Enabled = false
  3071. ParticleEmitter20.LightEmission = 0.69999998807907
  3072. ParticleEmitter20.ZOffset = 0.20000000298023
  3073. ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
  3074. ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  3075. ParticleEmitter20.Rate = 150
  3076. ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
  3077. ParticleEmitter20.Speed = NumberRange.new(4, 4)
  3078. ParticleEmitter20.VelocitySpread = 35
  3079. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  3080. ParticleEmitter21.Name = "Burn"
  3081. ParticleEmitter21.Parent = LocalScript0
  3082. ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  3083. ParticleEmitter21.Rotation = NumberRange.new(0, 360)
  3084. ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0)
  3085. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  3086. ParticleEmitter21.Enabled = false
  3087. ParticleEmitter21.LightEmission = 0.75
  3088. ParticleEmitter21.Texture = "rbxassetid://1492439733"
  3089. ParticleEmitter21.ZOffset = 0.5
  3090. ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0)
  3091. ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
  3092. ParticleEmitter21.Rate = 300
  3093. ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56)
  3094. ParticleEmitter21.Speed = NumberRange.new(1, 1)
  3095. ParticleEmitter21.VelocitySpread = 360
  3096. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  3097. ParticleEmitter22.Name = "PheonixTrail"
  3098. ParticleEmitter22.Parent = LocalScript0
  3099. ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  3100. ParticleEmitter22.Rotation = NumberRange.new(0, 360)
  3101. ParticleEmitter22.Size = NumberSequence.new(0.49180328845978,0.4371589422226,0)
  3102. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  3103. ParticleEmitter22.Enabled = false
  3104. ParticleEmitter22.LightEmission = 0.75
  3105. ParticleEmitter22.Texture = "rbxassetid://1492439733"
  3106. ParticleEmitter22.ZOffset = 0.5
  3107. ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
  3108. ParticleEmitter22.Rate = 300
  3109. ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56)
  3110. ParticleEmitter22.Speed = NumberRange.new(0, 0)
  3111. ParticleEmitter22.VelocitySpread = 360
  3112. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  3113. for i,v in pairs(mas:GetChildren()) do
  3114. v.Parent = game:GetService("Lighting")
  3115. pcall(function() v:MakeJoints() end)
  3116. end
  3117. mas:Destroy()
  3118. for i,v in pairs(cors) do
  3119. spawn(function()
  3120. pcall(v)
  3121. end)
  3122. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement