Advertisement
Sheckles

Yter

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