Advertisement
GojiGaming1337

Untitled

Jun 2nd, 2018
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 246.23 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. local FIRECOLOR = C3(1,85/255,0)
  87.  
  88. local vest = Character:FindFirstChild("Vest")
  89. if vest then
  90. vest:Destroy()
  91. end
  92. local vest = Character:FindFirstChild("Shorts")
  93. if vest then
  94. vest:Destroy()
  95. end
  96. local vest = Character:FindFirstChild("Shaggy")
  97. if vest then
  98. vest:Destroy()
  99. end
  100.  
  101. local naeeym2 = Instance.new("BillboardGui",Character)
  102. naeeym2.AlwaysOnTop = true
  103. naeeym2.Size = UDim2.new(5,35,2,35)
  104. naeeym2.StudsOffset = Vector3.new(0,4.5,0)
  105. naeeym2.Adornee = Character.Head
  106. naeeym2.Name = "Name"
  107. naeeym2.MaxDistance = 200
  108. local tecks2 = Instance.new("TextLabel",naeeym2)
  109. tecks2.BackgroundTransparency = 1
  110. tecks2.TextScaled = true
  111. tecks2.BorderSizePixel = 0
  112. tecks2.Text = "The Crimson Phoenix"
  113. tecks2.Font = "Fantasy"
  114. tecks2.TextSize = 48
  115. tecks2.TextStrokeTransparency = 0
  116. tecks2.TextColor3 = Color3.new(0,0,0)
  117. tecks2.TextStrokeColor3 = Color3.new(188/255, 0, 0)
  118. tecks2.Size = UDim2.new(1,0,0.5,0)
  119. tecks2.Parent = naeeym2
  120.  
  121. local naeeym3 = Instance.new("BillboardGui",Character)
  122. naeeym3.AlwaysOnTop = true
  123. naeeym3.Size = UDim2.new(5,35,2,35)
  124. naeeym3.StudsOffset = Vector3.new(0,3,0)
  125. naeeym3.Adornee = Character.Head
  126. naeeym3.Name = "Name"
  127. naeeym3.MaxDistance = 200
  128. local tecks3 = Instance.new("TextLabel",naeeym2)
  129. tecks3.BackgroundTransparency = 1
  130. tecks3.TextScaled = true
  131. tecks3.BorderSizePixel = 0
  132. tecks3.Text = "Godzilla"
  133. tecks3.Font = "Fantasy"
  134. tecks3.TextSize = 32
  135. tecks3.TextStrokeTransparency = 1
  136. tecks3.TextColor3 = Color3.new(125/255,0,0)
  137. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  138. tecks3.Size = UDim2.new(1,0,0.5,0)
  139. tecks3.Parent = naeeym3
  140.  
  141.  
  142. Animation_Speed = 3
  143. Frame_Speed = 0.016666666666666666
  144. local Speed = 16
  145. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  146. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  147. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  148. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  149. local DAMAGEMULTIPLIER = 1
  150. local ANIM = "Idle"
  151. local ATTACK = false
  152. local EQUIPPED = false
  153. local HOLD = false
  154. local COMBO = 1
  155. local Rooted = false
  156. local SINE = 0
  157. local KEYHOLD = false
  158. local CHANGE = 2 / Animation_Speed
  159. local WALKINGANIM = false
  160. local VALUE1 = false
  161. local VALUE2 = false
  162. local ROBLOXIDLEANIMATION = IT("Animation")
  163. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  164. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  165. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  166. WEAPONGUI.Name = "Weapon GUI"
  167. local Effects = IT("Folder", Character)
  168. Effects.Name = "Effects"
  169. local ANIMATOR = Humanoid.Animator
  170. local ANIMATE = Character.Animate
  171. local UNANCHOR = true
  172. local FLIGHT = false
  173. local BODYPOS, GYRO, FLIGHTRING
  174. local PARTICLES = false
  175. local WINGS = false
  176. local APPLYGYRO = true
  177. local DIRECTTURN = false
  178. local PHEONIXCOLOR = C3(0, 0, 0)
  179. ArtificialHB = Instance.new("BindableEvent", script)
  180. ArtificialHB.Name = "ArtificialHB"
  181. script:WaitForChild("ArtificialHB")
  182. frame = Frame_Speed
  183. tf = 0
  184. allowframeloss = false
  185. tossremainder = false
  186. lastframe = tick()
  187. script.ArtificialHB:Fire()
  188. game:GetService("RunService").Heartbeat:connect(function(s, p)
  189. tf = tf + s
  190. if tf >= frame then
  191. if allowframeloss then
  192. script.ArtificialHB:Fire()
  193. lastframe = tick()
  194. else
  195. for i = 1, math.floor(tf / frame) do
  196. script.ArtificialHB:Fire()
  197. end
  198. lastframe = tick()
  199. end
  200. if tossremainder then
  201. tf = 0
  202. else
  203. tf = tf - frame * math.floor(tf / frame)
  204. end
  205. end
  206. end)
  207. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  208. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  209. end
  210. function PositiveAngle(NUMBER)
  211. if NUMBER >= 0 then
  212. NUMBER = 0
  213. end
  214. return NUMBER
  215. end
  216. function NegativeAngle(NUMBER)
  217. if NUMBER <= 0 then
  218. NUMBER = 0
  219. end
  220. return NUMBER
  221. end
  222. function Swait(NUMBER)
  223. if NUMBER == 0 or NUMBER == nil then
  224. ArtificialHB.Event:wait()
  225. else
  226. for i = 1, NUMBER do
  227. ArtificialHB.Event:wait()
  228. end
  229. end
  230. end
  231. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  232. local NEWMESH = IT(MESH)
  233. if MESH == "SpecialMesh" then
  234. NEWMESH.MeshType = MESHTYPE
  235. if MESHID ~= "nil" and MESHID ~= "" then
  236. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  237. end
  238. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  239. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  240. end
  241. end
  242. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  243. NEWMESH.Scale = SCALE
  244. NEWMESH.Parent = PARENT
  245. return NEWMESH
  246. end
  247. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  248. local NEWPART = IT("Part")
  249. NEWPART.formFactor = FORMFACTOR
  250. NEWPART.Reflectance = REFLECTANCE
  251. NEWPART.Transparency = TRANSPARENCY
  252. NEWPART.CanCollide = false
  253. NEWPART.Locked = true
  254. NEWPART.Anchored = true
  255. if ANCHOR == false then
  256. NEWPART.Anchored = false
  257. end
  258. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  259. NEWPART.Name = NAME
  260. NEWPART.Size = SIZE
  261. NEWPART.Position = Torso.Position
  262. NEWPART.Material = MATERIAL
  263. NEWPART:BreakJoints()
  264. NEWPART.Parent = PARENT
  265. return NEWPART
  266. end
  267. local weldBetween = function(a, b)
  268. local weldd = Instance.new("ManualWeld")
  269. weldd.Part0 = a
  270. weldd.Part1 = b
  271. weldd.C0 = CFrame.new()
  272. weldd.C1 = b.CFrame:inverse() * a.CFrame
  273. weldd.Parent = a
  274. return weldd
  275. end
  276. function QuaternionFromCFrame(cf)
  277. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  278. local trace = m00 + m11 + m22
  279. if trace > 0 then
  280. local s = math.sqrt(1 + trace)
  281. local recip = 0.5 / s
  282. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  283. else
  284. local i = 0
  285. if m00 < m11 then
  286. i = 1
  287. end
  288. if m22 > (i == 0 and m00 or m11) then
  289. i = 2
  290. end
  291. if i == 0 then
  292. local s = math.sqrt(m00 - m11 - m22 + 1)
  293. local recip = 0.5 / s
  294. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  295. elseif i == 1 then
  296. local s = math.sqrt(m11 - m22 - m00 + 1)
  297. local recip = 0.5 / s
  298. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  299. elseif i == 2 then
  300. local s = math.sqrt(m22 - m00 - m11 + 1)
  301. local recip = 0.5 / s
  302. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  303. end
  304. end
  305. end
  306. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  307. local xs, ys, zs = x + x, y + y, z + z
  308. local wx, wy, wz = w * xs, w * ys, w * zs
  309. local xx = x * xs
  310. local xy = x * ys
  311. local xz = x * zs
  312. local yy = y * ys
  313. local yz = y * zs
  314. local zz = z * zs
  315. 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))
  316. end
  317. function QuaternionSlerp(a, b, t)
  318. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  319. local startInterp, finishInterp
  320. if cosTheta >= 1.0E-4 then
  321. if 1 - cosTheta > 1.0E-4 then
  322. local theta = ACOS(cosTheta)
  323. local invSinTheta = 1 / SIN(theta)
  324. startInterp = SIN((1 - t) * theta) * invSinTheta
  325. finishInterp = SIN(t * theta) * invSinTheta
  326. else
  327. startInterp = 1 - t
  328. finishInterp = t
  329. end
  330. elseif 1 + cosTheta > 1.0E-4 then
  331. local theta = ACOS(-cosTheta)
  332. local invSinTheta = 1 / SIN(theta)
  333. startInterp = SIN((t - 1) * theta) * invSinTheta
  334. finishInterp = SIN(t * theta) * invSinTheta
  335. else
  336. startInterp = t - 1
  337. finishInterp = t
  338. end
  339. 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
  340. end
  341. function Clerp(a, b, t)
  342. local qa = {
  343. QuaternionFromCFrame(a)
  344. }
  345. local qb = {
  346. QuaternionFromCFrame(b)
  347. }
  348. local ax, ay, az = a.x, a.y, a.z
  349. local bx, by, bz = b.x, b.y, b.z
  350. local _t = 1 - t
  351. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  352. end
  353. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  354. local frame = IT("Frame")
  355. frame.BackgroundTransparency = TRANSPARENCY
  356. frame.BorderSizePixel = BORDERSIZEPIXEL
  357. frame.Position = POSITION
  358. frame.Size = SIZE
  359. frame.BackgroundColor3 = COLOR
  360. frame.BorderColor3 = BORDERCOLOR
  361. frame.Name = NAME
  362. frame.Parent = PARENT
  363. return frame
  364. end
  365. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  366. local label = IT("TextLabel")
  367. label.BackgroundTransparency = 1
  368. label.Size = UD2(1, 0, 1, 0)
  369. label.Position = UD2(0, 0, 0, 0)
  370. label.TextColor3 = TEXTCOLOR
  371. label.TextStrokeTransparency = STROKETRANSPARENCY
  372. label.TextTransparency = TRANSPARENCY
  373. label.FontSize = TEXTFONTSIZE
  374. label.Font = TEXTFONT
  375. label.BorderSizePixel = BORDERSIZEPIXEL
  376. label.TextScaled = false
  377. label.Text = TEXT
  378. label.Name = NAME
  379. label.Parent = PARENT
  380. return label
  381. end
  382. function NoOutlines(PART)
  383. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  384. end
  385. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  386. local NEWWELD = IT(TYPE)
  387. NEWWELD.Part0 = PART0
  388. NEWWELD.Part1 = PART1
  389. NEWWELD.C0 = C0
  390. NEWWELD.C1 = C1
  391. NEWWELD.Parent = PARENT
  392. return NEWWELD
  393. end
  394. local S = IT("Sound")
  395. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  396. local NEWSOUND
  397. coroutine.resume(coroutine.create(function()
  398. NEWSOUND = S:Clone()
  399. NEWSOUND.Parent = PARENT
  400. NEWSOUND.Volume = VOLUME
  401. NEWSOUND.Pitch = PITCH
  402. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  403. NEWSOUND:play()
  404. if DOESLOOP == true then
  405. NEWSOUND.Looped = true
  406. else
  407. repeat
  408. wait(1)
  409. until NEWSOUND.Playing == false
  410. NEWSOUND:remove()
  411. end
  412. end))
  413. return NEWSOUND
  414. end
  415. function CFrameFromTopBack(at, top, back)
  416. local right = top:Cross(back)
  417. 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)
  418. end
  419. function WACKYEFFECT(Table)
  420. local TYPE = Table.EffectType or "Sphere"
  421. local SIZE = Table.Size or VT(1, 1, 1)
  422. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  423. local TRANSPARENCY = Table.Transparency or 0
  424. local ENDTRANSPARENCY = Table.Transparency2 or 1
  425. local CFRAME = Table.CFrame or Torso.CFrame
  426. local MOVEDIRECTION = Table.MoveToPos or nil
  427. local ROTATION1 = Table.RotationX or 0
  428. local ROTATION2 = Table.RotationY or 0
  429. local ROTATION3 = Table.RotationZ or 0
  430. local MATERIAL = Table.Material or "Neon"
  431. local COLOR = Table.Color or C3(0, 0, 0)
  432. local TIME = Table.Time or 45
  433. local SOUNDID = Table.SoundID or nil
  434. local SOUNDPITCH = Table.SoundPitch or nil
  435. local SOUNDVOLUME = Table.SoundVolume or nil
  436. coroutine.resume(coroutine.create(function()
  437. local PLAYSSOUND = false
  438. local SOUND
  439. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  440. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  441. PLAYSSOUND = true
  442. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  443. end
  444. EFFECT.Color = COLOR
  445. local MSH
  446. if TYPE == "Sphere" then
  447. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  448. elseif TYPE == "Block" then
  449. MSH = IT("BlockMesh", EFFECT)
  450. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  451. elseif TYPE == "Wave" then
  452. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  453. elseif TYPE == "Ring" then
  454. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  455. elseif TYPE == "Slash" then
  456. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  457. elseif TYPE == "Round Slash" then
  458. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  459. elseif TYPE == "Swirl" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  461. elseif TYPE == "Skull" then
  462. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  463. elseif TYPE == "Crystal" then
  464. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  465. end
  466. if MSH ~= nil then
  467. local MOVESPEED
  468. if MOVEDIRECTION ~= nil then
  469. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  470. end
  471. local GROWTH = SIZE - ENDSIZE
  472. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  473. if TYPE == "Block" then
  474. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  475. else
  476. EFFECT.CFrame = CFRAME
  477. end
  478. for LOOP = 1, TIME + 1 do
  479. Swait()
  480. MSH.Scale = MSH.Scale - GROWTH / TIME
  481. if TYPE == "Wave" then
  482. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  483. end
  484. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  485. if TYPE == "Block" then
  486. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  487. else
  488. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  489. end
  490. if MOVEDIRECTION ~= nil then
  491. local ORI = EFFECT.Orientation
  492. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  493. EFFECT.Orientation = ORI
  494. end
  495. end
  496. if PLAYSSOUND == false then
  497. EFFECT:remove()
  498. else
  499. repeat
  500. Swait()
  501. until SOUND.Playing == false
  502. EFFECT:remove()
  503. end
  504. elseif PLAYSSOUND == false then
  505. EFFECT:remove()
  506. else
  507. repeat
  508. Swait()
  509. until SOUND.Playing == false
  510. EFFECT:remove()
  511. end
  512. end))
  513. end
  514. function MakeForm(PART, TYPE)
  515. if TYPE == "Cyl" then
  516. local MSH = IT("CylinderMesh", PART)
  517. elseif TYPE == "Ball" then
  518. local MSH = IT("SpecialMesh", PART)
  519. MSH.MeshType = "Sphere"
  520. elseif TYPE == "Wedge" then
  521. local MSH = IT("SpecialMesh", PART)
  522. MSH.MeshType = "Wedge"
  523. end
  524. end
  525. Debris = game:GetService("Debris")
  526. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  527. local DIRECTION = CF(StartPos, EndPos).lookVector
  528. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  529. end
  530. function turnto(position)
  531. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  532. end
  533. local DECAL = IT("Decal", nil)
  534. function MagicRing(PART, CFRAME, VARIANT)
  535. if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
  536. local RING = CreatePart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0, 0, 0), false)
  537. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  538. local MESH = IT("BlockMesh", RING)
  539. local BOTTOMTEXTURE = DECAL:Clone()
  540. BOTTOMTEXTURE.Parent = RING
  541. BOTTOMTEXTURE.Face = "Bottom"
  542. BOTTOMTEXTURE.Name = "BottomTexture"
  543. local TOPTEXTURE = DECAL:Clone()
  544. TOPTEXTURE.Parent = RING
  545. TOPTEXTURE.Face = "Top"
  546. TOPTEXTURE.Name = "TopTexture"
  547. local T = script.RingEmit:Clone()
  548. T.Parent = RING
  549. local LIGHT = IT("PointLight", RING)
  550. if VARIANT == "Pheonix" then
  551. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=338413386"
  552. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=338413386"
  553. T.Color = ColorSequence.new(PHEONIXCOLOR)
  554. CreateSound(462809305, RING, 5, 1, false)
  555. elseif VARIANT == "Sun" then
  556. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=341153149"
  557. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=341153149"
  558. T.Color = ColorSequence.new(BRICKC("Persimmon").Color)
  559. CreateSound(462809305, RING, 5, 1, false)
  560. LIGHT.Color = BRICKC("Persimmon").Color
  561. elseif VARIANT == "Fire" then
  562. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=352764483"
  563. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=352764483"
  564. T.Color = ColorSequence.new(BRICKC("Persimmon").Color)
  565. CreateSound(343211019, RING, 5, 1, false)
  566. LIGHT.Color = C3(1, 0.1, 0.1)
  567. end
  568. T.LightEmission = 1
  569. T:Emit(5)
  570. Debris:AddItem(T, 5)
  571. return RING, WELD, MESH
  572. end
  573. end
  574. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  575. for _, c in pairs(PARENT:GetDescendants()) do
  576. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  577. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  578. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  579. if DIST > (TORSO.Position - FROM).Magnitude then
  580. table.insert(TABLE, c)
  581. end
  582. end
  583. end
  584. end
  585. local BACKATTACHMENT1 = IT("Attachment", Torso)
  586. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  587. local BACKATTACHMENT2 = IT("Attachment", Torso)
  588. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  589. local WINGS1 = script.Wing1
  590. WINGS1.EmissionDirection="Right"
  591. WINGS1.Size=NumberSequence.new(2)
  592. local WINGS1B = script.Wing1B
  593. WINGS1B.EmissionDirection="Right"
  594. WINGS1B.Size=NumberSequence.new(2)
  595. local WINGS2 = script.Wing2
  596. WINGS2.EmissionDirection="Left"
  597. WINGS2.Size=NumberSequence.new(2)
  598. local WINGS2B = script.Wing2B
  599. WINGS2B.EmissionDirection="Left"
  600. WINGS2B.Size=NumberSequence.new(2)
  601. WINGS1.Parent = BACKATTACHMENT1
  602. WINGS1.LockedToPart=true
  603. WINGS1B.Parent = BACKATTACHMENT1
  604. WINGS1B.LockedToPart=true
  605. WINGS2.Parent = BACKATTACHMENT2
  606. WINGS2.LockedToPart=true
  607. WINGS2B.Parent = BACKATTACHMENT2
  608. WINGS2B.LockedToPart=true
  609. local FACEATTACHMENT = IT("Attachment", Head)
  610. FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
  611. FACEATTACHMENT.Orientation = VT(0, 35, 0)
  612. local EYE = script.Eye1
  613. EYE.LockedToPart=true
  614. EYE.Parent = FACEATTACHMENT
  615. local EYE2 = script.Eye2
  616. EYE2.Parent = FACEATTACHMENT
  617. EYE2.LockedToPart=true
  618. local TRAIL1 = script.PheonixTrail:Clone()
  619. TRAIL1.LockedToPart=true
  620. TRAIL1.Size=NumberSequence.new(.01)
  621. TRAIL1.Parent = BACKATTACHMENT1
  622. local TRAIL2 = script.PheonixTrail:Clone()
  623. TRAIL2.LockedToPart=true
  624. TRAIL2.Parent = BACKATTACHMENT2
  625. TRAIL2.Size=NumberSequence.new(.01)
  626. local LIGHT = IT("PointLight", FACEATTACHMENT)
  627. LIGHT.Enabled = false
  628. LIGHT.Brightness = 5
  629. LIGHT.Range = 6
  630. Humanoid.Died:connect(function()
  631. ATTACK = true
  632. end)
  633. function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant)
  634. local defence = Instance.new("BoolValue", Humanoid.Parent)
  635. defence.Name = "HitBy" .. Player.Name
  636. game:GetService("Debris"):AddItem(defence, 0.001)
  637. Damage = Damage * DAMAGEMULTIPLIER
  638. if Humanoid.Health ~= 0 then
  639. local CritChance = MRANDOM(1, 100)
  640. if Damage > Humanoid.Health then
  641. Damage = math.ceil(Humanoid.Health)
  642. if Damage == 0 then
  643. Damage = 0.1
  644. end
  645. end
  646. Humanoid.Health = Humanoid.Health - maindamage
  647. if AfterBurn == true then
  648. Afterburn(Humanoid, Time, Damage / 5, Variant)
  649. end
  650. end
  651. end
  652. function Afterburn(Human, Time, Damage, Variant)
  653. coroutine.resume(coroutine.create(function()
  654. if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then
  655. local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")
  656. local FIRE
  657. if Variant == "Pheonix" then
  658. FIRE = script.PheonixBurn:Clone()
  659. FIRE.Parent = Torso
  660. FIRE.Enabled = true
  661. elseif Variant == "Sun" then
  662. FIRE = script.SunBurn:Clone()
  663. FIRE.Parent = Torso
  664. FIRE.Enabled = true
  665. elseif Variant == "Fire" then
  666. FIRE = script.Burn:Clone()
  667. FIRE.Parent = Torso
  668. FIRE.Enabled = true
  669. end
  670. for i = 1, Time do
  671. wait(0.5)
  672. Human.Health = Human.Health - Damage
  673. end
  674. wait(0.25)
  675. FIRE.Enabled = false
  676. Debris:AddItem(FIRE, 1.5)
  677. end
  678. end))
  679. end
  680. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES)
  681. local CHILDREN = workspace:GetChildren()
  682. for index, CHILD in pairs(CHILDREN) do
  683. if CHILD.ClassName == "Model" and CHILD ~= Character then
  684. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  685. if HUM then
  686. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  687. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  688. local DMG = MRANDOM(MINDMG, MAXDMG)
  689. ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT)
  690. if HUM.MaxHealth == math.huge then
  691. CHILD:BreakJoints()
  692. end
  693. if DOESCAMSHAKE == true then
  694. local CAMSHAKER = script.CamShake:Clone()
  695. CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
  696. CAMSHAKER.Timer.Value = CAMVALUES.TIMER
  697. CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
  698. CAMSHAKER.Parent = CHILD
  699. CAMSHAKER.Disabled = false
  700. end
  701. if FLING > 0 then
  702. for _, c in pairs(CHILD:GetChildren()) do
  703. if c:IsA("BasePart") then
  704. local bv = Instance.new("BodyVelocity")
  705. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  706. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  707. bv.Parent = c
  708. Debris:AddItem(bv, 0.05)
  709. end
  710. end
  711. end
  712. end
  713. end
  714. end
  715. end
  716. end
  717. function ShootingStar()
  718. ATTACK = true
  719. Rooted = false
  720. local GYRO = IT("BodyGyro", RootPart)
  721. GYRO.D = 20
  722. GYRO.P = 4000
  723. GYRO.MaxTorque = VT(0, 40000, 0)
  724. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
  725. coroutine.resume(coroutine.create(function()
  726. for i = 1, 35 do
  727. Swait()
  728. MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  729. end
  730. end))
  731. for i = 0, 1.8, 0.1 / Animation_Speed do
  732. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  733. Swait()
  734. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  735. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  736. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  737. 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)
  738. 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)
  739. 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)
  740. end
  741. coroutine.resume(coroutine.create(function()
  742. local POSITION = Mouse.Hit.p
  743. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  744. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  745. local FIRE = script.SunFireball:Clone()
  746. FIRE.Parent = FIREBALL
  747. FIRE.Enabled = true
  748. local EXPLOSION = script.SunExplosion:Clone()
  749. EXPLOSION.Parent = FIREBALL
  750. CreateSound(463598785, FIREBALL, 5, 1, false)
  751. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  752. 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)
  753. for i = 1, 75 do
  754. Swait()
  755. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  756. end
  757. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  758. for i = 1, 300 do
  759. Swait()
  760. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  761. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  762. if HITFLOOR ~= nil then
  763. FIRE.Enabled = false
  764. EXPLOSION:Emit(500)
  765. CreateSound(416328540, FIREBALL, 5, 1, false)
  766. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  767. SHAKE = 1,
  768. TIMER = 6,
  769. DOESFADE = true
  770. })
  771. WACKYEFFECT({
  772. EffectType = "Sphere",
  773. Size = VT(0, 0, 0),
  774. Size2 = VT(150, 150, 150),
  775. Transparency = 0,
  776. Transparency2 = 1,
  777. CFrame = CF(FIREBALL.Position),
  778. MoveToPos = nil,
  779. RotationX = 0,
  780. RotationY = 0,
  781. RotationZ = 0,
  782. Material = "Neon",
  783. Color = C3(0.6666666666666666, 0, 0),
  784. SoundID = nil,
  785. SoundPitch = nil,
  786. SoundVolume = nil
  787. })
  788. wait(5)
  789. break
  790. end
  791. end
  792. FIREBALL:remove()
  793. end))
  794. GYRO:remove()
  795. RING.Anchored = true
  796. WELD:remove()
  797. coroutine.resume(coroutine.create(function()
  798. for i = 1, 35 do
  799. Swait()
  800. MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  801. end
  802. RING:remove()
  803. end))
  804. ATTACK = false
  805. Rooted = false
  806. end
  807. function PheonixRage()
  808. ATTACK = true
  809. Rooted = true
  810. local A = false
  811. local B = false
  812. local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix")
  813. WELD:remove()
  814. RING.Anchored = true
  815. coroutine.resume(coroutine.create(function()
  816. for i = 1, 45 do
  817. Swait()
  818. MESH.Scale = MESH.Scale + VT(15, 0, 15)
  819. end
  820. end))
  821. coroutine.resume(coroutine.create(function()
  822. repeat
  823. Swait()
  824. 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)
  825. 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)
  826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  828. 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)
  829. 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)
  830. until A == true
  831. repeat
  832. Swait()
  833. 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)
  834. 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)
  835. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  836. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  837. 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)
  838. 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)
  839. until B == true
  840. for i = 1, 45 do
  841. Swait()
  842. MESH.Scale = MESH.Scale - VT(15, 0, 15)
  843. end
  844. RING:remove()
  845. end))
  846. wait(1)
  847. for i = 1, 4 do
  848. WACKYEFFECT({
  849. EffectType = "Sphere",
  850. Size = VT(45, 45, 45),
  851. Size2 = VT(0, 0, 0),
  852. Transparency = 1,
  853. Transparency2 = 0.8,
  854. CFrame = CF(Torso.Position),
  855. MoveToPos = nil,
  856. RotationX = 0,
  857. RotationY = 0,
  858. RotationZ = 0,
  859. Material = "Neon",
  860. Color = PHEONIXCOLOR,
  861. SoundID = nil,
  862. SoundPitch = nil,
  863. SoundVolume = nil
  864. })
  865. wait(0.5)
  866. end
  867. A = true
  868. ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  869. SHAKE = 2,
  870. TIMER = 25,
  871. DOESFADE = true
  872. })
  873. WACKYEFFECT({
  874. Time = 60,
  875. EffectType = "Sphere",
  876. Size = VT(40, 40, 40),
  877. Size2 = VT(140, 140, 140),
  878. Transparency = 0,
  879. Transparency2 = 1,
  880. CFrame = CF(Torso.Position),
  881. MoveToPos = nil,
  882. RotationX = 0,
  883. RotationY = 0,
  884. RotationZ = 0,
  885. Material = "Neon",
  886. Color = C3(0.6666666666666666, 0, 0),
  887. SoundID = nil,
  888. SoundPitch = nil,
  889. SoundVolume = nil
  890. })
  891. WACKYEFFECT({
  892. Time = 60,
  893. EffectType = "Sphere",
  894. Size = VT(50, 50, 50),
  895. Size2 = VT(150, 150, 150),
  896. Transparency = 0.5,
  897. Transparency2 = 1,
  898. CFrame = CF(Torso.Position),
  899. MoveToPos = nil,
  900. RotationX = 0,
  901. RotationY = 0,
  902. RotationZ = 0,
  903. Material = "Neon",
  904. Color = PHEONIXCOLOR,
  905. SoundID = 462692971,
  906. SoundPitch = 0.8,
  907. SoundVolume = 6
  908. })
  909. local EXPLOSION = script.PheonixExplosion1:Clone()
  910. EXPLOSION.Parent = Torso
  911. EXPLOSION.Enabled = true
  912. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  913. EXPLOSION2.Parent = Torso
  914. EXPLOSION2.Enabled = true
  915. wait(0.3)
  916. EXPLOSION.Enabled = false
  917. EXPLOSION2.Enabled = false
  918. Debris:AddItem(EXPLOSION, 5)
  919. Debris:AddItem(EXPLOSION2, 5)
  920. wait(1)
  921. B = true
  922. ATTACK = false
  923. Rooted = false
  924. end
  925.  
  926. function Raise()
  927. PLAYANIMS = false
  928. for i=0, 0.3, 0.1 / Animation_Speed do
  929. Swait()
  930. 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)
  931. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  932. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  933. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  934. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  935. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  936. end
  937. Rooted = true
  938. for i=0, 1, 0.1 / Animation_Speed do
  939. Swait()
  940. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  941. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  942. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  943. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  944. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  945. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  946. end
  947. Rooted = false
  948. PLAYANIMS = true
  949. end
  950.  
  951. function Breath()
  952. ATTACK = true
  953. local POSITION = IT("BodyPosition", RootPart)
  954. POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p
  955. POSITION.D = 1250
  956. POSITION.P = 40000
  957. POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  958. WINGS = true
  959. local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  960. coroutine.resume(coroutine.create(function()
  961. for i = 1, 20 do
  962. Swait()
  963. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  964. end
  965. end))
  966. for i = 1, 25 do
  967. Swait()
  968. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
  969. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  970. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  971. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  972. 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)
  973. 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)
  974. end
  975. local GYRO = IT("BodyGyro", RootPart)
  976. GYRO.D = 20
  977. GYRO.P = 4000
  978. GYRO.MaxTorque = VT(0, 40000, 0)
  979. coroutine.resume(coroutine.create(function()
  980. repeat
  981. Swait()
  982. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  983. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  984. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  985. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  986. 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)
  987. 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)
  988. 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)
  989. until ATTACK == false
  990. POSITION:remove()
  991. GYRO:remove()
  992. for i = 1, 20 do
  993. Swait()
  994. MESH.Scale = MESH.Scale - VT(4, 0, 4)
  995. end
  996. RING:remove()
  997. end))
  998. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  999. for i = 1, 35 do
  1000. Swait()
  1001. MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  1002. end
  1003. wait(0.3)
  1004. coroutine.resume(coroutine.create(function()
  1005. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  1006. FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p)
  1007. local PARTICLES1 = script.PheonixFireball1:Clone()
  1008. PARTICLES1.Parent = FIREBALL
  1009. PARTICLES1.Enabled = true
  1010. local PARTICLES2 = script.PheonixFireball2:Clone()
  1011. PARTICLES2.Parent = FIREBALL
  1012. PARTICLES2.Enabled = true
  1013. CreateSound(463593339, FIREBALL, 6, 1, false)
  1014. for i = 1, 250 do
  1015. Swait()
  1016. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1017. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1018. if HIT then
  1019. ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  1020. SHAKE = 2,
  1021. TIMER = 25,
  1022. DOESFADE = true
  1023. })
  1024. WACKYEFFECT({
  1025. Time = 60,
  1026. EffectType = "Sphere",
  1027. Size = VT(0, 0, 0),
  1028. Size2 = VT(100, 100, 100),
  1029. Transparency = 0,
  1030. Transparency2 = 1,
  1031. CFrame = CF(FIREBALL.Position),
  1032. MoveToPos = nil,
  1033. RotationX = 0,
  1034. RotationY = 0,
  1035. RotationZ = 0,
  1036. Material = "Neon",
  1037. Color = C3(0.6666666666666666, 0, 0),
  1038. SoundID = nil,
  1039. SoundPitch = nil,
  1040. SoundVolume = nil
  1041. })
  1042. WACKYEFFECT({
  1043. Time = 60,
  1044. EffectType = "Sphere",
  1045. Size = VT(0, 0, 0),
  1046. Size2 = VT(120, 120, 120),
  1047. Transparency = 0.5,
  1048. Transparency2 = 1,
  1049. CFrame = CF(FIREBALL.Position),
  1050. MoveToPos = nil,
  1051. RotationX = 0,
  1052. RotationY = 0,
  1053. RotationZ = 0,
  1054. Material = "Neon",
  1055. Color = PHEONIXCOLOR,
  1056. SoundID = 462692971,
  1057. SoundPitch = 1,
  1058. SoundVolume = 6
  1059. })
  1060. PARTICLES1.Enabled = false
  1061. PARTICLES2.Enabled = false
  1062. local EXPLOSION = script.PheonixExplosion1:Clone()
  1063. EXPLOSION.Parent = FIREBALL
  1064. EXPLOSION.Enabled = true
  1065. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1066. EXPLOSION2.Parent = FIREBALL
  1067. EXPLOSION2.Enabled = true
  1068. wait(0.3)
  1069. EXPLOSION.Enabled = false
  1070. EXPLOSION2.Enabled = false
  1071. break
  1072. end
  1073. end
  1074. PARTICLES1.Enabled = false
  1075. PARTICLES2.Enabled = false
  1076. Debris:AddItem(FIREBALL, 7)
  1077. end))
  1078. wait(0.3)
  1079. coroutine.resume(coroutine.create(function()
  1080. WELD:remove()
  1081. RING.Anchored = true
  1082. for i = 1, 35 do
  1083. Swait()
  1084. MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  1085. end
  1086. RING:remove()
  1087. end))
  1088. WINGS = false
  1089. ATTACK = false
  1090. end
  1091.  
  1092.  
  1093. function ThreeShootingStars()
  1094. ATTACK = true
  1095. Rooted = false
  1096. local POS1, POS2, POS3
  1097. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
  1098. coroutine.resume(coroutine.create(function()
  1099. for i = 1, 35 do
  1100. Swait()
  1101. MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  1102. end
  1103. end))
  1104. coroutine.resume(coroutine.create(function()
  1105. repeat
  1106. Swait()
  1107. if POS1 then
  1108. coroutine.resume(coroutine.create(function()
  1109. local POSITION = POS1
  1110. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  1111. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  1112. local FIRE = script.SunFireball:Clone()
  1113. FIRE.Parent = FIREBALL
  1114. FIRE.Enabled = true
  1115. local EXPLOSION = script.SunExplosion:Clone()
  1116. EXPLOSION.Parent = FIREBALL
  1117. CreateSound(463598785, FIREBALL, 5, 1, false)
  1118. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1119. 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)
  1120. for i = 1, 75 do
  1121. Swait()
  1122. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1123. end
  1124. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  1125. for i = 1, 300 do
  1126. Swait()
  1127. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1128. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1129. if HITFLOOR ~= nil then
  1130. FIRE.Enabled = false
  1131. EXPLOSION:Emit(500)
  1132. CreateSound(416328540, FIREBALL, 5, 1, false)
  1133. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  1134. SHAKE = 1,
  1135. TIMER = 6,
  1136. DOESFADE = true
  1137. })
  1138. WACKYEFFECT({
  1139. EffectType = "Sphere",
  1140. Size = VT(0, 0, 0),
  1141. Size2 = VT(150, 150, 150),
  1142. Transparency = 0,
  1143. Transparency2 = 1,
  1144. CFrame = CF(FIREBALL.Position),
  1145. MoveToPos = nil,
  1146. RotationX = 0,
  1147. RotationY = 0,
  1148. RotationZ = 0,
  1149. Material = "Neon",
  1150. Color = C3(0.6666666666666666, 0, 0),
  1151. SoundID = nil,
  1152. SoundPitch = nil,
  1153. SoundVolume = nil
  1154. })
  1155. wait(5)
  1156. break
  1157. end
  1158. end
  1159. FIREBALL:remove()
  1160. end))
  1161. POS1 = nil
  1162. end
  1163. if POS2 then
  1164. coroutine.resume(coroutine.create(function()
  1165. local POSITION = POS2
  1166. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  1167. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  1168. local FIRE = script.SunFireball:Clone()
  1169. FIRE.Parent = FIREBALL
  1170. FIRE.Enabled = true
  1171. local EXPLOSION = script.SunExplosion:Clone()
  1172. EXPLOSION.Parent = FIREBALL
  1173. CreateSound(463598785, FIREBALL, 5, 1, false)
  1174. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1175. 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)
  1176. for i = 1, 75 do
  1177. Swait()
  1178. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1179. end
  1180. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  1181. for i = 1, 300 do
  1182. Swait()
  1183. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1184. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1185. if HITFLOOR ~= nil then
  1186. FIRE.Enabled = false
  1187. EXPLOSION:Emit(500)
  1188. CreateSound(416328540, FIREBALL, 5, 1, false)
  1189. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  1190. SHAKE = 1,
  1191. TIMER = 6,
  1192. DOESFADE = true
  1193. })
  1194. WACKYEFFECT({
  1195. EffectType = "Sphere",
  1196. Size = VT(0, 0, 0),
  1197. Size2 = VT(150, 150, 150),
  1198. Transparency = 0,
  1199. Transparency2 = 1,
  1200. CFrame = CF(FIREBALL.Position),
  1201. MoveToPos = nil,
  1202. RotationX = 0,
  1203. RotationY = 0,
  1204. RotationZ = 0,
  1205. Material = "Neon",
  1206. Color = C3(0.6666666666666666, 0, 0),
  1207. SoundID = nil,
  1208. SoundPitch = nil,
  1209. SoundVolume = nil
  1210. })
  1211. wait(5)
  1212. break
  1213. end
  1214. end
  1215. FIREBALL:remove()
  1216. end))
  1217. POS2 = nil
  1218. end
  1219. if POS3 then
  1220. coroutine.resume(coroutine.create(function()
  1221. local POSITION = POS3
  1222. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  1223. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  1224. local FIRE = script.SunFireball:Clone()
  1225. FIRE.Parent = FIREBALL
  1226. FIRE.Enabled = true
  1227. local EXPLOSION = script.SunExplosion:Clone()
  1228. EXPLOSION.Parent = FIREBALL
  1229. CreateSound(463598785, FIREBALL, 5, 1, false)
  1230. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  1231. 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)
  1232. for i = 1, 75 do
  1233. Swait()
  1234. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  1235. end
  1236. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  1237. for i = 1, 300 do
  1238. Swait()
  1239. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  1240. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  1241. if HITFLOOR ~= nil then
  1242. FIRE.Enabled = false
  1243. EXPLOSION:Emit(500)
  1244. CreateSound(416328540, FIREBALL, 5, 1, false)
  1245. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  1246. SHAKE = 1,
  1247. TIMER = 6,
  1248. DOESFADE = true
  1249. })
  1250. WACKYEFFECT({
  1251. EffectType = "Sphere",
  1252. Size = VT(0, 0, 0),
  1253. Size2 = VT(150, 150, 150),
  1254. Transparency = 0,
  1255. Transparency2 = 1,
  1256. CFrame = CF(FIREBALL.Position),
  1257. MoveToPos = nil,
  1258. RotationX = 0,
  1259. RotationY = 0,
  1260. RotationZ = 0,
  1261. Material = "Neon",
  1262. Color = C3(0.6666666666666666, 0, 0),
  1263. SoundID = nil,
  1264. SoundPitch = nil,
  1265. SoundVolume = nil
  1266. })
  1267. wait(5)
  1268. break
  1269. end
  1270. end
  1271. FIREBALL:remove()
  1272. end))
  1273. POS3 = nil
  1274. end
  1275. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  1276. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  1277. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1278. 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)
  1279. 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)
  1280. 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)
  1281. until ATTACK == false
  1282. end))
  1283. wait(0.4)
  1284. POS1 = Mouse.Hit.p
  1285. wait(0.5)
  1286. POS2 = Mouse.Hit.p
  1287. wait(0.6)
  1288. POS3 = Mouse.Hit.p
  1289. wait(0.3)
  1290. RING.Anchored = true
  1291. WELD:remove()
  1292. coroutine.resume(coroutine.create(function()
  1293. for i = 1, 35 do
  1294. Swait()
  1295. MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  1296. end
  1297. RING:remove()
  1298. end))
  1299. ATTACK = false
  1300. Rooted = false
  1301. end
  1302. function PheonixFlare()
  1303. ATTACK = true
  1304. Rooted = false
  1305. PARTICLES = true
  1306. coroutine.resume(coroutine.create(function()
  1307. repeat
  1308. Swait()
  1309. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1310. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1311. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1312. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1313. 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)
  1314. 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)
  1315. until ATTACK == false
  1316. end))
  1317. CreateSound(462676772, Torso, 7, 1, false)
  1318. WINGS1.Acceleration = VT(9, 0, -12)
  1319. WINGS1B.Acceleration = VT(9, 0, -12)
  1320. WINGS2.Acceleration = VT(-9, 0, -12)
  1321. WINGS2B.Acceleration = VT(-9, 0, -12)
  1322. wait(0.25)
  1323. coroutine.resume(coroutine.create(function()
  1324. local WIND = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0))
  1325. WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1326. local PARTICLES = script.Gale:Clone()
  1327. PARTICLES.Parent = WIND
  1328. PARTICLES.Enabled = true
  1329. CreateSound(376218535, WIND, 6, 1, false)
  1330. for i = 1, 250 do
  1331. Swait()
  1332. local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
  1333. WIND.CFrame = WIND.CFrame * CF(0, 0, -2)
  1334. if HIT then
  1335. ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, {
  1336. SHAKE = 3,
  1337. TIMER = 7,
  1338. DOESFADE = true
  1339. })
  1340. CreateSound(260430117, WIND, 3, 1, false)
  1341. WACKYEFFECT({
  1342. Time = 25,
  1343. EffectType = "Wave",
  1344. Size = VT(20, 0, 20),
  1345. Size2 = VT(60, 8, 60),
  1346. Transparency = 0.9,
  1347. Transparency2 = 1,
  1348. CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)),
  1349. MoveToPos = nil,
  1350. RotationX = 0,
  1351. RotationY = 0,
  1352. RotationZ = 0,
  1353. Material = "Neon",
  1354. Color = C3(0.8, 0.8, 0.8),
  1355. SoundID = nil,
  1356. SoundPitch = nil,
  1357. SoundVolume = nil
  1358. })
  1359. WACKYEFFECT({
  1360. Time = 25,
  1361. EffectType = "Wave",
  1362. Size = VT(20, 0, 20),
  1363. Size2 = VT(60, 8, 60),
  1364. Transparency = 0.9,
  1365. Transparency2 = 1,
  1366. CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)),
  1367. MoveToPos = nil,
  1368. RotationX = 0,
  1369. RotationY = 0,
  1370. RotationZ = 0,
  1371. Material = "Neon",
  1372. Color = C3(0.8, 0.8, 0.8),
  1373. SoundID = nil,
  1374. SoundPitch = nil,
  1375. SoundVolume = nil
  1376. })
  1377. break
  1378. end
  1379. end
  1380. PARTICLES.Enabled = false
  1381. Debris:AddItem(WIND, 7)
  1382. end))
  1383. wait(1)
  1384. CreateSound(462676772, Torso, 7, 1, false)
  1385. WINGS1.Acceleration = VT(9, 1, 4)
  1386. WINGS1B.Acceleration = VT(9, 1, 4)
  1387. WINGS2.Acceleration = VT(-9, 1, 4)
  1388. WINGS2B.Acceleration = VT(-9, 1, 4)
  1389. wait(0.25)
  1390. coroutine.resume(coroutine.create(function()
  1391. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  1392. FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1393. local PARTICLES1 = script.PheonixFireball1:Clone()
  1394. PARTICLES1.Parent = FIREBALL
  1395. PARTICLES1.Enabled = true
  1396. local PARTICLES2 = script.PheonixFireball2:Clone()
  1397. PARTICLES2.Parent = FIREBALL
  1398. PARTICLES2.Enabled = true
  1399. CreateSound(463593339, FIREBALL, 6, 1, false)
  1400. for i = 1, 250 do
  1401. Swait()
  1402. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  1403. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  1404. if HIT then
  1405. ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  1406. SHAKE = 2,
  1407. TIMER = 25,
  1408. DOESFADE = true
  1409. })
  1410. WACKYEFFECT({
  1411. Time = 60,
  1412. EffectType = "Sphere",
  1413. Size = VT(0, 0, 0),
  1414. Size2 = VT(120, 120, 120),
  1415. Transparency = 0,
  1416. Transparency2 = 1,
  1417. CFrame = CF(FIREBALL.Position),
  1418. MoveToPos = nil,
  1419. RotationX = 0,
  1420. RotationY = 0,
  1421. RotationZ = 0,
  1422. Material = "Neon",
  1423. Color = C3(0.6666666666666666, 0, 0),
  1424. SoundID = nil,
  1425. SoundPitch = nil,
  1426. SoundVolume = nil
  1427. })
  1428. WACKYEFFECT({
  1429. Time = 60,
  1430. EffectType = "Sphere",
  1431. Size = VT(0, 0, 0),
  1432. Size2 = VT(140, 140, 140),
  1433. Transparency = 0.5,
  1434. Transparency2 = 1,
  1435. CFrame = CF(FIREBALL.Position),
  1436. MoveToPos = nil,
  1437. RotationX = 0,
  1438. RotationY = 0,
  1439. RotationZ = 0,
  1440. Material = "Neon",
  1441. Color = PHEONIXCOLOR,
  1442. SoundID = 462692971,
  1443. SoundPitch = 1,
  1444. SoundVolume = 6
  1445. })
  1446. PARTICLES1.Enabled = false
  1447. PARTICLES2.Enabled = false
  1448. local EXPLOSION = script.PheonixExplosion1:Clone()
  1449. EXPLOSION.Parent = FIREBALL
  1450. EXPLOSION.Enabled = true
  1451. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  1452. EXPLOSION2.Parent = FIREBALL
  1453. EXPLOSION2.Enabled = true
  1454. wait(0.3)
  1455. EXPLOSION.Enabled = false
  1456. EXPLOSION2.Enabled = false
  1457. break
  1458. end
  1459. end
  1460. PARTICLES1.Enabled = false
  1461. PARTICLES2.Enabled = false
  1462. Debris:AddItem(FIREBALL, 7)
  1463. end))
  1464. wait(0.5)
  1465. PARTICLES = false
  1466. ATTACK = false
  1467. Rooted = false
  1468. end
  1469.  
  1470. local maindamage = 600
  1471. function sandbox(var,func)
  1472. local env = getfenv(func)
  1473. local newenv = setmetatable({},{
  1474. __index = function(self,k)
  1475. if k=="script" then
  1476. return var
  1477. else
  1478. return env[k]
  1479. end
  1480. end,
  1481. })
  1482. setfenv(func,newenv)
  1483. return func
  1484. end
  1485. cors = {}
  1486. mas = Instance.new("Model",game:GetService("Lighting"))
  1487. LocalScript0 = Instance.new("LocalScript")
  1488. ParticleEmitter1 = Instance.new("ParticleEmitter")
  1489. ParticleEmitter2 = Instance.new("ParticleEmitter")
  1490. ParticleEmitter3 = Instance.new("ParticleEmitter")
  1491. ParticleEmitter4 = Instance.new("ParticleEmitter")
  1492. ParticleEmitter5 = Instance.new("ParticleEmitter")
  1493. ParticleEmitter6 = Instance.new("ParticleEmitter")
  1494. ParticleEmitter7 = Instance.new("ParticleEmitter")
  1495. ParticleEmitter8 = Instance.new("ParticleEmitter")
  1496. LocalScript9 = Instance.new("LocalScript")
  1497. NumberValue10 = Instance.new("NumberValue")
  1498. NumberValue11 = Instance.new("NumberValue")
  1499. BoolValue12 = Instance.new("BoolValue")
  1500. ParticleEmitter13 = Instance.new("ParticleEmitter")
  1501. ParticleEmitter14 = Instance.new("ParticleEmitter")
  1502. ParticleEmitter15 = Instance.new("ParticleEmitter")
  1503. ParticleEmitter16 = Instance.new("ParticleEmitter")
  1504. ParticleEmitter17 = Instance.new("ParticleEmitter")
  1505. ParticleEmitter18 = Instance.new("ParticleEmitter")
  1506. ParticleEmitter19 = Instance.new("ParticleEmitter")
  1507. ParticleEmitter20 = Instance.new("ParticleEmitter")
  1508. ParticleEmitter21 = Instance.new("ParticleEmitter")
  1509. ParticleEmitter22 = Instance.new("ParticleEmitter")
  1510. LocalScript0.Name = "WarPheonix"
  1511. LocalScript0.Parent = mas
  1512. table.insert(cors,sandbox(LocalScript0,function()
  1513. it = Instance.new
  1514.  
  1515. wait(0.2)
  1516. Player = game:GetService("Players").LocalPlayer
  1517. PlayerGui = Player.PlayerGui
  1518. Cam = workspace.CurrentCamera
  1519. Backpack = Player.Backpack
  1520. Character = Player.Character
  1521. Humanoid = Character.Humanoid
  1522. Mouse = Player:GetMouse()
  1523. RootPart = Character.HumanoidRootPart
  1524. Torso = Character.Torso
  1525. Head = Character.Head
  1526. RightArm = Character["Right Arm"]
  1527. LeftArm = Character["Left Arm"]
  1528. RightLeg = Character["Right Leg"]
  1529. LeftLeg = Character["Left Leg"]
  1530. RootJoint = RootPart.RootJoint
  1531. Neck = Torso.Neck
  1532. RightShoulder = Torso["Right Shoulder"]
  1533. LeftShoulder = Torso["Left Shoulder"]
  1534. RightHip = Torso["Right Hip"]
  1535. LeftHip = Torso["Left Hip"]
  1536. local sick = Instance.new("Sound", Character)
  1537. sick.SoundId = "rbxassetid://1604456093"
  1538. sick.Looped = true
  1539. IT = Instance.new
  1540. CF = CFrame.new
  1541. VT = Vector3.new
  1542. RAD = math.rad
  1543. C3 = Color3.new
  1544. UD2 = UDim2.new
  1545. BRICKC = BrickColor.new
  1546. ANGLES = CFrame.Angles
  1547. EULER = CFrame.fromEulerAnglesXYZ
  1548. COS = math.cos
  1549. ACOS = math.acos
  1550. SIN = math.sin
  1551. ASIN = math.asin
  1552. ABS = math.abs
  1553. MRANDOM = math.random
  1554. FLOOR = math.floor
  1555. local FIRECOLOR = C3(1,85/255,0)
  1556.  
  1557. local vest = Character:FindFirstChild("Vest")
  1558. if vest then
  1559. vest:Destroy()
  1560. end
  1561. local vest = Character:FindFirstChild("Shorts")
  1562. if vest then
  1563. vest:Destroy()
  1564. end
  1565. local vest = Character:FindFirstChild("Shaggy")
  1566. if vest then
  1567. vest:Destroy()
  1568. end
  1569.  
  1570. local naeeym2 = Instance.new("BillboardGui",Character)
  1571. naeeym2.AlwaysOnTop = true
  1572. naeeym2.Size = UDim2.new(5,35,2,35)
  1573. naeeym2.StudsOffset = Vector3.new(0,4.5,0)
  1574. naeeym2.Adornee = Character.Head
  1575. naeeym2.Name = "Name"
  1576. naeeym2.MaxDistance = 200
  1577. local tecks2 = Instance.new("TextLabel",naeeym2)
  1578. tecks2.BackgroundTransparency = 1
  1579. tecks2.TextScaled = true
  1580. tecks2.BorderSizePixel = 0
  1581. tecks2.Text = "The Crimson Phoenix"
  1582. tecks2.Font = "Fantasy"
  1583. tecks2.TextSize = 48
  1584. tecks2.TextStrokeTransparency = 0
  1585. tecks2.TextColor3 = Color3.new(0,0,0)
  1586. tecks2.TextStrokeColor3 = Color3.new(188/255, 0, 0)
  1587. tecks2.Size = UDim2.new(1,0,0.5,0)
  1588. tecks2.Parent = naeeym2
  1589.  
  1590. local naeeym3 = Instance.new("BillboardGui",Character)
  1591. naeeym3.AlwaysOnTop = true
  1592. naeeym3.Size = UDim2.new(5,35,2,35)
  1593. naeeym3.StudsOffset = Vector3.new(0,3,0)
  1594. naeeym3.Adornee = Character.Head
  1595. naeeym3.Name = "Name"
  1596. naeeym3.MaxDistance = 200
  1597. local tecks3 = Instance.new("TextLabel",naeeym2)
  1598. tecks3.BackgroundTransparency = 1
  1599. tecks3.TextScaled = true
  1600. tecks3.BorderSizePixel = 0
  1601. tecks3.Text = "Godzilla"
  1602. tecks3.Font = "Fantasy"
  1603. tecks3.TextSize = 32
  1604. tecks3.TextStrokeTransparency = 1
  1605. tecks3.TextColor3 = Color3.new(125/255,0,0)
  1606. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1607. tecks3.Size = UDim2.new(1,0,0.5,0)
  1608. tecks3.Parent = naeeym3
  1609.  
  1610.  
  1611. Animation_Speed = 3
  1612. Frame_Speed = 0.016666666666666666
  1613. local Speed = 16
  1614. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1615. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1616. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1617. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1618. local DAMAGEMULTIPLIER = 1
  1619. local ANIM = "Idle"
  1620. local ATTACK = false
  1621. local EQUIPPED = false
  1622. local HOLD = false
  1623. local COMBO = 1
  1624. local Rooted = false
  1625. local SINE = 0
  1626. local KEYHOLD = false
  1627. local CHANGE = 2 / Animation_Speed
  1628. local WALKINGANIM = false
  1629. local VALUE1 = false
  1630. local VALUE2 = false
  1631. local ROBLOXIDLEANIMATION = IT("Animation")
  1632. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1633. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1634. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1635. WEAPONGUI.Name = "Weapon GUI"
  1636. local Effects = IT("Folder", Character)
  1637. Effects.Name = "Effects"
  1638. local ANIMATOR = Humanoid.Animator
  1639. local ANIMATE = Character.Animate
  1640. local UNANCHOR = true
  1641. local FLIGHT = false
  1642. local BODYPOS, GYRO, FLIGHTRING
  1643. local PARTICLES = false
  1644. local WINGS = false
  1645. local APPLYGYRO = true
  1646. local DIRECTTURN = false
  1647. local PHEONIXCOLOR = C3(0, 0, 0)
  1648. ArtificialHB = Instance.new("BindableEvent", script)
  1649. ArtificialHB.Name = "ArtificialHB"
  1650. script:WaitForChild("ArtificialHB")
  1651. frame = Frame_Speed
  1652. tf = 0
  1653. allowframeloss = false
  1654. tossremainder = false
  1655. lastframe = tick()
  1656. script.ArtificialHB:Fire()
  1657. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1658. tf = tf + s
  1659. if tf >= frame then
  1660. if allowframeloss then
  1661. script.ArtificialHB:Fire()
  1662. lastframe = tick()
  1663. else
  1664. for i = 1, math.floor(tf / frame) do
  1665. script.ArtificialHB:Fire()
  1666. end
  1667. lastframe = tick()
  1668. end
  1669. if tossremainder then
  1670. tf = 0
  1671. else
  1672. tf = tf - frame * math.floor(tf / frame)
  1673. end
  1674. end
  1675. end)
  1676. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1677. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1678. end
  1679. function PositiveAngle(NUMBER)
  1680. if NUMBER >= 0 then
  1681. NUMBER = 0
  1682. end
  1683. return NUMBER
  1684. end
  1685. function NegativeAngle(NUMBER)
  1686. if NUMBER <= 0 then
  1687. NUMBER = 0
  1688. end
  1689. return NUMBER
  1690. end
  1691. function Swait(NUMBER)
  1692. if NUMBER == 0 or NUMBER == nil then
  1693. ArtificialHB.Event:wait()
  1694. else
  1695. for i = 1, NUMBER do
  1696. ArtificialHB.Event:wait()
  1697. end
  1698. end
  1699. end
  1700. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1701. local NEWMESH = IT(MESH)
  1702. if MESH == "SpecialMesh" then
  1703. NEWMESH.MeshType = MESHTYPE
  1704. if MESHID ~= "nil" and MESHID ~= "" then
  1705. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  1706. end
  1707. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1708. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  1709. end
  1710. end
  1711. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1712. NEWMESH.Scale = SCALE
  1713. NEWMESH.Parent = PARENT
  1714. return NEWMESH
  1715. end
  1716. function Createpart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1717. local NEWPART = IT("Part")
  1718. NEWPART.formFactor = FORMFACTOR
  1719. NEWPART.Reflectance = REFLECTANCE
  1720. NEWPART.Transparency = TRANSPARENCY
  1721. NEWPART.CanCollide = false
  1722. NEWPART.Locked = true
  1723. NEWPART.Anchored = true
  1724. if ANCHOR == false then
  1725. NEWPART.Anchored = false
  1726. end
  1727. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1728. NEWPART.Name = NAME
  1729. NEWPART.Size = SIZE
  1730. NEWPART.Position = Torso.Position
  1731. NEWPART.Material = MATERIAL
  1732. NEWPART:BreakJoints()
  1733. NEWPART.Parent = PARENT
  1734. return NEWPART
  1735. end
  1736. local weldBetween = function(a, b)
  1737. local weldd = Instance.new("ManualWeld")
  1738. weldd.Part0 = a
  1739. weldd.Part1 = b
  1740. weldd.C0 = CFrame.new()
  1741. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1742. weldd.Parent = a
  1743. return weldd
  1744. end
  1745. function QuaternionFromCFrame(cf)
  1746. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1747. local trace = m00 + m11 + m22
  1748. if trace > 0 then
  1749. local s = math.sqrt(1 + trace)
  1750. local recip = 0.5 / s
  1751. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1752. else
  1753. local i = 0
  1754. if m00 < m11 then
  1755. i = 1
  1756. end
  1757. if m22 > (i == 0 and m00 or m11) then
  1758. i = 2
  1759. end
  1760. if i == 0 then
  1761. local s = math.sqrt(m00 - m11 - m22 + 1)
  1762. local recip = 0.5 / s
  1763. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1764. elseif i == 1 then
  1765. local s = math.sqrt(m11 - m22 - m00 + 1)
  1766. local recip = 0.5 / s
  1767. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1768. elseif i == 2 then
  1769. local s = math.sqrt(m22 - m00 - m11 + 1)
  1770. local recip = 0.5 / s
  1771. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1772. end
  1773. end
  1774. end
  1775. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1776. local xs, ys, zs = x + x, y + y, z + z
  1777. local wx, wy, wz = w * xs, w * ys, w * zs
  1778. local xx = x * xs
  1779. local xy = x * ys
  1780. local xz = x * zs
  1781. local yy = y * ys
  1782. local yz = y * zs
  1783. local zz = z * zs
  1784. 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))
  1785. end
  1786. function QuaternionSlerp(a, b, t)
  1787. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1788. local startInterp, finishInterp
  1789. if cosTheta >= 1.0E-4 then
  1790. if 1 - cosTheta > 1.0E-4 then
  1791. local theta = ACOS(cosTheta)
  1792. local invSinTheta = 1 / SIN(theta)
  1793. startInterp = SIN((1 - t) * theta) * invSinTheta
  1794. finishInterp = SIN(t * theta) * invSinTheta
  1795. else
  1796. startInterp = 1 - t
  1797. finishInterp = t
  1798. end
  1799. elseif 1 + cosTheta > 1.0E-4 then
  1800. local theta = ACOS(-cosTheta)
  1801. local invSinTheta = 1 / SIN(theta)
  1802. startInterp = SIN((t - 1) * theta) * invSinTheta
  1803. finishInterp = SIN(t * theta) * invSinTheta
  1804. else
  1805. startInterp = t - 1
  1806. finishInterp = t
  1807. end
  1808. 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
  1809. end
  1810. function Clerp(a, b, t)
  1811. local qa = {
  1812. QuaternionFromCFrame(a)
  1813. }
  1814. local qb = {
  1815. QuaternionFromCFrame(b)
  1816. }
  1817. local ax, ay, az = a.x, a.y, a.z
  1818. local bx, by, bz = b.x, b.y, b.z
  1819. local _t = 1 - t
  1820. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1821. end
  1822. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1823. local frame = IT("Frame")
  1824. frame.BackgroundTransparency = TRANSPARENCY
  1825. frame.BorderSizePixel = BORDERSIZEPIXEL
  1826. frame.Position = POSITION
  1827. frame.Size = SIZE
  1828. frame.BackgroundColor3 = COLOR
  1829. frame.BorderColor3 = BORDERCOLOR
  1830. frame.Name = NAME
  1831. frame.Parent = PARENT
  1832. return frame
  1833. end
  1834. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1835. local label = IT("TextLabel")
  1836. label.BackgroundTransparency = 1
  1837. label.Size = UD2(1, 0, 1, 0)
  1838. label.Position = UD2(0, 0, 0, 0)
  1839. label.TextColor3 = TEXTCOLOR
  1840. label.TextStrokeTransparency = STROKETRANSPARENCY
  1841. label.TextTransparency = TRANSPARENCY
  1842. label.FontSize = TEXTFONTSIZE
  1843. label.Font = TEXTFONT
  1844. label.BorderSizePixel = BORDERSIZEPIXEL
  1845. label.TextScaled = false
  1846. label.Text = TEXT
  1847. label.Name = NAME
  1848. label.Parent = PARENT
  1849. return label
  1850. end
  1851. function NoOutlines(PART)
  1852. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1853. end
  1854. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1855. local NEWWELD = IT(TYPE)
  1856. NEWWELD.Part0 = PART0
  1857. NEWWELD.Part1 = PART1
  1858. NEWWELD.C0 = C0
  1859. NEWWELD.C1 = C1
  1860. NEWWELD.Parent = PARENT
  1861. return NEWWELD
  1862. end
  1863. local S = IT("Sound")
  1864. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1865. local NEWSOUND
  1866. coroutine.resume(coroutine.create(function()
  1867. NEWSOUND = S:Clone()
  1868. NEWSOUND.Parent = PARENT
  1869. NEWSOUND.Volume = VOLUME
  1870. NEWSOUND.Pitch = PITCH
  1871. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  1872. NEWSOUND:play()
  1873. if DOESLOOP == true then
  1874. NEWSOUND.Looped = true
  1875. else
  1876. repeat
  1877. wait(1)
  1878. until NEWSOUND.Playing == false
  1879. NEWSOUND:remove()
  1880. end
  1881. end))
  1882. return NEWSOUND
  1883. end
  1884. function CFrameFromTopBack(at, top, back)
  1885. local right = top:Cross(back)
  1886. 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)
  1887. end
  1888. function WACKYEFFECT(Table)
  1889. local TYPE = Table.EffectType or "Sphere"
  1890. local SIZE = Table.Size or VT(1, 1, 1)
  1891. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1892. local TRANSPARENCY = Table.Transparency or 0
  1893. local ENDTRANSPARENCY = Table.Transparency2 or 1
  1894. local CFRAME = Table.CFrame or Torso.CFrame
  1895. local MOVEDIRECTION = Table.MoveToPos or nil
  1896. local ROTATION1 = Table.RotationX or 0
  1897. local ROTATION2 = Table.RotationY or 0
  1898. local ROTATION3 = Table.RotationZ or 0
  1899. local MATERIAL = Table.Material or "Neon"
  1900. local COLOR = Table.Color or C3(0, 0, 0)
  1901. local TIME = Table.Time or 45
  1902. local SOUNDID = Table.SoundID or nil
  1903. local SOUNDPITCH = Table.SoundPitch or nil
  1904. local SOUNDVOLUME = Table.SoundVolume or nil
  1905. coroutine.resume(coroutine.create(function()
  1906. local PLAYSSOUND = false
  1907. local SOUND
  1908. local EFFECT = Createpart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1909. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1910. PLAYSSOUND = true
  1911. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1912. end
  1913. EFFECT.Color = COLOR
  1914. local MSH
  1915. if TYPE == "Sphere" then
  1916. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1917. elseif TYPE == "Block" then
  1918. MSH = IT("BlockMesh", EFFECT)
  1919. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  1920. elseif TYPE == "Wave" then
  1921. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1922. elseif TYPE == "Ring" then
  1923. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1924. elseif TYPE == "Slash" then
  1925. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1926. elseif TYPE == "Round Slash" then
  1927. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1928. elseif TYPE == "Swirl" then
  1929. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  1930. elseif TYPE == "Skull" then
  1931. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1932. elseif TYPE == "Crystal" then
  1933. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  1934. end
  1935. if MSH ~= nil then
  1936. local MOVESPEED
  1937. if MOVEDIRECTION ~= nil then
  1938. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  1939. end
  1940. local GROWTH = SIZE - ENDSIZE
  1941. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1942. if TYPE == "Block" then
  1943. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1944. else
  1945. EFFECT.CFrame = CFRAME
  1946. end
  1947. for LOOP = 1, TIME + 1 do
  1948. Swait()
  1949. MSH.Scale = MSH.Scale - GROWTH / TIME
  1950. if TYPE == "Wave" then
  1951. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  1952. end
  1953. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1954. if TYPE == "Block" then
  1955. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1956. else
  1957. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1958. end
  1959. if MOVEDIRECTION ~= nil then
  1960. local ORI = EFFECT.Orientation
  1961. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  1962. EFFECT.Orientation = ORI
  1963. end
  1964. end
  1965. if PLAYSSOUND == false then
  1966. EFFECT:remove()
  1967. else
  1968. repeat
  1969. Swait()
  1970. until SOUND.Playing == false
  1971. EFFECT:remove()
  1972. end
  1973. elseif PLAYSSOUND == false then
  1974. EFFECT:remove()
  1975. else
  1976. repeat
  1977. Swait()
  1978. until SOUND.Playing == false
  1979. EFFECT:remove()
  1980. end
  1981. end))
  1982. end
  1983. function MakeForm(PART, TYPE)
  1984. if TYPE == "Cyl" then
  1985. local MSH = IT("CylinderMesh", PART)
  1986. elseif TYPE == "Ball" then
  1987. local MSH = IT("SpecialMesh", PART)
  1988. MSH.MeshType = "Sphere"
  1989. elseif TYPE == "Wedge" then
  1990. local MSH = IT("SpecialMesh", PART)
  1991. MSH.MeshType = "Wedge"
  1992. end
  1993. end
  1994. Debris = game:GetService("Debris")
  1995. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1996. local DIRECTION = CF(StartPos, EndPos).lookVector
  1997. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1998. end
  1999. function turnto(position)
  2000. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  2001. end
  2002. local DECAL = IT("Decal", nil)
  2003. function MagicRing(PART, CFRAME, VARIANT)
  2004. if VARIANT == "Pheonix" or VARIANT == "Sun" or VARIANT == "Fire" then
  2005. local RING = Createpart(3, Effects, "Granite", 0, 1, "Maroon", "MagicRing", VT(0, 0, 0), false)
  2006. local WELD = CreateWeldOrSnapOrMotor("Weld", PART, PART, RING, CFRAME, CF(0, 0, 0))
  2007. local MESH = IT("BlockMesh", RING)
  2008. local BOTTOMTEXTURE = DECAL:Clone()
  2009. BOTTOMTEXTURE.Parent = RING
  2010. BOTTOMTEXTURE.Face = "Bottom"
  2011. BOTTOMTEXTURE.Name = "BottomTexture"
  2012. local TOPTEXTURE = DECAL:Clone()
  2013. TOPTEXTURE.Parent = RING
  2014. TOPTEXTURE.Face = "Top"
  2015. TOPTEXTURE.Name = "TopTexture"
  2016. local T = script.RingEmit:Clone()
  2017. T.Parent = RING
  2018. local LIGHT = IT("PointLight", RING)
  2019. if VARIANT == "Pheonix" then
  2020. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=338413386"
  2021. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=338413386"
  2022. T.Color = ColorSequence.new(PHEONIXCOLOR)
  2023. CreateSound(462809305, RING, 5, 1, false)
  2024. elseif VARIANT == "Sun" then
  2025. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=341153149"
  2026. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=341153149"
  2027. T.Color = ColorSequence.new(BRICKC("Persimmon").Color)
  2028. CreateSound(462809305, RING, 5, 1, false)
  2029. LIGHT.Color = BRICKC("Persimmon").Color
  2030. elseif VARIANT == "Fire" then
  2031. BOTTOMTEXTURE.Texture = "http://www.roblox.com/asset/?id=352764483"
  2032. TOPTEXTURE.Texture = "http://www.roblox.com/asset/?id=352764483"
  2033. T.Color = ColorSequence.new(BRICKC("Persimmon").Color)
  2034. CreateSound(343211019, RING, 5, 1, false)
  2035. LIGHT.Color = C3(1, 0.1, 0.1)
  2036. end
  2037. T.LightEmission = 1
  2038. T:Emit(5)
  2039. Debris:AddItem(T, 5)
  2040. return RING, WELD, MESH
  2041. end
  2042. end
  2043. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  2044. for _, c in pairs(PARENT:GetDescendants()) do
  2045. if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  2046. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  2047. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  2048. if DIST > (TORSO.Position - FROM).Magnitude then
  2049. table.insert(TABLE, c)
  2050. end
  2051. end
  2052. end
  2053. end
  2054. local BACKATTACHMENT1 = IT("Attachment", Torso)
  2055. BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
  2056. local BACKATTACHMENT2 = IT("Attachment", Torso)
  2057. BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
  2058. local WINGS1 = script.Wing1
  2059. WINGS1.EmissionDirection="Right"
  2060. WINGS1.Size=NumberSequence.new(2)
  2061. local WINGS1B = script.Wing1B
  2062. WINGS1B.EmissionDirection="Right"
  2063. WINGS1B.Size=NumberSequence.new(2)
  2064. local WINGS2 = script.Wing2
  2065. WINGS2.EmissionDirection="Left"
  2066. WINGS2.Size=NumberSequence.new(2)
  2067. local WINGS2B = script.Wing2B
  2068. WINGS2B.EmissionDirection="Left"
  2069. WINGS2B.Size=NumberSequence.new(2)
  2070. WINGS1.Parent = BACKATTACHMENT1
  2071. WINGS1.LockedToPart=true
  2072. WINGS1B.Parent = BACKATTACHMENT1
  2073. WINGS1B.LockedToPart=true
  2074. WINGS2.Parent = BACKATTACHMENT2
  2075. WINGS2.LockedToPart=true
  2076. WINGS2B.Parent = BACKATTACHMENT2
  2077. WINGS2B.LockedToPart=true
  2078. local FACEATTACHMENT = IT("Attachment", Head)
  2079. FACEATTACHMENT.Position = VT(0.167, 0.272, -0.5)
  2080. FACEATTACHMENT.Orientation = VT(0, 35, 0)
  2081. local EYE = script.Eye1
  2082. EYE.LockedToPart=true
  2083. EYE.Parent = FACEATTACHMENT
  2084. local EYE2 = script.Eye2
  2085. EYE2.Parent = FACEATTACHMENT
  2086. EYE2.LockedToPart=true
  2087. local TRAIL1 = script.PheonixTrail:Clone()
  2088. TRAIL1.LockedToPart=true
  2089. TRAIL1.Size=NumberSequence.new(.01)
  2090. TRAIL1.Parent = BACKATTACHMENT1
  2091. local TRAIL2 = script.PheonixTrail:Clone()
  2092. TRAIL2.LockedToPart=true
  2093. TRAIL2.Parent = BACKATTACHMENT2
  2094. TRAIL2.Size=NumberSequence.new(.01)
  2095. local LIGHT = IT("PointLight", FACEATTACHMENT)
  2096. LIGHT.Enabled = false
  2097. LIGHT.Brightness = 5
  2098. LIGHT.Range = 6
  2099. Humanoid.Died:connect(function()
  2100. ATTACK = true
  2101. end)
  2102. function ApplyDamage(Humanoid, Damage, TorsoPart, Time, AfterBurn, Variant)
  2103. local defence = Instance.new("BoolValue", Humanoid.Parent)
  2104. defence.Name = "HitBy" .. Player.Name
  2105. game:GetService("Debris"):AddItem(defence, 0.001)
  2106. Damage = Damage * DAMAGEMULTIPLIER
  2107. if Humanoid.Health ~= 0 then
  2108. local CritChance = MRANDOM(1, 100)
  2109. if Damage > Humanoid.Health then
  2110. Damage = math.ceil(Humanoid.Health)
  2111. if Damage == 0 then
  2112. Damage = 0.1
  2113. end
  2114. end
  2115. Humanoid.Health = Humanoid.Health - maindamage
  2116. if AfterBurn == true then
  2117. Afterburn(Humanoid, Time, Damage / 5, Variant)
  2118. end
  2119. end
  2120. end
  2121. function Afterburn(Human, Time, Damage, Variant)
  2122. coroutine.resume(coroutine.create(function()
  2123. if Human and (Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")) then
  2124. local Torso = Human.Parent:FindFirstChild("Torso") or Human.Parent:FindFirstChild("UpperTorso")
  2125. local FIRE
  2126. if Variant == "Pheonix" then
  2127. FIRE = script.PheonixBurn:Clone()
  2128. FIRE.Parent = Torso
  2129. FIRE.Enabled = true
  2130. elseif Variant == "Sun" then
  2131. FIRE = script.SunBurn:Clone()
  2132. FIRE.Parent = Torso
  2133. FIRE.Enabled = true
  2134. elseif Variant == "Fire" then
  2135. FIRE = script.Burn:Clone()
  2136. FIRE.Parent = Torso
  2137. FIRE.Enabled = true
  2138. end
  2139. for i = 1, Time do
  2140. wait(0.5)
  2141. Human.Health = Human.Health - Damage
  2142. end
  2143. wait(0.25)
  2144. FIRE.Enabled = false
  2145. Debris:AddItem(FIRE, 1.5)
  2146. end
  2147. end))
  2148. end
  2149. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, AFTERBURN, TIME, VARIANT, DOESCAMSHAKE, CAMVALUES)
  2150. local CHILDREN = workspace:GetChildren()
  2151. for index, CHILD in pairs(CHILDREN) do
  2152. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2153. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2154. if HUM then
  2155. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2156. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2157. local DMG = MRANDOM(MINDMG, MAXDMG)
  2158. ApplyDamage(HUM, DMG, TORSO, TIME, AFTERBURN, VARIANT)
  2159. if HUM.MaxHealth == math.huge then
  2160. CHILD:BreakJoints()
  2161. end
  2162. if DOESCAMSHAKE == true then
  2163. local CAMSHAKER = script.CamShake:Clone()
  2164. CAMSHAKER.Shake.Value = CAMVALUES.SHAKE
  2165. CAMSHAKER.Timer.Value = CAMVALUES.TIMER
  2166. CAMSHAKER.DoesFade.Value = CAMVALUES.DOESFADE
  2167. CAMSHAKER.Parent = CHILD
  2168. CAMSHAKER.Disabled = false
  2169. end
  2170. if FLING > 0 then
  2171. for _, c in pairs(CHILD:GetChildren()) do
  2172. if c:IsA("BasePart") then
  2173. local bv = Instance.new("BodyVelocity")
  2174. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2175. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  2176. bv.Parent = c
  2177. Debris:AddItem(bv, 0.05)
  2178. end
  2179. end
  2180. end
  2181. end
  2182. end
  2183. end
  2184. end
  2185. end
  2186. function ShootingStar()
  2187. ATTACK = true
  2188. Rooted = false
  2189. local GYRO = IT("BodyGyro", RootPart)
  2190. GYRO.D = 20
  2191. GYRO.P = 4000
  2192. GYRO.MaxTorque = VT(0, 40000, 0)
  2193. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
  2194. coroutine.resume(coroutine.create(function()
  2195. for i = 1, 35 do
  2196. Swait()
  2197. MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  2198. end
  2199. end))
  2200. for i = 0, 1.8, 0.1 / Animation_Speed do
  2201. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2202. Swait()
  2203. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  2204. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  2205. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2206. 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)
  2207. 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)
  2208. 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)
  2209. end
  2210. coroutine.resume(coroutine.create(function()
  2211. local POSITION = Mouse.Hit.p
  2212. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  2213. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  2214. local FIRE = script.SunFireball:Clone()
  2215. FIRE.Parent = FIREBALL
  2216. FIRE.Enabled = true
  2217. local EXPLOSION = script.SunExplosion:Clone()
  2218. EXPLOSION.Parent = FIREBALL
  2219. CreateSound(463598785, FIREBALL, 5, 1, false)
  2220. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  2221. 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)
  2222. for i = 1, 75 do
  2223. Swait()
  2224. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  2225. end
  2226. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  2227. for i = 1, 300 do
  2228. Swait()
  2229. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  2230. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  2231. if HITFLOOR ~= nil then
  2232. FIRE.Enabled = false
  2233. EXPLOSION:Emit(500)
  2234. CreateSound(416328540, FIREBALL, 5, 1, false)
  2235. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  2236. SHAKE = 1,
  2237. TIMER = 6,
  2238. DOESFADE = true
  2239. })
  2240. WACKYEFFECT({
  2241. EffectType = "Sphere",
  2242. Size = VT(0, 0, 0),
  2243. Size2 = VT(150, 150, 150),
  2244. Transparency = 0,
  2245. Transparency2 = 1,
  2246. CFrame = CF(FIREBALL.Position),
  2247. MoveToPos = nil,
  2248. RotationX = 0,
  2249. RotationY = 0,
  2250. RotationZ = 0,
  2251. Material = "Neon",
  2252. Color = C3(0.6666666666666666, 0, 0),
  2253. SoundID = nil,
  2254. SoundPitch = nil,
  2255. SoundVolume = nil
  2256. })
  2257. wait(5)
  2258. break
  2259. end
  2260. end
  2261. FIREBALL:remove()
  2262. end))
  2263. GYRO:remove()
  2264. RING.Anchored = true
  2265. WELD:remove()
  2266. coroutine.resume(coroutine.create(function()
  2267. for i = 1, 35 do
  2268. Swait()
  2269. MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  2270. end
  2271. RING:remove()
  2272. end))
  2273. ATTACK = false
  2274. Rooted = false
  2275. end
  2276. function PheonixRage()
  2277. ATTACK = true
  2278. Rooted = true
  2279. local A = false
  2280. local B = false
  2281. local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3, 0), "Pheonix")
  2282. WELD:remove()
  2283. RING.Anchored = true
  2284. coroutine.resume(coroutine.create(function()
  2285. for i = 1, 45 do
  2286. Swait()
  2287. MESH.Scale = MESH.Scale + VT(15, 0, 15)
  2288. end
  2289. end))
  2290. coroutine.resume(coroutine.create(function()
  2291. repeat
  2292. Swait()
  2293. 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)
  2294. 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)
  2295. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(15), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2296. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2297. 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)
  2298. 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)
  2299. until A == true
  2300. repeat
  2301. Swait()
  2302. 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)
  2303. 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)
  2304. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2305. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2306. 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)
  2307. 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)
  2308. until B == true
  2309. for i = 1, 45 do
  2310. Swait()
  2311. MESH.Scale = MESH.Scale - VT(15, 0, 15)
  2312. end
  2313. RING:remove()
  2314. end))
  2315. wait(1)
  2316. for i = 1, 4 do
  2317. WACKYEFFECT({
  2318. EffectType = "Sphere",
  2319. Size = VT(45, 45, 45),
  2320. Size2 = VT(0, 0, 0),
  2321. Transparency = 1,
  2322. Transparency2 = 0.8,
  2323. CFrame = CF(Torso.Position),
  2324. MoveToPos = nil,
  2325. RotationX = 0,
  2326. RotationY = 0,
  2327. RotationZ = 0,
  2328. Material = "Neon",
  2329. Color = PHEONIXCOLOR,
  2330. SoundID = nil,
  2331. SoundPitch = nil,
  2332. SoundVolume = nil
  2333. })
  2334. wait(0.5)
  2335. end
  2336. A = true
  2337. ApplyAoE(Torso.Position, 80, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  2338. SHAKE = 2,
  2339. TIMER = 25,
  2340. DOESFADE = true
  2341. })
  2342. WACKYEFFECT({
  2343. Time = 60,
  2344. EffectType = "Sphere",
  2345. Size = VT(40, 40, 40),
  2346. Size2 = VT(140, 140, 140),
  2347. Transparency = 0,
  2348. Transparency2 = 1,
  2349. CFrame = CF(Torso.Position),
  2350. MoveToPos = nil,
  2351. RotationX = 0,
  2352. RotationY = 0,
  2353. RotationZ = 0,
  2354. Material = "Neon",
  2355. Color = C3(0.6666666666666666, 0, 0),
  2356. SoundID = nil,
  2357. SoundPitch = nil,
  2358. SoundVolume = nil
  2359. })
  2360. WACKYEFFECT({
  2361. Time = 60,
  2362. EffectType = "Sphere",
  2363. Size = VT(50, 50, 50),
  2364. Size2 = VT(150, 150, 150),
  2365. Transparency = 0.5,
  2366. Transparency2 = 1,
  2367. CFrame = CF(Torso.Position),
  2368. MoveToPos = nil,
  2369. RotationX = 0,
  2370. RotationY = 0,
  2371. RotationZ = 0,
  2372. Material = "Neon",
  2373. Color = PHEONIXCOLOR,
  2374. SoundID = 462692971,
  2375. SoundPitch = 0.8,
  2376. SoundVolume = 6
  2377. })
  2378. local EXPLOSION = script.PheonixExplosion1:Clone()
  2379. EXPLOSION.Parent = Torso
  2380. EXPLOSION.Enabled = true
  2381. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  2382. EXPLOSION2.Parent = Torso
  2383. EXPLOSION2.Enabled = true
  2384. wait(0.3)
  2385. EXPLOSION.Enabled = false
  2386. EXPLOSION2.Enabled = false
  2387. Debris:AddItem(EXPLOSION, 5)
  2388. Debris:AddItem(EXPLOSION2, 5)
  2389. wait(1)
  2390. B = true
  2391. ATTACK = false
  2392. Rooted = false
  2393. end
  2394.  
  2395. function Raise()
  2396. PLAYANIMS = false
  2397. for i=0, 0.3, 0.1 / Animation_Speed do
  2398. Swait()
  2399. 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)
  2400. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2401. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2402. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2403. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2404. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2405. end
  2406. Rooted = true
  2407. for i=0, 1, 0.1 / Animation_Speed do
  2408. Swait()
  2409. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2410. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2411. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2412. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2413. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2414. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2415. end
  2416. Rooted = false
  2417. PLAYANIMS = true
  2418. end
  2419.  
  2420. function Breath()
  2421. ATTACK = true
  2422. local POSITION = IT("BodyPosition", RootPart)
  2423. POSITION.Position = RootPart.CFrame * CF(0, 35, 35).p
  2424. POSITION.D = 1250
  2425. POSITION.P = 40000
  2426. POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  2427. WINGS = true
  2428. local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 0.6) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  2429. coroutine.resume(coroutine.create(function()
  2430. for i = 1, 20 do
  2431. Swait()
  2432. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  2433. end
  2434. end))
  2435. for i = 1, 25 do
  2436. Swait()
  2437. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-14.4 * i), RAD(0), RAD(0)), 1 / Animation_Speed)
  2438. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2439. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2440. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, -1) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2441. 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)
  2442. 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)
  2443. end
  2444. local GYRO = IT("BodyGyro", RootPart)
  2445. GYRO.D = 20
  2446. GYRO.P = 4000
  2447. GYRO.MaxTorque = VT(0, 40000, 0)
  2448. coroutine.resume(coroutine.create(function()
  2449. repeat
  2450. Swait()
  2451. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2452. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  2453. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  2454. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2455. 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)
  2456. 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)
  2457. 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)
  2458. until ATTACK == false
  2459. POSITION:remove()
  2460. GYRO:remove()
  2461. for i = 1, 20 do
  2462. Swait()
  2463. MESH.Scale = MESH.Scale - VT(4, 0, 4)
  2464. end
  2465. RING:remove()
  2466. end))
  2467. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  2468. for i = 1, 35 do
  2469. Swait()
  2470. MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  2471. end
  2472. wait(0.3)
  2473. coroutine.resume(coroutine.create(function()
  2474. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  2475. FIREBALL.CFrame = CF(RING.Position, Mouse.Hit.p)
  2476. local PARTICLES1 = script.PheonixFireball1:Clone()
  2477. PARTICLES1.Parent = FIREBALL
  2478. PARTICLES1.Enabled = true
  2479. local PARTICLES2 = script.PheonixFireball2:Clone()
  2480. PARTICLES2.Parent = FIREBALL
  2481. PARTICLES2.Enabled = true
  2482. CreateSound(463593339, FIREBALL, 6, 1, false)
  2483. for i = 1, 250 do
  2484. Swait()
  2485. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  2486. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  2487. if HIT then
  2488. ApplyAoE(FIREBALL.Position, 50, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  2489. SHAKE = 2,
  2490. TIMER = 25,
  2491. DOESFADE = true
  2492. })
  2493. WACKYEFFECT({
  2494. Time = 60,
  2495. EffectType = "Sphere",
  2496. Size = VT(0, 0, 0),
  2497. Size2 = VT(100, 100, 100),
  2498. Transparency = 0,
  2499. Transparency2 = 1,
  2500. CFrame = CF(FIREBALL.Position),
  2501. MoveToPos = nil,
  2502. RotationX = 0,
  2503. RotationY = 0,
  2504. RotationZ = 0,
  2505. Material = "Neon",
  2506. Color = C3(0.6666666666666666, 0, 0),
  2507. SoundID = nil,
  2508. SoundPitch = nil,
  2509. SoundVolume = nil
  2510. })
  2511. WACKYEFFECT({
  2512. Time = 60,
  2513. EffectType = "Sphere",
  2514. Size = VT(0, 0, 0),
  2515. Size2 = VT(120, 120, 120),
  2516. Transparency = 0.5,
  2517. Transparency2 = 1,
  2518. CFrame = CF(FIREBALL.Position),
  2519. MoveToPos = nil,
  2520. RotationX = 0,
  2521. RotationY = 0,
  2522. RotationZ = 0,
  2523. Material = "Neon",
  2524. Color = PHEONIXCOLOR,
  2525. SoundID = 462692971,
  2526. SoundPitch = 1,
  2527. SoundVolume = 6
  2528. })
  2529. PARTICLES1.Enabled = false
  2530. PARTICLES2.Enabled = false
  2531. local EXPLOSION = script.PheonixExplosion1:Clone()
  2532. EXPLOSION.Parent = FIREBALL
  2533. EXPLOSION.Enabled = true
  2534. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  2535. EXPLOSION2.Parent = FIREBALL
  2536. EXPLOSION2.Enabled = true
  2537. wait(0.3)
  2538. EXPLOSION.Enabled = false
  2539. EXPLOSION2.Enabled = false
  2540. break
  2541. end
  2542. end
  2543. PARTICLES1.Enabled = false
  2544. PARTICLES2.Enabled = false
  2545. Debris:AddItem(FIREBALL, 7)
  2546. end))
  2547. wait(0.3)
  2548. coroutine.resume(coroutine.create(function()
  2549. WELD:remove()
  2550. RING.Anchored = true
  2551. for i = 1, 35 do
  2552. Swait()
  2553. MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  2554. end
  2555. RING:remove()
  2556. end))
  2557. WINGS = false
  2558. ATTACK = false
  2559. end
  2560.  
  2561.  
  2562. function ThreeShootingStars()
  2563. ATTACK = true
  2564. Rooted = false
  2565. local POS1, POS2, POS3
  2566. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0), "Sun")
  2567. coroutine.resume(coroutine.create(function()
  2568. for i = 1, 35 do
  2569. Swait()
  2570. MESH.Scale = MESH.Scale + VT(2.6, 0, 2.6)
  2571. end
  2572. end))
  2573. coroutine.resume(coroutine.create(function()
  2574. repeat
  2575. Swait()
  2576. if POS1 then
  2577. coroutine.resume(coroutine.create(function()
  2578. local POSITION = POS1
  2579. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  2580. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  2581. local FIRE = script.SunFireball:Clone()
  2582. FIRE.Parent = FIREBALL
  2583. FIRE.Enabled = true
  2584. local EXPLOSION = script.SunExplosion:Clone()
  2585. EXPLOSION.Parent = FIREBALL
  2586. CreateSound(463598785, FIREBALL, 5, 1, false)
  2587. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  2588. 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)
  2589. for i = 1, 75 do
  2590. Swait()
  2591. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  2592. end
  2593. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  2594. for i = 1, 300 do
  2595. Swait()
  2596. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  2597. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  2598. if HITFLOOR ~= nil then
  2599. FIRE.Enabled = false
  2600. EXPLOSION:Emit(500)
  2601. CreateSound(416328540, FIREBALL, 5, 1, false)
  2602. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  2603. SHAKE = 1,
  2604. TIMER = 6,
  2605. DOESFADE = true
  2606. })
  2607. WACKYEFFECT({
  2608. EffectType = "Sphere",
  2609. Size = VT(0, 0, 0),
  2610. Size2 = VT(150, 150, 150),
  2611. Transparency = 0,
  2612. Transparency2 = 1,
  2613. CFrame = CF(FIREBALL.Position),
  2614. MoveToPos = nil,
  2615. RotationX = 0,
  2616. RotationY = 0,
  2617. RotationZ = 0,
  2618. Material = "Neon",
  2619. Color = C3(0.6666666666666666, 0, 0),
  2620. SoundID = nil,
  2621. SoundPitch = nil,
  2622. SoundVolume = nil
  2623. })
  2624. wait(5)
  2625. break
  2626. end
  2627. end
  2628. FIREBALL:remove()
  2629. end))
  2630. POS1 = nil
  2631. end
  2632. if POS2 then
  2633. coroutine.resume(coroutine.create(function()
  2634. local POSITION = POS2
  2635. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  2636. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  2637. local FIRE = script.SunFireball:Clone()
  2638. FIRE.Parent = FIREBALL
  2639. FIRE.Enabled = true
  2640. local EXPLOSION = script.SunExplosion:Clone()
  2641. EXPLOSION.Parent = FIREBALL
  2642. CreateSound(463598785, FIREBALL, 5, 1, false)
  2643. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  2644. 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)
  2645. for i = 1, 75 do
  2646. Swait()
  2647. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  2648. end
  2649. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  2650. for i = 1, 300 do
  2651. Swait()
  2652. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  2653. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  2654. if HITFLOOR ~= nil then
  2655. FIRE.Enabled = false
  2656. EXPLOSION:Emit(500)
  2657. CreateSound(416328540, FIREBALL, 5, 1, false)
  2658. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  2659. SHAKE = 1,
  2660. TIMER = 6,
  2661. DOESFADE = true
  2662. })
  2663. WACKYEFFECT({
  2664. EffectType = "Sphere",
  2665. Size = VT(0, 0, 0),
  2666. Size2 = VT(150, 150, 150),
  2667. Transparency = 0,
  2668. Transparency2 = 1,
  2669. CFrame = CF(FIREBALL.Position),
  2670. MoveToPos = nil,
  2671. RotationX = 0,
  2672. RotationY = 0,
  2673. RotationZ = 0,
  2674. Material = "Neon",
  2675. Color = C3(0.6666666666666666, 0, 0),
  2676. SoundID = nil,
  2677. SoundPitch = nil,
  2678. SoundVolume = nil
  2679. })
  2680. wait(5)
  2681. break
  2682. end
  2683. end
  2684. FIREBALL:remove()
  2685. end))
  2686. POS2 = nil
  2687. end
  2688. if POS3 then
  2689. coroutine.resume(coroutine.create(function()
  2690. local POSITION = POS3
  2691. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Crimson", "Fire", VT(3, 3, 3))
  2692. FIREBALL.CFrame = RightArm.CFrame * CF(0, -3, 0)
  2693. local FIRE = script.SunFireball:Clone()
  2694. FIRE.Parent = FIREBALL
  2695. FIRE.Enabled = true
  2696. local EXPLOSION = script.SunExplosion:Clone()
  2697. EXPLOSION.Parent = FIREBALL
  2698. CreateSound(463598785, FIREBALL, 5, 1, false)
  2699. local DISTANCE = (RootPart.Position - POSITION).Magnitude
  2700. 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)
  2701. for i = 1, 75 do
  2702. Swait()
  2703. FIREBALL.CFrame = Clerp(FIREBALL.CFrame, FRAME, 0.5 / Animation_Speed)
  2704. end
  2705. FIREBALL.CFrame = CF(FIREBALL.Position, POSITION)
  2706. for i = 1, 300 do
  2707. Swait()
  2708. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  2709. local HITFLOOR, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.2, Character)
  2710. if HITFLOOR ~= nil then
  2711. FIRE.Enabled = false
  2712. EXPLOSION:Emit(500)
  2713. CreateSound(416328540, FIREBALL, 5, 1, false)
  2714. ApplyAoE(FIREBALL.Position, 75, 25, 35, 65, true, MRANDOM(5, 15), "Sun", true, {
  2715. SHAKE = 1,
  2716. TIMER = 6,
  2717. DOESFADE = true
  2718. })
  2719. WACKYEFFECT({
  2720. EffectType = "Sphere",
  2721. Size = VT(0, 0, 0),
  2722. Size2 = VT(150, 150, 150),
  2723. Transparency = 0,
  2724. Transparency2 = 1,
  2725. CFrame = CF(FIREBALL.Position),
  2726. MoveToPos = nil,
  2727. RotationX = 0,
  2728. RotationY = 0,
  2729. RotationZ = 0,
  2730. Material = "Neon",
  2731. Color = C3(0.6666666666666666, 0, 0),
  2732. SoundID = nil,
  2733. SoundPitch = nil,
  2734. SoundVolume = nil
  2735. })
  2736. wait(5)
  2737. break
  2738. end
  2739. end
  2740. FIREBALL:remove()
  2741. end))
  2742. POS3 = nil
  2743. end
  2744. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(74)), 2 / Animation_Speed)
  2745. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-74)), 1 / Animation_Speed)
  2746. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(74)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2747. 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)
  2748. 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)
  2749. 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)
  2750. until ATTACK == false
  2751. end))
  2752. wait(0.4)
  2753. POS1 = Mouse.Hit.p
  2754. wait(0.5)
  2755. POS2 = Mouse.Hit.p
  2756. wait(0.6)
  2757. POS3 = Mouse.Hit.p
  2758. wait(0.3)
  2759. RING.Anchored = true
  2760. WELD:remove()
  2761. coroutine.resume(coroutine.create(function()
  2762. for i = 1, 35 do
  2763. Swait()
  2764. MESH.Scale = MESH.Scale - VT(2.6, 0, 2.6)
  2765. end
  2766. RING:remove()
  2767. end))
  2768. ATTACK = false
  2769. Rooted = false
  2770. end
  2771. function PheonixFlare()
  2772. ATTACK = true
  2773. Rooted = false
  2774. PARTICLES = true
  2775. coroutine.resume(coroutine.create(function()
  2776. repeat
  2777. Swait()
  2778. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2780. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2781. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2782. 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)
  2783. 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)
  2784. until ATTACK == false
  2785. end))
  2786. CreateSound(462676772, Torso, 7, 1, false)
  2787. WINGS1.Acceleration = VT(9, 0, -12)
  2788. WINGS1B.Acceleration = VT(9, 0, -12)
  2789. WINGS2.Acceleration = VT(-9, 0, -12)
  2790. WINGS2B.Acceleration = VT(-9, 0, -12)
  2791. wait(0.25)
  2792. coroutine.resume(coroutine.create(function()
  2793. local WIND = Createpart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(0, 0, 0))
  2794. WIND.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2795. local PARTICLES = script.Gale:Clone()
  2796. PARTICLES.Parent = WIND
  2797. PARTICLES.Enabled = true
  2798. CreateSound(376218535, WIND, 6, 1, false)
  2799. for i = 1, 250 do
  2800. Swait()
  2801. local HIT, HITPOS = Raycast(WIND.Position, WIND.CFrame.lookVector, 3, Character)
  2802. WIND.CFrame = WIND.CFrame * CF(0, 0, -2)
  2803. if HIT then
  2804. ApplyAoE(WIND.Position, 45, 10, 30, 135, false, MRANDOM(12, 16), "Nul", true, {
  2805. SHAKE = 3,
  2806. TIMER = 7,
  2807. DOESFADE = true
  2808. })
  2809. CreateSound(260430117, WIND, 3, 1, false)
  2810. WACKYEFFECT({
  2811. Time = 25,
  2812. EffectType = "Wave",
  2813. Size = VT(20, 0, 20),
  2814. Size2 = VT(60, 8, 60),
  2815. Transparency = 0.9,
  2816. Transparency2 = 1,
  2817. CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)),
  2818. MoveToPos = nil,
  2819. RotationX = 0,
  2820. RotationY = 0,
  2821. RotationZ = 0,
  2822. Material = "Neon",
  2823. Color = C3(0.8, 0.8, 0.8),
  2824. SoundID = nil,
  2825. SoundPitch = nil,
  2826. SoundVolume = nil
  2827. })
  2828. WACKYEFFECT({
  2829. Time = 25,
  2830. EffectType = "Wave",
  2831. Size = VT(20, 0, 20),
  2832. Size2 = VT(60, 8, 60),
  2833. Transparency = 0.9,
  2834. Transparency2 = 1,
  2835. CFrame = WIND.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)),
  2836. MoveToPos = nil,
  2837. RotationX = 0,
  2838. RotationY = 0,
  2839. RotationZ = 0,
  2840. Material = "Neon",
  2841. Color = C3(0.8, 0.8, 0.8),
  2842. SoundID = nil,
  2843. SoundPitch = nil,
  2844. SoundVolume = nil
  2845. })
  2846. break
  2847. end
  2848. end
  2849. PARTICLES.Enabled = false
  2850. Debris:AddItem(WIND, 7)
  2851. end))
  2852. wait(1)
  2853. CreateSound(462676772, Torso, 7, 1, false)
  2854. WINGS1.Acceleration = VT(9, 1, 4)
  2855. WINGS1B.Acceleration = VT(9, 1, 4)
  2856. WINGS2.Acceleration = VT(-9, 1, 4)
  2857. WINGS2B.Acceleration = VT(-9, 1, 4)
  2858. wait(0.25)
  2859. coroutine.resume(coroutine.create(function()
  2860. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  2861. FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  2862. local PARTICLES1 = script.PheonixFireball1:Clone()
  2863. PARTICLES1.Parent = FIREBALL
  2864. PARTICLES1.Enabled = true
  2865. local PARTICLES2 = script.PheonixFireball2:Clone()
  2866. PARTICLES2.Parent = FIREBALL
  2867. PARTICLES2.Enabled = true
  2868. CreateSound(463593339, FIREBALL, 6, 1, false)
  2869. for i = 1, 250 do
  2870. Swait()
  2871. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  2872. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  2873. if HIT then
  2874. ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  2875. SHAKE = 2,
  2876. TIMER = 25,
  2877. DOESFADE = true
  2878. })
  2879. WACKYEFFECT({
  2880. Time = 60,
  2881. EffectType = "Sphere",
  2882. Size = VT(0, 0, 0),
  2883. Size2 = VT(120, 120, 120),
  2884. Transparency = 0,
  2885. Transparency2 = 1,
  2886. CFrame = CF(FIREBALL.Position),
  2887. MoveToPos = nil,
  2888. RotationX = 0,
  2889. RotationY = 0,
  2890. RotationZ = 0,
  2891. Material = "Neon",
  2892. Color = C3(0.6666666666666666, 0, 0),
  2893. SoundID = nil,
  2894. SoundPitch = nil,
  2895. SoundVolume = nil
  2896. })
  2897. WACKYEFFECT({
  2898. Time = 60,
  2899. EffectType = "Sphere",
  2900. Size = VT(0, 0, 0),
  2901. Size2 = VT(140, 140, 140),
  2902. Transparency = 0.5,
  2903. Transparency2 = 1,
  2904. CFrame = CF(FIREBALL.Position),
  2905. MoveToPos = nil,
  2906. RotationX = 0,
  2907. RotationY = 0,
  2908. RotationZ = 0,
  2909. Material = "Neon",
  2910. Color = PHEONIXCOLOR,
  2911. SoundID = 462692971,
  2912. SoundPitch = 1,
  2913. SoundVolume = 6
  2914. })
  2915. PARTICLES1.Enabled = false
  2916. PARTICLES2.Enabled = false
  2917. local EXPLOSION = script.PheonixExplosion1:Clone()
  2918. EXPLOSION.Parent = FIREBALL
  2919. EXPLOSION.Enabled = true
  2920. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  2921. EXPLOSION2.Parent = FIREBALL
  2922. EXPLOSION2.Enabled = true
  2923. wait(0.3)
  2924. EXPLOSION.Enabled = false
  2925. EXPLOSION2.Enabled = false
  2926. break
  2927. end
  2928. end
  2929. PARTICLES1.Enabled = false
  2930. PARTICLES2.Enabled = false
  2931. Debris:AddItem(FIREBALL, 7)
  2932. end))
  2933. wait(0.5)
  2934. PARTICLES = false
  2935. ATTACK = false
  2936. Rooted = false
  2937. end
  2938.  
  2939. function PhoenixThrone()
  2940. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2941. if HITFLOOR then
  2942. ATTACK = true
  2943. Raise()
  2944. coroutine.resume(coroutine.create(function()
  2945. local PYRAMID = IT("Model")
  2946. PYRAMID.Name = "Pyramid"
  2947. local BASEPART = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(100,1,100))
  2948. local FIREPART = Createpart(3, Effects, "Neon", 0, 1, "Wheat", "Pyramid", VT(110,1,110))
  2949. FIREPART.Touched:Connect(function(hit)
  2950. if FIREPART.Transparency ~= 1 then
  2951. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  2952. if hit.Parent.Name == "Mummy" then
  2953. hit.Parent:BreakJoints()
  2954. else
  2955. hit.Parent:FindFirstChildOfClass("Humanoid").Health = hit.Parent:FindFirstChildOfClass("Humanoid").Health - 25
  2956. end
  2957. end
  2958. end
  2959. end)
  2960. ------
  2961. local PILLAR = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5))
  2962. MakeForm(PILLAR,"Cyl")
  2963. PILLAR.CFrame = BASEPART.CFrame*CF(25,25,25)
  2964. local PILLARTOP = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6))
  2965. MakeForm(PILLARTOP,"Cyl")
  2966. PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0)
  2967. local COAL = Createpart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2))
  2968. COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0)
  2969. local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true})
  2970. FIRE.LockedToPart = true
  2971. ------
  2972. local PILLAR = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5))
  2973. MakeForm(PILLAR,"Cyl")
  2974. PILLAR.CFrame = BASEPART.CFrame*CF(-25,25,25)
  2975. local PILLARTOP = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6))
  2976. MakeForm(PILLARTOP,"Cyl")
  2977. PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0)
  2978. local COAL = Createpart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2))
  2979. COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0)
  2980. local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true})
  2981. FIRE.LockedToPart = true
  2982. ------
  2983. local PILLAR = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5))
  2984. MakeForm(PILLAR,"Cyl")
  2985. PILLAR.CFrame = BASEPART.CFrame*CF(25,25,-25)
  2986. local PILLARTOP = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6))
  2987. MakeForm(PILLARTOP,"Cyl")
  2988. PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0)
  2989. local COAL = Createpart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2))
  2990. COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0)
  2991. local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true})
  2992. FIRE.LockedToPart = true
  2993. ------
  2994. local PILLAR = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5))
  2995. MakeForm(PILLAR,"Cyl")
  2996. PILLAR.CFrame = BASEPART.CFrame*CF(-25,25,-25)
  2997. local PILLARTOP = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6))
  2998. MakeForm(PILLARTOP,"Cyl")
  2999. PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0)
  3000. local COAL = Createpart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2))
  3001. COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0)
  3002. local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true})
  3003. FIRE.LockedToPart = true
  3004. ------
  3005. FIREPART.Color = FIRECOLOR
  3006. FIREPART.CFrame = RootPart.CFrame*CF(0,-3.3,65)
  3007. local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = FIREPART, Emit = 45, Offset = 360, Enabled = true})
  3008. local LASTPART = nil
  3009. for i = 1, 35 do
  3010. local PART = Createpart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(100-i*2,1,100-i*2))
  3011. PART.CFrame = BASEPART.CFrame*CF(0,i,0)
  3012. LASTPART = PART
  3013. local PART = Createpart(3, PYRAMID, "Marble", 0, 0, "Cork", "Pyramid", VT(5,1.1,100.1-i*2))
  3014. PART.CFrame = BASEPART.CFrame*CF(0,i,0)
  3015. local PART = Createpart(3, PYRAMID, "Marble", 0, 0, "Cork", "Pyramid", VT(100.1-i*2,1.1,5))
  3016. PART.CFrame = BASEPART.CFrame*CF(0,i,0)
  3017. local PART = Createpart(3, PYRAMID, "Granite", 0, 0, "Cork", "Pyramid", VT(7,1.05,100.05-i*2))
  3018. PART.CFrame = BASEPART.CFrame*CF(0,i,0)
  3019. local PART = Createpart(3, PYRAMID, "Granite", 0, 0, "Cork", "Pyramid", VT(100.05-i*2,1.05,7))
  3020. PART.CFrame = BASEPART.CFrame*CF(0,i,0)
  3021. end
  3022. local PART = Createpart(3, PYRAMID, "Marble", 0, 0, "Cork", "Pyramid", VT(20,0.1,20))
  3023. PART.CFrame = LASTPART.CFrame*CF(0,LASTPART.Size.Y/2,0)
  3024. FIRE.Rate = 999
  3025. local CHAIR1 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Dark stone grey", "Throne", VT(7,1,7))
  3026. CHAIR1.CFrame = BASEPART.CFrame*CF(0,36,0)
  3027. local CHAIR2 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Dark stone grey", "Throne", VT(5,1,5))
  3028. CHAIR2.CFrame = CHAIR1.CFrame*CF(0,1,0)
  3029. local CHAIR3 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(3,1,3))
  3030. CHAIR3.CFrame = CHAIR2.CFrame*CF(0,1,0)
  3031. local SEAT = IT("Seat",PYRAMID)
  3032. SEAT.Size = VT(2,0.2,2)
  3033. SEAT.Material = "Concrete"
  3034. SEAT.Anchored = true
  3035. SEAT.BrickColor = BRICKC"Dark orange"
  3036. SEAT.CFrame = CHAIR3.CFrame*CF(0,0.55,-0.5)
  3037. local CHAIR4 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(3,5,1))
  3038. CHAIR4.CFrame = CHAIR3.CFrame*CF(0,3,1)
  3039. local CHAIR5 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Dark orange", "Throne", VT(2,4.7,1))
  3040. CHAIR5.CFrame = CHAIR4.CFrame*CF(0,0,-0.1)
  3041. local CHAIR6 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(0.5,2,2))
  3042. CHAIR6.CFrame = CHAIR3.CFrame*CF(1.5,0.75,0)
  3043. local CHAIR7 = Createpart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(0.5,2,2))
  3044. CHAIR7.CFrame = CHAIR3.CFrame*CF(-1.5,0.75,0)
  3045. PYRAMID.PrimaryPart = BASEPART
  3046. PYRAMID:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,-50,65))
  3047. PYRAMID.Parent = Weapon
  3048. for i = 1, 25 do
  3049. Swait()
  3050. FIREPART.Transparency = FIREPART.Transparency - 1/25
  3051. end
  3052. for _, c in pairs(PYRAMID:GetChildren()) do
  3053. if c:IsA("BasePart") then
  3054. c.CanCollide = true
  3055. end
  3056. end
  3057. local RESET = PYRAMID.Changed:Connect(function()
  3058. PYRAMID.Parent = workspace
  3059. end)
  3060. CreateSound(130972023, BASEPART, 10, 0.8, false)
  3061. for i = 1, 46*4 do
  3062. Swait()
  3063. PYRAMID:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,0.25,0))
  3064. end
  3065. for i = 1, 25 do
  3066. Swait()
  3067. FIREPART.Transparency = FIREPART.Transparency + 1/25
  3068. end
  3069. FIRE.Enabled = false
  3070. local SINKING = false
  3071. SIT.Changed:Connect(function()
  3072. if SIT.Value == false and SINKING == false then
  3073. SINKING = true
  3074. local PRT = Createpart(3, PYRAMID, "Concrete", 0, 0, "Dark orange", "Throne", VT(2,0.2,2))
  3075. PRT.CFrame = SEAT.CFrame
  3076. SEAT:remove()
  3077. wait(1)
  3078. FIRE.Enabled = true
  3079. for i = 1, 25 do
  3080. Swait()
  3081. FIREPART.Transparency = FIREPART.Transparency - 1/25
  3082. end
  3083. for i = 1, 46*4 do
  3084. Swait()
  3085. FIREPART.Size = FIREPART.Size - VT(0.003*i,0,0.003*i)
  3086. PYRAMID:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,-0.25,0))
  3087. end
  3088. for i = 1, 25 do
  3089. Swait()
  3090. FIREPART.Size = FIREPART.Size - VT((0.003*i)*45,0,(0.003*i)*45)
  3091. FIREPART.Transparency = FIREPART.Transparency + 1/25
  3092. end
  3093. FIRE.Enabled = false
  3094. Debris:AddItem(FIREPART,5)
  3095. RESET:disconnect()
  3096. PYRAMID:remove()
  3097. end
  3098. end)
  3099. end))
  3100. ATTACK = false
  3101. end
  3102. end
  3103.  
  3104. function PheonixFireballs()
  3105. ATTACK = true
  3106. local POWER = 1
  3107. DIRECTTURN = true
  3108. coroutine.resume(coroutine.create(function()
  3109. repeat
  3110. Swait()
  3111. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  3112. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  3113. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3114. 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)
  3115. 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)
  3116. 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)
  3117. until ATTACK == false
  3118. end))
  3119. local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  3120. local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  3121. for i = 1, 35 do
  3122. Swait()
  3123. MESH1.Scale = MESH1.Scale + VT(6, 0, 6)
  3124. MESH2.Scale = MESH2.Scale + VT(3, 0, 3)
  3125. end
  3126. repeat
  3127. wait()
  3128. POWER = POWER + 1
  3129. until KEYHOLD == false
  3130. if POWER <= 30 then
  3131. for i = 1, 15 do
  3132. wait(0.1)
  3133. coroutine.resume(coroutine.create(function()
  3134. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2))
  3135. FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  3136. local PARTICLES1 = script.PheonixFireball1:Clone()
  3137. PARTICLES1.Parent = FIREBALL
  3138. PARTICLES1.Enabled = true
  3139. local PARTICLES2 = script.PheonixFireball2:Clone()
  3140. PARTICLES2.Parent = FIREBALL
  3141. PARTICLES2.Enabled = true
  3142. PARTICLES1.Size = NumberSequence.new(3, 0)
  3143. PARTICLES2.Size = NumberSequence.new(3, 0)
  3144. CreateSound(463593339, FIREBALL, 6, 1, false)
  3145. for i = 1, 250 do
  3146. Swait()
  3147. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
  3148. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  3149. if HIT then
  3150. ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, {
  3151. SHAKE = 2,
  3152. TIMER = 25,
  3153. DOESFADE = true
  3154. })
  3155. WACKYEFFECT({
  3156. Time = 60,
  3157. EffectType = "Sphere",
  3158. Size = VT(0, 0, 0),
  3159. Size2 = VT(50, 50, 50),
  3160. Transparency = 0,
  3161. Transparency2 = 1,
  3162. CFrame = CF(FIREBALL.Position),
  3163. MoveToPos = nil,
  3164. RotationX = 0,
  3165. RotationY = 0,
  3166. RotationZ = 0,
  3167. Material = "Neon",
  3168. Color = C3(0.6666666666666666, 0, 0),
  3169. SoundID = nil,
  3170. SoundPitch = nil,
  3171. SoundVolume = nil
  3172. })
  3173. WACKYEFFECT({
  3174. Time = 60,
  3175. EffectType = "Sphere",
  3176. Size = VT(0, 0, 0),
  3177. Size2 = VT(60, 60, 60),
  3178. Transparency = 0.5,
  3179. Transparency2 = 1,
  3180. CFrame = CF(FIREBALL.Position),
  3181. MoveToPos = nil,
  3182. RotationX = 0,
  3183. RotationY = 0,
  3184. RotationZ = 0,
  3185. Material = "Neon",
  3186. Color = PHEONIXCOLOR,
  3187. SoundID = 462692971,
  3188. SoundPitch = 1,
  3189. SoundVolume = 6
  3190. })
  3191. PARTICLES1.Enabled = false
  3192. PARTICLES2.Enabled = false
  3193. local EXPLOSION = script.PheonixExplosion1:Clone()
  3194. EXPLOSION.Parent = FIREBALL
  3195. EXPLOSION.Enabled = true
  3196. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  3197. EXPLOSION2.Parent = FIREBALL
  3198. EXPLOSION2.Enabled = true
  3199. wait(0.3)
  3200. EXPLOSION.Enabled = false
  3201. EXPLOSION2.Enabled = false
  3202. break
  3203. end
  3204. end
  3205. PARTICLES1.Enabled = false
  3206. PARTICLES2.Enabled = false
  3207. Debris:AddItem(FIREBALL, 7)
  3208. end))
  3209. end
  3210. else
  3211. for E = 1, 5 do
  3212. do
  3213. local OFFSET = ANGLES(RAD(72 * E), RAD(72 * E), RAD(0)) * CF(0, 0, 75)
  3214. coroutine.resume(coroutine.create(function()
  3215. local FIREBALL = Createpart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  3216. FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p)
  3217. local PARTICLES1 = script.PheonixFireball1:Clone()
  3218. PARTICLES1.Parent = FIREBALL
  3219. PARTICLES1.Enabled = true
  3220. local PARTICLES2 = script.PheonixFireball2:Clone()
  3221. PARTICLES2.Parent = FIREBALL
  3222. PARTICLES2.Enabled = true
  3223. CreateSound(463593339, FIREBALL, 6, 1, false)
  3224. for i = 1, 650 do
  3225. Swait()
  3226. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  3227. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  3228. if HIT then
  3229. ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  3230. SHAKE = 2,
  3231. TIMER = 25,
  3232. DOESFADE = true
  3233. })
  3234. WACKYEFFECT({
  3235. Time = 60,
  3236. EffectType = "Sphere",
  3237. Size = VT(0, 0, 0),
  3238. Size2 = VT(120, 120, 120),
  3239. Transparency = 0,
  3240. Transparency2 = 1,
  3241. CFrame = CF(FIREBALL.Position),
  3242. MoveToPos = nil,
  3243. RotationX = 0,
  3244. RotationY = 0,
  3245. RotationZ = 0,
  3246. Material = "Neon",
  3247. Color = C3(0.6666666666666666, 0, 0),
  3248. SoundID = nil,
  3249. SoundPitch = nil,
  3250. SoundVolume = nil
  3251. })
  3252. WACKYEFFECT({
  3253. Time = 60,
  3254. EffectType = "Sphere",
  3255. Size = VT(0, 0, 0),
  3256. Size2 = VT(140, 140, 140),
  3257. Transparency = 0.5,
  3258. Transparency2 = 1,
  3259. CFrame = CF(FIREBALL.Position),
  3260. MoveToPos = nil,
  3261. RotationX = 0,
  3262. RotationY = 0,
  3263. RotationZ = 0,
  3264. Material = "Neon",
  3265. Color = PHEONIXCOLOR,
  3266. SoundID = 462692971,
  3267. SoundPitch = 1,
  3268. SoundVolume = 6
  3269. })
  3270. PARTICLES1.Enabled = false
  3271. PARTICLES2.Enabled = false
  3272. local EXPLOSION = script.PheonixExplosion1:Clone()
  3273. EXPLOSION.Parent = FIREBALL
  3274. EXPLOSION.Enabled = true
  3275. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  3276. EXPLOSION2.Parent = FIREBALL
  3277. EXPLOSION2.Enabled = true
  3278. wait(0.3)
  3279. EXPLOSION.Enabled = false
  3280. EXPLOSION2.Enabled = false
  3281. break
  3282. end
  3283. end
  3284. PARTICLES1.Enabled = false
  3285. PARTICLES2.Enabled = false
  3286. Debris:AddItem(FIREBALL, 7)
  3287. end))
  3288. end
  3289. end
  3290. end
  3291. wait(0.5)
  3292. WELD1:remove()
  3293. WELD2:remove()
  3294. RING1.Anchored = true
  3295. RING2.Anchored = true
  3296. coroutine.resume(coroutine.create(function()
  3297. for i = 1, 35 do
  3298. Swait()
  3299. MESH1.Scale = MESH1.Scale - VT(6, 0, 6)
  3300. MESH2.Scale = MESH2.Scale - VT(3, 0, 3)
  3301. end
  3302. RING1:remove()
  3303. RING2:remove()
  3304. end))
  3305. DIRECTTURN = false
  3306. ATTACK = false
  3307. end
  3308. function PheonixJump()
  3309. local DONE = false
  3310. local STRENGTH = 15
  3311. local UP = 5
  3312. ATTACK = true
  3313. DIRECTTURN = true
  3314. local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  3315. for i = 1, 30 do
  3316. Swait()
  3317. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  3318. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  3319. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  3320. 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)
  3321. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3322. 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)
  3323. 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)
  3324. end
  3325. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  3326. if NEWKEY == "w" and VALUE2 == false then
  3327. coroutine.resume(coroutine.create(function()
  3328. ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  3329. SHAKE = 2,
  3330. TIMER = 15,
  3331. DOESFADE = true
  3332. })
  3333. WACKYEFFECT({
  3334. EffectType = "Sphere",
  3335. Size = VT(0, 0, 0),
  3336. Size2 = VT(50, 50, 50),
  3337. Transparency = 0,
  3338. Transparency2 = 1,
  3339. CFrame = CF(RING.Position),
  3340. MoveToPos = nil,
  3341. RotationX = 0,
  3342. RotationY = 0,
  3343. RotationZ = 0,
  3344. Material = "Neon",
  3345. Color = C3(0.6666666666666666, 0, 0),
  3346. SoundID = nil,
  3347. SoundPitch = nil,
  3348. SoundVolume = nil
  3349. })
  3350. WACKYEFFECT({
  3351. EffectType = "Sphere",
  3352. Size = VT(0, 0, 0),
  3353. Size2 = VT(70, 70, 70),
  3354. Transparency = 0.5,
  3355. Transparency2 = 1,
  3356. CFrame = CF(RING.Position),
  3357. MoveToPos = nil,
  3358. RotationX = 0,
  3359. RotationY = 0,
  3360. RotationZ = 0,
  3361. Material = "Neon",
  3362. Color = PHEONIXCOLOR,
  3363. SoundID = 462692971,
  3364. SoundPitch = 1.2,
  3365. SoundVolume = 6
  3366. })
  3367. local EXPLOSION = script.PheonixExplosion1:Clone()
  3368. EXPLOSION.Parent = RING
  3369. EXPLOSION.Enabled = true
  3370. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  3371. EXPLOSION2.Parent = RING
  3372. EXPLOSION2.Enabled = true
  3373. wait(0.3)
  3374. EXPLOSION.Enabled = false
  3375. EXPLOSION2.Enabled = false
  3376. Debris:AddItem(RING, 3)
  3377. end))
  3378. CreateSound(462676772, Torso, 8, 1, false)
  3379. coroutine.resume(coroutine.create(function()
  3380. for i = 1, 25 do
  3381. Swait()
  3382. ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, {
  3383. SHAKE = 4,
  3384. TIMER = 5,
  3385. DOESFADE = true
  3386. })
  3387. WACKYEFFECT({
  3388. Time = 10,
  3389. EffectType = "Wave",
  3390. Size = VT(45, 5, 45) / 3,
  3391. Size2 = VT(35, 200, 35) / 5,
  3392. Transparency = 0.8,
  3393. Transparency2 = 1,
  3394. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3395. MoveToPos = nil,
  3396. RotationX = 0,
  3397. RotationY = 5,
  3398. RotationZ = 0,
  3399. Material = "Neon",
  3400. Color = C3(0.6666666666666666, 0, 0),
  3401. SoundID = nil,
  3402. SoundPitch = nil,
  3403. SoundVolume = nil
  3404. })
  3405. WACKYEFFECT({
  3406. Time = 10,
  3407. EffectType = "Wave",
  3408. Size = VT(55, 5, 55) / 3,
  3409. Size2 = VT(45, 200, 45) / 5,
  3410. Transparency = 0.8,
  3411. Transparency2 = 1,
  3412. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3413. MoveToPos = nil,
  3414. RotationX = 0,
  3415. RotationY = -5,
  3416. RotationZ = 0,
  3417. Material = "Neon",
  3418. Color = PHEONIXCOLOR,
  3419. SoundID = nil,
  3420. SoundPitch = nil,
  3421. SoundVolume = nil
  3422. })
  3423. 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)
  3424. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3425. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3426. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3427. 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)
  3428. 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)
  3429. end
  3430. ATTACK = false
  3431. end))
  3432. repeat
  3433. VALUE2 = true
  3434. Swait()
  3435. BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p
  3436. if STRENGTH > 2.5 then
  3437. STRENGTH = STRENGTH - 0.1
  3438. else
  3439. STRENGTH = 2.5
  3440. end
  3441. if UP > 0 then
  3442. UP = UP - 0.15
  3443. else
  3444. UP = 0
  3445. end
  3446. until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
  3447. DONE = true
  3448. end
  3449. end)
  3450. repeat
  3451. Swait()
  3452. if STRENGTH < 50 then
  3453. STRENGTH = STRENGTH + 0.15
  3454. MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5)
  3455. end
  3456. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  3457. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  3458. 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)
  3459. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3460. 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)
  3461. 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)
  3462. until VALUE2 == true
  3463. DIRECTTURN = false
  3464. WELD:remove()
  3465. RING.Anchored = true
  3466. local SIZE = MESH.Scale.X
  3467. coroutine.resume(coroutine.create(function()
  3468. for i = 1, 30 do
  3469. Swait()
  3470. MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30
  3471. end
  3472. RING:remove()
  3473. end))
  3474. repeat
  3475. wait()
  3476. until DONE == true
  3477. KEYDOWN:disconnect()
  3478. VALUE2 = false
  3479. end
  3480. function DragonFirePillar()
  3481. ATTACK = true
  3482. local POS = Mouse.Hit.p
  3483. APPLYGYRO = false
  3484. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire")
  3485. coroutine.resume(coroutine.create(function()
  3486. repeat
  3487. Swait()
  3488. GYRO.CFrame = CF(RootPart.Position, POS)
  3489. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  3490. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  3491. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3492. 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)
  3493. 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)
  3494. 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)
  3495. until ATTACK == false
  3496. end))
  3497. for i = 1, 40 do
  3498. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  3499. Swait()
  3500. end
  3501. for i = 1, 6 do
  3502. WACKYEFFECT({
  3503. EffectType = "Sphere",
  3504. Size = VT(35, 35, 35),
  3505. Size2 = VT(0, 0, 0),
  3506. Transparency = 1,
  3507. Transparency2 = 0.5,
  3508. CFrame = CF(POS),
  3509. MoveToPos = nil,
  3510. RotationX = 0,
  3511. RotationY = 0,
  3512. RotationZ = 0,
  3513. Material = "Neon",
  3514. Color = C3(1, 0.3333333333333333, 0),
  3515. SoundID = nil,
  3516. SoundPitch = nil,
  3517. SoundVolume = nil
  3518. })
  3519. wait(1)
  3520. end
  3521. coroutine.resume(coroutine.create(function()
  3522. coroutine.resume(coroutine.create(function()
  3523. for i = 1, 30 do
  3524. Swait()
  3525. MESH.Scale = MESH.Scale - VT(4, 0, 4)
  3526. end
  3527. RING:remove()
  3528. end))
  3529. WACKYEFFECT({
  3530. Time = 640,
  3531. EffectType = "Sphere",
  3532. Size = VT(15, 500, 15),
  3533. Size2 = VT(10, 700, 10),
  3534. Transparency = 0,
  3535. Transparency2 = 1,
  3536. CFrame = CF(POS),
  3537. MoveToPos = nil,
  3538. RotationX = 0,
  3539. RotationY = 0,
  3540. RotationZ = 0,
  3541. Material = "Neon",
  3542. Color = C3(1, 0.3333333333333333, 0),
  3543. SoundID = nil,
  3544. SoundPitch = nil,
  3545. SoundVolume = nil
  3546. })
  3547. for i = 1, 15 do
  3548. ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, {
  3549. SHAKE = 5,
  3550. TIMER = 6,
  3551. DOESFADE = true
  3552. })
  3553. WACKYEFFECT({
  3554. Time = 125,
  3555. EffectType = "Wave",
  3556. Size = VT(0, 5, 0),
  3557. Size2 = VT(250, 35, 250),
  3558. Transparency = 0.4,
  3559. Transparency2 = 1,
  3560. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  3561. MoveToPos = nil,
  3562. RotationX = 0,
  3563. RotationY = MRANDOM(-5, 5) * 2,
  3564. RotationZ = 0,
  3565. Material = "Neon",
  3566. Color = C3(1, 0.3333333333333333, 0),
  3567. SoundID = nil,
  3568. SoundPitch = MRANDOM(9, 11) / 10,
  3569. SoundVolume = 4
  3570. })
  3571. WACKYEFFECT({
  3572. Time = 75,
  3573. EffectType = "Swirl",
  3574. Size = VT(20, 20, 20),
  3575. Size2 = VT(65, 500, 65),
  3576. Transparency = 0.4,
  3577. Transparency2 = 1,
  3578. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  3579. MoveToPos = nil,
  3580. RotationX = 0,
  3581. RotationY = MRANDOM(-5, 5) * 6,
  3582. RotationZ = 0,
  3583. Material = "Neon",
  3584. Color = C3(1, 0.3333333333333333, 0),
  3585. SoundID = nil,
  3586. SoundPitch = MRANDOM(9, 11) / 10,
  3587. SoundVolume = 4
  3588. })
  3589. WACKYEFFECT({
  3590. Time = 75,
  3591. EffectType = "Swirl",
  3592. Size = VT(20, 20, 20),
  3593. Size2 = VT(45, 600, 45),
  3594. Transparency = 0.4,
  3595. Transparency2 = 1,
  3596. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  3597. MoveToPos = nil,
  3598. RotationX = 0,
  3599. RotationY = MRANDOM(-5, 5) * 6,
  3600. RotationZ = 0,
  3601. Material = "Neon",
  3602. Color = C3(1, 0.3333333333333333, 0),
  3603. SoundID = 304529688,
  3604. SoundPitch = MRANDOM(9, 11) / 10,
  3605. SoundVolume = 4
  3606. })
  3607. wait(0.6)
  3608. end
  3609. end))
  3610. APPLYGYRO = true
  3611. ATTACK = false
  3612. end
  3613. function PheonixTornado()
  3614. ATTACK = true
  3615. local BUILDUP = true
  3616. local HITS = {}
  3617. PARTICLES = true
  3618. coroutine.resume(coroutine.create(function()
  3619. repeat
  3620. Swait()
  3621. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3622. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3623. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3624. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3625. 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)
  3626. 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)
  3627. until BUILDUP == false
  3628. end))
  3629. WINGS1.Acceleration = VT(9, 0, -12)
  3630. WINGS1B.Acceleration = VT(9, 0, -12)
  3631. WINGS2.Acceleration = VT(-9, 0, -12)
  3632. WINGS2B.Acceleration = VT(-9, 0, -12)
  3633. wait(1)
  3634. CreateSound(462676772, Torso, 7, 1, false)
  3635. WINGS1.Acceleration = VT(9, 1, 4)
  3636. WINGS1B.Acceleration = VT(9, 1, 4)
  3637. WINGS2.Acceleration = VT(-9, 1, 4)
  3638. WINGS2B.Acceleration = VT(-9, 1, 4)
  3639. wait(0.25)
  3640. AddChildrenToTable(Torso.Position, workspace, 35, HITS)
  3641. WACKYEFFECT({
  3642. Time = 40,
  3643. EffectType = "Swirl",
  3644. Size = VT(50, 5, 50),
  3645. Size2 = VT(50, 60, 50),
  3646. Transparency = 0.8,
  3647. Transparency2 = 1,
  3648. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3649. MoveToPos = nil,
  3650. RotationX = 0,
  3651. RotationY = -5,
  3652. RotationZ = 0,
  3653. Material = "Neon",
  3654. Color = C3(0.8, 0.8, 0.8),
  3655. SoundID = nil,
  3656. SoundPitch = nil,
  3657. SoundVolume = nil
  3658. })
  3659. BUILDUP = false
  3660. PARTICLES = false
  3661. if #HITS > 0 then
  3662. do
  3663. local BODIES = {}
  3664. if #HITS == 1 then
  3665. for i = 1, #HITS do
  3666. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  3667. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  3668. if HUM and TORSO and 0 < HUM.Health then
  3669. local POSITION = IT("BodyPosition", TORSO)
  3670. POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p
  3671. POSITION.D = 15
  3672. POSITION.P = 4000000
  3673. table.insert(BODIES, POSITION)
  3674. end
  3675. end
  3676. else
  3677. for i = 1, #HITS do
  3678. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  3679. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  3680. if HUM and TORSO and 0 < HUM.Health then
  3681. local POSITION = IT("BodyPosition", TORSO)
  3682. POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p
  3683. POSITION.D = 450
  3684. POSITION.P = 40000
  3685. POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  3686. table.insert(BODIES, POSITION)
  3687. end
  3688. end
  3689. end
  3690. local POS = RootPart.CFrame * CF(0, 35, -35).p
  3691. wait(1.75)
  3692. BODYPOS.D = 450
  3693. BODYPOS.Position = POS
  3694. wait(0.5)
  3695. APPLYGYRO = false
  3696. local E = 0
  3697. CreateSound(1417056081, RootPart, 10, 0.5, false)
  3698. for i = 1, 50 do
  3699. Swait()
  3700. E = E + 1
  3701. WACKYEFFECT({
  3702. Time = 25,
  3703. EffectType = "Wave",
  3704. Size = VT(45, 5, 45) / 3,
  3705. Size2 = VT(35, 200, 35) / 5,
  3706. Transparency = 0.8,
  3707. Transparency2 = 1,
  3708. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3709. MoveToPos = nil,
  3710. RotationX = 0,
  3711. RotationY = 5,
  3712. RotationZ = 0,
  3713. Material = "Neon",
  3714. Color = C3(0.6666666666666666, 0, 0),
  3715. SoundID = nil,
  3716. SoundPitch = nil,
  3717. SoundVolume = nil
  3718. })
  3719. WACKYEFFECT({
  3720. Time = 25,
  3721. EffectType = "Wave",
  3722. Size = VT(55, 5, 55) / 3,
  3723. Size2 = VT(45, 200, 45) / 5,
  3724. Transparency = 0.8,
  3725. Transparency2 = 1,
  3726. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3727. MoveToPos = nil,
  3728. RotationX = 0,
  3729. RotationY = -5,
  3730. RotationZ = 0,
  3731. Material = "Neon",
  3732. Color = PHEONIXCOLOR,
  3733. SoundID = nil,
  3734. SoundPitch = nil,
  3735. SoundVolume = nil
  3736. })
  3737. 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)
  3738. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3739. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3740. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3741. 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)
  3742. 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)
  3743. end
  3744. local TORNADO = Createpart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0))
  3745. TORNADO.CFrame = CF(POS)
  3746. local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0))
  3747. local DECAL = IT("Decal", TORNADO)
  3748. DECAL.Texture = "rbxassetid://559849514"
  3749. DECAL.Transparency = 1
  3750. DECAL.Color3 = BRICKC("Terra Cotta").Color
  3751. local LOOP = 0
  3752. for i = 1, 250 do
  3753. Swait()
  3754. E = E + 1
  3755. LOOP = LOOP + 1
  3756. if LOOP == 10 then
  3757. LOOP = 0
  3758. ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, {
  3759. SHAKE = 2,
  3760. TIMER = 4,
  3761. DOESFADE = true
  3762. })
  3763. end
  3764. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
  3765. DECAL.Transparency = DECAL.Transparency - 0.002
  3766. WACKYEFFECT({
  3767. Time = 25,
  3768. EffectType = "Wave",
  3769. Size = VT(45, 5, 45) / 3,
  3770. Size2 = VT(35, 200, 35) / 5,
  3771. Transparency = 0.8,
  3772. Transparency2 = 1,
  3773. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3774. MoveToPos = nil,
  3775. RotationX = 0,
  3776. RotationY = 5,
  3777. RotationZ = 0,
  3778. Material = "Neon",
  3779. Color = C3(0.6666666666666666, 0, 0),
  3780. SoundID = nil,
  3781. SoundPitch = nil,
  3782. SoundVolume = nil
  3783. })
  3784. WACKYEFFECT({
  3785. Time = 25,
  3786. EffectType = "Wave",
  3787. Size = VT(55, 5, 55) / 3,
  3788. Size2 = VT(45, 200, 45) / 5,
  3789. Transparency = 0.9,
  3790. Transparency2 = 1,
  3791. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3792. MoveToPos = nil,
  3793. RotationX = 0,
  3794. RotationY = -5,
  3795. RotationZ = 0,
  3796. Material = "Neon",
  3797. Color = PHEONIXCOLOR,
  3798. SoundID = nil,
  3799. SoundPitch = nil,
  3800. SoundVolume = nil
  3801. })
  3802. 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)
  3803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3806. 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)
  3807. 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)
  3808. end
  3809. for i = 1, #BODIES do
  3810. BODIES[i]:remove()
  3811. end
  3812. coroutine.resume(coroutine.create(function()
  3813. for i = 1, 25 do
  3814. Swait()
  3815. DECAL.Transparency = DECAL.Transparency + 0.02
  3816. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
  3817. end
  3818. TORNADO:remove()
  3819. end))
  3820. for i = 1, 75 do
  3821. Swait()
  3822. E = E + 1
  3823. LOOP = LOOP + 1
  3824. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
  3825. DECAL.Transparency = DECAL.Transparency - 0.002
  3826. WACKYEFFECT({
  3827. Time = 25,
  3828. EffectType = "Wave",
  3829. Size = VT(45, 5, 45) / 3,
  3830. Size2 = VT(35, 200, 35) / 5,
  3831. Transparency = 0.8,
  3832. Transparency2 = 1,
  3833. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3834. MoveToPos = nil,
  3835. RotationX = 0,
  3836. RotationY = 5,
  3837. RotationZ = 0,
  3838. Material = "Neon",
  3839. Color = C3(0.6666666666666666, 0, 0),
  3840. SoundID = nil,
  3841. SoundPitch = nil,
  3842. SoundVolume = nil
  3843. })
  3844. WACKYEFFECT({
  3845. Time = 25,
  3846. EffectType = "Wave",
  3847. Size = VT(55, 5, 55) / 3,
  3848. Size2 = VT(45, 200, 45) / 5,
  3849. Transparency = 0.8,
  3850. Transparency2 = 1,
  3851. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  3852. MoveToPos = nil,
  3853. RotationX = 0,
  3854. RotationY = -5,
  3855. RotationZ = 0,
  3856. Material = "Neon",
  3857. Color = PHEONIXCOLOR,
  3858. SoundID = nil,
  3859. SoundPitch = nil,
  3860. SoundVolume = nil
  3861. })
  3862. 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)
  3863. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3864. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3865. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3866. 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)
  3867. 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)
  3868. end
  3869. BODYPOS.D = 75
  3870. end
  3871. end
  3872. APPLYGYRO = true
  3873. ATTACK = false
  3874. end
  3875. function PheonixNuke()
  3876. if Mouse.Target ~= nil then
  3877. ATTACK = true
  3878. Rooted = false
  3879. BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0)
  3880. BODYPOS.D = 700
  3881. coroutine.resume(coroutine.create(function()
  3882. repeat
  3883. Swait()
  3884. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3885. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3886. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3887. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3888. 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)
  3889. 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)
  3890. until ATTACK == false
  3891. end))
  3892. wait(1.5)
  3893. for i = 1, 4 do
  3894. WACKYEFFECT({
  3895. EffectType = "Sphere",
  3896. Size = VT(125, 125, 125),
  3897. Size2 = VT(0, 0, 0),
  3898. Transparency = 1,
  3899. Transparency2 = 0.8,
  3900. CFrame = CF(Torso.Position),
  3901. MoveToPos = nil,
  3902. RotationX = 0,
  3903. RotationY = 0,
  3904. RotationZ = 0,
  3905. Material = "Neon",
  3906. Color = PHEONIXCOLOR,
  3907. SoundID = nil,
  3908. SoundPitch = nil,
  3909. SoundVolume = nil
  3910. })
  3911. wait(0.7)
  3912. end
  3913. PARTICLES = true
  3914. WINGS1.Acceleration = VT(9, 3, 4)
  3915. WINGS1B.Acceleration = VT(9, 3, 4)
  3916. WINGS2.Acceleration = VT(-9, 3, 4)
  3917. WINGS2B.Acceleration = VT(-9, 3, 4)
  3918. wait(2)
  3919. CreateSound(462676772, Torso, 8, 1, false)
  3920. WINGS1.Acceleration = VT(9, -2, -12)
  3921. WINGS1B.Acceleration = VT(9, -2, -12)
  3922. WINGS2.Acceleration = VT(-9, -2, -12)
  3923. WINGS2B.Acceleration = VT(-9, -2, -12)
  3924. wait(1)
  3925. for i = 1, 5 do
  3926. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  3927. ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, {
  3928. SHAKE = 8,
  3929. TIMER = 25,
  3930. DOESFADE = true
  3931. })
  3932. for i = 1, 5 do
  3933. WACKYEFFECT({
  3934. Time = 120,
  3935. EffectType = "Swirl",
  3936. Size = VT(20, 20, 20),
  3937. Size2 = (VT(180, 180, 180) + VT(50, 50, 50) * i) * 2,
  3938. Transparency = 0.8,
  3939. Transparency2 = 1,
  3940. CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  3941. MoveToPos = nil,
  3942. RotationX = 0,
  3943. RotationY = 6 + i,
  3944. RotationZ = 0,
  3945. Material = "Neon",
  3946. Color = PHEONIXCOLOR,
  3947. SoundID = nil,
  3948. SoundPitch = nil,
  3949. SoundVolume = nil
  3950. })
  3951. end
  3952. WACKYEFFECT({
  3953. Time = 80,
  3954. EffectType = "Sphere",
  3955. Size = VT(40, 40, 40),
  3956. Size2 = VT(240, 240, 240) * 2,
  3957. Transparency = 0,
  3958. Transparency2 = 1,
  3959. CFrame = CF(Torso.Position),
  3960. MoveToPos = nil,
  3961. RotationX = 0,
  3962. RotationY = 0,
  3963. RotationZ = 0,
  3964. Material = "Neon",
  3965. Color = C3(0.6666666666666666, 0, 0),
  3966. SoundID = nil,
  3967. SoundPitch = 1,
  3968. SoundVolume = 8
  3969. })
  3970. WACKYEFFECT({
  3971. Time = 80,
  3972. EffectType = "Sphere",
  3973. Size = VT(50, 50, 50),
  3974. Size2 = VT(250, 250, 250) * 2,
  3975. Transparency = 0.5,
  3976. Transparency2 = 1,
  3977. CFrame = CF(Torso.Position),
  3978. MoveToPos = nil,
  3979. RotationX = 0,
  3980. RotationY = 0,
  3981. RotationZ = 0,
  3982. Material = "Neon",
  3983. Color = PHEONIXCOLOR,
  3984. SoundID = nil,
  3985. SoundPitch = 0.7,
  3986. SoundVolume = 10
  3987. })
  3988. local EXPLOSION = script.PheonixExplosion1:Clone()
  3989. EXPLOSION.Parent = Torso
  3990. EXPLOSION.Enabled = true
  3991. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  3992. EXPLOSION2.Parent = Torso
  3993. EXPLOSION2.Enabled = true
  3994. EXPLOSION.Drag = -5
  3995. EXPLOSION2.Drag = -5
  3996. EXPLOSION:Emit(100)
  3997. EXPLOSION2:Emit(100)
  3998. CreateSound(462692971, Effects, 2, 1, false)
  3999. for i = 1, 5 do
  4000. wait()
  4001. WACKYEFFECT({
  4002. Time = 40,
  4003. EffectType = "Wave",
  4004. Size = VT(20, 0, 20),
  4005. Size2 = (VT(160, 6, 160) + VT(50, 4, 50) * i) * 2,
  4006. Transparency = 0.8,
  4007. Transparency2 = 1,
  4008. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  4009. MoveToPos = nil,
  4010. RotationX = 0,
  4011. RotationY = -12 + i,
  4012. RotationZ = 0,
  4013. Material = "Neon",
  4014. Color = C3(0.6666666666666666, 0, 0),
  4015. SoundID = nil,
  4016. SoundPitch = nil,
  4017. SoundVolume = nil
  4018. })
  4019. WACKYEFFECT({
  4020. Time = 40,
  4021. EffectType = "Wave",
  4022. Size = VT(20, 0, 20),
  4023. Size2 = (VT(180, 6, 180) + VT(50, 5, 50) * i) * 2,
  4024. Transparency = 0.8,
  4025. Transparency2 = 1,
  4026. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  4027. MoveToPos = nil,
  4028. RotationX = 0,
  4029. RotationY = -12 + i,
  4030. RotationZ = 0,
  4031. Material = "Neon",
  4032. Color = PHEONIXCOLOR,
  4033. SoundID = nil,
  4034. SoundPitch = nil,
  4035. SoundVolume = nil
  4036. })
  4037. end
  4038. EXPLOSION.Enabled = false
  4039. EXPLOSION2.Enabled = false
  4040. Debris:AddItem(EXPLOSION, 5)
  4041. Debris:AddItem(EXPLOSION2, 5)
  4042. wait(0.4)
  4043. end
  4044. wait(0.6)
  4045. PARTICLES = false
  4046. BODYPOS.D = 75
  4047. ATTACK = false
  4048. Rooted = false
  4049. end
  4050. end
  4051. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  4052. local gui = it(GuiType)
  4053. gui.Parent = parent
  4054. gui.Text = text
  4055. gui.BackgroundTransparency = backtrans
  4056. gui.BackgroundColor3 = backcol
  4057. gui.SizeConstraint = "RelativeXY"
  4058. gui.TextXAlignment = "Center"
  4059. gui.TextYAlignment = "Center"
  4060. gui.Position = pos
  4061. gui.Size = size
  4062. gui.Font = "SourceSans"
  4063. gui.FontSize = "Size14"
  4064. gui.TextWrapped = false
  4065. gui.TextStrokeTransparency = 0
  4066. gui.TextColor = BrickColor.new("White")
  4067. return gui
  4068. end
  4069. ---- GUI set
  4070. local basgui = it("GuiMain")
  4071. basgui.Parent = Player.PlayerGui
  4072. basgui.Name = "CooldownsGUI"
  4073. local basframe = it("Frame")
  4074. basframe.Parent = basgui
  4075. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  4076. basframe.BackgroundTransparency = 1
  4077. basframe.BorderColor3 = Color3.new(17, 17, 17)
  4078. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  4079. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  4080. 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))
  4081. basicgui.ZIndex = 2
  4082. basicgui.Font = "Highway"
  4083. basicgui.BackgroundTransparency = 0.5
  4084. basicgui.BorderSizePixel = 0.65
  4085. basicgui.TextScaled = true
  4086. basicgui.Text = "(F)\nToggle On"
  4087. basicgui.TextSize = 24
  4088. 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))
  4089. basicgui2.ZIndex = 2
  4090. basicgui2.Font = "Highway"
  4091. basicgui2.BackgroundTransparency = 0.5
  4092. basicgui2.BorderSizePixel = 0.65
  4093. basicgui2.TextScaled = true
  4094. basicgui2.Text = "(E)\n(Flight) Phoenix Fire"
  4095. basicgui2.TextSize = 24
  4096. 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))
  4097. basicgui3.ZIndex = 2
  4098. basicgui3.Font = "Highway"
  4099. basicgui3.BackgroundTransparency = 0.5
  4100. basicgui3.BorderSizePixel = 0.65
  4101. basicgui3.TextScaled = true
  4102. basicgui3.Text = "(X)\n(Flight) Phoenix Nuke"
  4103. basicgui3.TextSize = 24
  4104. 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))
  4105. basicgui7.ZIndex = 2
  4106. basicgui7.Font = "Highway"
  4107. basicgui7.BackgroundTransparency = 0.5
  4108. basicgui7.BorderSizePixel = 0.65
  4109. basicgui7.TextScaled = true
  4110. basicgui7.Text = "(C)\n(Normal) Phoenix Explosion"
  4111. basicgui7.TextSize = 24
  4112. 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))
  4113. basicgui4.ZIndex = 2
  4114. basicgui4.Font = "Highway"
  4115. basicgui4.BackgroundTransparency = 0.5
  4116. basicgui4.BorderSizePixel = 0.65
  4117. basicgui4.TextScaled = true
  4118. basicgui4.Text = "(B)\nPhoenix Breath"
  4119. basicgui4.TextSize = 24
  4120. 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))
  4121. basicgui5.ZIndex = 2
  4122. basicgui5.Font = "Highway"
  4123. basicgui5.BackgroundTransparency = 0.5
  4124. basicgui5.BorderSizePixel = 0.65
  4125. basicgui5.TextScaled = true
  4126. basicgui5.Text = "(Q)\nToggle Flight Mode"
  4127. basicgui5.TextSize = 24
  4128. 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))
  4129. basicgui6.ZIndex = 2
  4130. basicgui6.Font = "Highway"
  4131. basicgui6.BackgroundTransparency = 0.5
  4132. basicgui6.BorderSizePixel = 0.65
  4133. basicgui6.TextScaled = true
  4134. basicgui6.Text = "(Z)\nShooting Star(s)"
  4135. basicgui6.TextSize = 24
  4136.  
  4137. function MouseDown(Mouse)
  4138. if ATTACK == false then
  4139. end
  4140. end
  4141. function MouseUp(Mouse)
  4142. HOLD = false
  4143. end
  4144. function KeyDown(Key)
  4145. KEYHOLD = true
  4146. if EQUIPPED == true then
  4147. if FLIGHT == false then
  4148. if Key == "z" and ATTACK == false then
  4149. ShootingStar()
  4150. end
  4151. if Key == "n" and ATTACK == false then
  4152. PhoenixThrone()
  4153. end
  4154. if Key == "b" and ATTACK == false then
  4155. Breath()
  4156. end
  4157. if Key == "c" and ATTACK == false then
  4158. PheonixRage()
  4159. end
  4160. if Key == "q" and ATTACK == false then
  4161. FLIGHT = true
  4162. GYRO = IT("BodyGyro", RootPart)
  4163. GYRO.D = 75
  4164. GYRO.P = 40000
  4165. GYRO.MaxTorque = VT(40000, 40000, 40000)
  4166. GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
  4167. BODYPOS = Instance.new("BodyPosition", RootPart)
  4168. BODYPOS.D = 100
  4169. BODYPOS.P = 20000
  4170. BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  4171. BODYPOS.position = RootPart.Position + VT(0, 3, 0)
  4172. do
  4173. local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  4174. FLIGHTRING = RING
  4175. coroutine.resume(coroutine.create(function()
  4176. for i = 1, 40 do
  4177. Swait()
  4178. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  4179. end
  4180. end))
  4181. PheonixJump()
  4182. end
  4183. end
  4184. elseif FLIGHT == true then
  4185. if Key == "z" and ATTACK == false and VALUE2 == false then
  4186. ThreeShootingStars()
  4187. end
  4188. if Key == "b" and ATTACK == false and VALUE2 == false then
  4189. PheonixFlare()
  4190. end
  4191. if Key == "g" and ATTACK == false and VALUE2 == false then
  4192. DragonFirePillar()
  4193. end
  4194. if Key == "v" and ATTACK == false and VALUE2 == false then
  4195. PheonixTornado()
  4196. end
  4197. if Key == "x" and ATTACK == false and VALUE2 == false then
  4198. PheonixNuke()
  4199. end
  4200. if Key == "q" and ATTACK == false and VALUE2 == false then
  4201. FLIGHT = false
  4202. coroutine.resume(coroutine.create(function()
  4203. if FLIGHTRING then
  4204. local MSH = FLIGHTRING.Mesh
  4205. local RING = FLIGHTRING
  4206. for i = 1, 40 do
  4207. Swait()
  4208. MSH.Scale = MSH.Scale - VT(4, 0, 4)
  4209. end
  4210. RING:remove()
  4211. end
  4212. end))
  4213. end
  4214. if Key == "c" and ATTACK == false and VALUE2 == false then
  4215. PheonixJump()
  4216. end
  4217. if Key == "e" and ATTACK == false and VALUE2 == false then
  4218. PheonixFireballs()()
  4219. end
  4220. if Key == "w" and ATTACK == false and VALUE2 == false then
  4221. repeat
  4222. VALUE2 = true
  4223. Swait()
  4224. BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p
  4225. until KEYHOLD == false
  4226. VALUE2 = false
  4227. end
  4228. end
  4229. end
  4230. if Key == "f" and ATTACK == false and FLIGHT == false then
  4231. if EQUIPPED == false then
  4232. EQUIPPED = true
  4233. EYE.Enabled = true
  4234. EYE2.Enabled = true
  4235. sick:Play()
  4236. sick.Pitch = 0.95
  4237. sick.Volume = .1
  4238.  
  4239. else
  4240. EQUIPPED = false
  4241. FLIGHT = false
  4242. EYE.Enabled = false
  4243. EYE2.Enabled = false
  4244. sick:Stop()
  4245. end
  4246. end
  4247. if string.byte(Key) == 50 and ATTACK == false then
  4248. if Speed == 16 then
  4249. Speed = 45
  4250. elseif Speed == 45 then
  4251. Speed = 16
  4252. end
  4253. end
  4254. end
  4255. function KeyUp(Key)
  4256. KEYHOLD = false
  4257. end
  4258. Mouse.Button1Down:connect(function(NEWKEY)
  4259. MouseDown(NEWKEY)
  4260. end)
  4261. Mouse.Button1Up:connect(function(NEWKEY)
  4262. MouseUp(NEWKEY)
  4263. end)
  4264. Mouse.KeyDown:connect(function(NEWKEY)
  4265. KeyDown(NEWKEY)
  4266. end)
  4267. Mouse.KeyUp:connect(function(NEWKEY)
  4268. KeyUp(NEWKEY)
  4269. end)
  4270. function unanchor()
  4271. if UNANCHOR == true then
  4272. g = Character:GetChildren()
  4273. for i = 1, #g do
  4274. if g[i].ClassName == "Part" then
  4275. g[i].Anchored = false
  4276. end
  4277. end
  4278. end
  4279. end
  4280. Humanoid.Changed:connect(function(Jump)
  4281. if Jump == "Jump" and Disable_Jump == true then
  4282. Humanoid.Jump = false
  4283. end
  4284. end)
  4285. local LOOP = 0
  4286. local TWIST = true
  4287. while true do
  4288. Swait()
  4289. script.Parent = WEAPONGUI
  4290. ANIMATE.Parent = nil
  4291. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  4292. v:Stop()
  4293. end
  4294. SINE = SINE + CHANGE
  4295. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4296. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4297. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
  4298. local WALKSPEEDVALUE = 5
  4299. if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
  4300. if Humanoid.WalkSpeed <= 20 then
  4301. 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)
  4302. 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)
  4303. 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)
  4304. 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)
  4305. else
  4306. 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)
  4307. 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)
  4308. 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)
  4309. 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)
  4310. end
  4311. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then
  4312. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4313. 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)
  4314. 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)
  4315. 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)
  4316. end
  4317. if FLIGHT == false then
  4318. if GYRO ~= nil then
  4319. GYRO:remove()
  4320. end
  4321. if BODYPOS ~= nil then
  4322. BODYPOS:remove()
  4323. end
  4324. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4325. ANIM = "Jump"
  4326. if ATTACK == false then
  4327. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4328. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4329. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4330. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4331. 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)
  4332. 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)
  4333. end
  4334. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4335. ANIM = "Fall"
  4336. if ATTACK == false then
  4337. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4338. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4339. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  4340. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4341. 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)
  4342. 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)
  4343. end
  4344. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4345. ANIM = "Idle"
  4346. if ATTACK == false then
  4347. 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)
  4348. 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)
  4349. 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)
  4350. 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)
  4351. 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)
  4352. 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)
  4353. end
  4354. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4355. ANIM = "Walk"
  4356. if ATTACK == false then
  4357. if Humanoid.WalkSpeed <= 30 then
  4358. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4359. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4360. 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)
  4361. 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)
  4362. 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)
  4363. 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)
  4364. elseif Humanoid.WalkSpeed > 30 then
  4365. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  4366. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  4367. 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)
  4368. 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)
  4369. 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)
  4370. 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)
  4371. end
  4372. end
  4373. end
  4374. elseif FLIGHT == true then
  4375. if APPLYGYRO == true then
  4376. if VALUE2 == false and DIRECTTURN == false then
  4377. if GYRO ~= nil then
  4378. GYRO.MaxTorque = VT(0, 40000, 0)
  4379. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4380. end
  4381. elseif GYRO ~= nil then
  4382. GYRO.MaxTorque = VT(40000, 40000, 40000)
  4383. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  4384. end
  4385. end
  4386. if VALUE2 == false and ATTACK == false then
  4387. ANIM = "IdleFlight"
  4388. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  4389. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  4390. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4391. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4392. 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)
  4393. 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)
  4394. elseif VALUE2 == true and ATTACK == false then
  4395. ANIM = "Flight"
  4396. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  4397. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  4398. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4399. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4400. 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)
  4401. 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)
  4402. end
  4403. end
  4404. local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  4405. local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  4406. if PARTICLES == false then
  4407. WINGS1.Acceleration = ACCEL1
  4408. WINGS1B.Acceleration = ACCEL1
  4409. WINGS2.Acceleration = ACCEL2
  4410. WINGS2B.Acceleration = ACCEL2
  4411. end
  4412. if FLIGHT == true or WINGS == true then
  4413. WINGS1.Enabled = true
  4414. WINGS1B.Enabled = true
  4415. WINGS2.Enabled = true
  4416. WINGS2B.Enabled = true
  4417. else
  4418. WINGS1.Enabled = false
  4419. WINGS1B.Enabled = false
  4420. WINGS2.Enabled = false
  4421. WINGS2B.Enabled = false
  4422. end
  4423. unanchor()
  4424. TRAIL1.Enabled = FLIGHT
  4425. TRAIL2.Enabled = FLIGHT
  4426. LIGHT.Enabled = EQUIPPED
  4427. Humanoid.MaxHealth = "inf"
  4428. Humanoid.Health = "inf"
  4429. if Rooted == false and FLIGHT == false then
  4430. Disable_Jump = false
  4431. Humanoid.WalkSpeed = Speed
  4432. elseif Rooted == true or FLIGHT == true then
  4433. Disable_Jump = true
  4434. Humanoid.WalkSpeed = 0
  4435. end
  4436.  
  4437. if FLIGHT == true then
  4438. sick.Pitch = 1
  4439. sick.Volume = 1.5
  4440. LOOP = LOOP + 1
  4441. if LOOP >= 10 then
  4442. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  4443. if HITFLOOR then
  4444. local DISTANCE = (RootPart.Position - HITPOS).Magnitude
  4445. local SIZE = (26 - DISTANCE) * 2
  4446. if TWIST == true then
  4447. TWIST = false
  4448. WACKYEFFECT({
  4449. Time = 25,
  4450. EffectType = "Wave",
  4451. Size = VT(SIZE / 2, 0, SIZE / 2),
  4452. Size2 = VT(SIZE, 6, SIZE),
  4453. Transparency = 0.6,
  4454. Transparency2 = 1,
  4455. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  4456. MoveToPos = nil,
  4457. RotationX = 0,
  4458. RotationY = 15,
  4459. RotationZ = 0,
  4460. Material = "Neon",
  4461. Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  4462. SoundID = nil,
  4463. SoundPitch = nil,
  4464. SoundVolume = nil
  4465. })
  4466. else
  4467. TWIST = true
  4468. WACKYEFFECT({
  4469. Time = 25,
  4470. EffectType = "Wave",
  4471. Size = VT(SIZE / 2, 0, SIZE / 2),
  4472. Size2 = VT(SIZE, 6, SIZE),
  4473. Transparency = 0.6,
  4474. Transparency2 = 1,
  4475. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  4476. MoveToPos = nil,
  4477. RotationX = 0,
  4478. RotationY = -15,
  4479. RotationZ = 0,
  4480. Material = "Neon",
  4481. Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  4482. SoundID = nil,
  4483. SoundPitch = nil,
  4484. SoundVolume = nil
  4485. })
  4486. end
  4487. LOOP = 0
  4488. end
  4489. end
  4490. else
  4491. end
  4492. sick.Parent = Character
  4493. Humanoid.Name = "WarPheonix"
  4494. end
  4495.  
  4496. end))
  4497. ParticleEmitter1.Name = "RingEmit"
  4498. ParticleEmitter1.Parent = LocalScript0
  4499. ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1)
  4500. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  4501. ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0)
  4502. ParticleEmitter1.Enabled = false
  4503. ParticleEmitter1.LightEmission = 1
  4504. ParticleEmitter1.Texture = "rbxassetid://1003693108"
  4505. ParticleEmitter1.ZOffset = 1
  4506. ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  4507. ParticleEmitter1.Rate = 5
  4508. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  4509. ParticleEmitter2.Name = "Wing1"
  4510. ParticleEmitter2.Parent = LocalScript0
  4511. ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  4512. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  4513. ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  4514. ParticleEmitter2.Enabled = false
  4515. ParticleEmitter2.LightEmission = 1
  4516. ParticleEmitter2.Texture = "rbxassetid://1492439733"
  4517. ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
  4518. ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
  4519. ParticleEmitter2.Rate = 300
  4520. ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
  4521. ParticleEmitter2.Speed = NumberRange.new(4, 4)
  4522. ParticleEmitter2.VelocitySpread = 35
  4523. ParticleEmitter3.Name = "SunFireball"
  4524. ParticleEmitter3.Parent = LocalScript0
  4525. ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4526. ParticleEmitter3.Rotation = NumberRange.new(0, 360)
  4527. ParticleEmitter3.Size = NumberSequence.new(10,8.125,5.6875,1.1250001192093,0)
  4528. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4529. ParticleEmitter3.Enabled = false
  4530. ParticleEmitter3.LightEmission = 0.75
  4531. ParticleEmitter3.Texture = "rbxassetid://1492439733"
  4532. ParticleEmitter3.ZOffset = 0.20000000298023
  4533. ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0)
  4534. ParticleEmitter3.Lifetime = NumberRange.new(1, 1)
  4535. ParticleEmitter3.Rate = 300
  4536. ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56)
  4537. ParticleEmitter3.Speed = NumberRange.new(3, 3)
  4538. ParticleEmitter3.VelocitySpread = 360
  4539. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4540. ParticleEmitter4.Name = "SunExplosion"
  4541. ParticleEmitter4.Parent = LocalScript0
  4542. ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4543. ParticleEmitter4.Rotation = NumberRange.new(0, 360)
  4544. ParticleEmitter4.Size = NumberSequence.new(5,7.875,7.875,5.3125,0)
  4545. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4546. ParticleEmitter4.Enabled = false
  4547. ParticleEmitter4.LightEmission = 0.75
  4548. ParticleEmitter4.Texture = "rbxassetid://1492439733"
  4549. ParticleEmitter4.ZOffset = 0.20000000298023
  4550. ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0)
  4551. ParticleEmitter4.Lifetime = NumberRange.new(0, 3)
  4552. ParticleEmitter4.Rate = 300
  4553. ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56)
  4554. ParticleEmitter4.Speed = NumberRange.new(150, 350)
  4555. ParticleEmitter4.VelocitySpread = 360
  4556. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4557. ParticleEmitter5.Name = "SunBurn"
  4558. ParticleEmitter5.Parent = LocalScript0
  4559. ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4560. ParticleEmitter5.Rotation = NumberRange.new(0, 360)
  4561. ParticleEmitter5.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  4562. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4563. ParticleEmitter5.Enabled = false
  4564. ParticleEmitter5.LightEmission = 0.75
  4565. ParticleEmitter5.Texture = "rbxassetid://1492439733"
  4566. ParticleEmitter5.ZOffset = 0.5
  4567. ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0)
  4568. ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
  4569. ParticleEmitter5.Rate = 300
  4570. ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56)
  4571. ParticleEmitter5.Speed = NumberRange.new(1, 1)
  4572. ParticleEmitter5.VelocitySpread = 360
  4573. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4574. ParticleEmitter6.Name = "PheonixBurn"
  4575. ParticleEmitter6.Parent = LocalScript0
  4576. ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4577. ParticleEmitter6.Rotation = NumberRange.new(0, 360)
  4578. ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  4579. ParticleEmitter6.Enabled = false
  4580. ParticleEmitter6.LightEmission = 1
  4581. ParticleEmitter6.Texture = "rbxassetid://1492439733"
  4582. ParticleEmitter6.ZOffset = 0.5
  4583. ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0)
  4584. ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
  4585. ParticleEmitter6.Rate = 300
  4586. ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
  4587. ParticleEmitter6.Speed = NumberRange.new(1, 1)
  4588. ParticleEmitter6.VelocitySpread = 360
  4589. ParticleEmitter7.Name = "PheonixExplosion1"
  4590. ParticleEmitter7.Parent = LocalScript0
  4591. ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4592. ParticleEmitter7.Rotation = NumberRange.new(0, 360)
  4593. ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0)
  4594. ParticleEmitter7.Enabled = false
  4595. ParticleEmitter7.LightEmission = 1
  4596. ParticleEmitter7.Texture = "rbxassetid://1492439733"
  4597. ParticleEmitter7.ZOffset = 0.20000000298023
  4598. ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0)
  4599. ParticleEmitter7.Lifetime = NumberRange.new(0, 3)
  4600. ParticleEmitter7.Rate = 600
  4601. ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56)
  4602. ParticleEmitter7.Speed = NumberRange.new(50, 50)
  4603. ParticleEmitter7.VelocitySpread = 360
  4604. ParticleEmitter8.Name = "PheonixExplosion2"
  4605. ParticleEmitter8.Parent = LocalScript0
  4606. ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4607. ParticleEmitter8.Rotation = NumberRange.new(0, 360)
  4608. ParticleEmitter8.Size = NumberSequence.new(4,4)
  4609. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4610. ParticleEmitter8.Enabled = false
  4611. ParticleEmitter8.LightEmission = 0.69999998807907
  4612. ParticleEmitter8.ZOffset = 0.20000000298023
  4613. ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0)
  4614. ParticleEmitter8.Lifetime = NumberRange.new(0, 3)
  4615. ParticleEmitter8.Rate = 300
  4616. ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56)
  4617. ParticleEmitter8.Speed = NumberRange.new(70, 70)
  4618. ParticleEmitter8.VelocitySpread = 360
  4619. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4620. LocalScript9.Name = "CamShake"
  4621. LocalScript9.Parent = LocalScript0
  4622. LocalScript9.Disabled = true
  4623. NumberValue10.Name = "Timer"
  4624. NumberValue10.Parent = LocalScript9
  4625. NumberValue10.Value = 35
  4626. NumberValue11.Name = "Shake"
  4627. NumberValue11.Parent = LocalScript9
  4628. NumberValue11.Value = 5
  4629. BoolValue12.Name = "DoesFade"
  4630. BoolValue12.Parent = LocalScript9
  4631. ParticleEmitter13.Name = "Gale"
  4632. ParticleEmitter13.Parent = LocalScript0
  4633. ParticleEmitter13.Transparency = NumberSequence.new(1,0.91256833076477,0.83606559038162,0.81967210769653,1)
  4634. ParticleEmitter13.Rotation = NumberRange.new(0, 360)
  4635. ParticleEmitter13.Size = NumberSequence.new(8,6)
  4636. ParticleEmitter13.Enabled = false
  4637. ParticleEmitter13.Texture = "rbxassetid://1614893149"
  4638. ParticleEmitter13.Lifetime = NumberRange.new(1, 1)
  4639. ParticleEmitter13.Rate = 50
  4640. ParticleEmitter13.Speed = NumberRange.new(0, 0)
  4641. ParticleEmitter14.Name = "PheonixFireball1"
  4642. ParticleEmitter14.Parent = LocalScript0
  4643. ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4644. ParticleEmitter14.Rotation = NumberRange.new(0, 360)
  4645. ParticleEmitter14.Size = NumberSequence.new(6.625,4.625,3.4375,1.3124996423721,0)
  4646. ParticleEmitter14.Enabled = false
  4647. ParticleEmitter14.LightEmission = 1
  4648. ParticleEmitter14.Texture = "rbxassetid://1492439733"
  4649. ParticleEmitter14.ZOffset = 0.5
  4650. ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  4651. ParticleEmitter14.Rate = 1000
  4652. ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
  4653. ParticleEmitter14.Speed = NumberRange.new(4, 4)
  4654. ParticleEmitter14.VelocitySpread = 360
  4655. ParticleEmitter15.Name = "PheonixFireball2"
  4656. ParticleEmitter15.Parent = LocalScript0
  4657. ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4658. ParticleEmitter15.Rotation = NumberRange.new(0, 360)
  4659. ParticleEmitter15.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0)
  4660. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4661. ParticleEmitter15.Enabled = false
  4662. ParticleEmitter15.LightEmission = 0.69999998807907
  4663. ParticleEmitter15.ZOffset = 1
  4664. ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  4665. ParticleEmitter15.Rate = 300
  4666. ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
  4667. ParticleEmitter15.Speed = NumberRange.new(4, 4)
  4668. ParticleEmitter15.VelocitySpread = 360
  4669. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4670. ParticleEmitter16.Name = "Wing2"
  4671. ParticleEmitter16.Parent = LocalScript0
  4672. ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  4673. ParticleEmitter16.Rotation = NumberRange.new(0, 360)
  4674. ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  4675. ParticleEmitter16.Enabled = false
  4676. ParticleEmitter16.LightEmission = 1
  4677. ParticleEmitter16.Texture = "rbxassetid://1492439733"
  4678. ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
  4679. ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
  4680. ParticleEmitter16.Rate = 300
  4681. ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
  4682. ParticleEmitter16.Speed = NumberRange.new(4, 4)
  4683. ParticleEmitter16.VelocitySpread = 35
  4684. ParticleEmitter17.Name = "Wing1B"
  4685. ParticleEmitter17.Parent = LocalScript0
  4686. ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  4687. ParticleEmitter17.Rotation = NumberRange.new(0, 360)
  4688. ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  4689. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4690. ParticleEmitter17.Enabled = false
  4691. ParticleEmitter17.LightEmission = 0.69999998807907
  4692. ParticleEmitter17.ZOffset = 0.20000000298023
  4693. ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
  4694. ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  4695. ParticleEmitter17.Rate = 150
  4696. ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
  4697. ParticleEmitter17.Speed = NumberRange.new(4, 4)
  4698. ParticleEmitter17.VelocitySpread = 35
  4699. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4700. ParticleEmitter18.Name = "Eye1"
  4701. ParticleEmitter18.EmissionDirection="Right"
  4702. ParticleEmitter18.Parent = LocalScript0
  4703. ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1)
  4704. ParticleEmitter18.Rotation = NumberRange.new(0, 360)
  4705. ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0)
  4706. ParticleEmitter18.Enabled = false
  4707. ParticleEmitter18.LightEmission = 0.75
  4708. ParticleEmitter18.Texture = "rbxassetid://1492439733"
  4709. ParticleEmitter18.ZOffset = 0.20000000298023
  4710. ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6)
  4711. ParticleEmitter18.Lifetime = NumberRange.new(1, 1)
  4712. ParticleEmitter18.Rate = 300
  4713. ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
  4714. ParticleEmitter18.VelocitySpread = 5
  4715. ParticleEmitter19.Name = "Eye2"
  4716. ParticleEmitter19.Parent = LocalScript0
  4717. ParticleEmitter19.EmissionDirection="Right"
  4718. ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1)
  4719. ParticleEmitter19.Rotation = NumberRange.new(0, 360)
  4720. ParticleEmitter19.Size = NumberSequence.new(0.65573811531067,0.2732241153717,0)
  4721. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4722. ParticleEmitter19.Enabled = false
  4723. ParticleEmitter19.LightEmission = 0.75
  4724. ParticleEmitter19.ZOffset = 0.30000001192093
  4725. ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6)
  4726. ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5)
  4727. ParticleEmitter19.Rate = 300
  4728. ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
  4729. ParticleEmitter19.VelocitySpread = 5
  4730. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4731. ParticleEmitter20.Name = "Wing2B"
  4732. ParticleEmitter20.Parent = LocalScript0
  4733. ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  4734. ParticleEmitter20.Rotation = NumberRange.new(0, 360)
  4735. ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  4736. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4737. ParticleEmitter20.Enabled = false
  4738. ParticleEmitter20.LightEmission = 0.69999998807907
  4739. ParticleEmitter20.ZOffset = 0.20000000298023
  4740. ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
  4741. ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  4742. ParticleEmitter20.Rate = 150
  4743. ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
  4744. ParticleEmitter20.Speed = NumberRange.new(4, 4)
  4745. ParticleEmitter20.VelocitySpread = 35
  4746. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  4747. ParticleEmitter21.Name = "Burn"
  4748. ParticleEmitter21.Parent = LocalScript0
  4749. ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4750. ParticleEmitter21.Rotation = NumberRange.new(0, 360)
  4751. ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0)
  4752. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  4753. ParticleEmitter21.Enabled = false
  4754. ParticleEmitter21.LightEmission = 0.75
  4755. ParticleEmitter21.Texture = "rbxassetid://1492439733"
  4756. ParticleEmitter21.ZOffset = 0.5
  4757. ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0)
  4758. ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
  4759. ParticleEmitter21.Rate = 300
  4760. ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56)
  4761. ParticleEmitter21.Speed = NumberRange.new(1, 1)
  4762. ParticleEmitter21.VelocitySpread = 360
  4763. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  4764. ParticleEmitter22.Name = "PheonixTrail"
  4765. ParticleEmitter22.Parent = LocalScript0
  4766. ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  4767. ParticleEmitter22.Rotation = NumberRange.new(0, 360)
  4768. ParticleEmitter22.Size = NumberSequence.new(0.49180328845978,0.4371589422226,0)
  4769. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  4770. ParticleEmitter22.Enabled = false
  4771. ParticleEmitter22.LightEmission = 0.75
  4772. ParticleEmitter22.Texture = "rbxassetid://1492439733"
  4773. ParticleEmitter22.ZOffset = 0.5
  4774. ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
  4775. ParticleEmitter22.Rate = 300
  4776. ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56)
  4777. ParticleEmitter22.Speed = NumberRange.new(0, 0)
  4778. ParticleEmitter22.VelocitySpread = 360
  4779. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  4780. for i,v in pairs(mas:GetChildren()) do
  4781. v.Parent = game:GetService("Lighting")
  4782. pcall(function() v:MakeJoints() end)
  4783. end
  4784. mas:Destroy()
  4785. for i,v in pairs(cors) do
  4786. spawn(function()
  4787. pcall(v)
  4788. end)
  4789. end
  4790.  
  4791. function PheonixFireballs()
  4792. ATTACK = true
  4793. local POWER = 1
  4794. DIRECTTURN = true
  4795. coroutine.resume(coroutine.create(function()
  4796. repeat
  4797. Swait()
  4798. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  4799. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  4800. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4801. 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)
  4802. 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)
  4803. 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)
  4804. until ATTACK == false
  4805. end))
  4806. local RING1, WELD1, MESH1 = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  4807. local RING2, WELD2, MESH2 = MagicRing(RightArm, CF(0, -1.6, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  4808. for i = 1, 35 do
  4809. Swait()
  4810. MESH1.Scale = MESH1.Scale + VT(6, 0, 6)
  4811. MESH2.Scale = MESH2.Scale + VT(3, 0, 3)
  4812. end
  4813. repeat
  4814. wait()
  4815. POWER = POWER + 1
  4816. until KEYHOLD == false
  4817. if POWER <= 30 then
  4818. for i = 1, 15 do
  4819. wait(0.1)
  4820. coroutine.resume(coroutine.create(function()
  4821. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(2, 2, 2))
  4822. FIREBALL.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  4823. local PARTICLES1 = script.PheonixFireball1:Clone()
  4824. PARTICLES1.Parent = FIREBALL
  4825. PARTICLES1.Enabled = true
  4826. local PARTICLES2 = script.PheonixFireball2:Clone()
  4827. PARTICLES2.Parent = FIREBALL
  4828. PARTICLES2.Enabled = true
  4829. PARTICLES1.Size = NumberSequence.new(3, 0)
  4830. PARTICLES2.Size = NumberSequence.new(3, 0)
  4831. CreateSound(463593339, FIREBALL, 6, 1, false)
  4832. for i = 1, 250 do
  4833. Swait()
  4834. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 4.5, Character)
  4835. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -4)
  4836. if HIT then
  4837. ApplyAoE(FIREBALL.Position, 25, 5, 15, 5, true, MRANDOM(5, 6), "Pheonix", true, {
  4838. SHAKE = 2,
  4839. TIMER = 25,
  4840. DOESFADE = true
  4841. })
  4842. WACKYEFFECT({
  4843. Time = 60,
  4844. EffectType = "Sphere",
  4845. Size = VT(0, 0, 0),
  4846. Size2 = VT(50, 50, 50),
  4847. Transparency = 0,
  4848. Transparency2 = 1,
  4849. CFrame = CF(FIREBALL.Position),
  4850. MoveToPos = nil,
  4851. RotationX = 0,
  4852. RotationY = 0,
  4853. RotationZ = 0,
  4854. Material = "Neon",
  4855. Color = C3(0.6666666666666666, 0, 0),
  4856. SoundID = nil,
  4857. SoundPitch = nil,
  4858. SoundVolume = nil
  4859. })
  4860. WACKYEFFECT({
  4861. Time = 60,
  4862. EffectType = "Sphere",
  4863. Size = VT(0, 0, 0),
  4864. Size2 = VT(60, 60, 60),
  4865. Transparency = 0.5,
  4866. Transparency2 = 1,
  4867. CFrame = CF(FIREBALL.Position),
  4868. MoveToPos = nil,
  4869. RotationX = 0,
  4870. RotationY = 0,
  4871. RotationZ = 0,
  4872. Material = "Neon",
  4873. Color = PHEONIXCOLOR,
  4874. SoundID = 462692971,
  4875. SoundPitch = 1,
  4876. SoundVolume = 6
  4877. })
  4878. PARTICLES1.Enabled = false
  4879. PARTICLES2.Enabled = false
  4880. local EXPLOSION = script.PheonixExplosion1:Clone()
  4881. EXPLOSION.Parent = FIREBALL
  4882. EXPLOSION.Enabled = true
  4883. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  4884. EXPLOSION2.Parent = FIREBALL
  4885. EXPLOSION2.Enabled = true
  4886. wait(0.3)
  4887. EXPLOSION.Enabled = false
  4888. EXPLOSION2.Enabled = false
  4889. break
  4890. end
  4891. end
  4892. PARTICLES1.Enabled = false
  4893. PARTICLES2.Enabled = false
  4894. Debris:AddItem(FIREBALL, 7)
  4895. end))
  4896. end
  4897. else
  4898. for E = 1, 5 do
  4899. do
  4900. local OFFSET = ANGLES(RAD(72 * E), RAD(72 * E), RAD(0)) * CF(0, 0, 75)
  4901. coroutine.resume(coroutine.create(function()
  4902. local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(5, 5, 5))
  4903. FIREBALL.CFrame = CF(RootPart.Position, CF(Mouse.Hit.p, RootPart.Position) * OFFSET.p)
  4904. local PARTICLES1 = script.PheonixFireball1:Clone()
  4905. PARTICLES1.Parent = FIREBALL
  4906. PARTICLES1.Enabled = true
  4907. local PARTICLES2 = script.PheonixFireball2:Clone()
  4908. PARTICLES2.Parent = FIREBALL
  4909. PARTICLES2.Enabled = true
  4910. CreateSound(463593339, FIREBALL, 6, 1, false)
  4911. for i = 1, 650 do
  4912. Swait()
  4913. local HIT, HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2.5, Character)
  4914. FIREBALL.CFrame = FIREBALL.CFrame * CF(0, 0, -2)
  4915. if HIT then
  4916. ApplyAoE(FIREBALL.Position, 70, 45, 50, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  4917. SHAKE = 2,
  4918. TIMER = 25,
  4919. DOESFADE = true
  4920. })
  4921. WACKYEFFECT({
  4922. Time = 60,
  4923. EffectType = "Sphere",
  4924. Size = VT(0, 0, 0),
  4925. Size2 = VT(120, 120, 120),
  4926. Transparency = 0,
  4927. Transparency2 = 1,
  4928. CFrame = CF(FIREBALL.Position),
  4929. MoveToPos = nil,
  4930. RotationX = 0,
  4931. RotationY = 0,
  4932. RotationZ = 0,
  4933. Material = "Neon",
  4934. Color = C3(0.6666666666666666, 0, 0),
  4935. SoundID = nil,
  4936. SoundPitch = nil,
  4937. SoundVolume = nil
  4938. })
  4939. WACKYEFFECT({
  4940. Time = 60,
  4941. EffectType = "Sphere",
  4942. Size = VT(0, 0, 0),
  4943. Size2 = VT(140, 140, 140),
  4944. Transparency = 0.5,
  4945. Transparency2 = 1,
  4946. CFrame = CF(FIREBALL.Position),
  4947. MoveToPos = nil,
  4948. RotationX = 0,
  4949. RotationY = 0,
  4950. RotationZ = 0,
  4951. Material = "Neon",
  4952. Color = PHEONIXCOLOR,
  4953. SoundID = 462692971,
  4954. SoundPitch = 1,
  4955. SoundVolume = 6
  4956. })
  4957. PARTICLES1.Enabled = false
  4958. PARTICLES2.Enabled = false
  4959. local EXPLOSION = script.PheonixExplosion1:Clone()
  4960. EXPLOSION.Parent = FIREBALL
  4961. EXPLOSION.Enabled = true
  4962. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  4963. EXPLOSION2.Parent = FIREBALL
  4964. EXPLOSION2.Enabled = true
  4965. wait(0.3)
  4966. EXPLOSION.Enabled = false
  4967. EXPLOSION2.Enabled = false
  4968. break
  4969. end
  4970. end
  4971. PARTICLES1.Enabled = false
  4972. PARTICLES2.Enabled = false
  4973. Debris:AddItem(FIREBALL, 7)
  4974. end))
  4975. end
  4976. end
  4977. end
  4978. wait(0.5)
  4979. WELD1:remove()
  4980. WELD2:remove()
  4981. RING1.Anchored = true
  4982. RING2.Anchored = true
  4983. coroutine.resume(coroutine.create(function()
  4984. for i = 1, 35 do
  4985. Swait()
  4986. MESH1.Scale = MESH1.Scale - VT(6, 0, 6)
  4987. MESH2.Scale = MESH2.Scale - VT(3, 0, 3)
  4988. end
  4989. RING1:remove()
  4990. RING2:remove()
  4991. end))
  4992. DIRECTTURN = false
  4993. ATTACK = false
  4994. end
  4995. function PheonixJump()
  4996. local DONE = false
  4997. local STRENGTH = 15
  4998. local UP = 5
  4999. ATTACK = true
  5000. DIRECTTURN = true
  5001. local RING, WELD, MESH = MagicRing(RootPart, CF(0, -3.5, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Pheonix")
  5002. for i = 1, 30 do
  5003. Swait()
  5004. MESH.Scale = MESH.Scale + VT(12, 0, 12)
  5005. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  5006. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  5007. 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)
  5008. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5009. 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)
  5010. 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)
  5011. end
  5012. local KEYDOWN = Mouse.KeyDown:connect(function(NEWKEY)
  5013. if NEWKEY == "w" and VALUE2 == false then
  5014. coroutine.resume(coroutine.create(function()
  5015. ApplyAoE(RING.Position, 35, 15, 20, 35, true, MRANDOM(12, 16), "Pheonix", true, {
  5016. SHAKE = 2,
  5017. TIMER = 15,
  5018. DOESFADE = true
  5019. })
  5020. WACKYEFFECT({
  5021. EffectType = "Sphere",
  5022. Size = VT(0, 0, 0),
  5023. Size2 = VT(50, 50, 50),
  5024. Transparency = 0,
  5025. Transparency2 = 1,
  5026. CFrame = CF(RING.Position),
  5027. MoveToPos = nil,
  5028. RotationX = 0,
  5029. RotationY = 0,
  5030. RotationZ = 0,
  5031. Material = "Neon",
  5032. Color = C3(0.6666666666666666, 0, 0),
  5033. SoundID = nil,
  5034. SoundPitch = nil,
  5035. SoundVolume = nil
  5036. })
  5037. WACKYEFFECT({
  5038. EffectType = "Sphere",
  5039. Size = VT(0, 0, 0),
  5040. Size2 = VT(70, 70, 70),
  5041. Transparency = 0.5,
  5042. Transparency2 = 1,
  5043. CFrame = CF(RING.Position),
  5044. MoveToPos = nil,
  5045. RotationX = 0,
  5046. RotationY = 0,
  5047. RotationZ = 0,
  5048. Material = "Neon",
  5049. Color = PHEONIXCOLOR,
  5050. SoundID = 462692971,
  5051. SoundPitch = 1.2,
  5052. SoundVolume = 6
  5053. })
  5054. local EXPLOSION = script.PheonixExplosion1:Clone()
  5055. EXPLOSION.Parent = RING
  5056. EXPLOSION.Enabled = true
  5057. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  5058. EXPLOSION2.Parent = RING
  5059. EXPLOSION2.Enabled = true
  5060. wait(0.3)
  5061. EXPLOSION.Enabled = false
  5062. EXPLOSION2.Enabled = false
  5063. Debris:AddItem(RING, 3)
  5064. end))
  5065. CreateSound(462676772, Torso, 8, 1, false)
  5066. coroutine.resume(coroutine.create(function()
  5067. for i = 1, 25 do
  5068. Swait()
  5069. ApplyAoE(Torso.Position, 15, 15, 20, 75, true, MRANDOM(4, 5), "Pheonix", false, {
  5070. SHAKE = 4,
  5071. TIMER = 5,
  5072. DOESFADE = true
  5073. })
  5074. WACKYEFFECT({
  5075. Time = 10,
  5076. EffectType = "Wave",
  5077. Size = VT(45, 5, 45) / 3,
  5078. Size2 = VT(35, 200, 35) / 5,
  5079. Transparency = 0.8,
  5080. Transparency2 = 1,
  5081. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5082. MoveToPos = nil,
  5083. RotationX = 0,
  5084. RotationY = 5,
  5085. RotationZ = 0,
  5086. Material = "Neon",
  5087. Color = C3(0.6666666666666666, 0, 0),
  5088. SoundID = nil,
  5089. SoundPitch = nil,
  5090. SoundVolume = nil
  5091. })
  5092. WACKYEFFECT({
  5093. Time = 10,
  5094. EffectType = "Wave",
  5095. Size = VT(55, 5, 55) / 3,
  5096. Size2 = VT(45, 200, 45) / 5,
  5097. Transparency = 0.8,
  5098. Transparency2 = 1,
  5099. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5100. MoveToPos = nil,
  5101. RotationX = 0,
  5102. RotationY = -5,
  5103. RotationZ = 0,
  5104. Material = "Neon",
  5105. Color = PHEONIXCOLOR,
  5106. SoundID = nil,
  5107. SoundPitch = nil,
  5108. SoundVolume = nil
  5109. })
  5110. 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)
  5111. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  5112. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5113. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5114. 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)
  5115. 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)
  5116. end
  5117. ATTACK = false
  5118. end))
  5119. repeat
  5120. VALUE2 = true
  5121. Swait()
  5122. BODYPOS.Position = RootPart.CFrame * CF(0, UP, -STRENGTH).p
  5123. if STRENGTH > 2.5 then
  5124. STRENGTH = STRENGTH - 0.1
  5125. else
  5126. STRENGTH = 2.5
  5127. end
  5128. if UP > 0 then
  5129. UP = UP - 0.15
  5130. else
  5131. UP = 0
  5132. end
  5133. until KEYHOLD == false and STRENGTH < 5 and ATTACK == false
  5134. DONE = true
  5135. end
  5136. end)
  5137. repeat
  5138. Swait()
  5139. if STRENGTH < 50 then
  5140. STRENGTH = STRENGTH + 0.15
  5141. MESH.Scale = MESH.Scale + VT(0.5, 0, 0.5)
  5142. end
  5143. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.4) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
  5144. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
  5145. 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)
  5146. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  5147. 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)
  5148. 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)
  5149. until VALUE2 == true
  5150. DIRECTTURN = false
  5151. WELD:remove()
  5152. RING.Anchored = true
  5153. local SIZE = MESH.Scale.X
  5154. coroutine.resume(coroutine.create(function()
  5155. for i = 1, 30 do
  5156. Swait()
  5157. MESH.Scale = MESH.Scale - VT(SIZE, 0, SIZE) / 30
  5158. end
  5159. RING:remove()
  5160. end))
  5161. repeat
  5162. wait()
  5163. until DONE == true
  5164. KEYDOWN:disconnect()
  5165. VALUE2 = false
  5166. end
  5167. function DragonFirePillar()
  5168. ATTACK = true
  5169. local POS = Mouse.Hit.p
  5170. APPLYGYRO = false
  5171. local RING, WELD, MESH = MagicRing(RightArm, CF(0, -1.2, 0) * ANGLES(RAD(0), RAD(180), RAD(0)), "Fire")
  5172. coroutine.resume(coroutine.create(function()
  5173. repeat
  5174. Swait()
  5175. GYRO.CFrame = CF(RootPart.Position, POS)
  5176. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
  5177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
  5178. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5179. 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)
  5180. 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)
  5181. 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)
  5182. until ATTACK == false
  5183. end))
  5184. for i = 1, 40 do
  5185. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  5186. Swait()
  5187. end
  5188. for i = 1, 6 do
  5189. WACKYEFFECT({
  5190. EffectType = "Sphere",
  5191. Size = VT(35, 35, 35),
  5192. Size2 = VT(0, 0, 0),
  5193. Transparency = 1,
  5194. Transparency2 = 0.5,
  5195. CFrame = CF(POS),
  5196. MoveToPos = nil,
  5197. RotationX = 0,
  5198. RotationY = 0,
  5199. RotationZ = 0,
  5200. Material = "Neon",
  5201. Color = C3(1, 0.3333333333333333, 0),
  5202. SoundID = nil,
  5203. SoundPitch = nil,
  5204. SoundVolume = nil
  5205. })
  5206. wait(1)
  5207. end
  5208. coroutine.resume(coroutine.create(function()
  5209. coroutine.resume(coroutine.create(function()
  5210. for i = 1, 30 do
  5211. Swait()
  5212. MESH.Scale = MESH.Scale - VT(4, 0, 4)
  5213. end
  5214. RING:remove()
  5215. end))
  5216. WACKYEFFECT({
  5217. Time = 640,
  5218. EffectType = "Sphere",
  5219. Size = VT(15, 500, 15),
  5220. Size2 = VT(10, 700, 10),
  5221. Transparency = 0,
  5222. Transparency2 = 1,
  5223. CFrame = CF(POS),
  5224. MoveToPos = nil,
  5225. RotationX = 0,
  5226. RotationY = 0,
  5227. RotationZ = 0,
  5228. Material = "Neon",
  5229. Color = C3(1, 0.3333333333333333, 0),
  5230. SoundID = nil,
  5231. SoundPitch = nil,
  5232. SoundVolume = nil
  5233. })
  5234. for i = 1, 15 do
  5235. ApplyAoE(POS, 35, 20, 30, 15, true, MRANDOM(3, 4), "Fire", true, {
  5236. SHAKE = 5,
  5237. TIMER = 6,
  5238. DOESFADE = true
  5239. })
  5240. WACKYEFFECT({
  5241. Time = 125,
  5242. EffectType = "Wave",
  5243. Size = VT(0, 5, 0),
  5244. Size2 = VT(250, 35, 250),
  5245. Transparency = 0.4,
  5246. Transparency2 = 1,
  5247. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5248. MoveToPos = nil,
  5249. RotationX = 0,
  5250. RotationY = MRANDOM(-5, 5) * 2,
  5251. RotationZ = 0,
  5252. Material = "Neon",
  5253. Color = C3(1, 0.3333333333333333, 0),
  5254. SoundID = nil,
  5255. SoundPitch = MRANDOM(9, 11) / 10,
  5256. SoundVolume = 4
  5257. })
  5258. WACKYEFFECT({
  5259. Time = 75,
  5260. EffectType = "Swirl",
  5261. Size = VT(20, 20, 20),
  5262. Size2 = VT(65, 500, 65),
  5263. Transparency = 0.4,
  5264. Transparency2 = 1,
  5265. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5266. MoveToPos = nil,
  5267. RotationX = 0,
  5268. RotationY = MRANDOM(-5, 5) * 6,
  5269. RotationZ = 0,
  5270. Material = "Neon",
  5271. Color = C3(1, 0.3333333333333333, 0),
  5272. SoundID = nil,
  5273. SoundPitch = MRANDOM(9, 11) / 10,
  5274. SoundVolume = 4
  5275. })
  5276. WACKYEFFECT({
  5277. Time = 75,
  5278. EffectType = "Swirl",
  5279. Size = VT(20, 20, 20),
  5280. Size2 = VT(45, 600, 45),
  5281. Transparency = 0.4,
  5282. Transparency2 = 1,
  5283. CFrame = CF(POS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  5284. MoveToPos = nil,
  5285. RotationX = 0,
  5286. RotationY = MRANDOM(-5, 5) * 6,
  5287. RotationZ = 0,
  5288. Material = "Neon",
  5289. Color = C3(1, 0.3333333333333333, 0),
  5290. SoundID = 304529688,
  5291. SoundPitch = MRANDOM(9, 11) / 10,
  5292. SoundVolume = 4
  5293. })
  5294. wait(0.6)
  5295. end
  5296. end))
  5297. APPLYGYRO = true
  5298. ATTACK = false
  5299. end
  5300. function PheonixTornado()
  5301. ATTACK = true
  5302. local BUILDUP = true
  5303. local HITS = {}
  5304. PARTICLES = true
  5305. coroutine.resume(coroutine.create(function()
  5306. repeat
  5307. Swait()
  5308. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5309. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  5310. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5311. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5312. 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)
  5313. 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)
  5314. until BUILDUP == false
  5315. end))
  5316. WINGS1.Acceleration = VT(9, 0, -12)
  5317. WINGS1B.Acceleration = VT(9, 0, -12)
  5318. WINGS2.Acceleration = VT(-9, 0, -12)
  5319. WINGS2B.Acceleration = VT(-9, 0, -12)
  5320. wait(1)
  5321. CreateSound(462676772, Torso, 7, 1, false)
  5322. WINGS1.Acceleration = VT(9, 1, 4)
  5323. WINGS1B.Acceleration = VT(9, 1, 4)
  5324. WINGS2.Acceleration = VT(-9, 1, 4)
  5325. WINGS2B.Acceleration = VT(-9, 1, 4)
  5326. wait(0.25)
  5327. AddChildrenToTable(Torso.Position, workspace, 35, HITS)
  5328. WACKYEFFECT({
  5329. Time = 40,
  5330. EffectType = "Swirl",
  5331. Size = VT(50, 5, 50),
  5332. Size2 = VT(50, 60, 50),
  5333. Transparency = 0.8,
  5334. Transparency2 = 1,
  5335. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5336. MoveToPos = nil,
  5337. RotationX = 0,
  5338. RotationY = -5,
  5339. RotationZ = 0,
  5340. Material = "Neon",
  5341. Color = C3(0.8, 0.8, 0.8),
  5342. SoundID = nil,
  5343. SoundPitch = nil,
  5344. SoundVolume = nil
  5345. })
  5346. BUILDUP = false
  5347. PARTICLES = false
  5348. if #HITS > 0 then
  5349. do
  5350. local BODIES = {}
  5351. if #HITS == 1 then
  5352. for i = 1, #HITS do
  5353. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  5354. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  5355. if HUM and TORSO and 0 < HUM.Health then
  5356. local POSITION = IT("BodyPosition", TORSO)
  5357. POSITION.Position = RootPart.CFrame * CF(0, 45, -35).p
  5358. POSITION.D = 15
  5359. POSITION.P = 4000000
  5360. table.insert(BODIES, POSITION)
  5361. end
  5362. end
  5363. else
  5364. for i = 1, #HITS do
  5365. local TORSO = HITS[i]:FindFirstChild("HumanoidRootPart") or HITS[i]:FindFirstChild("Torso") or HITS[i]:FindFirstChild("UpperTorso")
  5366. local HUM = HITS[i]:FindFirstChildOfClass("Humanoid")
  5367. if HUM and TORSO and 0 < HUM.Health then
  5368. local POSITION = IT("BodyPosition", TORSO)
  5369. POSITION.Position = RootPart.CFrame * CF(0, 35, -35) * ANGLES(RAD(0), RAD(360 / #HITS * i), RAD(0)) * CF(0, 0, 10).p
  5370. POSITION.D = 450
  5371. POSITION.P = 40000
  5372. POSITION.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  5373. table.insert(BODIES, POSITION)
  5374. end
  5375. end
  5376. end
  5377. local POS = RootPart.CFrame * CF(0, 35, -35).p
  5378. wait(1.75)
  5379. BODYPOS.D = 450
  5380. BODYPOS.Position = POS
  5381. wait(0.5)
  5382. APPLYGYRO = false
  5383. local E = 0
  5384. CreateSound(1417056081, RootPart, 10, 0.5, false)
  5385. for i = 1, 50 do
  5386. Swait()
  5387. E = E + 1
  5388. WACKYEFFECT({
  5389. Time = 25,
  5390. EffectType = "Wave",
  5391. Size = VT(45, 5, 45) / 3,
  5392. Size2 = VT(35, 200, 35) / 5,
  5393. Transparency = 0.8,
  5394. Transparency2 = 1,
  5395. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5396. MoveToPos = nil,
  5397. RotationX = 0,
  5398. RotationY = 5,
  5399. RotationZ = 0,
  5400. Material = "Neon",
  5401. Color = C3(0.6666666666666666, 0, 0),
  5402. SoundID = nil,
  5403. SoundPitch = nil,
  5404. SoundVolume = nil
  5405. })
  5406. WACKYEFFECT({
  5407. Time = 25,
  5408. EffectType = "Wave",
  5409. Size = VT(55, 5, 55) / 3,
  5410. Size2 = VT(45, 200, 45) / 5,
  5411. Transparency = 0.8,
  5412. Transparency2 = 1,
  5413. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5414. MoveToPos = nil,
  5415. RotationX = 0,
  5416. RotationY = -5,
  5417. RotationZ = 0,
  5418. Material = "Neon",
  5419. Color = PHEONIXCOLOR,
  5420. SoundID = nil,
  5421. SoundPitch = nil,
  5422. SoundVolume = nil
  5423. })
  5424. 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)
  5425. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  5426. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5427. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5428. 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)
  5429. 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)
  5430. end
  5431. local TORNADO = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Tornado", VT(0, 0, 0))
  5432. TORNADO.CFrame = CF(POS)
  5433. local MESH = CreateMesh("SpecialMesh", TORNADO, "FileMesh", "102638417", "", VT(25, 25, 25), VT(0, 0, 0))
  5434. local DECAL = IT("Decal", TORNADO)
  5435. DECAL.Texture = "rbxassetid://559849514"
  5436. DECAL.Transparency = 1
  5437. DECAL.Color3 = BRICKC("Terra Cotta").Color
  5438. local LOOP = 0
  5439. for i = 1, 250 do
  5440. Swait()
  5441. E = E + 1
  5442. LOOP = LOOP + 1
  5443. if LOOP == 10 then
  5444. LOOP = 0
  5445. ApplyAoE(TORNADO.Position, 35, 2, 2, 0, true, MRANDOM(3, 4), "Pheonix", true, {
  5446. SHAKE = 2,
  5447. TIMER = 4,
  5448. DOESFADE = true
  5449. })
  5450. end
  5451. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
  5452. DECAL.Transparency = DECAL.Transparency - 0.002
  5453. WACKYEFFECT({
  5454. Time = 25,
  5455. EffectType = "Wave",
  5456. Size = VT(45, 5, 45) / 3,
  5457. Size2 = VT(35, 200, 35) / 5,
  5458. Transparency = 0.8,
  5459. Transparency2 = 1,
  5460. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5461. MoveToPos = nil,
  5462. RotationX = 0,
  5463. RotationY = 5,
  5464. RotationZ = 0,
  5465. Material = "Neon",
  5466. Color = C3(0.6666666666666666, 0, 0),
  5467. SoundID = nil,
  5468. SoundPitch = nil,
  5469. SoundVolume = nil
  5470. })
  5471. WACKYEFFECT({
  5472. Time = 25,
  5473. EffectType = "Wave",
  5474. Size = VT(55, 5, 55) / 3,
  5475. Size2 = VT(45, 200, 45) / 5,
  5476. Transparency = 0.9,
  5477. Transparency2 = 1,
  5478. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5479. MoveToPos = nil,
  5480. RotationX = 0,
  5481. RotationY = -5,
  5482. RotationZ = 0,
  5483. Material = "Neon",
  5484. Color = PHEONIXCOLOR,
  5485. SoundID = nil,
  5486. SoundPitch = nil,
  5487. SoundVolume = nil
  5488. })
  5489. 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)
  5490. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  5491. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5492. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5493. 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)
  5494. 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)
  5495. end
  5496. for i = 1, #BODIES do
  5497. BODIES[i]:remove()
  5498. end
  5499. coroutine.resume(coroutine.create(function()
  5500. for i = 1, 25 do
  5501. Swait()
  5502. DECAL.Transparency = DECAL.Transparency + 0.02
  5503. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 10), RAD(0))
  5504. end
  5505. TORNADO:remove()
  5506. end))
  5507. for i = 1, 75 do
  5508. Swait()
  5509. E = E + 1
  5510. LOOP = LOOP + 1
  5511. TORNADO.CFrame = CF(POS) * ANGLES(RAD(0), RAD(-E * 15), RAD(0))
  5512. DECAL.Transparency = DECAL.Transparency - 0.002
  5513. WACKYEFFECT({
  5514. Time = 25,
  5515. EffectType = "Wave",
  5516. Size = VT(45, 5, 45) / 3,
  5517. Size2 = VT(35, 200, 35) / 5,
  5518. Transparency = 0.8,
  5519. Transparency2 = 1,
  5520. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5521. MoveToPos = nil,
  5522. RotationX = 0,
  5523. RotationY = 5,
  5524. RotationZ = 0,
  5525. Material = "Neon",
  5526. Color = C3(0.6666666666666666, 0, 0),
  5527. SoundID = nil,
  5528. SoundPitch = nil,
  5529. SoundVolume = nil
  5530. })
  5531. WACKYEFFECT({
  5532. Time = 25,
  5533. EffectType = "Wave",
  5534. Size = VT(55, 5, 55) / 3,
  5535. Size2 = VT(45, 200, 45) / 5,
  5536. Transparency = 0.8,
  5537. Transparency2 = 1,
  5538. CFrame = Torso.CFrame * ANGLES(RAD(180), RAD(0), RAD(0)),
  5539. MoveToPos = nil,
  5540. RotationX = 0,
  5541. RotationY = -5,
  5542. RotationZ = 0,
  5543. Material = "Neon",
  5544. Color = PHEONIXCOLOR,
  5545. SoundID = nil,
  5546. SoundPitch = nil,
  5547. SoundVolume = nil
  5548. })
  5549. 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)
  5550. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  5551. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5552. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5553. 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)
  5554. 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)
  5555. end
  5556. BODYPOS.D = 75
  5557. end
  5558. end
  5559. APPLYGYRO = true
  5560. ATTACK = false
  5561. end
  5562. function PheonixNuke()
  5563. if Mouse.Target ~= nil then
  5564. ATTACK = true
  5565. Rooted = false
  5566. BODYPOS.Position = Mouse.Hit.p + VT(0, 6, 0)
  5567. BODYPOS.D = 700
  5568. coroutine.resume(coroutine.create(function()
  5569. repeat
  5570. Swait()
  5571. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  5572. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  5573. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5574. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5575. 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)
  5576. 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)
  5577. until ATTACK == false
  5578. end))
  5579. wait(1.5)
  5580. for i = 1, 4 do
  5581. WACKYEFFECT({
  5582. EffectType = "Sphere",
  5583. Size = VT(125, 125, 125),
  5584. Size2 = VT(0, 0, 0),
  5585. Transparency = 1,
  5586. Transparency2 = 0.8,
  5587. CFrame = CF(Torso.Position),
  5588. MoveToPos = nil,
  5589. RotationX = 0,
  5590. RotationY = 0,
  5591. RotationZ = 0,
  5592. Material = "Neon",
  5593. Color = PHEONIXCOLOR,
  5594. SoundID = nil,
  5595. SoundPitch = nil,
  5596. SoundVolume = nil
  5597. })
  5598. wait(0.7)
  5599. end
  5600. PARTICLES = true
  5601. WINGS1.Acceleration = VT(9, 3, 4)
  5602. WINGS1B.Acceleration = VT(9, 3, 4)
  5603. WINGS2.Acceleration = VT(-9, 3, 4)
  5604. WINGS2B.Acceleration = VT(-9, 3, 4)
  5605. wait(2)
  5606. CreateSound(462676772, Torso, 8, 1, false)
  5607. WINGS1.Acceleration = VT(9, -2, -12)
  5608. WINGS1B.Acceleration = VT(9, -2, -12)
  5609. WINGS2.Acceleration = VT(-9, -2, -12)
  5610. WINGS2B.Acceleration = VT(-9, -2, -12)
  5611. wait(1)
  5612. for i = 1, 5 do
  5613. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character)
  5614. ApplyAoE(Torso.Position, 240, 25, 30, 165, true, MRANDOM(5, 7), "Pheonix", true, {
  5615. SHAKE = 8,
  5616. TIMER = 25,
  5617. DOESFADE = true
  5618. })
  5619. for i = 1, 5 do
  5620. WACKYEFFECT({
  5621. Time = 120,
  5622. EffectType = "Swirl",
  5623. Size = VT(20, 20, 20),
  5624. Size2 = (VT(180, 180, 180) + VT(50, 50, 50) * i) * 2,
  5625. Transparency = 0.8,
  5626. Transparency2 = 1,
  5627. CFrame = CF(Torso.Position) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  5628. MoveToPos = nil,
  5629. RotationX = 0,
  5630. RotationY = 6 + i,
  5631. RotationZ = 0,
  5632. Material = "Neon",
  5633. Color = PHEONIXCOLOR,
  5634. SoundID = nil,
  5635. SoundPitch = nil,
  5636. SoundVolume = nil
  5637. })
  5638. end
  5639. WACKYEFFECT({
  5640. Time = 80,
  5641. EffectType = "Sphere",
  5642. Size = VT(40, 40, 40),
  5643. Size2 = VT(240, 240, 240) * 2,
  5644. Transparency = 0,
  5645. Transparency2 = 1,
  5646. CFrame = CF(Torso.Position),
  5647. MoveToPos = nil,
  5648. RotationX = 0,
  5649. RotationY = 0,
  5650. RotationZ = 0,
  5651. Material = "Neon",
  5652. Color = C3(0.6666666666666666, 0, 0),
  5653. SoundID = nil,
  5654. SoundPitch = 1,
  5655. SoundVolume = 8
  5656. })
  5657. WACKYEFFECT({
  5658. Time = 80,
  5659. EffectType = "Sphere",
  5660. Size = VT(50, 50, 50),
  5661. Size2 = VT(250, 250, 250) * 2,
  5662. Transparency = 0.5,
  5663. Transparency2 = 1,
  5664. CFrame = CF(Torso.Position),
  5665. MoveToPos = nil,
  5666. RotationX = 0,
  5667. RotationY = 0,
  5668. RotationZ = 0,
  5669. Material = "Neon",
  5670. Color = PHEONIXCOLOR,
  5671. SoundID = nil,
  5672. SoundPitch = 0.7,
  5673. SoundVolume = 10
  5674. })
  5675. local EXPLOSION = script.PheonixExplosion1:Clone()
  5676. EXPLOSION.Parent = Torso
  5677. EXPLOSION.Enabled = true
  5678. local EXPLOSION2 = script.PheonixExplosion2:Clone()
  5679. EXPLOSION2.Parent = Torso
  5680. EXPLOSION2.Enabled = true
  5681. EXPLOSION.Drag = -5
  5682. EXPLOSION2.Drag = -5
  5683. EXPLOSION:Emit(100)
  5684. EXPLOSION2:Emit(100)
  5685. CreateSound(462692971, Effects, 2, 1, false)
  5686. for i = 1, 5 do
  5687. wait()
  5688. WACKYEFFECT({
  5689. Time = 40,
  5690. EffectType = "Wave",
  5691. Size = VT(20, 0, 20),
  5692. Size2 = (VT(160, 6, 160) + VT(50, 4, 50) * i) * 2,
  5693. Transparency = 0.8,
  5694. Transparency2 = 1,
  5695. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  5696. MoveToPos = nil,
  5697. RotationX = 0,
  5698. RotationY = -12 + i,
  5699. RotationZ = 0,
  5700. Material = "Neon",
  5701. Color = C3(0.6666666666666666, 0, 0),
  5702. SoundID = nil,
  5703. SoundPitch = nil,
  5704. SoundVolume = nil
  5705. })
  5706. WACKYEFFECT({
  5707. Time = 40,
  5708. EffectType = "Wave",
  5709. Size = VT(20, 0, 20),
  5710. Size2 = (VT(180, 6, 180) + VT(50, 5, 50) * i) * 2,
  5711. Transparency = 0.8,
  5712. Transparency2 = 1,
  5713. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(i * 15), RAD(0)),
  5714. MoveToPos = nil,
  5715. RotationX = 0,
  5716. RotationY = -12 + i,
  5717. RotationZ = 0,
  5718. Material = "Neon",
  5719. Color = PHEONIXCOLOR,
  5720. SoundID = nil,
  5721. SoundPitch = nil,
  5722. SoundVolume = nil
  5723. })
  5724. end
  5725. EXPLOSION.Enabled = false
  5726. EXPLOSION2.Enabled = false
  5727. Debris:AddItem(EXPLOSION, 5)
  5728. Debris:AddItem(EXPLOSION2, 5)
  5729. wait(0.4)
  5730. end
  5731. wait(0.6)
  5732. PARTICLES = false
  5733. BODYPOS.D = 75
  5734. ATTACK = false
  5735. Rooted = false
  5736. end
  5737. end
  5738. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  5739. local gui = it(GuiType)
  5740. gui.Parent = parent
  5741. gui.Text = text
  5742. gui.BackgroundTransparency = backtrans
  5743. gui.BackgroundColor3 = backcol
  5744. gui.SizeConstraint = "RelativeXY"
  5745. gui.TextXAlignment = "Center"
  5746. gui.TextYAlignment = "Center"
  5747. gui.Position = pos
  5748. gui.Size = size
  5749. gui.Font = "SourceSans"
  5750. gui.FontSize = "Size14"
  5751. gui.TextWrapped = false
  5752. gui.TextStrokeTransparency = 0
  5753. gui.TextColor = BrickColor.new("White")
  5754. return gui
  5755. end
  5756. ---- GUI set
  5757. local basgui = it("GuiMain")
  5758. basgui.Parent = Player.PlayerGui
  5759. basgui.Name = "CooldownsGUI"
  5760. local basframe = it("Frame")
  5761. basframe.Parent = basgui
  5762. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  5763. basframe.BackgroundTransparency = 1
  5764. basframe.BorderColor3 = Color3.new(17, 17, 17)
  5765. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  5766. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  5767. 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))
  5768. basicgui.ZIndex = 2
  5769. basicgui.Font = "Highway"
  5770. basicgui.BackgroundTransparency = 0.5
  5771. basicgui.BorderSizePixel = 0.65
  5772. basicgui.TextScaled = true
  5773. basicgui.Text = "(F)\nToggle On"
  5774. basicgui.TextSize = 24
  5775. 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))
  5776. basicgui2.ZIndex = 2
  5777. basicgui2.Font = "Highway"
  5778. basicgui2.BackgroundTransparency = 0.5
  5779. basicgui2.BorderSizePixel = 0.65
  5780. basicgui2.TextScaled = true
  5781. basicgui2.Text = "(E)\n(Flight) Phoenix Fire"
  5782. basicgui2.TextSize = 24
  5783. 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))
  5784. basicgui3.ZIndex = 2
  5785. basicgui3.Font = "Highway"
  5786. basicgui3.BackgroundTransparency = 0.5
  5787. basicgui3.BorderSizePixel = 0.65
  5788. basicgui3.TextScaled = true
  5789. basicgui3.Text = "(X)\n(Flight) Phoenix Nuke"
  5790. basicgui3.TextSize = 24
  5791. 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))
  5792. basicgui7.ZIndex = 2
  5793. basicgui7.Font = "Highway"
  5794. basicgui7.BackgroundTransparency = 0.5
  5795. basicgui7.BorderSizePixel = 0.65
  5796. basicgui7.TextScaled = true
  5797. basicgui7.Text = "(C)\n(Normal) Phoenix Explosion"
  5798. basicgui7.TextSize = 24
  5799. 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))
  5800. basicgui4.ZIndex = 2
  5801. basicgui4.Font = "Highway"
  5802. basicgui4.BackgroundTransparency = 0.5
  5803. basicgui4.BorderSizePixel = 0.65
  5804. basicgui4.TextScaled = true
  5805. basicgui4.Text = "(B)\nPhoenix Breath"
  5806. basicgui4.TextSize = 24
  5807. 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))
  5808. basicgui5.ZIndex = 2
  5809. basicgui5.Font = "Highway"
  5810. basicgui5.BackgroundTransparency = 0.5
  5811. basicgui5.BorderSizePixel = 0.65
  5812. basicgui5.TextScaled = true
  5813. basicgui5.Text = "(Q)\nToggle Flight Mode"
  5814. basicgui5.TextSize = 24
  5815. 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))
  5816. basicgui6.ZIndex = 2
  5817. basicgui6.Font = "Highway"
  5818. basicgui6.BackgroundTransparency = 0.5
  5819. basicgui6.BorderSizePixel = 0.65
  5820. basicgui6.TextScaled = true
  5821. basicgui6.Text = "(Z)\nShooting Star(s)"
  5822. basicgui6.TextSize = 24
  5823.  
  5824. function MouseDown(Mouse)
  5825. if ATTACK == false then
  5826. end
  5827. end
  5828. function MouseUp(Mouse)
  5829. HOLD = false
  5830. end
  5831. function KeyDown(Key)
  5832. KEYHOLD = true
  5833. if EQUIPPED == true then
  5834. if FLIGHT == false then
  5835. if Key == "z" and ATTACK == false then
  5836. ShootingStar()
  5837. end
  5838. if Key == "n" and ATTACK == false then
  5839. PhoenixThrone()
  5840. end
  5841. if Key == "b" and ATTACK == false then
  5842. Breath()
  5843. end
  5844. if Key == "c" and ATTACK == false then
  5845. PheonixRage()
  5846. end
  5847. if Key == "q" and ATTACK == false then
  5848. FLIGHT = true
  5849. GYRO = IT("BodyGyro", RootPart)
  5850. GYRO.D = 75
  5851. GYRO.P = 40000
  5852. GYRO.MaxTorque = VT(40000, 40000, 40000)
  5853. GYRO.cframe = CF(RootPart.Position, RootPart.CFrame * CF(0, 0, -1).p)
  5854. BODYPOS = Instance.new("BodyPosition", RootPart)
  5855. BODYPOS.D = 100
  5856. BODYPOS.P = 20000
  5857. BODYPOS.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  5858. BODYPOS.position = RootPart.Position + VT(0, 3, 0)
  5859. do
  5860. local RING, WELD, MESH = MagicRing(Torso, CF(0, 0.5, 1) * ANGLES(RAD(-90), RAD(0), RAD(0)), "Pheonix")
  5861. FLIGHTRING = RING
  5862. coroutine.resume(coroutine.create(function()
  5863. for i = 1, 40 do
  5864. Swait()
  5865. MESH.Scale = MESH.Scale + VT(4, 0, 4)
  5866. end
  5867. end))
  5868. PheonixJump()
  5869. end
  5870. end
  5871. elseif FLIGHT == true then
  5872. if Key == "z" and ATTACK == false and VALUE2 == false then
  5873. ThreeShootingStars()
  5874. end
  5875. if Key == "b" and ATTACK == false and VALUE2 == false then
  5876. PheonixFlare()
  5877. end
  5878. if Key == "g" and ATTACK == false and VALUE2 == false then
  5879. DragonFirePillar()
  5880. end
  5881. if Key == "v" and ATTACK == false and VALUE2 == false then
  5882. PheonixTornado()
  5883. end
  5884. if Key == "x" and ATTACK == false and VALUE2 == false then
  5885. PheonixNuke()
  5886. end
  5887. if Key == "q" and ATTACK == false and VALUE2 == false then
  5888. FLIGHT = false
  5889. coroutine.resume(coroutine.create(function()
  5890. if FLIGHTRING then
  5891. local MSH = FLIGHTRING.Mesh
  5892. local RING = FLIGHTRING
  5893. for i = 1, 40 do
  5894. Swait()
  5895. MSH.Scale = MSH.Scale - VT(4, 0, 4)
  5896. end
  5897. RING:remove()
  5898. end
  5899. end))
  5900. end
  5901. if Key == "c" and ATTACK == false and VALUE2 == false then
  5902. PheonixJump()
  5903. end
  5904. if Key == "e" and ATTACK == false and VALUE2 == false then
  5905. PheonixFireballs()()
  5906. end
  5907. if Key == "w" and ATTACK == false and VALUE2 == false then
  5908. repeat
  5909. VALUE2 = true
  5910. Swait()
  5911. BODYPOS.Position = RootPart.CFrame * CF(0, 0, -2.5).p
  5912. until KEYHOLD == false
  5913. VALUE2 = false
  5914. end
  5915. end
  5916. end
  5917. if Key == "f" and ATTACK == false and FLIGHT == false then
  5918. if EQUIPPED == false then
  5919. EQUIPPED = true
  5920. EYE.Enabled = true
  5921. EYE2.Enabled = true
  5922. sick:Play()
  5923. sick.Pitch = 0.95
  5924. sick.Volume = .1
  5925.  
  5926. else
  5927. EQUIPPED = false
  5928. FLIGHT = false
  5929. EYE.Enabled = false
  5930. EYE2.Enabled = false
  5931. sick:Stop()
  5932. end
  5933. end
  5934. if string.byte(Key) == 50 and ATTACK == false then
  5935. if Speed == 16 then
  5936. Speed = 45
  5937. elseif Speed == 45 then
  5938. Speed = 16
  5939. end
  5940. end
  5941. end
  5942. function KeyUp(Key)
  5943. KEYHOLD = false
  5944. end
  5945. Mouse.Button1Down:connect(function(NEWKEY)
  5946. MouseDown(NEWKEY)
  5947. end)
  5948. Mouse.Button1Up:connect(function(NEWKEY)
  5949. MouseUp(NEWKEY)
  5950. end)
  5951. Mouse.KeyDown:connect(function(NEWKEY)
  5952. KeyDown(NEWKEY)
  5953. end)
  5954. Mouse.KeyUp:connect(function(NEWKEY)
  5955. KeyUp(NEWKEY)
  5956. end)
  5957. function unanchor()
  5958. if UNANCHOR == true then
  5959. g = Character:GetChildren()
  5960. for i = 1, #g do
  5961. if g[i].ClassName == "Part" then
  5962. g[i].Anchored = false
  5963. end
  5964. end
  5965. end
  5966. end
  5967. Humanoid.Changed:connect(function(Jump)
  5968. if Jump == "Jump" and Disable_Jump == true then
  5969. Humanoid.Jump = false
  5970. end
  5971. end)
  5972. local LOOP = 0
  5973. local TWIST = true
  5974. while true do
  5975. Swait()
  5976. script.Parent = WEAPONGUI
  5977. ANIMATE.Parent = nil
  5978. for _, v in next, Humanoid:GetPlayingAnimationTracks() do
  5979. v:Stop()
  5980. end
  5981. SINE = SINE + CHANGE
  5982. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  5983. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  5984. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4, Character)
  5985. local WALKSPEEDVALUE = 5
  5986. if ANIM == "Walk" and TORSOVELOCITY > 1 and FLIGHT == false then
  5987. if Humanoid.WalkSpeed <= 20 then
  5988. 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)
  5989. 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)
  5990. 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)
  5991. 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)
  5992. else
  5993. 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)
  5994. 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)
  5995. 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)
  5996. 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)
  5997. end
  5998. elseif ANIM ~= "Walk" or TORSOVELOCITY < 1 or FLIGHT == true then
  5999. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6000. 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)
  6001. 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)
  6002. 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)
  6003. end
  6004. if FLIGHT == false then
  6005. if GYRO ~= nil then
  6006. GYRO:remove()
  6007. end
  6008. if BODYPOS ~= nil then
  6009. BODYPOS:remove()
  6010. end
  6011. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  6012. ANIM = "Jump"
  6013. if ATTACK == false then
  6014. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6018. 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)
  6019. 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)
  6020. end
  6021. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  6022. ANIM = "Fall"
  6023. if ATTACK == false then
  6024. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6025. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  6026. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  6027. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  6028. 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)
  6029. 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)
  6030. end
  6031. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  6032. ANIM = "Idle"
  6033. if ATTACK == false then
  6034. 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)
  6035. 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)
  6036. 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)
  6037. 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)
  6038. 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)
  6039. 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)
  6040. end
  6041. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  6042. ANIM = "Walk"
  6043. if ATTACK == false then
  6044. if Humanoid.WalkSpeed <= 30 then
  6045. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6046. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  6047. 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)
  6048. 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)
  6049. 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)
  6050. 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)
  6051. elseif Humanoid.WalkSpeed > 30 then
  6052. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  6053. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  6054. 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)
  6055. 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)
  6056. 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)
  6057. 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)
  6058. end
  6059. end
  6060. end
  6061. elseif FLIGHT == true then
  6062. if APPLYGYRO == true then
  6063. if VALUE2 == false and DIRECTTURN == false then
  6064. if GYRO ~= nil then
  6065. GYRO.MaxTorque = VT(0, 40000, 0)
  6066. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  6067. end
  6068. elseif GYRO ~= nil then
  6069. GYRO.MaxTorque = VT(40000, 40000, 40000)
  6070. GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p)
  6071. end
  6072. end
  6073. if VALUE2 == false and ATTACK == false then
  6074. ANIM = "IdleFlight"
  6075. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  6076. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  6077. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6078. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6079. 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)
  6080. 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)
  6081. elseif VALUE2 == true and ATTACK == false then
  6082. ANIM = "Flight"
  6083. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
  6084. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  6085. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  6086. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  6087. 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)
  6088. 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)
  6089. end
  6090. end
  6091. local ACCEL1 = VT(10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  6092. local ACCEL2 = VT(-10, 2 - 6 * COS(SINE / 24), -4 - 2 * COS(SINE / 24))
  6093. if PARTICLES == false then
  6094. WINGS1.Acceleration = ACCEL1
  6095. WINGS1B.Acceleration = ACCEL1
  6096. WINGS2.Acceleration = ACCEL2
  6097. WINGS2B.Acceleration = ACCEL2
  6098. end
  6099. if FLIGHT == true or WINGS == true then
  6100. WINGS1.Enabled = true
  6101. WINGS1B.Enabled = true
  6102. WINGS2.Enabled = true
  6103. WINGS2B.Enabled = true
  6104. else
  6105. WINGS1.Enabled = false
  6106. WINGS1B.Enabled = false
  6107. WINGS2.Enabled = false
  6108. WINGS2B.Enabled = false
  6109. end
  6110. unanchor()
  6111. TRAIL1.Enabled = FLIGHT
  6112. TRAIL2.Enabled = FLIGHT
  6113. LIGHT.Enabled = EQUIPPED
  6114. Humanoid.MaxHealth = "inf"
  6115. Humanoid.Health = "inf"
  6116. if Rooted == false and FLIGHT == false then
  6117. Disable_Jump = false
  6118. Humanoid.WalkSpeed = Speed
  6119. elseif Rooted == true or FLIGHT == true then
  6120. Disable_Jump = true
  6121. Humanoid.WalkSpeed = 0
  6122. end
  6123.  
  6124. if FLIGHT == true then
  6125. sick.Pitch = 1
  6126. sick.Volume = 1.5
  6127. LOOP = LOOP + 1
  6128. if LOOP >= 10 then
  6129. local HITFLOOR, HITPOS = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 15, Character)
  6130. if HITFLOOR then
  6131. local DISTANCE = (RootPart.Position - HITPOS).Magnitude
  6132. local SIZE = (26 - DISTANCE) * 2
  6133. if TWIST == true then
  6134. TWIST = false
  6135. WACKYEFFECT({
  6136. Time = 25,
  6137. EffectType = "Wave",
  6138. Size = VT(SIZE / 2, 0, SIZE / 2),
  6139. Size2 = VT(SIZE, 6, SIZE),
  6140. Transparency = 0.6,
  6141. Transparency2 = 1,
  6142. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  6143. MoveToPos = nil,
  6144. RotationX = 0,
  6145. RotationY = 15,
  6146. RotationZ = 0,
  6147. Material = "Neon",
  6148. Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  6149. SoundID = nil,
  6150. SoundPitch = nil,
  6151. SoundVolume = nil
  6152. })
  6153. else
  6154. TWIST = true
  6155. WACKYEFFECT({
  6156. Time = 25,
  6157. EffectType = "Wave",
  6158. Size = VT(SIZE / 2, 0, SIZE / 2),
  6159. Size2 = VT(SIZE, 6, SIZE),
  6160. Transparency = 0.6,
  6161. Transparency2 = 1,
  6162. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(-5, 5)), RAD(0), RAD(MRANDOM(-5, 5))),
  6163. MoveToPos = nil,
  6164. RotationX = 0,
  6165. RotationY = -15,
  6166. RotationZ = 0,
  6167. Material = "Neon",
  6168. Color = C3(1, (205 + 35 * SIN(SINE / 24)) / 255, 0.5 + 0.5 * SIN(SINE / 24)),
  6169. SoundID = nil,
  6170. SoundPitch = nil,
  6171. SoundVolume = nil
  6172. })
  6173. end
  6174. LOOP = 0
  6175. end
  6176. end
  6177. else
  6178. end
  6179. sick.Parent = Character
  6180. Humanoid.Name = "WarPheonix"
  6181. end
  6182.  
  6183. end))
  6184. ParticleEmitter1.Name = "RingEmit"
  6185. ParticleEmitter1.Parent = LocalScript0
  6186. ParticleEmitter1.Transparency = NumberSequence.new(1,0.12568306922913,0,0,0.41530054807663,1)
  6187. ParticleEmitter1.Rotation = NumberRange.new(0, 360)
  6188. ParticleEmitter1.Size = NumberSequence.new(0,6.2841534614563,5.027322769165,2.8961749076843,0)
  6189. ParticleEmitter1.Enabled = false
  6190. ParticleEmitter1.LightEmission = 1
  6191. ParticleEmitter1.Texture = "rbxassetid://1003693108"
  6192. ParticleEmitter1.ZOffset = 1
  6193. ParticleEmitter1.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  6194. ParticleEmitter1.Rate = 5
  6195. ParticleEmitter1.Speed = NumberRange.new(0, 0)
  6196. ParticleEmitter2.Name = "Wing1"
  6197. ParticleEmitter2.Parent = LocalScript0
  6198. ParticleEmitter2.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  6199. ParticleEmitter2.Rotation = NumberRange.new(0, 360)
  6200. ParticleEmitter2.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  6201. ParticleEmitter2.Enabled = false
  6202. ParticleEmitter2.LightEmission = 1
  6203. ParticleEmitter2.Texture = "rbxassetid://1492439733"
  6204. ParticleEmitter2.Acceleration = Vector3.new(5, 4, -4)
  6205. ParticleEmitter2.Lifetime = NumberRange.new(2, 2)
  6206. ParticleEmitter2.Rate = 300
  6207. ParticleEmitter2.RotSpeed = NumberRange.new(-56, 56)
  6208. ParticleEmitter2.Speed = NumberRange.new(4, 4)
  6209. ParticleEmitter2.VelocitySpread = 35
  6210. ParticleEmitter3.Name = "SunFireball"
  6211. ParticleEmitter3.Parent = LocalScript0
  6212. ParticleEmitter3.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6213. ParticleEmitter3.Rotation = NumberRange.new(0, 360)
  6214. ParticleEmitter3.Size = NumberSequence.new(10,8.125,5.6875,1.1250001192093,0)
  6215. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6216. ParticleEmitter3.Enabled = false
  6217. ParticleEmitter3.LightEmission = 0.75
  6218. ParticleEmitter3.Texture = "rbxassetid://1492439733"
  6219. ParticleEmitter3.ZOffset = 0.20000000298023
  6220. ParticleEmitter3.Acceleration = Vector3.new(0, 5, 0)
  6221. ParticleEmitter3.Lifetime = NumberRange.new(1, 1)
  6222. ParticleEmitter3.Rate = 300
  6223. ParticleEmitter3.RotSpeed = NumberRange.new(-56, 56)
  6224. ParticleEmitter3.Speed = NumberRange.new(3, 3)
  6225. ParticleEmitter3.VelocitySpread = 360
  6226. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6227. ParticleEmitter4.Name = "SunExplosion"
  6228. ParticleEmitter4.Parent = LocalScript0
  6229. ParticleEmitter4.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6230. ParticleEmitter4.Rotation = NumberRange.new(0, 360)
  6231. ParticleEmitter4.Size = NumberSequence.new(5,7.875,7.875,5.3125,0)
  6232. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6233. ParticleEmitter4.Enabled = false
  6234. ParticleEmitter4.LightEmission = 0.75
  6235. ParticleEmitter4.Texture = "rbxassetid://1492439733"
  6236. ParticleEmitter4.ZOffset = 0.20000000298023
  6237. ParticleEmitter4.Acceleration = Vector3.new(0, 5, 0)
  6238. ParticleEmitter4.Lifetime = NumberRange.new(0, 3)
  6239. ParticleEmitter4.Rate = 300
  6240. ParticleEmitter4.RotSpeed = NumberRange.new(-56, 56)
  6241. ParticleEmitter4.Speed = NumberRange.new(150, 350)
  6242. ParticleEmitter4.VelocitySpread = 360
  6243. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6244. ParticleEmitter5.Name = "SunBurn"
  6245. ParticleEmitter5.Parent = LocalScript0
  6246. ParticleEmitter5.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6247. ParticleEmitter5.Rotation = NumberRange.new(0, 360)
  6248. ParticleEmitter5.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  6249. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6250. ParticleEmitter5.Enabled = false
  6251. ParticleEmitter5.LightEmission = 0.75
  6252. ParticleEmitter5.Texture = "rbxassetid://1492439733"
  6253. ParticleEmitter5.ZOffset = 0.5
  6254. ParticleEmitter5.Acceleration = Vector3.new(0, 5, 0)
  6255. ParticleEmitter5.Lifetime = NumberRange.new(1, 1)
  6256. ParticleEmitter5.Rate = 300
  6257. ParticleEmitter5.RotSpeed = NumberRange.new(-56, 56)
  6258. ParticleEmitter5.Speed = NumberRange.new(1, 1)
  6259. ParticleEmitter5.VelocitySpread = 360
  6260. ParticleEmitter5.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6261. ParticleEmitter6.Name = "PheonixBurn"
  6262. ParticleEmitter6.Parent = LocalScript0
  6263. ParticleEmitter6.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6264. ParticleEmitter6.Rotation = NumberRange.new(0, 360)
  6265. ParticleEmitter6.Size = NumberSequence.new(0.81250011920929,0.81250011920929,0)
  6266. ParticleEmitter6.Enabled = false
  6267. ParticleEmitter6.LightEmission = 1
  6268. ParticleEmitter6.Texture = "rbxassetid://1492439733"
  6269. ParticleEmitter6.ZOffset = 0.5
  6270. ParticleEmitter6.Acceleration = Vector3.new(0, 8, 0)
  6271. ParticleEmitter6.Lifetime = NumberRange.new(1, 1)
  6272. ParticleEmitter6.Rate = 300
  6273. ParticleEmitter6.RotSpeed = NumberRange.new(-56, 56)
  6274. ParticleEmitter6.Speed = NumberRange.new(1, 1)
  6275. ParticleEmitter6.VelocitySpread = 360
  6276. ParticleEmitter7.Name = "PheonixExplosion1"
  6277. ParticleEmitter7.Parent = LocalScript0
  6278. ParticleEmitter7.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6279. ParticleEmitter7.Rotation = NumberRange.new(0, 360)
  6280. ParticleEmitter7.Size = NumberSequence.new(1.3124996423721,4.8125,5.6875,3.4999995231628,0)
  6281. ParticleEmitter7.Enabled = false
  6282. ParticleEmitter7.LightEmission = 1
  6283. ParticleEmitter7.Texture = "rbxassetid://1492439733"
  6284. ParticleEmitter7.ZOffset = 0.20000000298023
  6285. ParticleEmitter7.Acceleration = Vector3.new(0, 5, 0)
  6286. ParticleEmitter7.Lifetime = NumberRange.new(0, 3)
  6287. ParticleEmitter7.Rate = 600
  6288. ParticleEmitter7.RotSpeed = NumberRange.new(-56, 56)
  6289. ParticleEmitter7.Speed = NumberRange.new(50, 50)
  6290. ParticleEmitter7.VelocitySpread = 360
  6291. ParticleEmitter8.Name = "PheonixExplosion2"
  6292. ParticleEmitter8.Parent = LocalScript0
  6293. ParticleEmitter8.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6294. ParticleEmitter8.Rotation = NumberRange.new(0, 360)
  6295. ParticleEmitter8.Size = NumberSequence.new(4,4)
  6296. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6297. ParticleEmitter8.Enabled = false
  6298. ParticleEmitter8.LightEmission = 0.69999998807907
  6299. ParticleEmitter8.ZOffset = 0.20000000298023
  6300. ParticleEmitter8.Acceleration = Vector3.new(0, 5, 0)
  6301. ParticleEmitter8.Lifetime = NumberRange.new(0, 3)
  6302. ParticleEmitter8.Rate = 300
  6303. ParticleEmitter8.RotSpeed = NumberRange.new(-56, 56)
  6304. ParticleEmitter8.Speed = NumberRange.new(70, 70)
  6305. ParticleEmitter8.VelocitySpread = 360
  6306. ParticleEmitter8.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6307. LocalScript9.Name = "CamShake"
  6308. LocalScript9.Parent = LocalScript0
  6309. LocalScript9.Disabled = true
  6310. NumberValue10.Name = "Timer"
  6311. NumberValue10.Parent = LocalScript9
  6312. NumberValue10.Value = 35
  6313. NumberValue11.Name = "Shake"
  6314. NumberValue11.Parent = LocalScript9
  6315. NumberValue11.Value = 5
  6316. BoolValue12.Name = "DoesFade"
  6317. BoolValue12.Parent = LocalScript9
  6318. ParticleEmitter13.Name = "Gale"
  6319. ParticleEmitter13.Parent = LocalScript0
  6320. ParticleEmitter13.Transparency = NumberSequence.new(1,0.91256833076477,0.83606559038162,0.81967210769653,1)
  6321. ParticleEmitter13.Rotation = NumberRange.new(0, 360)
  6322. ParticleEmitter13.Size = NumberSequence.new(8,6)
  6323. ParticleEmitter13.Enabled = false
  6324. ParticleEmitter13.Texture = "rbxassetid://1614893149"
  6325. ParticleEmitter13.Lifetime = NumberRange.new(1, 1)
  6326. ParticleEmitter13.Rate = 50
  6327. ParticleEmitter13.Speed = NumberRange.new(0, 0)
  6328. ParticleEmitter14.Name = "PheonixFireball1"
  6329. ParticleEmitter14.Parent = LocalScript0
  6330. ParticleEmitter14.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6331. ParticleEmitter14.Rotation = NumberRange.new(0, 360)
  6332. ParticleEmitter14.Size = NumberSequence.new(6.625,4.625,3.4375,1.3124996423721,0)
  6333. ParticleEmitter14.Enabled = false
  6334. ParticleEmitter14.LightEmission = 1
  6335. ParticleEmitter14.Texture = "rbxassetid://1492439733"
  6336. ParticleEmitter14.ZOffset = 0.5
  6337. ParticleEmitter14.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  6338. ParticleEmitter14.Rate = 1000
  6339. ParticleEmitter14.RotSpeed = NumberRange.new(-56, 56)
  6340. ParticleEmitter14.Speed = NumberRange.new(4, 4)
  6341. ParticleEmitter14.VelocitySpread = 360
  6342. ParticleEmitter15.Name = "PheonixFireball2"
  6343. ParticleEmitter15.Parent = LocalScript0
  6344. ParticleEmitter15.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6345. ParticleEmitter15.Rotation = NumberRange.new(0, 360)
  6346. ParticleEmitter15.Size = NumberSequence.new(4.3125,4.1530055999756,2.8961749076843,1.1475414037704,0)
  6347. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6348. ParticleEmitter15.Enabled = false
  6349. ParticleEmitter15.LightEmission = 0.69999998807907
  6350. ParticleEmitter15.ZOffset = 1
  6351. ParticleEmitter15.Lifetime = NumberRange.new(0.60000002384186, 0.60000002384186)
  6352. ParticleEmitter15.Rate = 300
  6353. ParticleEmitter15.RotSpeed = NumberRange.new(-56, 56)
  6354. ParticleEmitter15.Speed = NumberRange.new(4, 4)
  6355. ParticleEmitter15.VelocitySpread = 360
  6356. ParticleEmitter15.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6357. ParticleEmitter16.Name = "Wing2"
  6358. ParticleEmitter16.Parent = LocalScript0
  6359. ParticleEmitter16.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.22950822114944,0.62841534614563,1)
  6360. ParticleEmitter16.Rotation = NumberRange.new(0, 360)
  6361. ParticleEmitter16.Size = NumberSequence.new(0,0.062499642372131,0.81250011920929,2.6875,3.3125,2.5624995231628,2.3125,1.8124997615814)
  6362. ParticleEmitter16.Enabled = false
  6363. ParticleEmitter16.LightEmission = 1
  6364. ParticleEmitter16.Texture = "rbxassetid://1492439733"
  6365. ParticleEmitter16.Acceleration = Vector3.new(-5, 4, -4)
  6366. ParticleEmitter16.Lifetime = NumberRange.new(2, 2)
  6367. ParticleEmitter16.Rate = 300
  6368. ParticleEmitter16.RotSpeed = NumberRange.new(-56, 56)
  6369. ParticleEmitter16.Speed = NumberRange.new(4, 4)
  6370. ParticleEmitter16.VelocitySpread = 35
  6371. ParticleEmitter17.Name = "Wing1B"
  6372. ParticleEmitter17.Parent = LocalScript0
  6373. ParticleEmitter17.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  6374. ParticleEmitter17.Rotation = NumberRange.new(0, 360)
  6375. ParticleEmitter17.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  6376. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6377. ParticleEmitter17.Enabled = false
  6378. ParticleEmitter17.LightEmission = 0.69999998807907
  6379. ParticleEmitter17.ZOffset = 0.20000000298023
  6380. ParticleEmitter17.Acceleration = Vector3.new(5, 4, -4)
  6381. ParticleEmitter17.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  6382. ParticleEmitter17.Rate = 150
  6383. ParticleEmitter17.RotSpeed = NumberRange.new(-56, 56)
  6384. ParticleEmitter17.Speed = NumberRange.new(4, 4)
  6385. ParticleEmitter17.VelocitySpread = 35
  6386. ParticleEmitter17.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6387. ParticleEmitter18.Name = "Eye1"
  6388. ParticleEmitter18.EmissionDirection="Right"
  6389. ParticleEmitter18.Parent = LocalScript0
  6390. ParticleEmitter18.Transparency = NumberSequence.new(0.55737709999084,0.37704920768738,0.4426229596138,0.62841534614563,1)
  6391. ParticleEmitter18.Rotation = NumberRange.new(0, 360)
  6392. ParticleEmitter18.Size = NumberSequence.new(0.40000000596046,0.12499988079071,0)
  6393. ParticleEmitter18.Enabled = false
  6394. ParticleEmitter18.LightEmission = 0.75
  6395. ParticleEmitter18.Texture = "rbxassetid://1492439733"
  6396. ParticleEmitter18.ZOffset = 0.20000000298023
  6397. ParticleEmitter18.Acceleration = Vector3.new(0, 5, 6)
  6398. ParticleEmitter18.Lifetime = NumberRange.new(1, 1)
  6399. ParticleEmitter18.Rate = 300
  6400. ParticleEmitter18.RotSpeed = NumberRange.new(-56, 56)
  6401. ParticleEmitter18.VelocitySpread = 5
  6402. ParticleEmitter19.Name = "Eye2"
  6403. ParticleEmitter19.Parent = LocalScript0
  6404. ParticleEmitter19.EmissionDirection="Right"
  6405. ParticleEmitter19.Transparency = NumberSequence.new(0.71584701538086,0.68306010961533,0.37704920768738,0.4426229596138,0.62841534614563,1)
  6406. ParticleEmitter19.Rotation = NumberRange.new(0, 360)
  6407. ParticleEmitter19.Size = NumberSequence.new(0.65573811531067,0.2732241153717,0)
  6408. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6409. ParticleEmitter19.Enabled = false
  6410. ParticleEmitter19.LightEmission = 0.75
  6411. ParticleEmitter19.ZOffset = 0.30000001192093
  6412. ParticleEmitter19.Acceleration = Vector3.new(0, 5, 6)
  6413. ParticleEmitter19.Lifetime = NumberRange.new(0.5, 0.5)
  6414. ParticleEmitter19.Rate = 300
  6415. ParticleEmitter19.RotSpeed = NumberRange.new(-56, 56)
  6416. ParticleEmitter19.VelocitySpread = 5
  6417. ParticleEmitter19.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6418. ParticleEmitter20.Name = "Wing2B"
  6419. ParticleEmitter20.Parent = LocalScript0
  6420. ParticleEmitter20.Transparency = NumberSequence.new(1,0.58469945192337,0.24590164422989,0,0.20765030384064,0.5956284403801,1)
  6421. ParticleEmitter20.Rotation = NumberRange.new(0, 360)
  6422. ParticleEmitter20.Size = NumberSequence.new(0,0,1.8579238653183,2.4043715000153,1.8124997615814,0)
  6423. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6424. ParticleEmitter20.Enabled = false
  6425. ParticleEmitter20.LightEmission = 0.69999998807907
  6426. ParticleEmitter20.ZOffset = 0.20000000298023
  6427. ParticleEmitter20.Acceleration = Vector3.new(-5, 4, -4)
  6428. ParticleEmitter20.Lifetime = NumberRange.new(1.9500000476837, 1.9500000476837)
  6429. ParticleEmitter20.Rate = 150
  6430. ParticleEmitter20.RotSpeed = NumberRange.new(-56, 56)
  6431. ParticleEmitter20.Speed = NumberRange.new(4, 4)
  6432. ParticleEmitter20.VelocitySpread = 35
  6433. ParticleEmitter20.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.666667, 0, 0))
  6434. ParticleEmitter21.Name = "Burn"
  6435. ParticleEmitter21.Parent = LocalScript0
  6436. ParticleEmitter21.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6437. ParticleEmitter21.Rotation = NumberRange.new(0, 360)
  6438. ParticleEmitter21.Size = NumberSequence.new(0.98360657691956,0.32786905765533,0)
  6439. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  6440. ParticleEmitter21.Enabled = false
  6441. ParticleEmitter21.LightEmission = 0.75
  6442. ParticleEmitter21.Texture = "rbxassetid://1492439733"
  6443. ParticleEmitter21.ZOffset = 0.5
  6444. ParticleEmitter21.Acceleration = Vector3.new(0, 5, 0)
  6445. ParticleEmitter21.Lifetime = NumberRange.new(1, 1)
  6446. ParticleEmitter21.Rate = 300
  6447. ParticleEmitter21.RotSpeed = NumberRange.new(-56, 56)
  6448. ParticleEmitter21.Speed = NumberRange.new(1, 1)
  6449. ParticleEmitter21.VelocitySpread = 360
  6450. ParticleEmitter21.Color = ColorSequence.new(Color3.new(0.333333, 0, 0),Color3.new(0.333333, 0, 0))
  6451. ParticleEmitter22.Name = "PheonixTrail"
  6452. ParticleEmitter22.Parent = LocalScript0
  6453. ParticleEmitter22.Transparency = NumberSequence.new(0.47540986537933,0.37704920768738,0.25683063268661,0.4426229596138,0.62841534614563,1)
  6454. ParticleEmitter22.Rotation = NumberRange.new(0, 360)
  6455. ParticleEmitter22.Size = NumberSequence.new(0.49180328845978,0.4371589422226,0)
  6456. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  6457. ParticleEmitter22.Enabled = false
  6458. ParticleEmitter22.LightEmission = 0.75
  6459. ParticleEmitter22.Texture = "rbxassetid://1492439733"
  6460. ParticleEmitter22.ZOffset = 0.5
  6461. ParticleEmitter22.Lifetime = NumberRange.new(1, 1)
  6462. ParticleEmitter22.Rate = 300
  6463. ParticleEmitter22.RotSpeed = NumberRange.new(-56, 56)
  6464. ParticleEmitter22.Speed = NumberRange.new(0, 0)
  6465. ParticleEmitter22.VelocitySpread = 360
  6466. ParticleEmitter22.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(1, 0.835294, 0))
  6467. for i,v in pairs(mas:GetChildren()) do
  6468. v.Parent = game:GetService("Lighting")
  6469. pcall(function() v:MakeJoints() end)
  6470. end
  6471. mas:Destroy()
  6472. for i,v in pairs(cors) do
  6473. spawn(function()
  6474. pcall(v)
  6475. end)
  6476. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement