Guest User

Untitled

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