TotalChaos0513

Untitled

Jun 16th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.30 KB | None | 0 0
  1. --[[Soul Phoenix by Injectioneer]]--
  2. wait(1 / 60)
  3. Effects = { }
  4. local Player = game:GetService'Players'.localPlayer
  5. local Character = Player.Character
  6. local Humanoid = Character.Humanoid
  7. local Mouse = Player:GetMouse()
  8. local LeftArm = Character['Left Arm']
  9. local RightArm = Character['Right Arm']
  10. local LeftLeg = Character['Left Leg']
  11. local RightLeg = Character['Right Leg']
  12. local Head = Character.Head
  13. local Torso = Character.Torso
  14. local Camera = game.Workspace.CurrentCamera
  15. local RootPart = Character.HumanoidRootPart
  16. local RootJoint = RootPart.RootJoint
  17. local attack = false
  18. local Anim = 'Idle'
  19. local attacktype = 1
  20. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  21. local velocity = RootPart.Velocity.y
  22. local sine = 0
  23. local change = 1
  24. local Create = LoadLibrary('RbxUtility').Create
  25. local efc = 0
  26. local gothit = false
  27. Humanoid.MaxHealth = 100 + (1e19 * math.huge)
  28. Humanoid.Health = Humanoid.MaxHealth
  29.  
  30. local m = Create('Model'){
  31. Parent = Character,
  32. Name = 'WeaponModel',
  33. }
  34.  
  35. local Phoenix_Theme = Create'Sound'{
  36. SoundId = 'rbxassetid://462506896',
  37. Parent = Character,
  38. Volume = 3,
  39. Pitch = 1,
  40. Looped = true
  41. }
  42. Phoenix_Theme:Play()
  43.  
  44. Humanoid.Animator.Parent = nil
  45. Character.Animate.Parent = nil
  46.  
  47. New = function(Object, Parent, Name, Data)
  48. local Object = Instance.new(Object)
  49. for Index, Value in pairs(Data or {}) do
  50. Object[Index] = Value
  51. end
  52. Object.Parent = Parent
  53. Object.Name = Name
  54. return Object
  55. end
  56.  
  57. function CameraShake(Intensity)
  58. coroutine.resume(coroutine.create(function()
  59. local Focus = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
  60. Focus = 100 / Intensity + Focus / 150
  61. for i = math.random(150, 250) / 100, 0, -0.05 do
  62. Camera.CFrame = CFrame.new.new(math.random(-30, 30) / 20 * (i * Focus), math.random(-30, 30) / 20 * (i * Focus), math.random(-30, 30) / 20 * (i * Focus))
  63. swait()
  64. end
  65. Camera.CFrame = CFrame.new(0, 0, 0)
  66. end))
  67. end
  68.  
  69. local newMotor = function(part0, part1, c0, c1)
  70. local w = Create('Motor'){
  71. Parent = part0,
  72. Part0 = part0,
  73. Part1 = part1,
  74. C0 = c0,
  75. C1 = c1,
  76. }
  77. return w
  78. end
  79.  
  80. function clerp(a, b, t)
  81. return a:lerp(b, t)
  82. end
  83.  
  84. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  85. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  86.  
  87. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  88. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  89. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  90. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  91. RootJoint.C1 = CFrame.new(0, 0, 0)
  92. RootJoint.C0 = CFrame.new(0, 0, 0)
  93. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  94. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  95.  
  96. local rarmc1 = RW.C1
  97. local larmc1 = LW.C1
  98. local rlegc1 = RH.C1
  99. local llegc1 = LH.C1
  100.  
  101. local resetc1 = false
  102.  
  103. function PlayAnimationFromTable(table, speed, bool)
  104. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  105. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  106. RW.C0 = clerp(RW.C0, table[3], speed)
  107. LW.C0 = clerp(LW.C0, table[4], speed)
  108. RH.C0 = clerp(RH.C0, table[5], speed)
  109. LH.C0 = clerp(LH.C0, table[6], speed)
  110. if bool == true then
  111. if resetc1 == false then
  112. resetc1 = true
  113. RootJoint.C1 = RootJoint.C1
  114. Torso.Neck.C1 = Torso.Neck.C1
  115. RW.C1 = rarmc1
  116. LW.C1 = larmc1
  117. RH.C1 = rlegc1
  118. LH.C1 = llegc1
  119. end
  120. end
  121. end
  122.  
  123. ArtificialHB = Create('BindableEvent', script){
  124. Parent = script,
  125. Name = 'Heartbeat',
  126. }
  127.  
  128. script:WaitForChild('Heartbeat')
  129.  
  130. frame = 1 / 30
  131. tf = 0
  132. allowframeloss = false
  133. tossremainder = false
  134. lastframe = tick()
  135. script.Heartbeat:Fire()
  136.  
  137. game:GetService('RunService').Heartbeat:connect(function(s, p)
  138. tf = tf + s
  139. if tf >= frame then
  140. if allowframeloss then
  141. script.Heartbeat:Fire()
  142. lastframe = tick()
  143. else
  144. for i = 1, math.floor(tf / frame) do
  145. script.Heartbeat:Fire()
  146. end
  147. lastframe = tick()
  148. end
  149. if tossremainder then
  150. tf = 0
  151. else
  152. tf = tf - frame * math.floor(tf / frame)
  153. end
  154. end
  155. end)
  156.  
  157. function swait(num)
  158. if num == 0 or num == nil then
  159. ArtificialHB.Event:wait()
  160. else
  161. for i = 0, num do
  162. ArtificialHB.Event:wait()
  163. end
  164. end
  165. end
  166.  
  167. function RemoveOutlines(part)
  168. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  169. end
  170.  
  171. CFuncs = {
  172. ['Part'] = {
  173. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  174. local Part = Create('Part'){
  175. Parent = Parent,
  176. Reflectance = Reflectance,
  177. Transparency = Transparency,
  178. CanCollide = false,
  179. Locked = true,
  180. BrickColor = BrickColor.new(tostring(BColor)),
  181. Name = Name,
  182. Size = Size,
  183. Material = Material,
  184. }
  185. RemoveOutlines(Part)
  186. return Part
  187. end;
  188. };
  189.  
  190. ['Mesh'] = {
  191. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  192. local Msh = Create(Mesh){
  193. Parent = Part,
  194. Offset = OffSet,
  195. Scale = Scale,
  196. }
  197. if Mesh == 'SpecialMesh' then
  198. Msh.MeshType = MeshType
  199. Msh.MeshId = MeshId
  200. end
  201. return Msh
  202. end;
  203. };
  204.  
  205. ['Mesh'] = {
  206. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  207. local Msh = Create(Mesh){
  208. Parent = Part,
  209. Offset = OffSet,
  210. Scale = Scale,
  211. }
  212. if Mesh == 'SpecialMesh' then
  213. Msh.MeshType = MeshType
  214. Msh.MeshId = MeshId
  215. end
  216. return Msh
  217. end;
  218. };
  219.  
  220. ['Weld'] = {
  221. Create = function(Parent, Part0, Part1, C0, C1)
  222. local Weld = Create('Weld'){
  223. Parent = Parent,
  224. Part0 = Part0,
  225. Part1 = Part1,
  226. C0 = C0,
  227. C1 = C1,
  228. }
  229. return Weld
  230. end;
  231. };
  232.  
  233. ['Sound'] = {
  234. Create = function(id, par, vol, pit)
  235. coroutine.resume(coroutine.create(function()
  236. local S = Create('Sound'){
  237. Volume = vol,
  238. Pitch = pit or 1,
  239. SoundId = id,
  240. Parent = par or workspace,
  241. }
  242. wait()
  243. S:play()
  244. game:GetService('Debris'):AddItem(S, 25)
  245. end))
  246. end;
  247. };
  248.  
  249. ['ParticleEmitter'] = {
  250. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  251. local fp = Create('ParticleEmitter'){
  252. Parent = Parent,
  253. Color = ColorSequence.new(Color1, Color2),
  254. LightEmission = LightEmission,
  255. Size = Size,
  256. Texture = Texture,
  257. Transparency = Transparency,
  258. ZOffset = ZOffset,
  259. Acceleration = Accel,
  260. Drag = Drag,
  261. LockedToPart = LockedToPart,
  262. VelocityInheritance = VelocityInheritance,
  263. EmissionDirection = EmissionDirection,
  264. Enabled = Enabled,
  265. Lifetime = LifeTime,
  266. Rate = Rate,
  267. Rotation = Rotation,
  268. RotSpeed = RotSpeed,
  269. Speed = Speed,
  270. VelocitySpread = VelocitySpread,
  271. }
  272. return fp
  273. end;
  274. };
  275.  
  276. CreateTemplate = {
  277.  
  278. };
  279. }
  280.  
  281. function rayCast(Position, Direction, Range, Ignore)
  282. return game:service('Workspace'):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  283. end
  284.  
  285. FindNearestTorso = function(pos)
  286. local list = (game.Workspace:children())
  287. local torso = nil
  288. local dist = 1000
  289. local temp, human, temp2 = nil, nil, nil
  290. for x = 1, #list do
  291. temp2 = list[x]
  292. if temp2.className == 'Model' and temp2.Name ~= Character.Name then
  293. temp = temp2:findFirstChild('Torso')
  294. human = temp2:findFirstChild('Humanoid')
  295. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  296. local dohit = true
  297. if dohit == true then
  298. torso = temp
  299. dist = (temp.Position - pos).magnitude
  300. end
  301. end
  302. end
  303. end
  304. return torso, dist
  305. end
  306.  
  307. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  308. if hit.Parent == nil then
  309. return
  310. end
  311. local h = hit.Parent:FindFirstChild('Humanoid')
  312. for _, v in pairs(hit.Parent:children()) do
  313. if v:IsA('Humanoid') then
  314. h = v
  315. end
  316. end
  317. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild('Torso') ~= nil then
  318. if hit.Parent:findFirstChild('DebounceHit') ~= nil then
  319. if hit.Parent.DebounceHit.Value == true then
  320. return
  321. end
  322. end
  323. local c = Create('ObjectValue'){
  324. Name = 'creator',
  325. Value = game:service('Players').LocalPlayer,
  326. Parent = h,
  327. }
  328. game:GetService('Debris'):AddItem(c, .5)
  329. if HitSound ~= nil and HitPitch ~= nil then
  330. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  331. end
  332. local Damage = math.random(minim, maxim)
  333. local blocked = false
  334. local block = hit.Parent:findFirstChild('Block')
  335. if block ~= nil then
  336. if block.className == 'IntValue' then
  337. if block.Value > 0 then
  338. blocked = true
  339. block.Value = block.Value - 1
  340. print(block.Value)
  341. end
  342. end
  343. end
  344. if blocked == false then
  345. h.Health = h.Health - Damage
  346. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new('Really black').Color)
  347. else
  348. h.Health = h.Health - (Damage / 2)
  349. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new('Really black').Color)
  350. end
  351. if Type == 'Knockdown' then
  352. local hum = hit.Parent.Humanoid
  353. hum.PlatformStand = true
  354. coroutine.resume(coroutine.create(function(HHumanoid)
  355. swait(1)
  356. HHumanoid.PlatformStand = false
  357. end), hum)
  358. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  359. local bodvol = Create('BodyVelocity'){
  360. velocity = angle * knockback,
  361. P = 5000,
  362. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  363. Parent = hit,
  364. }
  365. local rl = Create('BodyAngularVelocity'){
  366. P = 3000,
  367. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  368. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  369. Parent = hit,
  370. }
  371. game:GetService('Debris'):AddItem(bodvol, .5)
  372. game:GetService('Debris'):AddItem(rl, .5)
  373. elseif Type == 'Normal' then
  374. local vp = Create('BodyVelocity'){
  375. P = 500,
  376. maxForce = Vector3.new(math.huge, 0, math.huge),
  377. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  378. }
  379. if knockback > 0 then
  380. vp.Parent = hit.Parent.Torso
  381. end
  382. game:GetService('Debris'):AddItem(vp, .5)
  383. elseif Type == 'Up' then
  384. local bodyVelocity = Create('BodyVelocity'){
  385. velocity = Vector3.new(0, 20, 0),
  386. P = 5000,
  387. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  388. Parent = hit,
  389. }
  390. game:GetService('Debris'):AddItem(bodyVelocity, .5)
  391. elseif Type == 'DarkUp' then
  392. coroutine.resume(coroutine.create(function()
  393. for i = 0, 1, 0.1 do
  394. swait()
  395. Effects.Block.Create(BrickColor.new('Black'), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  396. end
  397. end))
  398. local bodyVelocity = Create('BodyVelocity'){
  399. velocity = Vector3.new(0, 20, 0),
  400. P = 5000,
  401. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  402. Parent = hit,
  403. }
  404. game:GetService('Debris'):AddItem(bodyVelocity, 1)
  405. elseif Type == 'Snare' then
  406. local bp = Create('BodyPosition'){
  407. P = 2000,
  408. D = 100,
  409. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  410. position = hit.Parent.Torso.Position,
  411. Parent = hit.Parent.Torso,
  412. }
  413. game:GetService('Debris'):AddItem(bp, 1)
  414. elseif Type == 'Freeze' then
  415. local BodPos = Create('BodyPosition'){
  416. P = 50000,
  417. D = 1000,
  418. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  419. position = hit.Parent.Torso.Position,
  420. Parent = hit.Parent.Torso,
  421. }
  422. local BodGy = Create('BodyGyro') {
  423. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  424. P = 20e+003,
  425. Parent = hit.Parent.Torso,
  426. cframe = hit.Parent.Torso.CFrame,
  427. }
  428. hit.Parent.Torso.Anchored = true
  429. coroutine.resume(coroutine.create(function(Part)
  430. swait(1.5)
  431. Part.Anchored = false
  432. end), hit.Parent.Torso)
  433. game:GetService('Debris'):AddItem(BodPos, 3)
  434. game:GetService('Debris'):AddItem(BodGy, 3)
  435. elseif Type == 'Body Snatch' then
  436. if not gothit then
  437. gothit = true
  438. local BodPos = Create('BodyPosition'){
  439. P = 50000,
  440. D = 1000,
  441. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  442. position = hit.Parent.Torso.Position,
  443. Parent = hit.Parent.Torso,
  444. }
  445. local BodGy = Create('BodyGyro') {
  446. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  447. P = 20e+003,
  448. Parent = hit.Parent.Torso,
  449. cframe = hit.Parent.Torso.CFrame,
  450. }
  451. hit.Parent.Torso.Anchored = true
  452. coroutine.resume(coroutine.create(function(Part)
  453. swait(1.5)
  454. Part.Anchored = false
  455. end), hit.Parent.Torso)
  456. game:GetService('Debris'):AddItem(BodPos, 3)
  457. game:GetService('Debris'):AddItem(BodGy, 3)
  458. end
  459. end
  460. local debounce = Create('BoolValue'){
  461. Name = 'DebounceHit',
  462. Parent = hit.Parent,
  463. Value = true,
  464. }
  465. game:GetService('Debris'):AddItem(debounce, Delay)
  466. c = Create('ObjectValue'){
  467. Name = 'creator',
  468. Value = Player,
  469. Parent = h,
  470. }
  471. game:GetService('Debris'):AddItem(c, .5)
  472. end
  473. end
  474.  
  475. function ShowDamage(Pos, Text, Time, Color)
  476. local Rate = (1 / 30)
  477. local Pos = (Pos or Vector3.new(0, 0, 0))
  478. local Text = (Text or '')
  479. local Time = (Time or 2)
  480. local Color = (Color or Color3.new(1, 0, 1))
  481. local EffectPart = CFuncs.Part.Create(workspace, 'SmoothPlastic', 0, 1, BrickColor.new(Color), 'Effect', Vector3.new(0, 0, 0))
  482. EffectPart.Anchored = true
  483. local BillboardGui = Create('BillboardGui'){
  484. Size = UDim2.new(3, 0, 3, 0),
  485. Adornee = EffectPart,
  486. Parent = EffectPart,
  487. }
  488. local TextLabel = Create('TextLabel'){
  489. BackgroundTransparency = 1,
  490. Size = UDim2.new(1, 0, 1, 0),
  491. Text = Text,
  492. Font = 'SciFi',
  493. TextColor3 = Color,
  494. TextScaled = true,
  495. Parent = BillboardGui,
  496. }
  497. game.Debris:AddItem(EffectPart, (Time))
  498. EffectPart.Parent = game:GetService('Workspace')
  499. delay(0, function()
  500. local Frames = (Time / Rate)
  501. for Frame = 1, Frames do
  502. wait(Rate)
  503. local Percent = (Frame / Frames)
  504. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  505. TextLabel.TextTransparency = Percent
  506. end
  507. if EffectPart and EffectPart.Parent then
  508. EffectPart:Destroy()
  509. end
  510. end)
  511. end
  512.  
  513. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  514. for _, c in pairs(workspace:children()) do
  515. local hum = c:findFirstChild('Humanoid')
  516. if hum ~= nil then
  517. local head = c:findFirstChild('Torso')
  518. if head ~= nil then
  519. local targ = head.Position - Part.Position
  520. local mag = targ.magnitude
  521. if mag <= Magnitude and c.Name ~= Player.Name then
  522. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, 'rbxassetid://' .. HitSound, HitPitch)
  523. end
  524. end
  525. end
  526. end
  527. end
  528.  
  529. SoulPhoenix = New('Model',Character,'SoulPhoenix',{})
  530. PhoenixBody = New('Part',SoulPhoenix,'PhoenixBody',{BrickColor = BrickColor.new('Black'),Material = Enum.Material.Fabric,Transparency = 0.30000001192093,Transparency = 0.30000001192093,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(98.0299988, 22.317461, 5.73185444, 1.00000024, 1.49011612e-08, 5.96046448e-08, 1.580114e-08, 0.999999881, 8.94069672e-08, 4.44169572e-08, 2.98023224e-08, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  531. Mesh = New('SpecialMesh',PhoenixBody,'Mesh',{Scale = Vector3.new(5, 5, 5),MeshId = 'rbxassetid://92135477',MeshType = Enum.MeshType.FileMesh,})
  532. BodyMotor = New('Motor',PhoenixBody,'moy',{Part0 = RootPart, Part1 = PhoenixBody,})
  533. PhoenixLeftWing = New('Part',SoulPhoenix,'PhoenixLeftWing',{BrickColor = BrickColor.new('Black'),Material = Enum.Material.Fabric,Transparency = 0.30000001192093,Transparency = 0.30000001192093,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(81.6499939, 38.6274529, 6.26185465, 1.00000024, 1.49011612e-08, 5.96046448e-08, 1.580114e-08, 0.999999881, 8.94069672e-08, 4.44169572e-08, 2.98023224e-08, 0.999999881),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  534. Mesh = New('SpecialMesh',PhoenixLeftWing,'Mesh',{Scale = Vector3.new(5, 5, 5),MeshId = 'rbxassetid://92135524',MeshType = Enum.MeshType.FileMesh,})
  535. LeftWingMotor = New('Motor',PhoenixLeftWing,'mot',{Part0 = RootPart,Part1 = PhoenixLeftWing,})
  536. PhoenixEye = New('Part',SoulPhoenix,'PhoenixEye',{BrickColor = BrickColor.new('Black'),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 1.14999998, 1.14999998),CFrame = CFrame.new(96.6304474, 45.9224358, 4.19199324, 0.969483733, -0.245157003, -2.40908685e-06, 0.0743650645, 0.294088989, -0.952880502, 0.233606115, 0.923801661, 0.303345352),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  537. Mesh = New('SpecialMesh',PhoenixEye,'Mesh',{MeshType = Enum.MeshType.Sphere,})
  538. mot = New('Motor',PhoenixEye,'mot',{Part0 = PhoenixEye,Part1 = PhoenixBody,C0 = CFrame.new(0, 0, 0, 0.969483495, 0.0743650347, 0.2336061, -0.245157003, 0.29408893, 0.92380178, -2.41296789e-06, -0.952880621, 0.303345412),C1 = CFrame.new(-1.39955139, 23.6049767, -1.53986216, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  539. PhoenixEye = New('Part',SoulPhoenix,'PhoenixEye',{BrickColor = BrickColor.new('Black'),Material = Enum.Material.Neon,Size = Vector3.new(1.14999998, 1.14999998, 1.14999998),CFrame = CFrame.new(99.5204468, 45.9224319, 4.19199657, 0.969488144, 0.245138183, 0, -0.0743670762, 0.294111639, -0.952873468, -0.233585671, 0.923799515, 0.303367972),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  540. Mesh = New('SpecialMesh',PhoenixEye,'Mesh',{MeshType = Enum.MeshType.Sphere,})
  541. mot = New('Motor',PhoenixEye,'mot',{Part0 = PhoenixEye,Part1 = PhoenixBody,C0 = CFrame.new(0, 0, 0, 0.969488144, -0.0743670762, -0.233585671, 0.245138183, 0.294111639, 0.923799515, 0, -0.952873468, 0.303367972),C1 = CFrame.new(1.490448, 23.6049728, -1.53985977, 1.00000024, 1.93927008e-08, 5.77987862e-08, 1.93927008e-08, 0.999999881, 5.96046448e-08, 5.77987862e-08, 5.96046448e-08, 0.99999994),})
  542. PhoenixRightWing = New('Part',SoulPhoenix,'PhoenixRightWing',{BrickColor = BrickColor.new('Black'),Material = Enum.Material.Fabric,Transparency = 0.30000001192093,Transparency = 0.30000001192093,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(114.380035, 38.6274414, 6.26186275, 1.00000048, 3.070231e-08, 1.04021609e-07, 3.070231e-08, 0.999999762, 1.19209275e-07, 1.04021609e-07, 1.19209275e-07, 0.999999762),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  543. Mesh = New('SpecialMesh',PhoenixRightWing,'Mesh',{Scale = Vector3.new(5, 5, 5),MeshId = 'rbxassetid://92135508',MeshType = Enum.MeshType.FileMesh,})
  544. RightWingMotor = New('Motor',PhoenixRightWing,'mot',{Part0 = RootPart,Part1 = PhoenixRightWing,})
  545.  
  546. SoulTheos = New('Model',nil,'SoulTheos',{})
  547. GiantTorso = New('Part',SoulTheos,'GiantTorso',{BrickColor = BrickColor.new('Really black'),Material = Enum.Material.Neon,Transparency = 0.20000000298023,Transparency = 0.20000000298023,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(18.7638474, -61.9110374, 34.5869102, -0.999799013, -7.73547413e-08, 0.0200730152, 8.94062779e-08, 0.99999994, 5.95548499e-08, -0.0200730115, -4.54574689e-08, -0.999799669),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  548. Mesh = New('SpecialMesh',GiantTorso,'Mesh',{Scale = Vector3.new(160, 160, 80),MeshType = Enum.MeshType.Brick,})
  549. TorsoMotor = New('Motor',GiantTorso,'mot',{Part0 = RootPart,Part1 = GiantTorso,})
  550. GiantLeftArm = New('Part',SoulTheos,'GiantLeftArm',{BrickColor = BrickColor.new('Really black'),Material = Enum.Material.Neon,Transparency = 0.20000000298023,Transparency = 0.20000000298023,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(57.4654083, -58.6980286, 35.3639145, -0.939503789, -0.3419514, 0.0200722292, -0.342020005, 0.939692616, -1.96863266e-06, -0.0188610125, -0.00686705299, -0.999799788),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  551. Mesh = New('SpecialMesh',GiantLeftArm,'Mesh',{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  552. LeftArmMotor = New('Motor',GiantLeftArm,'mot',{Part0 = RootPart,Part1 = GiantLeftArm,})
  553. GiantRightArm = New('Part',SoulTheos,'GiantRightArm',{BrickColor = BrickColor.new('Really black'),Material = Enum.Material.Neon,Transparency = 0.20000000298023,Transparency = 0.20000000298023,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(-19.9377098, -58.6980209, 33.8098907, -0.939503908, 0.3419514, 0.0200727414, 0.342020124, 0.939692438, -2.35339098e-06, -0.0188630428, 0.0068629696, -0.999799788),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  554. Mesh = New('SpecialMesh',GiantRightArm,'Mesh',{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  555. RightArmMotor = New('Motor',GiantRightArm,'mot',{Part0 = RootPart,Part1 = GiantRightArm,})
  556. GiantLeftLeg = New('Part',SoulTheos,'GiantLeftLeg',{BrickColor = BrickColor.new('Really black'),Material = Enum.Material.Neon,Transparency = 0.20000000298023,Transparency = 0.20000000298023,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(30.1172562, -107.333794, 34.8149414, -0.999799252, -1.07163167e-07, 0.0200730208, 1.08046585e-07, 0.999999821, 5.9777598e-08, -0.0200730152, -4.54196076e-08, -0.999799907),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  557. Mesh = New('SpecialMesh',GiantLeftLeg,'Mesh',{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  558. LeftLegMotor = New('Motor',GiantLeftLeg,'mot',{Part0 = RootPart,Part1 = GiantLeftLeg,})
  559. GiantRightLeg = New('Part',SoulTheos,'GiantRightLeg',{BrickColor = BrickColor.new('Really black'),Material = Enum.Material.Neon,Transparency = 0.20000000298023,Transparency = 0.20000000298023,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(7.41043186, -107.333786, 34.3590622, -0.999799252, -1.07163167e-07, 0.020073019, 1.08046585e-07, 0.999999821, 5.97776051e-08, -0.0200730152, -4.54196076e-08, -0.999800026),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  560. Mesh = New('SpecialMesh',GiantRightLeg,'Mesh',{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  561. RightLegMotor = New('Motor',GiantRightLeg,'mot',{Part0 = RootPart,Part1 = GiantRightLeg,})
  562. GiantHead = New('Part',SoulTheos,'GiantHead',{BrickColor = BrickColor.new('Really black'),Material = Enum.Material.Neon,Transparency = 0.20000000298023,Transparency = 0.20000000298023,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(18.872324, -28.2713623, 29.1834316, -0.999799252, 0.00348557555, 0.019768076, 1.08046585e-07, 0.984807312, -0.173649967, -0.0200730152, -0.173615396, -0.984610558),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  563. Mesh = New('SpecialMesh',GiantHead,'Mesh',{Scale = Vector3.new(80, 80, 80),MeshType = Enum.MeshType.Brick,})
  564. HeadMotor = New('Motor',GiantHead,'mot',{Part0 = RootPart,Part1 = GiantHead,})
  565. GiantCrystal = New('Part',SoulTheos,'GiantCrystal',{BrickColor = BrickColor.new('Eggplant'),Material = Enum.Material.Neon,Velocity = Vector3.new(0, -1.78783084e-05, 0),Size = Vector3.new(0.283892363, 0.283892363, 0.283892363),CFrame = CFrame.new(18.7638416, -61.9110107, 34.5869102, -0.999799252, -1.06558666e-07, 0.0200730152, 1.0786254e-07, 0.99999994, 7.40884971e-08, -0.0200730134, -7.58521566e-08, -0.999800146),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.482353, 0, 0.482353),})
  566. Mesh = New('SpecialMesh',GiantCrystal,'Mesh',{Scale = Vector3.new(10, 25, 10),MeshId = 'rbxassetid://9756362',MeshType = Enum.MeshType.FileMesh,})
  567. mot = New('Motor',GiantCrystal,'mot',{Part0 = GiantTorso,Part1 = GiantCrystal,})
  568.  
  569. TorsoMotor.C0 = clerp(TorsoMotor.C0, CFrame.new(-7.71597195, -66.5210419, 49.4334412, 0.999800205, 1.64012917e-07, -0.0200730488, 1.78532588e-07, 0.99999994, 1.78446513e-07, 0.0200730469, 1.49604062e-07, 0.999801874) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  570. HeadMotor.C0 = clerp(HeadMotor.C0, CFrame.new(-7.82444096, -32.8813782, 54.8370323, 0.999800444, -0.00348549592, -0.0197681244, 1.97172923e-07, 0.984807372, -0.173649848, 0.0200730506, 0.173615888, 0.984612703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  571. RightArmMotor.C0 = clerp(RightArmMotor.C0, CFrame.new(30.9857731, -63.3080025, 50.2104797, 0.9395051, -0.341951728, -0.020072775, 0.342020214, 0.939692438, -2.23449933e-06, 0.0188631117, -0.00686288392, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  572. LeftArmMotor.C0 = clerp(LeftArmMotor.C0, CFrame.new(-46.4177017, -63.3080521, 48.6564445, 0.939504862, 0.341951907, -0.0200722627, -0.342019916, 0.939692616, -1.84974078e-06, 0.0188610107, 0.00686716288, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  573. RightLegMotor.C0 = clerp(RightLegMotor.C0, CFrame.new(3.63747144, -111.943748, 49.6613121, 0.999800444, 1.93821379e-07, -0.0200730525, 1.97172909e-07, 0.999999821, 1.7866931e-07, 0.0200730506, 1.49566191e-07, 0.999802232) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  574. LeftLegMotor.C0 = clerp(LeftLegMotor.C0, CFrame.new(-19.0694675, -111.943779, 49.2054138, 0.999800444, 1.93821379e-07, -0.0200730544, 1.97172909e-07, 0.999999821, 1.78669296e-07, 0.0200730506, 1.49566191e-07, 0.999802113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 1)
  575.  
  576. EffectModel = Create('Model'){
  577. Parent = Character,
  578. Name = 'Effects',
  579. }
  580.  
  581. Effects = {
  582. Block = {
  583. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  584. local prt = CFuncs.Part.Create(EffectModel, 'SmoothPlastic', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  585. prt.Anchored = true
  586. prt.CFrame = cframe
  587. local msh = CFuncs.Mesh.Create('BlockMesh', prt, '', '', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  588. game:GetService('Debris'):AddItem(prt, 100)
  589. if Type == 1 or Type == nil then
  590. prt.CFrame = prt.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  591. table.insert(Effects, {
  592. prt,
  593. 'Block1',
  594. delay,
  595. x3,
  596. y3,
  597. z3,
  598. msh
  599. })
  600. elseif Type == 2 then
  601. table.insert(Effects, {
  602. prt,
  603. 'Block2',
  604. delay,
  605. x3,
  606. y3,
  607. z3,
  608. msh
  609. })
  610. end
  611. end;
  612. };
  613.  
  614. Cylinder = {
  615. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  616. local prt = CFuncs.Part.Create(EffectModel, 'SmoothPlastic', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  617. prt.Anchored = true
  618. prt.CFrame = cframe
  619. local msh = CFuncs.Mesh.Create('CylinderMesh', prt, '', '', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  620. game:GetService('Debris'):AddItem(prt, 100)
  621. table.insert(Effects, {
  622. prt,
  623. 'Cylinder',
  624. delay,
  625. x3,
  626. y3,
  627. z3,
  628. msh
  629. })
  630. end;
  631. };
  632. Head = {
  633. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  634. local prt = CFuncs.Part.Create(EffectModel, 'Neon', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  635. prt.Anchored = true
  636. prt.CFrame = cframe
  637. local msh = CFuncs.Mesh.Create('SpecialMesh', prt, 'Head', 'nil', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  638. game:GetService('Debris'):AddItem(prt, 100)
  639. table.insert(Effects, {
  640. prt,
  641. 'Cylinder',
  642. delay,
  643. x3,
  644. y3,
  645. z3,
  646. msh
  647. })
  648. end;
  649. };
  650.  
  651. Sphere = {
  652. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  653. local prt = CFuncs.Part.Create(EffectModel, 'SmoothPlastic', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  654. prt.Anchored = true
  655. prt.CFrame = cframe
  656. local msh = CFuncs.Mesh.Create('SpecialMesh', prt, 'Sphere', '', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  657. game:GetService('Debris'):AddItem(prt, 100)
  658. table.insert(Effects, {
  659. prt,
  660. 'Cylinder',
  661. delay,
  662. x3,
  663. y3,
  664. z3,
  665. msh
  666. })
  667. end;
  668. };
  669.  
  670. Elect = {
  671. Create = function(cff, x, y, z)
  672. local prt = CFuncs.Part.Create(EffectModel, 'Neon', 0, 0, BrickColor.new('Lime green'), 'Part', Vector3.new(1, 1, 1))
  673. prt.Anchored = true
  674. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  675. prt.CFrame = CFrame.new(prt.Position)
  676. game:GetService('Debris'):AddItem(prt, 2)
  677. local xval = math.random() / 2
  678. local yval = math.random() / 2
  679. local zval = math.random() / 2
  680. local msh = CFuncs.Mesh.Create('BlockMesh', prt, '', '', Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  681. table.insert(Effects, {
  682. prt,
  683. 'Elec',
  684. 0.1,
  685. x,
  686. y,
  687. z,
  688. xval,
  689. yval,
  690. zval
  691. })
  692. end;
  693.  
  694. };
  695.  
  696. Ring = {
  697. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  698. local prt = CFuncs.Part.Create(EffectModel, 'SmoothPlastic', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  699. prt.Anchored = true
  700. prt.CFrame = cframe
  701. local msh = CFuncs.Mesh.Create('SpecialMesh', prt, 'FileMesh', 'rbxassetid://3270017', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  702. game:GetService('Debris'):AddItem(prt, 100)
  703. table.insert(Effects, {
  704. prt,
  705. 'Cylinder',
  706. delay,
  707. x3,
  708. y3,
  709. z3,
  710. msh
  711. })
  712. end;
  713. };
  714.  
  715.  
  716. Wave = {
  717. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  718. local prt = CFuncs.Part.Create(EffectModel, 'SmoothPlastic', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  719. prt.Anchored = true
  720. prt.CFrame = cframe
  721. local msh = CFuncs.Mesh.Create('SpecialMesh', prt, 'FileMesh', 'rbxassetid://20329976', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  722. game:GetService('Debris'):AddItem(prt, 100)
  723. table.insert(Effects, {
  724. prt,
  725. 'Cylinder',
  726. delay,
  727. x3,
  728. y3,
  729. z3,
  730. msh
  731. })
  732. end;
  733. };
  734.  
  735. Break = {
  736. Create = function(brickcolor, cframe, x1, y1, z1)
  737. local prt = CFuncs.Part.Create(EffectModel, 'SmoothPlastic', 0, 0, brickcolor, 'Effect', Vector3.new(0.5, 0.5, 0.5))
  738. prt.Anchored = true
  739. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  740. local msh = CFuncs.Mesh.Create('SpecialMesh', prt, 'Sphere', '', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  741. local num = math.random(1, 5) / 100
  742. game:GetService('Debris'):AddItem(prt, 100)
  743. table.insert(Effects, {
  744. prt,
  745. 'Shatter',
  746. num,
  747. prt.CFrame,
  748. math.random() - math.random(),
  749. 0,
  750. math.random(50, 100) / 100
  751. })
  752. end;
  753. };
  754.  
  755. Fire = {
  756. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  757. local prt = CFuncs.Part.Create(EffectModel, 'Neon', 0, 0, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  758. prt.Anchored = true
  759. prt.CFrame = cframe
  760. msh = CFuncs.Mesh.Create('BlockMesh', prt, '', '', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  761. game:GetService('Debris'):AddItem(prt, 100)
  762. table.insert(Effects, {
  763. prt,
  764. 'Fire',
  765. delay,
  766. 1,
  767. 1,
  768. 1,
  769. msh
  770. })
  771. end;
  772. };
  773.  
  774. FireWave = {
  775. Create = function(brickcolor, cframe, x1, y1, z1)
  776. local prt = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, brickcolor, 'Effect', Vector3.new(0.2, 0.2, 0.2))
  777. prt.Anchored = true
  778. prt.CFrame = cframe
  779. msh = CFuncs.Mesh.Create('BlockMesh', prt, '', '', Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  780. local d = Create('Decal'){
  781. Parent = prt,
  782. Texture = 'rbxassetid://26356434',
  783. Face = 'Top',
  784. }
  785. local d = Create('Decal'){
  786. Parent = prt,
  787. Texture = 'rbxassetid://26356434',
  788. Face = 'Bottom',
  789. }
  790. game:GetService('Debris'):AddItem(prt, 100)
  791. table.insert(Effects, {
  792. prt,
  793. 'FireWave',
  794. 1,
  795. 30,
  796. math.random(400, 600) / 100,
  797. msh
  798. })
  799. end;
  800. };
  801.  
  802. Lightning = {
  803. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  804. local magz = (p0 - p1).magnitude
  805. local curpos = p0
  806. local trz = {
  807. -ofs,
  808. ofs
  809. }
  810. for i = 1, tym do
  811. local li = CFuncs.Part.Create(EffectModel, 'Neon', 0, tra or 0.4, col, 'Ref', Vector3.new(th, th, magz / tym))
  812. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  813. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  814. li.Material = 'Neon'
  815. if tym == i then
  816. local magz2 = (curpos - p1).magnitude
  817. li.Size = Vector3.new(th, th, magz2)
  818. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  819. table.insert(Effects, {
  820. li,
  821. 'Disappear',
  822. last
  823. })
  824. else
  825. do
  826. do
  827. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  828. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  829. game.Debris:AddItem(li, 10)
  830. table.insert(Effects, {
  831. li,
  832. 'Disappear',
  833. last
  834. })
  835. end
  836. end
  837. end
  838. end
  839. end
  840. };
  841.  
  842. EffectTemplate = {
  843.  
  844. };
  845. }
  846.  
  847. function attackone()
  848. attack = true
  849. for i = 0, 1, 0.1 do
  850. swait()
  851. PlayAnimationFromTable({
  852. CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  853. CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  854. CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  855. CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  856. CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  857. CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  858. }, .3, false)
  859. end
  860. attack = false
  861. end
  862.  
  863. local Skills = {
  864. SkillKeys = {
  865. Z = function()
  866. attack = true
  867. CFuncs.Sound.Create('rbxassetid://278641993', Torso, 10, 0.8)
  868. CFuncs.Sound.Create('rbxassetid://432629066', Torso, 10, 1.4)
  869. Effects.Sphere.Create(BrickColor.new'Really black', Torso.CFrame, 5000, 5000, 5000, -500, -500, -500, 0.1)
  870. for i = 0, 1, 0.015 do
  871. swait()
  872. Effects.Block.Create(BrickColor.new'Really black', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  873. Effects.Block.Create(BrickColor.new'Really black', PhoenixLeftWing.CFrame * CFrame.new(math.random(-80, 80), math.random(-80, 80), math.random(-80, 80)), 15, 15, 15, -1.5, -1.5, -1.5, 0.1)
  874. PlayAnimationFromTable({
  875. CFrame.new(-0.450007856, 34.4500389, 2.64996958, 0.706887066, 0.0697530583, -0.703878701, -0.134303018, 0.990258873, -0.0367442332, 0.694459081, 0.120507054, 0.709369302) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  876. CFrame.new(0.0460849106, 1.49556756, -0.0312721878, 0.690121353, -0.105061971, 0.716026962, -0.0974965021, 0.966888905, 0.235839799, -0.717096269, -0.232568204, 0.657027483) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  877. CFrame.new(1.76800859, 0.41491133, 0.637459815, 0.717890084, -0.542569339, -0.43617934, 0.676375687, 0.691907883, 0.252545953, 0.164772302, -0.47632134, 0.863694549) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  878. CFrame.new(-1.29877186, 1.61722529, 0.432865411, -0.992088079, -0.123097658, 0.0246656239, 0.114064798, -0.965879977, -0.232519478, 0.0524466038, -0.227866367, 0.972279131) * CFrame.new(math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6)), math.rad(math.random(-6, 6))) * CFrame.Angles(0, 0, 0),
  879. CFrame.new(1.03976572, -1.77876055, 0.242838889, 0.794499278, -0.512597859, -0.325598568, 0.563426197, 0.822251141, 0.0803367645, 0.226543367, -0.247278288, 0.942089081) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  880. CFrame.new(-0.429238796, -1.56618023, -0.0890657306, 0.70963943, -0.332465768, 0.621191263, 0.102562837, 0.921020091, 0.375769943, -0.697060227, -0.202950001, 0.687690794) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  881. }, i, false)
  882. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-1.15036225, 22.0855694, -1.10095191, 0.643693328, 0.0103043765, -0.765214205, -0.167619243, 0.977528214, -0.127836734, 0.746701598, 0.210552275, 0.630955577) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  883. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-4.70158291, 48.946888, -6.42339802, 0.303303033, -0.0722500831, -0.950151145, -0.690884054, 0.670053124, -0.271492213, 0.656267047, 0.738788784, 0.153312698) * CFrame.new(math.rad(math.random(-25, 25)), math.rad(math.random(-25, 25)), math.rad(math.random(-25, 25))) * CFrame.Angles(0, 0, 0), i)
  884. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(0.796527863, 30.4707031, 18.5962505, -0.0828529671, 0.744275391, -0.662713885, 0.0611559786, 0.667544246, 0.742054403, 0.994683623, 0.0209524892, -0.1008249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  885. end
  886. CFuncs.Sound.Create('rbxassetid://231917758', Torso, 10, 0.6)
  887. for i = 0, 1, 0.3 do
  888. swait()
  889. Effects.Block.Create(BrickColor.new'Really black', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  890. Effects.Block.Create(BrickColor.new'Really black', PhoenixLeftWing.CFrame * CFrame.new(math.random(-80, 80), math.random(-80, 80), math.random(-80, 80)), 15, 15, 15, -1.5, -1.5, -1.5, 0.1)
  891. PlayAnimationFromTable({
  892. CFrame.new(-1.4500227, 16.0700436, 1.48995411, 0.500781119, 0.268583059, -0.822849631, 0.724632204, 0.389859051, 0.568258941, 0.473420113, -0.880836606, 0.000610119198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  893. CFrame.new(0.15797621, 1.50410318, 0.114551261, 0.486720592, -0.192857534, 0.852002978, 0.106479771, 0.981150568, 0.161262766, -0.867044032, 0.0122311777, 0.498081565) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  894. CFrame.new(1.67660713, 0.708690286, 0.789752901, -0.0159761012, -0.824896514, -0.565058172, 0.974268675, -0.139913261, 0.176705688, -0.224822953, -0.547695339, 0.805906057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  895. CFrame.new(-1.10396993, 1.2912178, 0.0291810334, -0.821999371, 0.0640687644, -0.565873325, 0.109669715, -0.957243681, -0.267688602, -0.558829129, -0.282098979, 0.779827237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  896. CFrame.new(0.597159743, -1.94990098, -0.479608893, 0.783460021, -0.158425093, -0.600909412, -0.011714071, 0.963022649, -0.269166023, 0.62133193, 0.217919916, 0.75263387) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  897. CFrame.new(-1.55931222, -1.15647113, -0.755336821, 0.52128011, 0.851746798, -0.0528649986, -0.647634089, 0.354498774, -0.674463451, -0.555731416, 0.385821551, 0.7364133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  898. }, i, false)
  899. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.875052452, 10.1464262, 11.394949, 0.912297964, 0.0103287548, -0.409397304, 0.365901619, 0.42841807, 0.826180458, 0.183926702, -0.903521478, 0.387065411) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  900. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-2.51656485, 5.22779274, -10.8634615, 0.296985149, 0.0515701436, -0.953488529, 0.799673378, 0.532272458, 0.277864367, 0.521845222, -0.845000923, 0.116837732) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  901. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(2.85010839, 28.4606934, 13.6595898, -0.0339340121, 0.981315255, -0.189391062, 0.723264217, 0.154893085, 0.672976315, 0.68973726, -0.114142977, -0.715006351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  902. end
  903. local hit, pos = rayCast(PhoenixLeftWing.Position, CFrame.new(PhoenixLeftWing.Position, PhoenixLeftWing.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  904. if hit then
  905. Effects.Block.Create(BrickColor.new'Really black', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.04)
  906. Effects.Wave.Create(BrickColor.new'Really black', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 5, 2, 5, 3, 1, 3, 0.04)
  907. end
  908. local ref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  909. ref.Anchored = true ref.CFrame = RootPart.CFrame * CFrame.new(2, 1, -25)
  910. coroutine.resume(coroutine.create(function()
  911. local hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  912. local refposchange = coroutine.wrap(function()
  913. while true do
  914. swait()
  915. hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  916. end
  917. end)
  918. refposchange()
  919. local charges = 0
  920. repeat
  921. swait(12)
  922. Camera.FieldOfView = Camera.FieldOfView + 1
  923. charges = charges + 1
  924. if charges > 13 then
  925. charges = 13
  926. end
  927. ref.CFrame = ref.CFrame * CFrame.new(0, 0, -25)
  928. CFuncs.Sound.Create('rbxassetid://565800952', ref, 10, 0.9)
  929. CFuncs.Sound.Create('rbxassetid://304529688', ref, 9.5, 0.8)
  930. CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.4)
  931. CFuncs.Sound.Create('rbxassetid://466493476', ref, 9.75, 0.7)
  932. if hit then
  933. Effects.Sphere.Create(BrickColor.new'Really black', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.026)
  934. Effects.Sphere.Create(BrickColor.new'Really black', CFrame.new(pos), 51, 35, 51, 23, 10, 23, 0.026)
  935. Effects.Ring.Create(BrickColor.new'Really black', CFrame.new(pos) * CFrame.Angles(1.57, 0, 0), 8, 8, 0.5, 4.5, 4.5, 1.5, 0.026)
  936. Effects.Block.Create(BrickColor.new'Really black', CFrame.new(pos), 55, 55, 55, 25, 25, 25, 0.032)
  937. for i = 1, 2 do
  938. Effects.Ring.Create(BrickColor.new'Really black', CFrame.new(pos) * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)), 8, 8, 0.5, 12, 12, 0, 0.05)
  939. end
  940. for i = 1, 10 do
  941. Effects.Break.Create(BrickColor.new'Really black', CFrame.new(pos), 5, 15, 5)
  942. end
  943. MagnitudeDamage(ref, 35, 10, 35, 3, 'Body Snatch', 0, 0)
  944. end
  945. until gothit == true or charges >= 13
  946. if gothit then
  947. CFuncs.Sound.Create('rbxassetid://435742675', ref, 10, 0.9)
  948. CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.32)
  949. for i = 1, 130 do
  950. swait()
  951. MagnitudeDamage(ref, 65, 1, 1, 0, 'Normal', 0, 0)
  952. Effects.Sphere.Create(BrickColor.new'Really black', CFrame.new(pos), 50, 50, 50, 55, 55, 55, 0.1)
  953. Effects.Sphere.Create(BrickColor.new'Really black', CFrame.new(pos), 65, 70, 65, 55, 97, 55, 0.04)
  954. Effects.Wave.Create(BrickColor.new'Really black', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 210, 5, 210, -13, 65, -13, 0.1)
  955. Effects.Ring.Create(BrickColor.new'Really black', ref.CFrame * CFrame.Angles(1.57, 0, 0), 1, 1, 0.1, 35, 35, 0, 0.08)
  956. end
  957. elseif not gothit and charges >= 13 then
  958. CFuncs.Sound.Create('rbxassetid://439342426', ref, 10, 1)
  959. for i = 1, 10 do
  960. swait(7.8)
  961. Effects.Block.Create(BrickColor.new'Really black', CFrame.new(pos), 1600, 1600, 1600, -160, -160, -160, 0.1)
  962. end
  963. end
  964. if gothit ~= false then
  965. gothit = false
  966. end
  967. swait(10)
  968. ref:Destroy()
  969. coroutine.resume(coroutine.create(function()
  970. repeat
  971. swait()
  972. Camera.FieldOfView = Camera.FieldOfView - 1
  973. until Camera.FieldOfView <= 70
  974. end))
  975. end))
  976. for i = 0, 1, 0.02 do
  977. swait()
  978. PlayAnimationFromTable({
  979. CFrame.new(-1.4500227, 16.0700436, 1.48995411, 0.500781119, 0.268583059, -0.822849631, 0.724632204, 0.389859051, 0.568258941, 0.473420113, -0.880836606, 0.000610119198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  980. CFrame.new(0.15797621, 1.50410318, 0.114551261, 0.486720592, -0.192857534, 0.852002978, 0.106479771, 0.981150568, 0.161262766, -0.867044032, 0.0122311777, 0.498081565) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  981. CFrame.new(1.67660713, 0.708690286, 0.789752901, -0.0159761012, -0.824896514, -0.565058172, 0.974268675, -0.139913261, 0.176705688, -0.224822953, -0.547695339, 0.805906057) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  982. CFrame.new(-1.10396993, 1.2912178, 0.0291810334, -0.821999371, 0.0640687644, -0.565873325, 0.109669715, -0.957243681, -0.267688602, -0.558829129, -0.282098979, 0.779827237) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  983. CFrame.new(0.597159743, -1.94990098, -0.479608893, 0.783460021, -0.158425093, -0.600909412, -0.011714071, 0.963022649, -0.269166023, 0.62133193, 0.217919916, 0.75263387) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  984. CFrame.new(-1.55931222, -1.15647113, -0.755336821, 0.52128011, 0.851746798, -0.0528649986, -0.647634089, 0.354498774, -0.674463451, -0.555731416, 0.385821551, 0.7364133) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  985. }, i, false)
  986. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.875052452, 10.1464262, 11.394949, 0.912297964, 0.0103287548, -0.409397304, 0.365901619, 0.42841807, 0.826180458, 0.183926702, -0.903521478, 0.387065411) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  987. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-2.51656485, 5.22779274, -10.8634615, 0.296985149, 0.0515701436, -0.953488529, 0.799673378, 0.532272458, 0.277864367, 0.521845222, -0.845000923, 0.116837732) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  988. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(2.85010839, 28.4606934, 13.6595898, -0.0339340121, 0.981315255, -0.189391062, 0.723264217, 0.154893085, 0.672976315, 0.68973726, -0.114142977, -0.715006351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  989. end
  990. attack = false
  991. end,
  992.  
  993. X = function()
  994. attack = true
  995.  
  996. attack = false
  997. end,
  998.  
  999. C = function()
  1000. attack = true
  1001.  
  1002. attack = false
  1003. end,
  1004.  
  1005. V = function()
  1006. attack = true
  1007. for i = 0, 1, 0.01 do
  1008. swait()
  1009. PlayAnimationFromTable({
  1010. CFrame.new(-0.450012207, 36.5343437, 4.64009285, 1, 0, -0, 0, 0.911060274, -0.412273139, 0, 0.412273139, 0.911060274) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1011. CFrame.new(-0.031036377, 1.40616012, 0.163078129, 1, 0, -0, 0, 0.873728931, -0.486413121, -0, 0.486413121, 0.873728931) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1012. CFrame.new(1.4099741, 0.440860987, 0.589604557, 0.835476875, -0.543924391, 0.078260228, 0.436975986, 0.74394387, 0.505568504, -0.333212227, -0.388192892, 0.859229803) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1013. CFrame.new(-1.4900068, 0.354382098, 0.583152413, 0.608336866, 0.698272943, 0.377281368, -0.773055971, 0.62896198, 0.082408905, -0.179751724, -0.341791987, 0.922424912) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1014. CFrame.new(0.620010316, -1.99047685, 0.228450388, 0.982812107, -0.101304151, -0.154330328, 0.145762682, 0.938838065, 0.311987519, 0.113285549, -0.329120696, 0.937467933) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1015. CFrame.new(-0.479997247, -1.12127328, -0.427212268, 0.996603906, -0.0375141054, 0.0733033791, 0.0133853965, 0.952161908, 0.305300653, -0.0812497586, -0.303282619, 0.949430466) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1016. }, i, false)
  1017. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.350361347, 25.6733379, 1.26589012, 1.00000036, -5.7606735e-06, -1.76140657e-06, 5.13346185e-06, 0.967948616, -0.251147747, 3.21859943e-06, 0.251147896, 0.967948735) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1018. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-11.866394, 33.6268005, 19.443737, 0.539522171, 0.0601179376, 0.839822412, 0.622922242, 0.642567754, -0.44617781, -0.566466153, 0.763866901, 0.309230715) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1019. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(9.18617439, 32.9270172, 21.2700253, 0.339651078, -0.0808581635, -0.937069535, -0.67121619, 0.677080274, -0.301713824, 0.65886718, 0.731453598, 0.175697744) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), i)
  1020. end
  1021. SoulTheos.Parent = Character
  1022. CFuncs.Sound.Create('rbxassetid://528589382', Character, 5, 1)
  1023. local groundref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1024. groundref.Anchored = true
  1025. for i = 0, 25, 0.1 do
  1026. swait()
  1027. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1028. groundref.CFrame = CFrame.new(pos) * CFrame.new(math.random(-130, 130), 0, math.random(-130, 130))
  1029. if hit then
  1030. Effects.Block.Create(BrickColor.new'Really black', groundref.CFrame, 80, 80, 80, -8, -8, -8, 0.1)
  1031. for i = 1, 2 do
  1032. Effects.Break.Create(BrickColor.new'Really black', groundref.CFrame, 1, 15, 1)
  1033. end
  1034. end
  1035. TorsoMotor.C0 = clerp(TorsoMotor.C0, CFrame.new(-7.71592808, 64.4789124, 49.4334869, 0.999800205, 1.64012917e-07, -0.0200730488, 1.78532588e-07, 0.99999994, 1.78446513e-07, 0.0200730469, 1.49604062e-07, 0.999801874) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1036. HeadMotor.C0 = clerp(HeadMotor.C0, CFrame.new(-7.82439089, 98.1185913, 54.8370819, 0.999800444, -0.00348549592, -0.0197681244, 1.97172923e-07, 0.984807372, -0.173649848, 0.0200730506, 0.173615888, 0.984612703) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1037. RightArmMotor.C0 = clerp(RightArmMotor.C0, CFrame.new(30.985817, 67.6919327, 50.2105255, 0.9395051, -0.341951728, -0.020072775, 0.342020214, 0.939692438, -2.23449933e-06, 0.0188631117, -0.00686288392, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1038. LeftArmMotor.C0 = clerp(LeftArmMotor.C0, CFrame.new(-46.4176674, 67.6919098, 48.6564903, 0.939504862, 0.341951907, -0.0200722627, -0.342019916, 0.939692616, -1.84974078e-06, 0.0188610107, 0.00686716288, 0.999801993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1039. RightLegMotor.C0 = clerp(RightLegMotor.C0, CFrame.new(3.63752246, 19.056179, 49.6613541, 0.999800444, 1.93821379e-07, -0.0200730525, 1.97172909e-07, 0.999999821, 1.7866931e-07, 0.0200730506, 1.49566191e-07, 0.999802232) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1040. LeftLegMotor.C0 = clerp(LeftLegMotor.C0, CFrame.new(-19.069416, 19.0561523, 49.2054596, 0.999800444, 1.93821379e-07, -0.0200730544, 1.97172909e-07, 0.999999821, 1.78669296e-07, 0.0200730506, 1.49566191e-07, 0.999802113) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.025)
  1041. end
  1042. CFuncs.Sound.Create('rbxassetid://435742675', Character, 10, 0.6)
  1043. CFuncs.Sound.Create('rbxassetid://432629066', Character, 11, 0.4)
  1044. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 850, 850, 580, 40, 40, 40, 0.002)
  1045. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 850, 850, 850, -0.85, -0.85, -0.85, 0.001)
  1046. Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 550, 550, 550, 10, 10, 10, 0.002)
  1047. for i = 1, 2 do
  1048. Effects.Ring.Create(BrickColor.new'Really black', GiantTorso.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)), 100, 100, 0.1, 20, 20, 0, 0.008)
  1049. end
  1050. for i = 1, 20 do
  1051. Effects.Sphere.Create(BrickColor.new'Really black', GiantTorso.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180)), 200, 550, 200, -0.4, 400, -0.4, 0.01)
  1052. end
  1053. --Effects.Wind.Create(BrickColor.new'Really black', GiantTorso.CFrame, 140, 140, 140, 3, 3, 3, 0.0078)
  1054. SoulTheos.Parent = nil
  1055. attack = false
  1056. end
  1057. }
  1058. }
  1059.  
  1060. Mouse.Button1Down:connect(function()
  1061. if attack == false and attacktype == 1 then
  1062. --attackone()
  1063. end
  1064. end)
  1065.  
  1066. Mouse.KeyDown:connect(function(k)
  1067. k = k:lower()
  1068. if attack == false and k == 'z' then
  1069. Skills.SkillKeys.Z()
  1070. elseif attack == false and k == 'v' then
  1071. Skills.SkillKeys.V()
  1072. end
  1073. end)
  1074.  
  1075. while true do
  1076. swait()
  1077. efc = efc + 1
  1078. Humanoid.JumpPower = 0
  1079. game.Workspace:FindFirstChild'Camera'.CameraSubject = Head
  1080. for i, v in pairs(Character:GetChildren()) do
  1081. if v:IsA('Part') then
  1082. v.Material = 'SmoothPlastic'
  1083. elseif v:IsA('Accessory') then
  1084. v:WaitForChild('Handle').Material = 'SmoothPlastic'
  1085. end
  1086. end
  1087. if efc % 7 == 0 then
  1088. Effects.Block.Create(BrickColor.new'Really black', RightLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1089. Effects.Block.Create(BrickColor.new'Really black', LeftLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1090. end
  1091. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1092. velocity = RootPart.Velocity.y
  1093. sine = sine + change
  1094. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1095. if RootPart.Velocity.y > 1 and hit == nil then
  1096. Anim = 'Jump'
  1097. if attack == false then
  1098. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1099. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1100. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1101. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1102. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1103. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1104. end
  1105. elseif RootPart.Velocity.y < -1 and hit == nil then
  1106. Anim = 'Fall'
  1107. if attack == false then
  1108. RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1109. Torso.Neck.C0 = clerp(Torso.Neck.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1110. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1111. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1112. RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1113. LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1114. end
  1115. elseif Torsovelocity < 1 and hit ~= nil then
  1116. Anim = 'Idle'
  1117. if attack == false then
  1118. change = 1
  1119. PlayAnimationFromTable({
  1120. CFrame.new(-0.450005293, 34.4500389, 2.01001167, 0.891174853, -5.643804e-07, -0.453660011, 0.100640982, 0.975082815, 0.1976991, 0.442355931, -0.221841246, 0.868969381) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
  1121. CFrame.new(0.136797786, 1.52519441, -0.106008172, 0.861599624, 0.0741087794, 0.502149343, -0.163819358, 0.976944447, 0.136904523, -0.480426192, -0.200218707, 0.853875518) * CFrame.new(0, 0, 0 + 0.045 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  1122. CFrame.new(1.43348277, 0.0254253075, 0.611651182, 0.796506286, -0.0460315794, -0.602875531, 0.0911841542, 0.994838893, 0.0445112288, 0.59771508, -0.0904261619, 0.796592832) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0 - 0.2 * math.sin(sine / 20), 0 + 0.1 * math.sin(sine / 20)),
  1123. CFrame.new(-0.720710814, 1.54929173, -0.445914626, -0.918517768, -0.394564986, -0.0253717601, 0.395058364, -0.913291752, -0.0991320908, 0.0159422457, -0.101077914, 0.994750917) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.1 * math.cos(sine / 20), 0 - 0.2 * math.cos(sine / 20), 0),
  1124. CFrame.new(0.634358943, -2.01326132, -0.0543941557, 0.973140478, -0.190595224, -0.129117399, 0.206921965, 0.969986677, 0.127707899, 0.100901663, -0.150994897, 0.983371615) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.2 * math.sin(sine / 20), 0 - 0.2 * math.sin(sine / 20), 0),
  1125. CFrame.new(-0.657845259, -0.872583926, -0.52081877, 0.980457485, 0.0519636832, 0.189744651, -0.0313285105, 0.993418217, -0.110176481, -0.194220975, 0.10207893, 0.97563231) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.13 * math.sin(sine / 20), 0, 0),
  1126. }, .1, false)
  1127. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.350441545, 22.6539574, 5.1175518, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), 0.1)
  1128. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-16.7304916, 38.4633446, 1.07297325, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 + 0.25 * math.sin(sine / 20), 0), 0.1)
  1129. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(15.9995747, 38.4634171, 1.07302094, 1.00000048, -2.25926738e-06, -1.31347747e-06, 2.66923962e-06, 0.960237443, 0.279184222, 8.12507494e-07, -0.279184043, 0.960237324) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 - 0.25 * math.sin(sine / 20), 0), 0.1)
  1130. end
  1131. elseif Torsovelocity > 2 and hit ~= nil then
  1132. Anim = 'Walk'
  1133. if attack == false then
  1134. PlayAnimationFromTable({
  1135. CFrame.new(-0.450005293, 34.4500389, 2.01001167, 0.891174853, -5.643804e-07, -0.453660011, 0.100640982, 0.975082815, 0.1976991, 0.442355931, -0.221841246, 0.868969381) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0),
  1136. CFrame.new(0.136797786, 1.52519441, -0.106008172, 0.861599624, 0.0741087794, 0.502149343, -0.163819358, 0.976944447, 0.136904523, -0.480426192, -0.200218707, 0.853875518) * CFrame.new(0, 0, 0 + 0.045 * math.cos(sine / 20)) * CFrame.Angles(0 + 0.1 * math.cos(sine / 20), 0, 0),
  1137. CFrame.new(1.43348277, 0.0254253075, 0.611651182, 0.796506286, -0.0460315794, -0.602875531, 0.0911841542, 0.994838893, 0.0445112288, 0.59771508, -0.0904261619, 0.796592832) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0 - 0.2 * math.sin(sine / 20), 0 + 0.1 * math.sin(sine / 20)),
  1138. CFrame.new(-0.720710814, 1.54929173, -0.445914626, -0.918517768, -0.394564986, -0.0253717601, 0.395058364, -0.913291752, -0.0991320908, 0.0159422457, -0.101077914, 0.994750917) * CFrame.new(0, 0 + 0.12 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.1 * math.cos(sine / 20), 0 - 0.2 * math.cos(sine / 20), 0),
  1139. CFrame.new(0.634358943, -2.01326132, -0.0543941557, 0.973140478, -0.190595224, -0.129117399, 0.206921965, 0.969986677, 0.127707899, 0.100901663, -0.150994897, 0.983371615) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.2 * math.sin(sine / 20), 0 - 0.2 * math.sin(sine / 20), 0),
  1140. CFrame.new(-0.657845259, -0.872583926, -0.52081877, 0.980457485, 0.0519636832, 0.189744651, -0.0313285105, 0.993418217, -0.110176481, -0.194220975, 0.10207893, 0.97563231) * CFrame.new(0, 0 - 0.075 * math.cos(sine / 20), 0) * CFrame.Angles(0 - 0.13 * math.sin(sine / 20), 0, 0),
  1141. }, .1, false)
  1142. BodyMotor.C0 = clerp(BodyMotor.C0, CFrame.new(-0.350441545, 22.6539574, 5.1175518, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0) * CFrame.Angles(0, 0, 0), 0.1)
  1143. LeftWingMotor.C0 = clerp(LeftWingMotor.C0, CFrame.new(-16.7304916, 38.4633446, 1.07297325, 1.00000024, -2.27506848e-06, -1.35789446e-06, 2.63828974e-06, 0.960237563, 0.279184222, 7.59432851e-07, -0.279184163, 0.960237443) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 + 0.25 * math.sin(sine / 20), 0), 0.1)
  1144. RightWingMotor.C0 = clerp(RightWingMotor.C0, CFrame.new(15.9995747, 38.4634171, 1.07302094, 1.00000048, -2.25926738e-06, -1.31347747e-06, 2.66923962e-06, 0.960237443, 0.279184222, 8.12507494e-07, -0.279184043, 0.960237324) * CFrame.new(0, 0 + 0.15 * math.cos(sine / 20), 0 + 4.5 * math.sin(sine / 20)) * CFrame.Angles(0, 0 - 0.25 * math.sin(sine / 20), 0), 0.1)
  1145. end
  1146. end
  1147. if 0 < #Effects then
  1148. for e = 1, #Effects do
  1149. if Effects[e] ~= nil then
  1150. local Thing = Effects[e]
  1151. if Thing ~= nil then
  1152. local Part = Thing[1]
  1153. local Mode = Thing[2]
  1154. local Delay = Thing[3]
  1155. local IncX = Thing[4]
  1156. local IncY = Thing[5]
  1157. local IncZ = Thing[6]
  1158. if Thing[2] == 'Shoot' then
  1159. local Look = Thing[1]
  1160. local move = 30
  1161. if Thing[8] == 3 then
  1162. move = 10
  1163. end
  1164. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1165. if Thing[10] ~= nil then
  1166. da = pos
  1167. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1168. cfa = CFrame.new(Thing[4], pos)
  1169. tehCF = cfa:lerp(cf2, 0.2)
  1170. Thing[1] = tehCF.lookVector
  1171. end
  1172. local mag = (Thing[4] - pos).magnitude
  1173. Effects['Head'].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1174. if Thing[8] == 2 then
  1175. Effects['Ring'].Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  1176. end
  1177. Thing[4] = Thing[4] + Look * move
  1178. Thing[3] = Thing[3] - 1
  1179. if 2 < Thing[5] then
  1180. Thing[5] = Thing[5] - 0.3
  1181. Thing[6] = Thing[6] - 0.3
  1182. end
  1183. if hit ~= nil then
  1184. Thing[3] = 0
  1185. if Thing[8] == 1 or Thing[8] == 3 then
  1186. Damage(hit, hit, Thing[5], Thing[6], Thing[7], 'Normal', RootPart, 0, '', 1)
  1187. else
  1188. if Thing[8] == 2 then
  1189. Damage(hit, hit, Thing[5], Thing[6], Thing[7], 'Normal', RootPart, 0, '', 1)
  1190. if (hit.Parent:findFirstChild('Humanoid')) ~= nil or (hit.Parent.Parent:findFirstChild('Humanoid')) ~= nil then
  1191. ref = CFuncs.Part.Create(workspace, 'Neon', 0, 1, BrickColor.new('Really red'), 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1192. ref.Anchored = true
  1193. ref.CFrame = CFrame.new(pos)
  1194. CFuncs['Sound'].Create('161006093', ref, 1, 1.2)
  1195. game:GetService('Debris'):AddItem(ref, 0.2)
  1196. Effects['Block'].Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  1197. Effects['Ring'].Create(BrickColor.new('Bright yellow'), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  1198. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, 'Normal', '', 1)
  1199. end
  1200. end
  1201. end
  1202. ref = CFuncs.Part.Create(workspace, 'Neon', 0, 1, BrickColor.new('Really red'), 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1203. ref.Anchored = true
  1204. ref.CFrame = CFrame.new(pos)
  1205. Effects['Sphere'].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1206. game:GetService('Debris'):AddItem(ref, 1)
  1207. end
  1208. if Thing[3] <= 0 then
  1209. table.remove(Effects, e)
  1210. end
  1211. end
  1212. do
  1213. do
  1214. if Thing[2] == 'FireWave' then
  1215. if Thing[3] <= Thing[4] then
  1216. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1217. Thing[3] = Thing[3] + 1
  1218. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1219. else
  1220. Part.Parent = nil
  1221. table.remove(Effects, e)
  1222. end
  1223. end
  1224. if Thing[2] ~= 'Shoot' and Thing[2] ~= 'Wave' and Thing[2] ~= 'FireWave' then
  1225. if Thing[1].Transparency <= 1 then
  1226. if Thing[2] == 'Block1' then
  1227. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1228. Mesh = Thing[7]
  1229. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1230. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1231. else
  1232. if Thing[2] == 'Block2' then
  1233. Thing[1].CFrame = Thing[1].CFrame
  1234. Mesh = Thing[7]
  1235. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1236. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1237. else
  1238. if Thing[2] == 'Fire' then
  1239. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1240. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1241. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1242. else
  1243. if Thing[2] == 'Cylinder' then
  1244. Mesh = Thing[7]
  1245. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1246. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1247. else
  1248. if Thing[2] == 'Blood' then
  1249. Mesh = Thing[7]
  1250. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1251. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1252. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1253. else
  1254. if Thing[2] == 'Elec' then
  1255. Mesh = Thing[10]
  1256. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1257. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1258. else
  1259. if Thing[2] == 'Disappear' then
  1260. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1261. else
  1262. if Thing[2] == 'Shatter' then
  1263. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1264. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1265. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1266. Thing[6] = Thing[6] + Thing[5]
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272. end
  1273. end
  1274. end
  1275. else
  1276. Part.Parent = nil
  1277. table.remove(Effects, e)
  1278. end
  1279. end
  1280. end
  1281. end
  1282. end
  1283. end
  1284. end
  1285. end
  1286. end
Advertisement
Add Comment
Please, Sign In to add comment