Advertisement
Ninja_Camper

dark phoenix

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