Diegolas97

War Phoenix

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