Advertisement
dffvdx

Untitled

Oct 3rd, 2018
2,682
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. Humanoid.DisplayDistanceType = 'None'
  31.  
  32. local naeeym2 = Instance.new("BillboardGui",Head)
  33. naeeym2.AlwaysOnTop = true
  34. naeeym2.Size = UDim2.new(5,35,2,15)
  35. naeeym2.StudsOffset = Vector3.new(0,15,0)
  36. naeeym2.Adornee = Head
  37. naeeym2.Name = "Name"
  38. local tecks2 = Instance.new("TextLabel",naeeym2)
  39. tecks2.BackgroundTransparency = 1
  40. tecks2.TextScaled = true
  41. tecks2.BorderSizePixel = 2
  42. tecks2.Text = "The Phoenix Of Light"
  43. tecks2.Font = Enum.Font.Fantasy
  44. tecks2.TextSize = 14
  45. tecks2.TextStrokeTransparency = 0
  46. tecks2.TextColor3 = Color3.new(.5,.5,.5)
  47. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  48. tecks2.Size = UDim2.new(1,0,0.5,0)
  49. tecks2.Parent = naeeym2
  50.  
  51. local m = Create("Model"){
  52.     Parent = Character,
  53.     Name = "WeaponModel",
  54. }
  55.  
  56. local Phoenix_Theme = Create'Sound'{
  57.     SoundId = 'rbxassetid://1843684416',
  58.     Parent = Character,
  59.     Volume = 3,
  60.     Pitch = 1,
  61.     Looped = true
  62. }
  63. Phoenix_Theme:Play()
  64.  
  65. Humanoid.Animator.Parent = nil
  66. Character.Animate.Parent = nil
  67.  
  68. New = function(Object, Parent, Name, Data)
  69.     local Object = Instance.new(Object)
  70.     for Index, Value in pairs(Data or {}) do
  71.         Object[Index] = Value
  72.     end
  73.     Object.Parent = Parent
  74.     Object.Name = Name
  75.     return Object
  76. end
  77.  
  78. function CameraShake(Intensity)
  79.     coroutine.resume(coroutine.create(function()
  80.         local Focus = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
  81.         Focus = 100 / Intensity + Focus / 150
  82.         for i = math.random(150, 250) / 100, 0, -0.05 do
  83.               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))
  84.              swait()
  85.         end
  86.         Camera.CFrame = CFrame.new(0, 0, 0)
  87.     end))
  88. end
  89.  
  90. local newMotor = function(part0, part1, c0, c1)
  91.     local w = Create('Motor'){
  92.         Parent = part0,
  93.         Part0 = part0,
  94.         Part1 = part1,
  95.         C0 = c0,
  96.         C1 = c1,
  97.     }
  98.     return w
  99. end
  100.  
  101. function clerp(a, b, t)
  102.     return a:lerp(b, t)
  103. end
  104.  
  105. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  106. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  107.  
  108. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  109. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  110. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  111. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  112. RootJoint.C1 = CFrame.new(0, 0, 0)
  113. RootJoint.C0 = CFrame.new(0, 0, 0)
  114. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  115. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  116.  
  117. local rarmc1 = RW.C1
  118. local larmc1 = LW.C1
  119. local rlegc1 = RH.C1
  120. local llegc1 = LH.C1
  121.  
  122. local resetc1 = false
  123.  
  124. function PlayAnimationFromTable(table, speed, bool)
  125.     RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  126.     Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  127.     RW.C0 = clerp(RW.C0, table[3], speed)
  128.     LW.C0 = clerp(LW.C0, table[4], speed)
  129.     RH.C0 = clerp(RH.C0, table[5], speed)
  130.     LH.C0 = clerp(LH.C0, table[6], speed)
  131.     if bool == true then
  132.         if resetc1 == false then
  133.             resetc1 = true
  134.             RootJoint.C1 = RootJoint.C1
  135.             Torso.Neck.C1 = Torso.Neck.C1
  136.             RW.C1 = rarmc1
  137.             LW.C1 = larmc1
  138.             RH.C1 = rlegc1
  139.             LH.C1 = llegc1
  140.         end
  141.     end
  142. end
  143.  
  144. ArtificialHB = Create("BindableEvent", script){
  145.     Parent = script,
  146.     Name = "Heartbeat",
  147. }
  148.  
  149. script:WaitForChild("Heartbeat")
  150.  
  151. frame = 1 / 30
  152. tf = 0
  153. allowframeloss = false
  154. tossremainder = false
  155. lastframe = tick()
  156. script.Heartbeat:Fire()
  157.  
  158. game:GetService("RunService").Heartbeat:connect(function(s, p)
  159.     tf = tf + s
  160.     if tf >= frame then
  161.         if allowframeloss then
  162.             script.Heartbeat:Fire()
  163.             lastframe = tick()
  164.         else
  165.             for i = 1, math.floor(tf / frame) do
  166.                 script.Heartbeat:Fire()
  167.             end
  168.             lastframe = tick()
  169.         end
  170.         if tossremainder then
  171.             tf = 0
  172.         else
  173.             tf = tf - frame * math.floor(tf / frame)
  174.         end
  175.     end
  176. end)
  177.  
  178. function swait(num)
  179.     if num == 0 or num == nil then
  180.         ArtificialHB.Event:wait()
  181.     else
  182.         for i = 0, num do
  183.             ArtificialHB.Event:wait()
  184.         end
  185.     end
  186. end
  187.  
  188. function RemoveOutlines(part)
  189.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  190. end
  191.    
  192. CFuncs = { 
  193.     ["Part"] = {
  194.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  195.             local Part = Create("Part"){
  196.                 Parent = Parent,
  197.                 Reflectance = Reflectance,
  198.                 Transparency = Transparency,
  199.                 CanCollide = false,
  200.                 Locked = true,
  201.                 BrickColor = BrickColor.new(tostring(BColor)),
  202.                 Name = Name,
  203.                 Size = Size,
  204.                 Material = Enum.Material.Neon,
  205.             }
  206.             RemoveOutlines(Part)
  207.             return Part
  208.         end;
  209.     };
  210.    
  211.     ["Mesh"] = {
  212.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  213.             local Msh = Create(Mesh){
  214.                 Parent = Part,
  215.                 Offset = OffSet,
  216.                 Scale = Scale,
  217.             }
  218.             if Mesh == "SpecialMesh" then
  219.                 Msh.MeshType = MeshType
  220.                 Msh.MeshId = MeshId
  221.             end
  222.             return Msh
  223.         end;
  224.     };
  225.    
  226.     ["Mesh"] = {
  227.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  228.             local Msh = Create(Mesh){
  229.                 Parent = Part,
  230.                 Offset = OffSet,
  231.                 Scale = Scale,
  232.             }
  233.             if Mesh == "SpecialMesh" then
  234.                 Msh.MeshType = MeshType
  235.                 Msh.MeshId = MeshId
  236.             end
  237.             return Msh
  238.         end;
  239.     };
  240.    
  241.     ["Weld"] = {
  242.         Create = function(Parent, Part0, Part1, C0, C1)
  243.             local Weld = Create("Weld"){
  244.                 Parent = Parent,
  245.                 Part0 = Part0,
  246.                 Part1 = Part1,
  247.                 C0 = C0,
  248.                 C1 = C1,
  249.             }
  250.             return Weld
  251.         end;
  252.     };
  253.  
  254.     ["Sound"] = {
  255.         Create = function(id, par, vol, pit)
  256.             coroutine.resume(coroutine.create(function()
  257.                 local S = Create("Sound"){
  258.                     Volume = vol,
  259.                     Pitch = pit or 1,
  260.                     SoundId = id,
  261.                     Parent = par or workspace,
  262.                 }
  263.                 wait()
  264.                 S:play()
  265.                 game:GetService("Debris"):AddItem(S, 25)
  266.             end))
  267.         end;
  268.     };
  269.    
  270.     ["ParticleEmitter"] = {
  271.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  272.             local fp = Create("ParticleEmitter"){
  273.                 Parent = Parent,
  274.                 Color = ColorSequence.new(Color1, Color2),
  275.                 LightEmission = LightEmission,
  276.                 Size = Size,
  277.                 Texture = Texture,
  278.                 Transparency = Transparency,
  279.                 ZOffset = ZOffset,
  280.                 Acceleration = Accel,
  281.                 Drag = Drag,
  282.                 LockedToPart = LockedToPart,
  283.                 VelocityInheritance = VelocityInheritance,
  284.                 EmissionDirection = EmissionDirection,
  285.                 Enabled = Enabled,
  286.                 Lifetime = LifeTime,
  287.                 Rate = Rate,
  288.                 Rotation = Rotation,
  289.                 RotSpeed = RotSpeed,
  290.                 Speed = Speed,
  291.                 VelocitySpread = VelocitySpread,
  292.             }
  293.             return fp
  294.         end;
  295.     };
  296.  
  297.     CreateTemplate = {
  298.    
  299.     };
  300. }
  301.  
  302. function rayCast(Position, Direction, Range, Ignore)
  303.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  304. end
  305.  
  306. FindNearestTorso = function(pos)
  307.     local list = (game.Workspace:children())
  308.     local torso = nil
  309.     local dist = 1000
  310.     local temp, human, temp2 = nil, nil, nil
  311.     for x = 1, #list do
  312.         temp2 = list[x]
  313.         if temp2.className == "Model" and temp2.Name ~= Character.Name then
  314.             temp = temp2:findFirstChild("Torso")
  315.             human = temp2:findFirstChild("Humanoid")
  316.             if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  317.                 local dohit = true
  318.                 if dohit == true then
  319.                     torso = temp
  320.                     dist = (temp.Position - pos).magnitude
  321.                 end
  322.             end
  323.         end
  324.     end
  325.     return torso, dist
  326. end
  327.  
  328. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  329.     if hit.Parent == nil then
  330.         return
  331.     end
  332.     local h = hit.Parent:FindFirstChild("Humanoid")
  333.     for _, v in pairs(hit.Parent:children()) do
  334.         if v:IsA("Humanoid") then
  335.             h = v
  336.         end
  337.     end
  338.     if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  339.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  340.             if hit.Parent.DebounceHit.Value == true then
  341.                 return
  342.             end
  343.         end
  344.         local c = Create("ObjectValue"){
  345.             Name = "creator",
  346.             Value = game:service("Players").LocalPlayer,
  347.             Parent = h,
  348.         }
  349.         game:GetService("Debris"):AddItem(c, .5)
  350.         if HitSound ~= nil and HitPitch ~= nil then
  351.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  352.         end
  353.         local Damage = math.random(minim, maxim)
  354.         local blocked = false
  355.         local block = hit.Parent:findFirstChild("Block")
  356.         if block ~= nil then
  357.             if block.className == "IntValue" then
  358.                 if block.Value > 0 then
  359.                     blocked = true
  360.                     block.Value = block.Value - 1
  361.                     print(block.Value)
  362.                 end
  363.             end
  364.         end
  365.         if blocked == false then
  366.             h.Health = h.Health - Damage
  367.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  368.         else
  369.             h.Health = h.Health - (Damage / 2)
  370.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Institutional white").Color)
  371.         end
  372.         if Type == "Knockdown" then
  373.             local hum = hit.Parent.Humanoid
  374.             hum.PlatformStand = true
  375.             coroutine.resume(coroutine.create(function(HHumanoid)
  376.                 swait(1)
  377.                 HHumanoid.PlatformStand = false
  378.             end), hum)
  379.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  380.             local bodvol = Create("BodyVelocity"){
  381.                 velocity = angle * knockback,
  382.                 P = 5000,
  383.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  384.                 Parent = hit,
  385.             }
  386.             local rl = Create("BodyAngularVelocity"){
  387.                 P = 3000,
  388.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  389.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  390.                 Parent = hit,
  391.             }
  392.             game:GetService("Debris"):AddItem(bodvol, .5)
  393.             game:GetService("Debris"):AddItem(rl, .5)
  394.         elseif Type == "Normal" then
  395.             local vp = Create("BodyVelocity"){
  396.                 P = 500,
  397.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  398.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  399.             }
  400.             if knockback > 0 then
  401.                 vp.Parent = hit.Parent.Torso
  402.             end
  403.             game:GetService("Debris"):AddItem(vp, .5)
  404.         elseif Type == "Up" then
  405.             local bodyVelocity = Create("BodyVelocity"){
  406.                 velocity = Vector3.new(0, 20, 0),
  407.                 P = 5000,
  408.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  409.                 Parent = hit,
  410.             }
  411.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  412.         elseif Type == "DarkUp" then
  413.             coroutine.resume(coroutine.create(function()
  414.                 for i = 0, 1, 0.1 do
  415.                     swait()
  416.                     Effects.Block.Create(BrickColor.new("Institutional white"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  417.                 end
  418.             end))
  419.             local bodyVelocity = Create("BodyVelocity"){
  420.                 velocity = Vector3.new(0, 20, 0),
  421.                 P = 5000,
  422.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  423.                 Parent = hit,
  424.             }
  425.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  426.         elseif Type == "Snare" then
  427.             local bp = Create("BodyPosition"){
  428.                 P = 2000,
  429.                 D = 100,
  430.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  431.                 position = hit.Parent.Torso.Position,
  432.                 Parent = hit.Parent.Torso,
  433.             }
  434.             game:GetService("Debris"):AddItem(bp, 1)
  435.         elseif Type == "Freeze" then
  436.             local BodPos = Create("BodyPosition"){
  437.                 P = 50000,
  438.                 D = 1000,
  439.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  440.                 position = hit.Parent.Torso.Position,
  441.                 Parent = hit.Parent.Torso,
  442.             }
  443.             local BodGy = Create("BodyGyro") {
  444.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  445.                 P = 20e+003,
  446.                 Parent = hit.Parent.Torso,
  447.                 cframe = hit.Parent.Torso.CFrame,
  448.             }
  449.             hit.Parent.Torso.Anchored = true
  450.             coroutine.resume(coroutine.create(function(Part)
  451.                 swait(1.5)
  452.                 Part.Anchored = false
  453.             end), hit.Parent.Torso)
  454.             game:GetService("Debris"):AddItem(BodPos, 3)
  455.             game:GetService("Debris"):AddItem(BodGy, 3)
  456.         elseif Type == "Body Snatch" then
  457.             if not gothit then
  458.                 gothit = true
  459.                 local BodPos = Create("BodyPosition"){
  460.                     P = 50000,
  461.                     D = 1000,
  462.                     maxForce = Vector3.new(math.huge, math.huge, math.huge),
  463.                     position = hit.Parent.Torso.Position,
  464.                     Parent = hit.Parent.Torso,
  465.                 }
  466.                 local BodGy = Create("BodyGyro") {
  467.                     maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  468.                     P = 20e+003,
  469.                     Parent = hit.Parent.Torso,
  470.                     cframe = hit.Parent.Torso.CFrame,
  471.                 }
  472.                 hit.Parent.Torso.Anchored = true
  473.                 coroutine.resume(coroutine.create(function(Part)
  474.                     swait(1.5)
  475.                     Part.Anchored = false
  476.                 end), hit.Parent.Torso)
  477.                 game:GetService("Debris"):AddItem(BodPos, 3)
  478.                 game:GetService("Debris"):AddItem(BodGy, 3)
  479.             end
  480.         end
  481.         local debounce = Create("BoolValue"){
  482.             Name = "DebounceHit",
  483.             Parent = hit.Parent,
  484.             Value = true,
  485.         }
  486.         game:GetService("Debris"):AddItem(debounce, Delay)
  487.         c = Create("ObjectValue"){
  488.             Name = "creator",
  489.             Value = Player,
  490.             Parent = h,
  491.         }
  492.         game:GetService("Debris"):AddItem(c, .5)
  493.     end
  494. end
  495.  
  496. function ShowDamage(Pos, Text, Time, Color)
  497.     local Rate = (1 / 30)
  498.     local Pos = (Pos or Vector3.new(0, 0, 0))
  499.     local Text = (Text or "")
  500.     local Time = (Time or 2)
  501.     local Color = (Color or Color3.new(1, 0, 1))
  502.     local EffectPart = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  503.     EffectPart.Anchored = true
  504.     local BillboardGui = Create("BillboardGui"){
  505.         Size = UDim2.new(3, 0, 3, 0),
  506.         Adornee = EffectPart,
  507.         Parent = EffectPart,
  508.     }
  509.     local TextLabel = Create("TextLabel"){
  510.         BackgroundTransparency = 1,
  511.         Size = UDim2.new(1, 0, 1, 0),
  512.         Text = Text,
  513.         Font = "SciFi",
  514.         TextColor3 = Color,
  515.         TextScaled = true,
  516.         Parent = BillboardGui,
  517.     }
  518.     game.Debris:AddItem(EffectPart, (Time))
  519.     EffectPart.Parent = game:GetService("Workspace")
  520.     delay(0, function()
  521.         local Frames = (Time / Rate)
  522.         for Frame = 1, Frames do
  523.             wait(Rate)
  524.             local Percent = (Frame / Frames)
  525.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  526.             TextLabel.TextTransparency = Percent
  527.         end
  528.         if EffectPart and EffectPart.Parent then
  529.             EffectPart:Destroy()
  530.         end
  531.     end)
  532. end
  533.  
  534. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  535.     for _, c in pairs(workspace:children()) do
  536.         local hum = c:findFirstChild("Humanoid")
  537.         if hum ~= nil then
  538.             local head = c:findFirstChild("Torso")
  539.             if head ~= nil then
  540.                 local targ = head.Position - Part.Position
  541.                 local mag = targ.magnitude
  542.                 if mag <= Magnitude and c.Name ~= Player.Name then
  543.                     Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, .1, "rbxassetid://" .. HitSound, HitPitch)
  544.                 end
  545.             end
  546.         end
  547.     end
  548. end
  549.  
  550. SoulPhoenix = New("Model",Character,"SoulPhoenix",{})
  551. PhoenixBody = New("Part",SoulPhoenix,"PhoenixBody",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Fabric,Transparency = 0,Transparency = 0,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),})
  552. Mesh = New("SpecialMesh",PhoenixBody,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135477",MeshType = Enum.MeshType.FileMesh,})
  553. BodyMotor = New("Motor",PhoenixBody,"moy",{Part0 = RootPart, Part1 = PhoenixBody,})
  554. PhoenixLeftWing = New("Part",SoulPhoenix,"PhoenixLeftWing",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Fabric,Transparency = 0,Transparency = 0,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),})
  555. Mesh = New("SpecialMesh",PhoenixLeftWing,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135524",MeshType = Enum.MeshType.FileMesh,})
  556. LeftWingMotor = New("Motor",PhoenixLeftWing,"mot",{Part0 = RootPart,Part1 = PhoenixLeftWing,})
  557. PhoenixEye = New("Part",SoulPhoenix,"PhoenixEye",{BrickColor = BrickColor.new("CGA brown"),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),})
  558. Mesh = New("SpecialMesh",PhoenixEye,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  559. 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),})
  560. PhoenixEye = New("Part",SoulPhoenix,"PhoenixEye",{BrickColor = BrickColor.new("CGA brown"),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),})
  561. Mesh = New("SpecialMesh",PhoenixEye,"Mesh",{MeshType = Enum.MeshType.Sphere,})
  562. 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),})
  563. PhoenixRightWing = New("Part",SoulPhoenix,"PhoenixRightWing",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Fabric,Transparency = 0,Transparency = 0,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),})
  564. Mesh = New("SpecialMesh",PhoenixRightWing,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://92135508",MeshType = Enum.MeshType.FileMesh,})
  565. RightWingMotor = New("Motor",PhoenixRightWing,"mot",{Part0 = RootPart,Part1 = PhoenixRightWing,})
  566.  
  567. SoulTheos = New("Model",nil,"SoulTheos",{})
  568. GiantTorso = New("Part",SoulTheos,"GiantTorso",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,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),})
  569. Mesh = New("SpecialMesh",GiantTorso,"Mesh",{Scale = Vector3.new(160, 160, 80),MeshType = Enum.MeshType.Brick,})
  570. TorsoMotor = New("Motor",GiantTorso,"mot",{Part0 = RootPart,Part1 = GiantTorso,})
  571. GiantLeftArm = New("Part",SoulTheos,"GiantLeftArm",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,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),})
  572. Mesh = New("SpecialMesh",GiantLeftArm,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  573. LeftArmMotor = New("Motor",GiantLeftArm,"mot",{Part0 = RootPart,Part1 = GiantLeftArm,})
  574. GiantRightArm = New("Part",SoulTheos,"GiantRightArm",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,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),})
  575. Mesh = New("SpecialMesh",GiantRightArm,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  576. RightArmMotor = New("Motor",GiantRightArm,"mot",{Part0 = RootPart,Part1 = GiantRightArm,})
  577. GiantLeftLeg = New("Part",SoulTheos,"GiantLeftLeg",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,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),})
  578. Mesh = New("SpecialMesh",GiantLeftLeg,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  579. LeftLegMotor = New("Motor",GiantLeftLeg,"mot",{Part0 = RootPart,Part1 = GiantLeftLeg,})
  580. GiantRightLeg = New("Part",SoulTheos,"GiantRightLeg",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,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),})
  581. Mesh = New("SpecialMesh",GiantRightLeg,"Mesh",{Scale = Vector3.new(80, 160, 80),MeshType = Enum.MeshType.Brick,})
  582. RightLegMotor = New("Motor",GiantRightLeg,"mot",{Part0 = RootPart,Part1 = GiantRightLeg,})
  583. GiantHead = New("Part",SoulTheos,"GiantHead",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Transparency = 0.5,Transparency = 0.5,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),})
  584. Mesh = New("SpecialMesh",GiantHead,"Mesh",{Scale = Vector3.new(80, 80, 80),MeshType = Enum.MeshType.Brick,})
  585. HeadMotor = New("Motor",GiantHead,"mot",{Part0 = RootPart,Part1 = GiantHead,})
  586. 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),})
  587. Mesh = New("SpecialMesh",GiantCrystal,"Mesh",{Scale = Vector3.new(10, 25, 10),MeshId = "rbxassetid://9756362",MeshType = Enum.MeshType.FileMesh,})
  588. mot = New("Motor",GiantCrystal,"mot",{Part0 = GiantTorso,Part1 = GiantCrystal,})
  589.  
  590.         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)
  591.         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)
  592.         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)
  593.         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)
  594.         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)
  595.         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)
  596.  
  597. EffectModel = Create("Model"){
  598.     Parent = Character,
  599.     Name = "Effects",
  600. }
  601.  
  602. Effects = {
  603.     Block = {
  604.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  605.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  606.             prt.Anchored = true
  607.             prt.CFrame = cframe
  608.             local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  609.             game:GetService("Debris"):AddItem(prt, 100)
  610.             if Type == 1 or Type == nil then
  611.                 prt.CFrame = prt.CFrame * CFrame.Angles(math.random(-180, 180), math.random(-180, 180), math.random(-180, 180))
  612.                 table.insert(Effects, {
  613.                     prt,
  614.                     "Block1",
  615.                     delay,
  616.                     x3,
  617.                     y3,
  618.                     z3,
  619.                     msh
  620.                 })
  621.             elseif Type == 2 then
  622.                 table.insert(Effects, {
  623.                     prt,
  624.                     "Block2",
  625.                     delay,
  626.                     x3,
  627.                     y3,
  628.                     z3,
  629.                     msh
  630.                 })
  631.             end
  632.         end;
  633.     };
  634.  
  635.         Cylinder = {
  636.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  637.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  638.             prt.Anchored = true
  639.             prt.CFrame = cframe
  640.             local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  641.             game:GetService("Debris"):AddItem(prt, 100)
  642.             table.insert(Effects, {
  643.                 prt,
  644.                 "Cylinder",
  645.                 delay,
  646.                 x3,
  647.                 y3,
  648.                 z3,
  649.                 msh
  650.             })
  651.         end;
  652.     };
  653.     Head = {
  654.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  655.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  656.             prt.Anchored = true
  657.             prt.CFrame = cframe
  658.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  659.             game:GetService("Debris"):AddItem(prt, 100)
  660.             table.insert(Effects, {
  661.                 prt,
  662.                 "Cylinder",
  663.                 delay,
  664.                 x3,
  665.                 y3,
  666.                 z3,
  667.                 msh
  668.             })
  669.         end;
  670.     };
  671.    
  672.     Sphere = {
  673.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  674.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  675.             prt.Anchored = true
  676.             prt.CFrame = cframe
  677.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  678.             game:GetService("Debris"):AddItem(prt, 100)
  679.             table.insert(Effects, {
  680.                 prt,
  681.                 "Cylinder",
  682.                 delay,
  683.                 x3,
  684.                 y3,
  685.                 z3,
  686.                 msh
  687.             })
  688.         end;
  689.     };
  690.    
  691.     Elect = {
  692.         Create = function(cff, x, y, z)
  693.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  694.             prt.Anchored = true
  695.             prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  696.             prt.CFrame = CFrame.new(prt.Position)
  697.             game:GetService("Debris"):AddItem(prt, 2)
  698.             local xval = math.random() / 2
  699.             local yval = math.random() / 2
  700.             local zval = math.random() / 2
  701.             local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  702.             table.insert(Effects, {
  703.                 prt,
  704.                 "Elec",
  705.                 0.1,
  706.                 x,
  707.                 y,
  708.                 z,
  709.                 xval,
  710.                 yval,
  711.                 zval
  712.             })
  713.         end;
  714.  
  715.     };
  716.    
  717.     Ring = {
  718.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  719.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  720.             prt.Anchored = true
  721.             prt.CFrame = cframe
  722.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  723.             game:GetService("Debris"):AddItem(prt, 100)
  724.             table.insert(Effects, {
  725.                 prt,
  726.                 "Cylinder",
  727.                 delay,
  728.                 x3,
  729.                 y3,
  730.                 z3,
  731.                 msh
  732.             })
  733.         end;
  734.     };
  735.  
  736.  
  737.     Wave = {
  738.         Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  739.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  740.             prt.Anchored = true
  741.             prt.CFrame = cframe
  742.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  743.             game:GetService("Debris"):AddItem(prt, 100)
  744.             table.insert(Effects, {
  745.                 prt,
  746.                 "Cylinder",
  747.                 delay,
  748.                 x3,
  749.                 y3,
  750.                 z3,
  751.                 msh
  752.             })
  753.         end;
  754.     };
  755.  
  756.     Break = {
  757.         Create = function(brickcolor, cframe, x1, y1, z1)
  758.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  759.             prt.Anchored = true
  760.             prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  761.             local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  762.             local num = math.random(1, 5) / 100
  763.             game:GetService("Debris"):AddItem(prt, 100)
  764.             table.insert(Effects, {
  765.                 prt,
  766.                 "Shatter",
  767.                 num,
  768.                 prt.CFrame,
  769.                 math.random() - math.random(),
  770.                 0,
  771.                 math.random(50, 100) / 100
  772.             })
  773.         end;
  774.     };
  775.    
  776.     Fire = {
  777.         Create = function(brickcolor, cframe, x1, y1, z1, delay)
  778.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  779.             prt.Anchored = true
  780.             prt.CFrame = cframe
  781.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  782.             game:GetService("Debris"):AddItem(prt, 100)
  783.             table.insert(Effects, {
  784.                 prt,
  785.                 "Fire",
  786.                 delay,
  787.                 1,
  788.                 1,
  789.                 1,
  790.                 msh
  791.             })
  792.         end;
  793.     };
  794.    
  795.     FireWave = {
  796.         Create = function(brickcolor, cframe, x1, y1, z1)
  797.             local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  798.             prt.Anchored = true
  799.             prt.CFrame = cframe
  800.             msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  801.             local d = Create("Decal"){
  802.                 Parent = prt,
  803.                 Texture = "rbxassetid://26356434",
  804.                 Face = "Top",
  805.             }
  806.             local d = Create("Decal"){
  807.                 Parent = prt,
  808.                 Texture = "rbxassetid://26356434",
  809.                 Face = "Bottom",
  810.             }
  811.             game:GetService("Debris"):AddItem(prt, 100)
  812.             table.insert(Effects, {
  813.                 prt,
  814.                 "FireWave",
  815.                 1,
  816.                 30,
  817.                 math.random(400, 600) / 100,
  818.                 msh
  819.             })
  820.         end;
  821.     };
  822.    
  823.     Lightning = {
  824.         Create = function(p0, p1, tym, ofs, col, th, tra, last)
  825.             local magz = (p0 - p1).magnitude
  826.             local curpos = p0
  827.             local trz = {
  828.                 -ofs,
  829.                 ofs
  830.             }
  831.             for i = 1, tym do
  832.                 local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  833.                 local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  834.                 local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  835.                 li.Material = "Neon"
  836.                 if tym == i then
  837.                     local magz2 = (curpos - p1).magnitude
  838.                     li.Size = Vector3.new(th, th, magz2)
  839.                     li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  840.                     table.insert(Effects, {
  841.                         li,
  842.                         "Disappear",
  843.                         last
  844.                     })
  845.                 else
  846.                     do
  847.                         do
  848.                             li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  849.                             curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  850.                             game.Debris:AddItem(li, 10)
  851.                             table.insert(Effects, {
  852.                                 li,
  853.                                 "Disappear",
  854.                                 last
  855.                             })
  856.                         end
  857.                     end
  858.                 end
  859.             end
  860.         end
  861.     };
  862.  
  863.     EffectTemplate = {
  864.  
  865.     };
  866. }
  867.  
  868. function attackone()
  869.     attack = true
  870.     for i = 0, 1, 0.1 do
  871.         swait()
  872.         PlayAnimationFromTable({
  873.             CFrame.new(-0, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  874.             CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  875.             CFrame.new(1.5, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  876.             CFrame.new(-1.5, -0, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  877.             CFrame.new(0.5, -2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  878.             CFrame.new(-0.5, -2, -0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  879.         }, .3, false)
  880.     end
  881.     attack = false
  882. end
  883.  
  884. local Skills = {
  885.     SkillKeys = {
  886.         Z = function()
  887.             attack = true
  888.             CFuncs.Sound.Create('rbxassetid://278641993', Torso, 10, 0.8)
  889.             CFuncs.Sound.Create('rbxassetid://432629066', Torso, 10, 1.4)
  890.             Effects.Sphere.Create(BrickColor.new'Institutional white', Torso.CFrame, 5000, 5000, 5000, -500, -500, -500, 0.1)
  891.             for i = 0, 1, 0.015 do
  892.                 swait()
  893.                 Effects.Block.Create(BrickColor.new'Institutional white', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  894.                 Effects.Block.Create(BrickColor.new'Institutional white', 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)
  895.                 PlayAnimationFromTable({
  896.                  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),
  897.                  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),
  898.                  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),
  899.                  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),
  900.                  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),
  901.                  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),
  902.                 }, i, false)
  903.                 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)
  904.                 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)
  905.                 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)
  906.             end
  907.             CFuncs.Sound.Create('rbxassetid://231917758', Torso, 10, 0.6)
  908.             for i = 0, 1, 0.3 do
  909.                 swait()
  910.                 Effects.Block.Create(BrickColor.new'Institutional white', LeftArm.CFrame, 5, 10, 5, 0, 0, 0, 0.065, 2)
  911.                 Effects.Block.Create(BrickColor.new'Institutional white', 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)
  912.                 PlayAnimationFromTable({
  913.                  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),
  914.                  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),
  915.                  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),
  916.                  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),
  917.                  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),
  918.                  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),
  919.                 }, i, false)
  920.                 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)
  921.                 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)
  922.                 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)
  923.             end
  924.             local hit, pos = rayCast(PhoenixLeftWing.Position, CFrame.new(PhoenixLeftWing.Position, PhoenixLeftWing.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  925.             if hit then
  926.                 Effects.Block.Create(BrickColor.new'Institutional white', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.04)
  927.                 Effects.Wave.Create(BrickColor.new'Institutional white', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 5, 2, 5, 3, 1, 3, 0.04)
  928.             end
  929.             local ref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  930.             ref.Anchored = true ref.CFrame = RootPart.CFrame * CFrame.new(2, 1, -25)
  931.             coroutine.resume(coroutine.create(function()
  932.                 local hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  933.                 local refposchange = coroutine.wrap(function()
  934.                     while true do
  935.                         swait()
  936.                         hit, pos = rayCast(ref.Position, CFrame.new(ref.Position, ref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  937.                     end
  938.                 end)
  939.                 refposchange()
  940.                 local charges = 0
  941.                 repeat
  942.                     swait(12)
  943.                     Camera.FieldOfView = Camera.FieldOfView + 1
  944.                     charges = charges + 1
  945.                     if charges > 13 then
  946.                         charges = 13
  947.                     end
  948.                     ref.CFrame = ref.CFrame * CFrame.new(0, 0, -25)
  949.                     CFuncs.Sound.Create('rbxassetid://565800952', ref, 10, 0.9)
  950.                     CFuncs.Sound.Create('rbxassetid://304529688', ref, 9.5, 0.8)
  951.                     CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.4)
  952.                     CFuncs.Sound.Create('rbxassetid://466493476', ref, 9.75, 0.7)
  953.                     if hit then
  954.                         Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 50, 50, 50, 20, 20, 20, 0.026)
  955.                         Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 51, 35, 51, 23, 10, 23, 0.026)
  956.                         Effects.Ring.Create(BrickColor.new'Institutional white', CFrame.new(pos) * CFrame.Angles(1.57, 0, 0), 8, 8, 0.5, 4.5, 4.5, 1.5, 0.026)
  957.                         Effects.Block.Create(BrickColor.new'Institutional white', CFrame.new(pos), 55, 55, 55, 25, 25, 25, 0.032)
  958.                         for i = 1, 2 do
  959.                             Effects.Ring.Create(BrickColor.new'Institutional white', 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)
  960.                         end
  961.                         for i = 1, 10 do
  962.                             Effects.Break.Create(BrickColor.new'Institutional white', CFrame.new(pos), 5, 15, 5)
  963.                         end
  964.                         MagnitudeDamage(ref, 35, 10, 35, 3, 'Body Snatch', 0, 0)
  965.                     end
  966.                 until gothit == true or charges >= 13
  967.                 if gothit then
  968.                     CFuncs.Sound.Create('rbxassetid://435742675', ref, 10, 0.9)
  969.                     CFuncs.Sound.Create('rbxassetid://414516914', ref, 9.5, 0.32)
  970.                     for i = 1, 130 do
  971.                         swait()
  972.                         MagnitudeDamage(ref, 65, 1, 1, 0, 'Normal', 0, 0)
  973.                         Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 50, 50, 50, 55, 55, 55, 0.1)
  974.                         Effects.Sphere.Create(BrickColor.new'Institutional white', CFrame.new(pos), 65, 70, 65, 55, 97, 55, 0.04)
  975.                         Effects.Wave.Create(BrickColor.new'Institutional white', CFrame.new(pos) * CFrame.Angles(0, math.random(-180, 180), 0), 210, 5, 210, -13, 65, -13, 0.1)
  976.                         Effects.Ring.Create(BrickColor.new'Institutional white', ref.CFrame * CFrame.Angles(1.57, 0, 0), 1, 1, 0.1, 35, 35, 0, 0.08)
  977.                     end
  978.                 elseif not gothit and charges >= 13 then
  979.                     CFuncs.Sound.Create('rbxassetid://439342426', ref, 10, 1)
  980.                     for i = 1, 10 do
  981.                         swait(7.8)
  982.                         Effects.Block.Create(BrickColor.new'Institutional white', CFrame.new(pos), 1600, 1600, 1600, -160, -160, -160, 0.1)
  983.                     end
  984.                 end
  985.                 if gothit ~= false then
  986.                     gothit = false
  987.                 end
  988.                 swait(10)
  989.                 ref:Destroy()
  990.                 coroutine.resume(coroutine.create(function()
  991.                     repeat
  992.                         swait()
  993.                         Camera.FieldOfView = Camera.FieldOfView - 1
  994.                     until Camera.FieldOfView <= 70
  995.                 end))
  996.             end))
  997.             for i = 0, 1, 0.02 do
  998.                 swait()
  999.                 PlayAnimationFromTable({
  1000.                  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),
  1001.                  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),
  1002.                  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),
  1003.                  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),
  1004.                  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),
  1005.                  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),
  1006.                 }, i, false)
  1007.                 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)
  1008.                 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)
  1009.                 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)
  1010.             end
  1011.             attack = false
  1012.         end,
  1013.        
  1014.         X = function()
  1015.             attack = true
  1016.  
  1017.             attack = false
  1018.         end,
  1019.        
  1020.         C = function()
  1021.             attack = true
  1022.            
  1023.             attack = false
  1024.         end,
  1025.        
  1026.         V = function()
  1027.             attack = true
  1028.             for i = 0, 1, 0.01 do
  1029.                 swait()
  1030.                 PlayAnimationFromTable({
  1031.                  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),
  1032.                  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),
  1033.                  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),
  1034.                  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),
  1035.                  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),
  1036.                  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),
  1037.                 }, i, false)
  1038.                 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)
  1039.                 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)
  1040.                 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)
  1041.             end
  1042.             SoulTheos.Parent = Character
  1043.             CFuncs.Sound.Create('rbxassetid://528589382', Character, 5, 1)
  1044.             local groundref = CFuncs.Part.Create(EffectModel, 'Neon', 0, 1, 'White', 'Reference', Vector3.new(0.2, 0.2, 0.2))
  1045.             groundref.Anchored = true
  1046.             for i = 0, 25, 0.1 do
  1047.                 swait()
  1048.                 local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1049.                 groundref.CFrame = CFrame.new(pos) * CFrame.new(math.random(-130, 130), 0, math.random(-130, 130))
  1050.                 if hit then
  1051.                     Effects.Block.Create(BrickColor.new'Institutional white', groundref.CFrame, 80, 80, 80, -8, -8, -8, 0.1)
  1052.                     for i = 1, 2 do
  1053.                         Effects.Break.Create(BrickColor.new'Institutional white', groundref.CFrame, 1, 15, 1)
  1054.                     end
  1055.                 end
  1056.                 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)
  1057.                 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)
  1058.                 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)
  1059.                 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)
  1060.                 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)
  1061.                 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)
  1062.             end
  1063.             CFuncs.Sound.Create('rbxassetid://435742675', Character, 10, 0.6)
  1064.             CFuncs.Sound.Create('rbxassetid://432629066', Character, 11, 0.4)
  1065.             Effects.Block.Create(BrickColor.new'CGA brown', GiantTorso.CFrame, 850, 850, 580, 40, 40, 40, 0.002)
  1066.             Effects.Block.Create(BrickColor.new'Really black', GiantTorso.CFrame, 850, 850, 850, -0.85, -0.85, -0.85, 0.001)
  1067.             Effects.Block.Create(BrickColor.new'CGA brown', GiantTorso.CFrame, 550, 550, 550, 10, 10, 10, 0.002)
  1068.             MagnitudeDamage(PhoenixBody, 999, 99, 99, 0, 'Normal', 0, 0)
  1069.             for i = 1, 20 do
  1070.                 Effects.Ring.Create(BrickColor.new'CGA brown', 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)
  1071.             end
  1072.             for i = 1, 100 do
  1073.                 Effects.Sphere.Create(BrickColor.new'Institutional white', 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)
  1074.             end
  1075.             SoulTheos.Parent = nil
  1076.             attack = false
  1077.         end
  1078.     }
  1079. }
  1080.  
  1081. Mouse.Button1Down:connect(function()
  1082.     if attack == false and attacktype == 1 then
  1083.         --attackone()
  1084.     end
  1085. end)
  1086.  
  1087. Mouse.KeyDown:connect(function(k)
  1088.     k = k:lower()
  1089.     if attack == false and k == 'z' then
  1090.     Skills.SkillKeys.Z()
  1091.     elseif attack == false and k == 'v' then
  1092.     Skills.SkillKeys.V()
  1093.     end
  1094. end)
  1095.  
  1096. while true do
  1097.     swait()
  1098.     efc = efc + 1
  1099.     Humanoid.JumpPower = 0
  1100.     game.Workspace:FindFirstChild'Camera'.CameraSubject = Head
  1101.     for i, v in pairs(Character:GetChildren()) do
  1102.         if v:IsA("Part") then
  1103.             v.Material = "Neon"
  1104.         elseif v:IsA("Accessory") then
  1105.             v:WaitForChild("Handle").Material = "Neon"
  1106.         end
  1107.     end
  1108.     if efc % 7 == 0 then
  1109.         Effects.Block.Create(BrickColor.new'Institutional white', RightLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1110.         Effects.Block.Create(BrickColor.new'Institutional white', LeftLeg.CFrame * CFrame.new(0, -1, 0), 6.5, 6.5, 6.5, -0.02, -0.02, -0.02, 0.06)
  1111.     end
  1112.     Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1113.     velocity = RootPart.Velocity.y
  1114.     sine = sine + change
  1115.     local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1116.         if RootPart.Velocity.y > 1 and hit == nil then
  1117.             Anim = "Jump"
  1118.             if attack == false then
  1119.                 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1120.                 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)
  1121.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1122.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1123.                 RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1124.                 LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1125.             end
  1126.         elseif RootPart.Velocity.y < -1 and hit == nil then
  1127.             Anim = "Fall"
  1128.             if attack == false then
  1129.                 RootJoint.C0 = clerp(RootJoint.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1130.                 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)
  1131.                 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1132.                 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1133.                 RH.C0 = clerp(RH.C0, CFrame.new(.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1134.                 LH.C0 = clerp(LH.C0, CFrame.new(-.5, -2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  1135.             end
  1136.         elseif Torsovelocity < 1 and hit ~= nil then
  1137.             Anim = "Idle"
  1138.             if attack == false then
  1139.                 change = 1
  1140.         PlayAnimationFromTable({
  1141.          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),
  1142.          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),
  1143.          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)),
  1144.          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),
  1145.          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),
  1146.          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),
  1147.         }, .1, false)
  1148.         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)
  1149.         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)
  1150.         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)
  1151.             end
  1152.         elseif Torsovelocity > 2 and hit ~= nil then
  1153.             Anim = "Walk"
  1154.             if attack == false then
  1155.         PlayAnimationFromTable({
  1156.          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),
  1157.          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),
  1158.          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)),
  1159.          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),
  1160.          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),
  1161.          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),
  1162.         }, .1, false)
  1163.         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)
  1164.         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)
  1165.         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)
  1166.             end
  1167.         end
  1168.     if 0 < #Effects then
  1169.         for e = 1, #Effects do
  1170.             if Effects[e] ~= nil then
  1171.                 local Thing = Effects[e]
  1172.                 if Thing ~= nil then
  1173.                     local Part = Thing[1]
  1174.                     local Mode = Thing[2]
  1175.                     local Delay = Thing[3]
  1176.                     local IncX = Thing[4]
  1177.                     local IncY = Thing[5]
  1178.                     local IncZ = Thing[6]
  1179.                     if Thing[2] == "Shoot" then
  1180.                         local Look = Thing[1]
  1181.                         local move = 30
  1182.                         if Thing[8] == 3 then
  1183.                             move = 10
  1184.                         end
  1185.                         local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  1186.                         if Thing[10] ~= nil then
  1187.                             da = pos
  1188.                             cf2 = CFrame.new(Thing[4], Thing[10].Position)
  1189.                             cfa = CFrame.new(Thing[4], pos)
  1190.                             tehCF = cfa:lerp(cf2, 0.2)
  1191.                             Thing[1] = tehCF.lookVector
  1192.                         end
  1193.                         local mag = (Thing[4] - pos).magnitude
  1194.                         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)
  1195.                         if Thing[8] == 2 then
  1196.                             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)
  1197.                         end
  1198.                         Thing[4] = Thing[4] + Look * move
  1199.                         Thing[3] = Thing[3] - 1
  1200.                         if 2 < Thing[5] then
  1201.                             Thing[5] = Thing[5] - 0.3
  1202.                             Thing[6] = Thing[6] - 0.3
  1203.                         end
  1204.                         if hit ~= nil then
  1205.                             Thing[3] = 0
  1206.                             if Thing[8] == 1 or Thing[8] == 3 then
  1207.                                 Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1208.                             else
  1209.                                 if Thing[8] == 2 then
  1210.                                     Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  1211.                                     if (hit.Parent:findFirstChild("Humanoid")) ~= nil or (hit.Parent.Parent:findFirstChild("Humanoid")) ~= nil then
  1212.                                         ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(0.2, 0.2, 0.2))
  1213.                                         ref.Anchored = true
  1214.                                         ref.CFrame = CFrame.new(pos)
  1215.                                         CFuncs["Sound"].Create("161006093", ref, 1, 1.2)
  1216.                                         game:GetService("Debris"):AddItem(ref, 0.2)
  1217.                                         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)
  1218.                                         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)
  1219.                                         MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  1220.                                     end
  1221.                                 end
  1222.                             end
  1223.                             ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", Vector3.new(0.2, 0.2, 0.2))
  1224.                             ref.Anchored = true
  1225.                             ref.CFrame = CFrame.new(pos)
  1226.                             Effects["Sphere"].Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1227.                             game:GetService("Debris"):AddItem(ref, 1)
  1228.                         end
  1229.                         if Thing[3] <= 0 then
  1230.                             table.remove(Effects, e)
  1231.                         end
  1232.                     end
  1233.                     do
  1234.                         do
  1235.                             if Thing[2] == "FireWave" then
  1236.                                 if Thing[3] <= Thing[4] then
  1237.                                     Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1238.                                     Thing[3] = Thing[3] + 1
  1239.                                     Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1240.                                 else
  1241.                                     Part.Parent = nil
  1242.                                     table.remove(Effects, e)
  1243.                                 end
  1244.                             end
  1245.                             if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1246.                                 if Thing[1].Transparency <= 1 then
  1247.                                     if Thing[2] == "Block1" then
  1248.                                         Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1249.                                         Mesh = Thing[7]
  1250.                                         Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1251.                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1252.                                     else
  1253.                                         if Thing[2] == "Block2" then
  1254.                                             Thing[1].CFrame = Thing[1].CFrame
  1255.                                             Mesh = Thing[7]
  1256.                                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1257.                                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1258.                                         else
  1259.                                             if Thing[2] == "Fire" then
  1260.                                                 Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1261.                                                 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1262.                                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1263.                                             else
  1264.                                                 if Thing[2] == "Cylinder" then
  1265.                                                     Mesh = Thing[7]
  1266.                                                     Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1267.                                                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1268.                                                 else
  1269.                                                     if Thing[2] == "Blood" then
  1270.                                                         Mesh = Thing[7]
  1271.                                                         Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1272.                                                         Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1273.                                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1274.                                                     else
  1275.                                                         if Thing[2] == "Elec" then
  1276.                                                             Mesh = Thing[10]
  1277.                                                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1278.                                                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1279.                                                         else
  1280.                                                             if Thing[2] == "Disappear" then
  1281.                                                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1282.                                                             else
  1283.                                                                 if Thing[2] == "Shatter" then
  1284.                                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1285.                                                         Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1286.                                                         Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1287.                                                         Thing[6] = Thing[6] + Thing[5]
  1288.                                                                 end
  1289.                                                             end
  1290.                                                         end
  1291.                                                     end
  1292.                                                 end
  1293.                                             end
  1294.                                         end
  1295.                                     end
  1296.                                 else
  1297.                                     Part.Parent = nil
  1298.                                     table.remove(Effects, e)
  1299.                                 end
  1300.                             end
  1301.                         end
  1302.                     end
  1303.                 end
  1304.             end
  1305.         end
  1306.     end
  1307. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement