Advertisement
Vintage-Furry

The Evil Guest

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