Advertisement
Vintage-Furry

The Hellish Commando

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