Advertisement
Goo345

Untitled

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