Advertisement
CLarramore

roblox Dreamer (LEAKED)

Aug 9th, 2016
27,232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 201.22 KB | None | 0 0
  1. -- kk
  2. --[[
  3. Script leaked.
  4. Accept the REAL dreamer in return
  5. ]]
  6. Player = game:GetService("Players").LocalPlayer
  7. Character = Player.Character
  8. PlayerGui = Player.PlayerGui
  9. Backpack = Player.Backpack
  10. Torso = Character.Torso
  11. Head = Character.Head
  12. Humanoid = Character.Humanoid
  13. LeftArm = Character["Left Arm"]
  14. LeftLeg = Character["Left Leg"]
  15. RightArm = Character["Right Arm"]
  16. RightLeg = Character["Right Leg"]
  17. LS = Torso["Left Shoulder"]
  18. LH = Torso["Left Hip"]
  19. RS = Torso["Right Shoulder"]
  20. RH = Torso["Right Hip"]
  21. Neck = Torso.Neck
  22. it = Instance.new
  23. vt = Vector3.new
  24. cf = CFrame.new
  25. euler = CFrame.fromEulerAnglesXYZ
  26. angles = CFrame.Angles
  27. mr = math.rad
  28. mr2 = math.random
  29. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  30. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  31. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  32. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  33. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  34. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  35. RootPart = Character.HumanoidRootPart
  36. RootJoint = RootPart.RootJoint
  37. RootCF = euler(-1.57, 0, 3.14)
  38. attack = false
  39. attackdebounce = false
  40. MMouse = Player:GetMouse()
  41. combo = 0
  42. local hitfloor, posfloor = nil, nil
  43. local idle = 0
  44. local Anim = "Idle"
  45. local Effects = {}
  46. local Weapon = {}
  47. local Welds = {}
  48. local Saber = {}
  49. local Buster = {}
  50. local decreaseatk = 0
  51. local decreasedef = 0
  52. local decreasemvmt = 0
  53. local manainc = 16
  54. local handle = nil
  55. local floating = false
  56. local testpart = it("Part")
  57. testpart.Anchored = true
  58. local Mode = "Normal"
  59. local cbuster = false
  60. local cshoot = false
  61. local cdebounce = false
  62. local sbreaker = false
  63. local shockshoot = false
  64. local shockdebounce = false
  65. local TehM = nil
  66. local sblazing = false
  67. local starshoot = false
  68. local stardebounce = false
  69. local busterlaser = false
  70. local sbreakerII = false
  71. local galacblazing = false
  72. local prising = false
  73. local move1 = "(Z)\nChaos Buster"
  74. local move2 = "(X)\nShocker Breaker"
  75. local move3 = "(C)\nStar Blazing"
  76. local move4 = "(V)\n"
  77. local cooldowns = {}
  78. local cooldown1 = 100
  79. table.insert(cooldowns, cooldown1)
  80. local cooldown2 = 100
  81. table.insert(cooldowns, cooldown2)
  82. local cooldown3 = 100
  83. table.insert(cooldowns, cooldown3)
  84. local cooldown4 = 100
  85. table.insert(cooldowns, cooldown4)
  86. local cooldownsadd = {}
  87. local cooldownadd1 = 0.16
  88. table.insert(cooldownsadd, cooldownadd1)
  89. local cooldownadd2 = 0.14
  90. table.insert(cooldownsadd, cooldownadd2)
  91. local cooldownadd3 = 0.12
  92. table.insert(cooldownsadd, cooldownadd3)
  93. local cooldownadd4 = 0.1
  94. table.insert(cooldownsadd, cooldownadd4)
  95. local cooldownmax = 100
  96. player = nil
  97. RSH = nil
  98. LSH = nil
  99. RW = Instance.new("Motor")
  100. LW = Instance.new("Motor")
  101. RW.Name = "Right Shoulder"
  102. LW.Name = "Left Shoulder"
  103. LH = Torso["Left Hip"]
  104. RH = Torso["Right Hip"]
  105. TorsoColor = Torso.BrickColor
  106. NewCol = BrickColor.new("Ghost grey").Color
  107. NewCol2 = BrickColor.new("Smoky grey").Color
  108. NewCol3 = BrickColor.new("Pearl").Color
  109.  
  110. for i,v in pairs(Character:children()) do
  111.     if v.Name=="Glaciem" then
  112.         v:Destroy()
  113.     end
  114. end
  115.  
  116. for i,v in pairs(Backpack:children()) do
  117.     if v.Name=="Glaciem" then
  118.         v:Destroy()
  119.     end
  120. end
  121.  
  122.   local mdec = Instance.new("NumberValue", Decrease)
  123.   mdec.Name = "DecreaseDef"
  124.   mdec.Value = 0.4
  125.   local mdec2 = Instance.new("NumberValue", Decrease)
  126.   mdec2.Name = "DecreaseMvmt"
  127.   mdec2.Value = 0.1
  128.   local Neons = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  129.   local Animate = Humanoid.Animator
  130.   local canjump = true
  131.  
  132.   removeControl = function()
  133.   canjump = false
  134. end
  135.  
  136.   resumeControl = function()
  137.   canjump = true
  138. end
  139.  
  140.   Player.Character.Humanoid.Changed:connect(function()
  141.   if canjump == false then
  142.     Player.Character.Humanoid.Jump = false
  143.   end
  144. end
  145. )
  146.  
  147. ArtificialHB = Instance.new("BindableEvent", script)
  148. ArtificialHB.Name = "Heartbeat"
  149.  
  150. script:WaitForChild("Heartbeat")
  151.  
  152. frame = 1 / 40
  153. tf = 0
  154. allowframeloss = true
  155. tossremainder = false
  156. lastframe = tick()
  157. script.Heartbeat:Fire()
  158.  
  159. game:GetService("RunService").Heartbeat:connect(function(s, p)
  160.     tf = tf + s
  161.     if tf >= frame then
  162.         if allowframeloss then
  163.             script.Heartbeat:Fire()
  164.             lastframe = tick()
  165.         else
  166.             for i = 1, math.floor(tf / frame) do
  167.                 script.Heartbeat:Fire()
  168.             end
  169.             lastframe = tick()
  170.         end
  171.         if tossremainder then
  172.             tf = 0
  173.         else
  174.             tf = tf - frame * math.floor(tf / frame)
  175.         end
  176.     end
  177. end)
  178.  
  179. function swait(num)
  180.     if num == 0 or num == nil then
  181.         ArtificialHB.Event:wait()
  182.     else
  183.         for i = 0, num do
  184.             ArtificialHB.Event:wait()
  185.         end
  186.     end
  187. end
  188.  
  189.   createpassgui = function(parent)
  190.   print("makegui111")
  191.   local g = Instance.new("ScreenGui", parent)
  192.   local f = Instance.new("Frame", g)
  193.   f.Position = UDim2.new(0.3, 0, 0.25, 0)
  194.   f.Size = UDim2.new(0.4, 0, 0.4, 0)
  195.   f.Style = "DropShadow"
  196.   local t = Instance.new("TextBox", f)
  197.   t.BackgroundColor3 = Color3.new(0, 0, 0)
  198.   t.BackgroundTransparency = 0.5
  199.   t.BorderSizePixel = 0
  200.   t.Position = UDim2.new(0.15, 0, 0.2, 0)
  201.   t.Size = UDim2.new(0.7, 0, 0.2, 0)
  202.   t.Font = "SourceSansLight"
  203.   t.Text = "Enter Access Code."
  204.   t.TextScaled = true
  205.   t.TextColor3 = Color3.new(1, 1, 1)
  206.   t.TextStrokeTransparency = 0
  207.   local t2 = Instance.new("TextButton", f)
  208.   t2.BackgroundColor3 = Color3.new(0, 0, 0)
  209.   t2.BackgroundTransparency = 0.5
  210.   t2.BorderSizePixel = 0
  211.   t2.Position = UDim2.new(0.3, 0, 0.5, 0)
  212.   t2.Size = UDim2.new(0.4, 0, 0.15, 0)
  213.   t2.TextScaled = true
  214.   t2.Font = "SourceSansLight"
  215.   t2.Text = "Submit"
  216.   t2.TextColor3 = Color3.new(1, 1, 1)
  217.   t2.TextStrokeTransparency = 0
  218.   print("done1")
  219.   return t2
  220. end
  221.  
  222. for i,v in pairs(Character:children()) do
  223.     if v.Name=="Glaciem" then
  224.         v:Destroy()
  225.     end
  226. end
  227.  
  228. for i,v in pairs(Backpack:children()) do
  229.     if v.Name=="Glaciem" then
  230.         v:Destroy()
  231.     end
  232. end
  233.  
  234.   if Character:findFirstChild("Handles", true) ~= nil then
  235.     Character:findFirstChild("Handles", true).Parent = nil
  236.   end
  237.   if Character:findFirstChild("Chaos Saber", true) ~= nil then
  238.     Character:findFirstChild("Chaos Saber", true).Parent = nil
  239.   end
  240.   if Character:findFirstChild("Chaos Buster", true) ~= nil then
  241.     Character:findFirstChild("Chaos Buster", true).Parent = nil
  242.   end
  243.   if Character:findFirstChild("Chaos Buster Rainbow", true) ~= nil then
  244.     Character:findFirstChild("Chaos Buster Rainbow", true).Parent = nil
  245.   end
  246.   if Character:findFirstChild("Effects", true) ~= nil then
  247.     Character:findFirstChild("Effects", true).Parent = nil
  248.   end
  249.   if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  250.     Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  251.   end
  252.   if Character:findFirstChild("Stats", true) ~= nil then
  253.     Character:findFirstChild("Stats", true).Parent = nil
  254.   end
  255.   local Stats = Instance.new("BoolValue")
  256.   Stats.Name = "Stats"
  257.   Stats.Parent = Character
  258.   local Atk = Instance.new("NumberValue")
  259.   Atk.Name = "Damage"
  260.   Atk.Parent = Stats
  261.   Atk.Value = 1
  262.   local Def = Instance.new("NumberValue")
  263.   Def.Name = "Defense"
  264.   Def.Parent = Stats
  265.   Def.Value = 1
  266.   local Mvmt = Instance.new("NumberValue")
  267.   Mvmt.Name = "Movement"
  268.   Mvmt.Parent = Stats
  269.   Mvmt.Value = 1
  270.   local Block = Instance.new("BoolValue")
  271.   Block.Name = "Block"
  272.   Block.Parent = Stats
  273.   Block.Value = false
  274.   local Stun = Instance.new("NumberValue")
  275.   Stun.Name = "Stun"
  276.   Stun.Parent = Stats
  277.   Stun.Value = 0
  278.   local StunT = Instance.new("NumberValue")
  279.   StunT.Name = "StunThreshold"
  280.   StunT.Parent = Stats
  281.   StunT.Value = 80
  282.   local Rooted = Instance.new("BoolValue")
  283.   Rooted.Name = "Rooted"
  284.   Rooted.Parent = Stats
  285.   Rooted.Value = false
  286.   local Stunned = Instance.new("BoolValue")
  287.   Stunned.Name = "Stunned"
  288.   Stunned.Parent = Stats
  289.   Stunned.Value = false
  290.   local Stagger = Instance.new("BoolValue")
  291.   Stagger.Name = "Stagger"
  292.   Stagger.Parent = Stats
  293.   Stagger.Value = false
  294.   local StaggerHit = Instance.new("BoolValue")
  295.   StaggerHit.Name = "StaggerHit"
  296.   StaggerHit.Parent = Stats
  297.   StaggerHit.Value = false
  298.   local RecentEnemy = Instance.new("ObjectValue")
  299.   RecentEnemy.Name = "RecentEnemy"
  300.   RecentEnemy.Parent = Stats
  301.   RecentEnemy.Value = nil
  302.   local Decrease = Instance.new("BoolValue")
  303.   Decrease.Name = "Decrease"
  304.   Decrease.Parent = Stats
  305.   Decrease.Value = false
  306.   local mana = Instance.new("NumberValue")
  307.   mana.Name = "Mana"
  308.   mana.Parent = Stats
  309.   mana.Value = 0
  310.   local passive1 = Instance.new("NumberValue", Decrease)
  311.   passive1.Name = "DecreaseMvmt"
  312.   passive1.Value = -0.1
  313.   local passive2 = Instance.new("NumberValue", Decrease)
  314.   passive2.Name = "DecreaseDef"
  315.   passive2.Value = 0
  316.   NoOutline = function(Part)
  317.   Part.TopSurface = 10
  318. end
  319.  
  320.   part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  321.   local fp = it("Part")
  322.   fp.formFactor = formfactor
  323.   fp.Parent = parent
  324.   fp.Reflectance = reflectance
  325.   fp.Transparency = transparency
  326.   fp.CanCollide = false
  327.   fp.Locked = true
  328.   fp.BrickColor = brickcolor
  329.   fp.Name = name
  330.   fp.Size = size
  331.   fp.Position = Torso.Position
  332.   NoOutline(fp)
  333.   fp.Material = "SmoothPlastic"
  334.   fp:BreakJoints()
  335.   return fp
  336. end
  337.  
  338.   mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  339.   local mesh = it(Mesh)
  340.   mesh.Parent = part
  341.   if Mesh == "SpecialMesh" then
  342.     mesh.MeshType = meshtype
  343.     if meshid ~= "nil" then
  344.       mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  345.     end
  346.   end
  347.   mesh.Offset = offset
  348.   mesh.Scale = scale
  349.   return mesh
  350. end
  351.  
  352.   weld = function(parent, part0, part1, c0)
  353.   local weld = it("Motor")
  354.   weld.Parent = parent
  355.   weld.Part0 = part0
  356.   weld.Part1 = part1
  357.   weld.C0 = c0
  358.   return weld
  359. end
  360.  
  361.   gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  362.   local gui = it(GuiType)
  363.   gui.Parent = parent
  364.   gui.Text = text
  365.   gui.BackgroundTransparency = backtrans
  366.   gui.BackgroundColor3 = backcol
  367.   gui.SizeConstraint = "RelativeXY"
  368.   gui.TextXAlignment = "Center"
  369.   gui.TextYAlignment = "Center"
  370.   gui.Position = pos
  371.   gui.Size = size
  372.   gui.Font = "SourceSans"
  373.   gui.FontSize = "Size14"
  374.   gui.TextWrapped = false
  375.   gui.TextStrokeTransparency = 0
  376.   gui.TextColor = BrickColor.new("White")
  377.   return gui
  378. end
  379.  
  380.   AesthPart = function(model, wldpar, reflec, trans, col, name, neon, meshh, mshtype, mshtxt, x1, y1, z1, ceef)
  381.   prt = part(3, model, reflec, trans, BrickColor.new(col), name, vt())
  382.   prt.Material = neon
  383.   msh = mesh(meshh, prt, mshtype, mshtxt, vt(0, 0, 0), vt(x1, y1, z1))
  384.   wld = weld(handle, prt, wldpar, ceef)
  385.   v = it("NumberValue", prt)
  386.   v.Value = trans
  387.   v.Name = "MainTransparency"
  388.   return prt, msh, wld
  389. end
  390.  
  391.   local nr = NumberRange.new
  392.   local ns = NumberSequence.new
  393.   local cs = ColorSequence.new
  394.   local nsk = NumberSequenceKeypoint.new
  395.   particle = function(parent, col1, col2, lightemis, size, texture, transparency, zoffset, accel, drag, ltp, velinher, emisdir, enabled, lifetime, rate, rotation, rotspeed, speed, velspread)
  396.   local fp = it("ParticleEmitter")
  397.   fp.Parent = parent
  398.   fp.Color = cs(col1, col2)
  399.   fp.LightEmission = lightemis
  400.   fp.Size = size
  401.   fp.Texture = texture
  402.   fp.Transparency = transparency
  403.   fp.ZOffset = zoffset
  404.   fp.Acceleration = accel
  405.   fp.Drag = drag
  406.   fp.LockedToPart = ltp
  407.   fp.VelocityInheritance = velinher
  408.   fp.EmissionDirection = emisdir
  409.   fp.Enabled = enabled
  410.   fp.Lifetime = lifetime
  411.   fp.Rate = rate
  412.   fp.Rotation = rotation
  413.   fp.RotSpeed = rotspeed
  414.   fp.Speed = speed
  415.   fp.VelocitySpread = velspread
  416.   return fp
  417. end
  418.  
  419.   local Color1 = Torso.BrickColor
  420.   local fengui = it("GuiMain")
  421.   fengui.Parent = Player.PlayerGui
  422.   fengui.Name = "WeaponGUI"
  423.   local fenframe = it("Frame")
  424.   fenframe.Parent = fengui
  425.   fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  426.   fenframe.BackgroundTransparency = 1
  427.   fenframe.BorderColor3 = Color3.new(17, 17, 17)
  428.   fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  429.   fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  430.   local fenframe2 = it("Frame")
  431.   fenframe2.Parent = fengui
  432.   fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  433.   fenframe2.BackgroundTransparency = 1
  434.   fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  435.   fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  436.   fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  437.   local fenframe3 = it("Frame")
  438.   fenframe3.Parent = fengui
  439.   fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  440.   fenframe3.BackgroundTransparency = 1
  441.   fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  442.   fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  443.   fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  444.   local fenframe4 = it("Frame")
  445.   fenframe4.Parent = fengui
  446.   fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  447.   fenframe4.BackgroundTransparency = 1
  448.   fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  449.   fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  450.   fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  451.   local pressedf = false
  452.   local fenframe5 = it("Frame")
  453.   fenframe5.Parent = fengui
  454.   fenframe5.Parent = nil
  455.   fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  456.   fenframe5.BackgroundTransparency = 1
  457.   fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  458.   fenframe5.Size = UDim2.new(1, 0, 1, 0)
  459.   fenframe5.Position = UDim2.new(0, 0, 0, 0)
  460.   fenframe5.ZIndex = 2
  461.   local tellbar = gui("TextLabel", fenframe5, "Press \'F\' to equip your weapon.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  462.   tellbar.Font = "Arial"
  463.   tellbar.TextScaled = true
  464.   tellbar.TextTransparency = 1
  465.   tellbar.TextStrokeTransparency = 1
  466.   tellbar.ZIndex = 2
  467.   local fnumb = 0
  468.   local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  469.   local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  470.   local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  471.   local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  472.   local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  473.   local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  474.   local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
  475.   local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  476.   local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  477.   local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  478.   local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  479.   local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  480.   local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  481.   fenbarmove1.ZIndex = 2
  482.   local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  483.   local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  484.   fenbarmove2.ZIndex = 2
  485.   local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  486.   local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  487.   fenbarmove3.ZIndex = 2
  488.   local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  489.   local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  490.   fenbarmove4.ZIndex = 2
  491.   local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  492.   local handles = Instance.new("Model")
  493.   handles.Parent = Character
  494.   handles.Name = "Handles"
  495.   local modelzorz = Instance.new("Model")
  496.   modelzorz.Parent = Character
  497.   modelzorz.Name = "Chaos Saber"
  498.   local model2 = Instance.new("Model")
  499.   model2.Parent = Character
  500.   model2.Name = "Chaos Buster"
  501.   local model3 = Instance.new("Model")
  502.   model3.Parent = Character
  503.   model3.Name = "Chaos Buster Rainbow"
  504.   handle = part(3, handles, 0, 1, BrickColor.new(NewCol), "Handle", vt())
  505.   local handle2 = part(3, handles, 0, 1, BrickColor.new(NewCol), "Handle2", vt())
  506.   local handle3 = part(3, handles, 0, 1, BrickColor.new(NewCol3), "Handle3", vt())
  507.   local handle3a = part(3, handles, 0, 1, BrickColor.new(NewCol3), "Handle3a", vt())
  508.   local handle4 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle4", vt())
  509.   local handle5 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle5", vt())
  510.   local handle6 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle6", vt())
  511.   local handle7 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle7", vt())
  512.   local handle8 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle8", vt())
  513.   local handle9 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle9", vt())
  514.   local handle10 = part(3, model2, 0, 1, BrickColor.new(NewCol3), "Handle10", vt())
  515.   hmsh3 = mesh("BlockMesh", handle3, "", "", vt(0, 0, 0), vt(25, 3, 1))
  516.   hmsh4 = mesh("BlockMesh", handle4, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  517.   hmsh5 = mesh("BlockMesh", handle5, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  518.   hmsh6 = mesh("BlockMesh", handle6, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  519.   hmsh7 = mesh("BlockMesh", handle7, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  520.   hmsh8 = mesh("BlockMesh", handle8, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  521.   hmsh9 = mesh("BlockMesh", handle9, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  522.   hmsh10 = mesh("BlockMesh", handle10, "nil", "nil", vt(0, 0, 0), vt(0, 0, 0))
  523.   local handlewld = weld(handle, handle, Torso, euler(0, 3.14, -2.6) * cf(0, 0, -0.6))
  524.   local handlewld2 = weld(handle2, handle2, Torso, euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6))
  525.   local handlewld3 = weld(handle3, handle3, Torso, euler(1.57, 0, 0) * cf(-0.5, 0, 0) * euler(0, 0, -0.5) * cf(0, 0, -0.8))
  526.   local handlewld3a = weld(handle3a, handle3a, handle3, cf(0, 0, 0))
  527.   local handlewld4 = weld(handle4, handle4, handle3a, euler(0, 0, 0) * cf(0, 0, 0))
  528.   local handlewld5 = weld(handle5, handle5, handle3a, euler(0, 0, 0) * cf(0, 0, 0))
  529.   local handlewld6 = weld(handle6, handle6, handle5, cf(3.35, 0, -0.075))
  530.   local handlewld7 = weld(handle7, handle7, handle4, cf(3.35, 0, 0.075))
  531.   local handlewld8 = weld(handle8, handle8, handle6, cf(0.291, 0, 0))
  532.   local handlewld9 = weld(handle9, handle9, handle7, cf(0.291, 0, 0))
  533.   local handlewld10 = weld(handle10, handle10, handle3a, euler(0, mr(-90), 0) * cf(3.141, 0, 0))
  534.   local main1, mmsh1, mwld1 = AesthPart(modelzorz, handle, 0, 0, NewCol, "Main1", "Neon", "BlockMesh", "nil", "nil", 0.8, 7, 0.65, cf(0, 0, 0))
  535.   local main2, mmsh2, mwld2 = AesthPart(modelzorz, handle2, 0, 0, NewCol, "Main2", "Neon", "BlockMesh", "nil", "nil", 0.8, 7, 0.65, cf(0, 0, 0))
  536.   local core1, cmsh1, cwld1 = AesthPart(modelzorz, main1, 0, 0, NewCol2, "Core1", "Neon", "SpecialMesh", "Sphere", "nil", 1.25, 0.75, 1, euler(0, 0, 0) * cf(0, -0.8, 0))
  537.   local core2, cmsh2, cwld2 = AesthPart(modelzorz, main2, 0, 0, NewCol2, "Core2", "Neon", "SpecialMesh", "Sphere", "nil", 1.25, 0.75, 1, euler(0, 0, 0) * cf(0, -0.8, 0))
  538.   local upper1, umsh1, uwld1 = AesthPart(modelzorz, core1, 0, 0, NewCol, "Upper1", "Neon", "SpecialMesh", "Sphere", "nil", 1.75, 0.9, 0.55, euler(0, 0, 0) * cf(0, -0.05, 0))
  539.   local upper2, umsh2, uwld2 = AesthPart(modelzorz, core2, 0, 0, NewCol, "Upper1", "Neon", "SpecialMesh", "Sphere", "nil", 1.75, 0.9, 0.55, euler(0, 0, 0) * cf(0, -0.05, 0))
  540.   RainbowVals = function(parent, sval, bval)
  541.   d = it("NumberValue", parent)
  542.   d.Name = "Size"
  543.   d.Value = sval
  544.   b = it("NumberValue", parent)
  545.   b.Name = "Weld"
  546.   b.Value = bval
  547.   return d, b
  548. end
  549.  
  550.   rmain1, rmrmsh1, rmwld1 = AesthPart(model3, handle4, 1, 0, NewCol, "RainbowMain", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  551.   rmain1a, rmrmsh1a, rmwld1a = AesthPart(model3, handle5, 1, 0, NewCol, "RainbowMaina", "Neon", "BlockMesh", "nil", "nil", 0, 0, 0, euler(0, 0, 0) * cf(0, 0, 0))
  552.   rainbow1, rmsh1, rwld1 = AesthPart(model3, rmain1, 0, 0, Neons[7].Color, "Rainbow1", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, 0.1))
  553.   rainbow1a, rmsh1a, rwld1a = AesthPart(model3, rmain1a, 0, 0, Neons[7].Color, "Rainbow1a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3, euler(0, mr(90), 0) * cf(-1.55, 0, -0.1))
  554.   rainbow2, rmsh2, rwld2 = AesthPart(model3, rmain1, 0, 0, Neons[6].Color, "Rainbow2", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, 0.1))
  555.   rainbow2a, rmsh2a, rwld2a = AesthPart(model3, rmain1a, 0, 0, Neons[6].Color, "Rainbow2a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.875, 0, -0.1))
  556.   rainbow3, rmsh3, rwld3 = AesthPart(model3, rmain1, 0, 0, Neons[5].Color, "Rainbow3", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, 0.1))
  557.   rainbow3a, rmsh3a, rwld3a = AesthPart(model3, rmain1a, 0, 0, Neons[5].Color, "Rainbow3a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(-0.125, 0, -0.1))
  558.   rainbow4, rmsh4, rwld4 = AesthPart(model3, rmain1, 0, 0, Neons[4].Color, "Rainbow4", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, 0.1))
  559.   rainbow4a, rmsh4a, rwld4a = AesthPart(model3, rmain1a, 0, 0, Neons[4].Color, "Rainbow4a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 4, euler(0, mr(90), 0) * cf(0.65, 0, -0.1))
  560.   rainbow5, rmsh5, rwld5 = AesthPart(model3, rmain1, 0, 0, Neons[3].Color, "Rainbow5", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, 0.1))
  561.   rainbow5a, rmsh5a, rwld5a = AesthPart(model3, rmain1a, 0, 0, Neons[3].Color, "Rainbow5a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(1.425, 0, -0.1))
  562.   rainbow6, rmsh6, rwld6 = AesthPart(model3, rmain1, 0, 0, Neons[2].Color, "Rainbow6", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, 0.1))
  563.   rainbow6a, rmsh6a, rwld6a = AesthPart(model3, rmain1a, 0, 0, Neons[2].Color, "Rainbow6a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 3.75, euler(0, mr(90), 0) * cf(2.175, 0, -0.1))
  564.   rainbow7, rmsh7, rwld7 = AesthPart(model3, rmain1, 0, 0, Neons[1].Color, "Rainbow7", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, 0.1))
  565.   rainbow7a, rmsh7a, rwld7a = AesthPart(model3, rmain1a, 0, 0, Neons[1].Color, "Rainbow7a", "Neon", "BlockMesh", "nil", "nil", 2.5, 2.25, 2.99, euler(0, mr(90), 0) * cf(2.85, 0, -0.1))
  566.   local rw1 = 0.32
  567.   local rw2 = 0.395
  568.   local rw3 = 0.295
  569.   local rs1 = 3
  570.   local rs2 = 3.75
  571.   local rs3 = 4
  572.   local rs4 = 2.99
  573.   rmsh1.Scale = vt(2.5, 2.25, rs1 - rs1)
  574.   rmsh1a.Scale = vt(2.5, 2.25, rs1 - rs1)
  575.   rwld1.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1, 0, 0.1)
  576.   rwld1a.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1, 0, -0.1)
  577.   rmsh2.Scale = vt(2.5, 2.25, rs2 - rs2)
  578.   rmsh2a.Scale = vt(2.5, 2.25, rs2 - rs2)
  579.   rwld2.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2, 0, 0.1)
  580.   rwld2a.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2, 0, -0.1)
  581.   rmsh3.Scale = vt(2.5, 2.25, rs2 - rs2)
  582.   rmsh3a.Scale = vt(2.5, 2.25, rs2 - rs2)
  583.   rwld3.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2, 0, 0.1)
  584.   rwld3a.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2, 0, -0.1)
  585.   rmsh4.Scale = vt(2.5, 2.25, rs3 - rs3)
  586.   rmsh4a.Scale = vt(2.5, 2.25, rs3 - rs3)
  587.   rwld4.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2, 0, 0.1)
  588.   rwld4a.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2, 0, -0.1)
  589.   rmsh5.Scale = vt(2.5, 2.25, rs2 - rs2)
  590.   rmsh5a.Scale = vt(2.5, 2.25, rs2 - rs2)
  591.   rwld5.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2, 0, 0.1)
  592.   rwld5a.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2, 0, -0.1)
  593.   rmsh6.Scale = vt(2.5, 2.25, rs2 - rs2)
  594.   rmsh6a.Scale = vt(2.5, 2.25, rs2 - rs2)
  595.   rwld6.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2, 0, 0.1)
  596.   rwld6a.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2, 0, -0.1)
  597.   rmsh7.Scale = vt(2.5, 2.25, rs4 - rs4)
  598.   rmsh7a.Scale = vt(2.5, 2.25, rs4 - rs4)
  599.   rwld7.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3, 0, 0.1)
  600.   rwld7a.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3, 0, -0.1)
  601.   mwld1.C0 = cf(0, 2, 0)
  602.   mwld2.C0 = cf(0, 2, 0)
  603.   for i = -1, 1, 2 do
  604.     thprt = main1
  605.     thprt2 = core1
  606.     thprt3 = upper1
  607.     thprt4 = handle4
  608.     thprt5 = handle6
  609.     thprt6 = handle8
  610.     if i == 1 then
  611.       thprt = main2
  612.       thprt2 = core2
  613.       thprt3 = upper2
  614.       thprt4 = handle5
  615.       thprt5 = handle7
  616.       thprt6 = handle9
  617.     end
  618.     prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part01", "Neon", "BlockMesh", "nil", "nil", 0.8, 7, 0.65, cf(0, 0, 0))
  619.     prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part02", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 1.05, 0.5, euler(mr(90), mr(-90), 0) * cf(-0.025, 0.75, 0))
  620.     prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part03", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 1.2, 0.25, euler(mr(-90), mr(-90), 0) * cf(-0.2, 0.675, 0))
  621.     prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part04", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 0.95, 0.5, euler(mr(90), mr(90), 0) * cf(-0.225, 0.75, 0))
  622.     for d = -1, 1, 2 do
  623.       prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part05", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 2, 0.25, euler(mr(180.04), mr(90) * d, 0) * cf(0.075 * d, -0.5, 0))
  624.       prt = AesthPart(modelzorz, thprt, 0, 0, NewCol, "Part06", "Neon", "SpecialMesh", "Wedge", "nil", 0.65, 1, 0.25, euler(mr(73), mr(-90) * d, 0) * cf(0.149 * d, -0.688, 0))
  625.     end
  626.     prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol2, "Part07", "Neon", "SpecialMesh", "Sphere", "nil", 2, 1, 0.65, euler(0, 0, 0) * cf(0, -0.025, 0))
  627.     prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part08", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.5, 0.75, euler(0, 0, 0) * cf(0, 0.025, 0))
  628.     prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part09", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.25, 0.75, euler(0, 0, 0) * cf(0, -0.05, 0))
  629.     for d = -1, 1, 2 do
  630.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part10", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1, euler(0, mr(90) * d, 0) * cf(-0.15 * d, -0.05, 0))
  631.     end
  632.     for d = -1, 1, 2 do
  633.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part11", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.75, euler(mr(180), mr(90) * d, 0) * cf(0.125 * d, 0.05, 0))
  634.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part12", "Neon", "BlockMesh", "nil", "nil", 0.75, 0.25, 0.75, euler(mr(0), mr(90) * d, 0) * cf(0.125 * d, 0, 0))
  635.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part13", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.5, euler(mr(180), mr(90) * d, 0) * cf(0.25 * d, 0, 0))
  636.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part14", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.25, 0.75, euler(mr(0), mr(0) * d, 0) * cf(0.25 * d, -0.05, 0))
  637.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part15", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.5, 0.5, euler(mr(180), mr(90) * d, 0) * cf(0.35 * d, -0.075, 0))
  638.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part16", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.75, 0.25, euler(mr(180), mr(90) * d, 0) * cf(0.425 * d, -0.2, 0))
  639.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part17", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.75, 0.25, euler(mr(0), mr(-90) * d, 0) * cf(0.425 * d, -0.35, 0))
  640.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part18", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.5, 0.75, euler(mr(0), mr(0) * d, 0) * cf(0.35 * d, -0.175, 0))
  641.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part19", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.5, 0.25, euler(mr(0), mr(-90) * d, 0) * cf(0.375 * d, -0.475, 0))
  642.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part20", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.375, 0.5, euler(mr(180), mr(-90) * d, 0) * cf(0.3 * d, -0.462, 0))
  643.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part21", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.125, 0.5, euler(mr(0), mr(90) * d, 0) * cf(0.3 * d, -0.512, 0))
  644.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part22", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1.5, euler(mr(90), mr(90) * d, 0) * cf(0.375 * d, -0.275, 0))
  645.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part23", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 1, 0.5, euler(mr(0), mr(90) * d, 0) * cf(0.35 * d, -0.325, 0))
  646.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part24", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.75, 0.5, euler(mr(0), mr(90) * d, 0) * cf(0.25 * d, -0.15, 0))
  647.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part25", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1, euler(mr(0), mr(90) * d, 0) * cf(0.1 * d, -0.05, 0))
  648.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part26", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1, euler(mr(65), mr(-90) * d, 0) * cf(0.294 * d, 0.035, 0))
  649.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part27", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.5, euler(mr(115), mr(90) * d, 0) * cf(0.217 * d, -0.012, 0))
  650.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part28", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1.25, euler(mr(155), mr(90) * d, 0) * cf(0.431 * d, -0.205, 0))
  651.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part29", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 1.25, euler(mr(25), mr(-90) * d, 0) * cf(0.498 * d, -0.229, 0))
  652.       prt = AesthPart(modelzorz, thprt2, 0, 0, NewCol, "Part30", "Neon", "SpecialMesh", "Wedge", "nil", 0.75, 0.25, 0.75, euler(mr(195), mr(90) * d, 0) * cf(0.434 * d, -0.387, 0))
  653.     end
  654.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part31", "Neon", "SpecialMesh", "Torso", "nil", 1, 3, 0.35, euler(mr(180), 0, 0) * cf(0, -0.35, 0))
  655.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part32", "Neon", "BlockMesh", "nil", "nil", 2, 7, 0.35, euler(0, 0, 0) * cf(0.1, -1.35, 0))
  656.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part33", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(180), mr(90), 0) * cf(0.15, -0.625, 0))
  657.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part34", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(0), mr(90), 0) * cf(0.05, -2.075, 0))
  658.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part35", "Neon", "BlockMesh", "nil", "nil", 1, 2, 0.35, euler(0, 0, 0) * cf(0.2, -2.25, 0))
  659.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part36", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 2, euler(mr(-90), mr(90), 0) * cf(0.275, -2.65, 0))
  660.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part37", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(-90), mr(90), 0) * cf(0.225, -3, 0))
  661.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part38", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1.5, euler(mr(-90), mr(90), 0) * cf(0.15, -3.3, 0))
  662.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part39", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1, euler(mr(-90), mr(90), 0) * cf(0.05, -3.55, 0))
  663.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part40", "Neon", "BlockMesh", "nil", "nil", 0.25, 2, 0.35, euler(0, 0, 0) * cf(0.225, -2.65, 0))
  664.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part41", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 0.35, euler(0, 0, 0) * cf(0.175, -3, 0))
  665.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part42", "Neon", "BlockMesh", "nil", "nil", 0.25, 0.75, 0.35, euler(0, 0, 0) * cf(0.075, -3.375, 0))
  666.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part43", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1, euler(mr(-90), mr(-90), 0) * cf(0.15, -2.55, 0))
  667.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part44", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 2, euler(mr(90), mr(90), 0) * cf(0.175, -2.65, 0))
  668.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part45", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(90), mr(90), 0) * cf(0.125, -3, 0))
  669.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part46", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 0.75, euler(mr(90), mr(90), 0) * cf(0.075, -3.225, 0))
  670.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part47", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 0.75, euler(mr(90), mr(90), 0) * cf(0.025, -3.375, 0))
  671.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part48", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 1, euler(mr(-90), mr(-90), 0) * cf(-0.025, -3.475, 0))
  672.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part49", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1, euler(mr(-90), mr(-90), 0) * cf(-0.1, -3.275, 0))
  673.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part50", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1.5, euler(mr(-90), mr(-90), 0) * cf(-0.15, -3.025, 0))
  674.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part51", "Neon", "BlockMesh", "nil", "nil", 0.25, 1, 0.35, euler(0, mr(0), 0) * cf(-0.15, -2.775, 0))
  675.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part52", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 0.75, euler(mr(90), mr(90), 0) * cf(-0.125, -2.6, 0))
  676.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part53", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 1.25, 1, euler(mr(90), mr(90), 0) * cf(0.05, -2.425, 0))
  677.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part54", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.5, 0.35, euler(0, mr(0), 0) * cf(-0.025, -2.575, 0))
  678.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part55", "Neon", "BlockMesh", "nil", "nil", 0.25, 0.75, 0.35, euler(0, mr(0), 0) * cf(-0.1, -3.1, 0))
  679.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part56", "Neon", "BlockMesh", "nil", "nil", 0.25, 0.75, 0.35, euler(0, mr(0), 0) * cf(-0.05, -3.3, 0))
  680.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part57", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 1.25, 0.5, euler(mr(-90), mr(90), 0) * cf(0.15, -2.575, 0))
  681.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part58", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 0.25, euler(mr(-90), mr(90), 0) * cf(-0.025, -2.65, 0))
  682.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part59", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.5, 2, euler(mr(-90), mr(90), 0) * cf(-0.075, -2.85, 0))
  683.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part60", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 2, euler(mr(90), mr(-90), 0) * cf(-0.1, -2.825, 0))
  684.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part61", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 1, euler(mr(90), mr(-90), 0) * cf(-0.05, -3.125, 0))
  685.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part62", "Neon", "SpecialMesh", "Wedge", "nil", 0.35, 0.25, 0.75, euler(mr(90), mr(-90), 0) * cf(0, -3.3, 0))
  686.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part63", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.75, 0.25, euler(0, mr(0), mr(90)) * cf(0.05, -2.75, 0))
  687.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part64", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.75, 0.25, euler(0, mr(0), mr(90)) * cf(0.05, -2.925, 0))
  688.     prt = AesthPart(modelzorz, thprt3, 0, 0, NewCol, "Part65", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 0.25, euler(0, mr(0), mr(90)) * cf(0.05, -3.1, 0))
  689.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part01", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(2.55, 0, -0.175 * i))
  690.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part02", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(1.8, 0, -0.175 * i))
  691.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part03", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(1.05, 0, -0.175 * i))
  692.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part04", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(0.25, 0, -0.175 * i))
  693.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part05", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(-0.5, 0, -0.175 * i))
  694.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part06", "Neon", "BlockMesh", "nil", "nil", 1.75, 2.5, 0.25, euler(0, mr(90), 0) * cf(-1.25, 0, -0.175 * i))
  695.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part07", "Neon", "BlockMesh", "nil", "nil", 25, 3, 1, euler(0, 0, 0) * cf(0.65, 0, -0.45 * i))
  696.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part08", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.5, 5, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(2.65, 0, -0.6 * i))
  697.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part09", "Neon", "BlockMesh", "nil", "nil", 15, 3, 0.5, euler(0, 0, 0) * cf(0.65, 0, -0.6 * i))
  698.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part10", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.5, 5, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-1.35, 0, -0.6 * i))
  699.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part11", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(1.65, 0, -0.675 * i))
  700.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part12", "Neon", "BlockMesh", "nil", "nil", 5, 3, 0.25, euler(0, 0, 0) * cf(0.65, 0, -0.675 * i))
  701.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part13", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-0.35, 0, -0.675 * i))
  702.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part14", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(1.65, 0, -0.325 * i))
  703.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part15", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.75, 5, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(2.65, 0, -0.225 * i))
  704.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part16", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1.5, 2.5, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(2.9, 0, -0.15 * i))
  705.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part17", "Neon", "BlockMesh", "nil", "nil", 5, 3, 0.25, euler(0, 0, 0) * cf(2.65, 0, -0.325 * i))
  706.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part18", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.75, 5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.35, 0, -0.225 * i))
  707.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part19", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.25, 5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-0.35, 0, -0.325 * i))
  708.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part20", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1.5, 2.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.6, 0, -0.15 * i))
  709.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part21", "Neon", "BlockMesh", "nil", "nil", 5, 3, 0.25, euler(0, 0, 0) * cf(-1.35, 0, -0.325 * i))
  710.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part22", "Neon", "BlockMesh", "nil", "nil", 3, 1.05, 1.05, euler(mr(45), 0, mr(90)) * cf(3.15, 0, -0.15 * i))
  711.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part23", "Neon", "CylinderMesh", "nil", "nil", 1.5, 3, 1.5, euler(0, 0, 0) * cf(3.05, 0, -0.5 * i))
  712.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part24", "Neon", "BlockMesh", "nil", "nil", 1.25, 3, 1.25, euler(0, 0, 0) * cf(3.175, 0, -0.525 * i))
  713.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part25", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1.25, 1.25, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(3.425, 0, -0.525 * i))
  714.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part26", "Neon", "CylinderMesh", "nil", "nil", 5.5, 3, 0.5, euler(mr(90), 0, 0) * cf(2.925, 0, -0.8 * i))
  715.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part27", "Neon", "CylinderMesh", "nil", "nil", 5.5, 0.5, 0.5, euler(mr(90), 0, 0) * euler(0, mr(-45) * i, 0) * cf(2.89, 0, -1.135 * i))
  716.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part28", "Neon", "CylinderMesh", "nil", "nil", 5.5, 1.5, 0.5, euler(mr(90), 0, 0) * euler(0, mr(-90), 0) * cf(2.725, 0, -1.15 * i))
  717.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part29", "Neon", "BlockMesh", "nil", "nil", 3, 1.75, 1, euler(mr(90), 0, mr(90)) * cf(-1.95, 0, -0.175 * i))
  718.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part30", "Neon", "SpecialMesh", "Wedge", "nil", 3, 1, 1, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-1.95, 0, -0.45 * i))
  719.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part31", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.375, 0, -0.7 * i))
  720.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part32", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 1.5, euler(0, mr(90), 0) * cf(-1.55, 0, -0.7 * i))
  721.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part33", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 2.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(-90) * i, 0) * cf(-1.65, 0, -0.7 * i))
  722.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part34", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 1.5, euler(0, mr(90), 0) * cf(-1.55, 0, -0.825 * i))
  723.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part35", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.375, 0, -0.825 * i))
  724.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part36", "Neon", "BlockMesh", "nil", "nil", 0.25, 1.5, 1.5, euler(0, mr(90), 0) * cf(-1.65, 0, -0.95 * i))
  725.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part37", "Neon", "SpecialMesh", "Torso", "nil", 2.5, 1, 1.5, euler(mr(90), mr(90), 0) * cf(-1.8, 0, -0.725 * i))
  726.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part38", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.475, 0, -0.95 * i))
  727.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part39", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(-1.6, 0, -1.2 * i))
  728.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part40", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 1.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(-90) * i, 0) * cf(-1.75, 0, -1.1 * i))
  729.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part41", "Neon", "SpecialMesh", "Torso", "nil", 2.5, 1, 1.5, euler(mr(90), mr(90), 0) * cf(-1.9, 0, -1.05 * i))
  730.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part42", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 1, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * euler(0, mr(-150) * i, 0) * cf(-2.034, 0, -1.221 * i))
  731.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part43", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.25, 0.25, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * cf(-1.775, 0, -1.275 * i))
  732.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part44", "Neon", "BlockMesh", "nil", "nil", 0.5, 0.75, 1.5, euler(mr(90), mr(90), 0) * cf(-1.725, 0, -1.2 * i))
  733.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part45", "Neon", "SpecialMesh", "Wedge", "nil", 1.5, 0.5, 3, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * euler(0, mr(55) * i, 0) * cf(-2.387, 0, -0.631 * i))
  734.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part46", "Neon", "BlockMesh", "nil", "nil", 1.5, 0.5, 2.5, euler(mr(90), 0, mr(90)) * cf(-2, 0, -0.4 * i))
  735.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part47", "Neon", "BlockMesh", "nil", "nil", 3, 0.75, 1.25, euler(mr(90), 0, mr(90)) * cf(-2.175, 0, -0.225 * i))
  736.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part48", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.75, 0.75, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-2.375, 0, -0.225 * i))
  737.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part49", "Neon", "BlockMesh", "nil", "nil", 3, 0.5, 2.5, euler(mr(90), 0, mr(90)) * cf(-2.3, 0, -0.05 * i))
  738.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part50", "Neon", "SpecialMesh", "Wedge", "nil", 3, 0.5, 0.5, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(-2.6, 0, -0.05 * i))
  739.     prt = AesthPart(model2, thprt4, 0, 0, NewCol3, "Part51", "Neon", "BlockMesh", "nil", "nil", 3, 0.25, 0.5, euler(0, 0, mr(90)) * cf(-2.125, 0, -0.15 * i))
  740.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part52", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.75, 0.75, euler(0, mr(90), 0) * euler(mr(-90) * i, 0, 0) * cf(0, 0, 0))
  741.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part53", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.25, 0.25, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(-45) * i, 0) * cf(0.212, 0, 0.212 * i))
  742.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part54", "Neon", "BlockMesh", "nil", "nil", 1, 0.255, 0.5, euler(0, 0, mr(90)) * euler(0, mr(-45) * i, 0) * cf(0.088, 0, 0.053 * i))
  743.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part55", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.2, 0.2, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(45) * i, 0) * cf(0.141, 0, -0.038 * i))
  744.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part56", "Neon", "SpecialMesh", "Wedge", "nil", 1, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(-90) * i, 0, 0) * euler(0, mr(45) * i, 0) * cf(0.141, 0, 0))
  745.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part57", "Neon", "CylinderMesh", "nil", "nil", 0.7, 1, 0.7, euler(0, 0, 0) * cf(0, 0, 0))
  746.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part58", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * euler(0, mr(45) * i, 0) * cf(-0.029, 0, 0.026 * i))
  747.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part59", "Neon", "BlockMesh", "nil", "nil", 1, 1, 0.25, euler(0, mr(45) * i, 0) * cf(0.124, 0, 0.124 * i))
  748.     prt = AesthPart(model2, thprt5, 0, 0, NewCol3, "Part60", "Neon", "BlockMesh", "nil", "nil", 1, 0.75, 0.2, euler(0, 0, mr(90)) * cf(0.216, 0, -0.05 * i))
  749.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part61", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.5, 0.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(0, 0, 0.1 * i))
  750.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part62", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.4, 0.4, euler(0, mr(90), 0) * euler(mr(90) * i, 0, 0) * cf(0.15, 0, 0))
  751.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part63", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.4, 0.4, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(0.325, 0, 0))
  752.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part64", "Neon", "SpecialMesh", "Wedge", "nil", 0.5, 0.225, 1.5, euler(0, mr(-90), 0) * euler(mr(90) * i, 0, 0) * cf(0.475, 0, -0.038 * i))
  753.     prt = AesthPart(model2, thprt6, 0, 0, NewCol3, "Part65", "Neon", "BlockMesh", "nil", "nil", 0.5, 1.5, 0.1, euler(0, 0, mr(90)) * cf(0.175, 0, -0.05 * i))
  754.   end
  755.   for _,c in pairs(modelzorz:children()) do
  756.     table.insert(Weapon, c)
  757.     table.insert(Saber, c)
  758.   end
  759.   for _,c in pairs(model2:children()) do
  760.     table.insert(Weapon, c)
  761.     table.insert(Buster, c)
  762.   end
  763.   for _,c in pairs(model3:children()) do
  764.     c.Transparency = 1
  765.   end
  766.   rmwld1.C0 = cf(0, 0, 0)
  767.   rmwld1a.C0 = cf(0, 0, 0)
  768.   for _,c in pairs(handle:children()) do
  769.     if c.className == "Motor" then
  770.       table.insert(Welds, c)
  771.     end
  772.   end
  773.   local hitbox = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt())
  774.   hitbox.Anchored = true
  775.   local hitboxCF = cf(0, 0, 0)
  776.   sizeseq = ns({nsk(0, 0.3), nsk(0.25, 1), nsk(0.6, 0.2), nsk(1, 0)})
  777.   transseq = ns({nsk(0, 0), nsk(0.8, 0.5), nsk(1, 1)})
  778.   local starsparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 0.5, sizeseq, "http://www.roblox.com/asset/?id=146120327", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 40, nr(-360, 360), nr(-200, 200), nr(8), 180)
  779.   starsparti.Parent = Torso
  780.   sizeseq = ns({nsk(0, 1), nsk(0.7, 6), nsk(1, 7)})
  781.   transseq = ns({nsk(0, 0), nsk(1, 1)})
  782.   local lparti1 = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=243098098", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(0.2, 0.2), 500, nr(-360, 360), nr(0, 0), nr(0), 0)
  783.   lparti1.Parent = Torso
  784.   sizeseq = ns({nsk(0, 0.5), nsk(1, 0.5)})
  785.   transseq = ns({nsk(0, 0), nsk(1, 1)})
  786.   local sparti = particle(Torso, Color3.new(1, 0, 0), Color3.new(0.3921568627451, 0.3921568627451, 1), 1, sizeseq, "http://www.roblox.com/asset/?id=82057200", transseq, 0, vt(0, 0, 0), 0, false, 0, "Top", false, nr(1, 1), 50, nr(-360, 360), nr(400, 500), nr(5), 180)
  787.   sparti.Parent = Torso
  788.   local effects = it("Model", modelzorz)
  789.   effects.Name = "Effects"
  790.   hboxpos = Instance.new("BodyPosition", nil)
  791.   hboxpos.P = 2000
  792.   hboxpos.D = 100
  793.   hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  794.     Tool = Instance.new("HopperBin")
  795.     Tool.Parent = Backpack
  796.     Tool.Name = "Dreamer"
  797.     Bin = Tool
  798.   local bodvel = Instance.new("BodyVelocity")
  799.   local bg = Instance.new("BodyGyro")
  800.   so = function(id, par, vol, pit)
  801.   local sou = Instance.new("Sound", par or workspace)
  802.   sou.Volume = vol
  803.   sou.Pitch = pit or 1
  804.   sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  805.   coroutine.resume(coroutine.create(function(Sound)
  806.     swait()
  807.     Sound:play()
  808.   end
  809. ), sou)
  810.   game:GetService("Debris"):AddItem(sou, 6)
  811. end
  812.  
  813. for i,v in pairs(Character:children()) do
  814.     if v.Name=="Glaciem" then
  815.         v:Destroy()
  816.     end
  817. end
  818.  
  819. for i,v in pairs(Backpack:children()) do
  820.     if v.Name=="Glaciem" then
  821.         v:Destroy()
  822.     end
  823. end
  824.  
  825. function clerp(a,b,t)
  826. local qa = {QuaternionFromCFrame(a)}
  827. local qb = {QuaternionFromCFrame(b)}
  828. local ax, ay, az = a.x, a.y, a.z
  829. local bx, by, bz = b.x, b.y, b.z
  830. local _t = 1-t
  831. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  832. end
  833.  
  834. function QuaternionFromCFrame(cf)
  835. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  836. local trace = m00 + m11 + m22
  837. if trace > 0 then
  838. local s = math.sqrt(1 + trace)
  839. local recip = 0.5/s
  840. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  841. else
  842. local i = 0
  843. if m11 > m00 then
  844. i = 1
  845. end
  846. if m22 > (i == 0 and m00 or m11) then
  847. i = 2
  848. end
  849. if i == 0 then
  850. local s = math.sqrt(m00-m11-m22+1)
  851. local recip = 0.5/s
  852. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  853. elseif i == 1 then
  854. local s = math.sqrt(m11-m22-m00+1)
  855. local recip = 0.5/s
  856. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  857. elseif i == 2 then
  858. local s = math.sqrt(m22-m00-m11+1)
  859. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  860. end
  861. end
  862. end
  863.  
  864. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  865. local xs, ys, zs = x + x, y + y, z + z
  866. local wx, wy, wz = w*xs, w*ys, w*zs
  867. local xx = x*xs
  868. local xy = x*ys
  869. local xz = x*zs
  870. local yy = y*ys
  871. local yz = y*zs
  872. local zz = z*zs
  873. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  874. end
  875.  
  876. function QuaternionSlerp(a, b, t)
  877. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  878. local startInterp, finishInterp;
  879. if cosTheta >= 0.0001 then
  880. if (1 - cosTheta) > 0.0001 then
  881. local theta = math.acos(cosTheta)
  882. local invSinTheta = 1/math.sin(theta)
  883. startInterp = math.sin((1-t)*theta)*invSinTheta
  884. finishInterp = math.sin(t*theta)*invSinTheta  
  885. else
  886. startInterp = 1-t
  887. finishInterp = t
  888. end
  889. else
  890. if (1+cosTheta) > 0.0001 then
  891. local theta = math.acos(-cosTheta)
  892. local invSinTheta = 1/math.sin(theta)
  893. startInterp = math.sin((t-1)*theta)*invSinTheta
  894. finishInterp = math.sin(t*theta)*invSinTheta
  895. else
  896. startInterp = t-1
  897. finishInterp = t
  898. end
  899. end
  900. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  901. end
  902.  
  903.   hideanim = function()
  904.   equipped = false
  905.   if Mode == "Sabers" then
  906.     UnSword()
  907.   end
  908.   for i = 0, 1, 0.1 do
  909.     swait()
  910.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0), 0.4)
  911.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.4)
  912.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  913.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  914.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  915.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  916.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0), 0.3)
  917.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0), 0.3)
  918.   end
  919.   mdec2.Parent = nil
  920.   mdec.Parent = Decrease
  921.   Humanoid.JumpPower = 50
  922. end
  923.  
  924.   mdec.Parent = Decrease
  925.   equipanim = function()
  926.   equipped = true
  927.   floating = false
  928.   Humanoid.JumpPower = 60
  929.   local dec = Instance.new("NumberValue", Decrease)
  930.   dec.Name = "DecreaseMvmt"
  931.   dec.Value = 10
  932.   so("341336144", LeftArm, 1, 1)
  933.   so("341336144", RightArm, 1, 1)
  934.   rara = 4
  935.   local col = 1
  936.   local colnum = 0
  937.   for i = 0, 1, 0.1 do
  938.     swait()
  939.     colnum = colnum + 1
  940.  
  941.     if #Neons - 1 < col and (colnum) % 2 == 0 then
  942.       col = 1
  943.     end
  944.     if (colnum) % 2 == 0 then
  945.       col = col + 1
  946.     end
  947.     MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  948.     MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  949.     rara = rara + 1
  950.     if rara % 6 == 0 then
  951.       hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  952.       if hitfloor2 ~= nil then
  953.         MagicWave(BrickColor.new("Institutional white"), cf(posfloor2), 1, 2, 1, 1, -0.1, 1, 0.1)
  954.       end
  955.     end
  956.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.3, 0, 0), 0.3)
  957.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1) * euler(-0.05, 0, 0), 0.1)
  958.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0.2, 0, 0.4) * euler(0, -1.57, 0), 0.3)
  959.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.2, 0, -0.4) * euler(0, 1.57, 0), 0.3)
  960.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.05, 0, 0.1), 0.3)
  961.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.05, 0, -0.05), 0.3)
  962.   end
  963.   for i = 0, 1, 0.1 do
  964.     swait()
  965.     colnum = colnum + 1
  966.  
  967.     if #Neons - 1 < col and (colnum) % 2 == 0 then
  968.       col = 1
  969.     end
  970.     if (colnum) % 2 == 0 then
  971.       col = col + 1
  972.     end
  973.     MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  974.     MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  975.     rara = rara + 1
  976.     if rara % 6 == 0 then
  977.       hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  978.       if hitfloor2 ~= nil then
  979.         MagicWave(BrickColor.new("Institutional white"), cf(posfloor2), 1, 2, 1, 1, -0.1, 1, 0.1)
  980.       end
  981.     end
  982.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.4, 0, 0), 0.3)
  983.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.2) * euler(-0.05, 0, 0), 0.1)
  984.     RW.C0 = clerp(RW.C0, cf(1.2, 0.7, -0.4) * euler(2.9, 0, 0) * euler(0, 0, -0.5) * euler(0, 1.5, 0), 0.25)
  985.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.7, -0.4) * euler(2.9, 0, 0) * euler(0, 0, 0.5) * euler(0, -1.5, 0), 0.25)
  986.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.05, 0, 0.1), 0.3)
  987.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.05, 0, -0.05), 0.3)
  988.   end
  989.   mdec.Parent = nil
  990.   mdec2.Parent = Decrease
  991.   hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  992.   if hitfloor2 ~= nil then
  993.     MagicWave(BrickColor.new("Institutional white"), cf(posfloor2), 4, 2, 4, 0.7, -0.08, 0.7, 0.05)
  994.   end
  995.   MagicCircle(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  996.   MagicCircle(Neons[col], RightArm.CFrame * cf(0, -1, 0), 10, 10, 10, 4, 4, 4, 0.1, 1)
  997.   so("341336138", LeftArm, 1, 1)
  998.   so("341336138", RightArm, 1, 1)
  999.   so("341336243", LeftArm, 1, 1)
  1000.   so("341336243", RightArm, 1, 1)
  1001.   for i = 0, 1, 0.1 do
  1002.     swait()
  1003.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.4)
  1004.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.4) * euler(-0.05, 0, 0), 0.2)
  1005.     if i < 0.3 then
  1006.       RW.C0 = clerp(RW.C0, cf(1, 0.5, 0.3) * euler(-0.2, 0, 1) * euler(0, -1.5, 0), 0.4)
  1007.       LW.C0 = clerp(LW.C0, cf(-1, 0.5, 0.3) * euler(-0.2, 0, -1) * euler(0, 1.5, 0), 0.4)
  1008.     else
  1009.       RW.C0 = clerp(RW.C0, cf(1, 0.5, 0.3) * euler(0.4, 0, 0.4) * euler(0, -1.5, 0), 0.2)
  1010.       LW.C0 = clerp(LW.C0, cf(-1, 0.5, 0.3) * euler(0.4, 0, -0.4) * euler(0, 1.5, 0), 0.2)
  1011.     end
  1012.     RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.4)
  1013.     LH.C0 = clerp(LH.C0, cf(-0.95, -0.9, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.05), 0.4)
  1014.   end
  1015.   dec.Parent = nil
  1016.   floating = true
  1017. end
  1018.  
  1019.   StaggerAnim = function()
  1020.   attack = true
  1021.   removeControl()
  1022.   local dosaber = false
  1023.   if Mode == "Sabers" then
  1024.     dosaber = true
  1025.   end
  1026.   Mode = "Stagger"
  1027.   for i = 1, math.random(2, 4) do
  1028.     ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  1029.   end
  1030.   for i = 0, 1, 0.35 do
  1031.     swait()
  1032.     if dosaber == true then
  1033.       for d = 1, #Saber do
  1034.         Saber[d].Transparency = i
  1035.       end
  1036.     end
  1037.     do
  1038.       do
  1039.         Torso.Velocity = RootPart.CFrame.lookVector * -40
  1040.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  1041.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  1042.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  1043.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1044.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  1045.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1046.         RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  1047.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1048.  
  1049.       end
  1050.     end
  1051.   end
  1052.   if dosaber == true then
  1053.     for d = 1, #Saber do
  1054.       Saber[d].Transparency = 1
  1055.     end
  1056.     handlewld.Part1 = Torso
  1057.     handlewld2.Part1 = Torso
  1058.     handlewld.C0 = euler(0, 3.14, -2.6) * cf(0, 0, -0.6)
  1059.     handlewld2.C0 = euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6)
  1060.     mwld1.C0 = cf(0, 2, 0)
  1061.     mwld2.C0 = cf(0, 2, 0)
  1062.     floating = true
  1063.   end
  1064.   for i = 1, 0, -0.2 do
  1065.     swait()
  1066.     if dosaber == true then
  1067.       for d = 1, #Saber do
  1068.         Saber[d].Transparency = i
  1069.       end
  1070.     end
  1071.     do
  1072.       do
  1073.         Torso.Velocity = RootPart.CFrame.lookVector * -40
  1074.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  1075.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  1076.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  1077.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1078.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  1079.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1080.         RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  1081.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  1082.  
  1083.       end
  1084.     end
  1085.   end
  1086.   for d = 1, #Saber do
  1087.     Saber[d].Transparency = 0
  1088.   end
  1089.   for i = 0, 1, 0.1 do
  1090.     swait()
  1091.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  1092.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  1093.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
  1094.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1095.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  1096.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1097.     RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  1098.     LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1099.   end
  1100.   for i = 1, 40 do
  1101.     swait()
  1102.     if StunT.Value <= Stun.Value then
  1103.       break
  1104.     end
  1105.   end
  1106.   do
  1107.     Mode = "Normal"
  1108.     resumeControl()
  1109.     combo = 0
  1110.     attack = false
  1111.   end
  1112. end
  1113.  
  1114.   StaggerHitt = function()
  1115.   attack = true
  1116.   for i = 1, math.random(2, 4) do
  1117.     ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  1118.   end
  1119.   for i = 0, 1, 0.1 do
  1120.     swait()
  1121.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3)
  1122.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3)
  1123.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
  1124.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1125.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  1126.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1127.     RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  1128.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  1129.   end
  1130.   attack = false
  1131. end
  1132.  
  1133.   StunAnim = function()
  1134.   attack = true
  1135.   removeControl()
  1136.   Stunned.Value = true
  1137.   showDamage(Character, "Stunned", "Interrupt")
  1138.   local dec = Instance.new("NumberValue", Decrease)
  1139.   dec.Name = "DecreaseMvmt"
  1140.   dec.Value = 10
  1141.   for i = 0, 1, 0.3 do
  1142.     swait()
  1143.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  1144.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  1145.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  1146.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1147.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  1148.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1149.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  1150.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  1151.   end
  1152.   for i = 0, 1, 0.3 do
  1153.     swait()
  1154.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  1155.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  1156.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  1157.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1158.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
  1159.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1160.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  1161.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  1162.   end
  1163.   for i = 0, 1, 0.3 do
  1164.     swait()
  1165.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  1166.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  1167.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  1168.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1169.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  1170.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  1171.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  1172.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  1173.   end
  1174.   local gairost = Instance.new("BodyGyro")
  1175.   gairost.Parent = RootPart
  1176.   gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  1177.   gairost.P = 20000
  1178.   gairost.cframe = cf(0, 0, 0)
  1179.   for i = 0, 1, 0.1 do
  1180.     swait()
  1181.     if hitfloor ~= nil then
  1182.       Torso.Velocity = vt(0, 0, 0)
  1183.     end
  1184.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  1185.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  1186.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  1187.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1188.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  1189.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1190.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  1191.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  1192.   end
  1193.   for i = 1, 70 do
  1194.     swait()
  1195.     gairost.cframe = RootPart.CFrame
  1196.     if hitfloor ~= nil then
  1197.       Torso.Velocity = vt(0, 0, 0)
  1198.     end
  1199.   end
  1200.   for i = 0, 1, 0.2 do
  1201.     swait()
  1202.     Stun.Value = 0
  1203.     gairost.cframe = RootPart.CFrame
  1204.     Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  1205.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  1206.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  1207.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1208.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  1209.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1210.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  1211.     LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  1212.   end
  1213.   resumeControl()
  1214.   gairost.Parent = nil
  1215.   dec.Parent = nil
  1216.   Stun.Value = 0
  1217.   combo = 0
  1218.   Stunned.Value = false
  1219.   attack = false
  1220.   for i = 1, 10 do
  1221.     swait()
  1222.     Stun.Value = 0
  1223.   end
  1224. end
  1225.  
  1226.   UnSword = function()
  1227.   combo = 0
  1228.   for i = 0, 1, 0.1 do
  1229.     swait()
  1230.     mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1231.     mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1232.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.5)
  1233.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.4) * euler(0.2, 0, 0), 0.5)
  1234.     RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.1) * euler(1.4, 0, 0.7) * euler(0, 1.3, 0), 0.5)
  1235.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.8, 0, -0.8) * euler(0, -1.5, 0), 0.5)
  1236.     RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1), 0.5)
  1237.     LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.15), 0.5)
  1238.     for d = 1, #Saber do
  1239.       Saber[d].Transparency = i
  1240.     end
  1241.   end
  1242.   for d = 1, #Saber do
  1243.     Saber[d].Transparency = 1
  1244.   end
  1245.   handlewld.Part1 = Torso
  1246.   handlewld2.Part1 = Torso
  1247.   handlewld.C0 = euler(0, 3.14, -2.6) * cf(0, 0, -0.6)
  1248.   handlewld2.C0 = euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6)
  1249.   mwld1.C0 = cf(0, 2, 0)
  1250.   mwld2.C0 = cf(0, 2, 0)
  1251.   floating = true
  1252.   Mode = "Normal"
  1253.   for i = 1, 0, -0.2 do
  1254.     swait()
  1255.     for d = 1, #Saber do
  1256.       Saber[d].Transparency = i
  1257.     end
  1258.   end
  1259.   for d = 1, #Saber do
  1260.     Saber[d].Transparency = 0
  1261.   end
  1262. end
  1263.  
  1264.   attackone = function()
  1265.   floating = false
  1266.   Mode = "Sabers"
  1267.   for i = 0, 1, 0.3 do
  1268.     swait()
  1269.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.3)
  1270.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 0.6), 0.3)
  1271.     RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 1.2) * euler(0, 0, 0), 0.3)
  1272.     LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -1.6) * euler(0, 2, 0), 0.3)
  1273.     RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.3)
  1274.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  1275.     for d = 1, #Saber do
  1276.       Saber[d].Transparency = i
  1277.     end
  1278.   end
  1279.   for d = 1, #Saber do
  1280.     Saber[d].Transparency = 1
  1281.   end
  1282.   handlewld.Part1 = LeftArm
  1283.   handlewld2.Part1 = RightArm
  1284.   handlewld.C0 = euler(0, 0, -1.57) * euler(0, 1.57, 0) * cf(0, 1, 0)
  1285.   handlewld2.C0 = euler(0, 0, -1.57) * euler(0, 1.57, 0) * cf(0, 1, 0)
  1286.   mwld1.C0 = cf(0, 0, 0)
  1287.   mwld2.C0 = cf(0, 0, 0)
  1288.   so("341336274", main1, 0.6, 1.2)
  1289.   so("341336274", main2, 0.6, 1.2)
  1290.   for i = 1, 0, -0.3 do
  1291.     swait()
  1292.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.3)
  1293.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 0.6), 0.3)
  1294.     RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 1.2) * euler(0, 0, 0), 0.3)
  1295.     LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -1.6) * euler(0, 2, 0), 0.3)
  1296.     RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.3)
  1297.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  1298.     for d = 1, #Saber do
  1299.       Saber[d].Transparency = i
  1300.     end
  1301.   end
  1302.   for d = 1, #Saber do
  1303.     Saber[d].Transparency = 0
  1304.   end
  1305.   hitbox.Parent = modelzorz
  1306.   hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1307.   teh = math.random(-30, 30) / 100
  1308.   so("341336307", main1, 0.6, 1.4 + teh)
  1309.   so("341336485", main1, 0.6, 1 + teh)
  1310.   for i = 0, 1, 0.12 do
  1311.     swait()
  1312.     hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1313.     MagniDamage(hitbox, 3, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1314.     mwld1.C0 = clerp(mwld1.C0, cf(0, 0.2, 0) * euler(0, 0, -1), 0.4)
  1315.     mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0.5), 0.4)
  1316.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.2, 0, 0), 0.4)
  1317.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, -0.8), 0.4)
  1318.     RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(2.5, 0, 0.6) * euler(0, -1, 0), 0.4)
  1319.     LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(0.4, 0, -1.6) * euler(0, 2.5, 0) * euler(-2.5, 0, 0), 0.4)
  1320.     RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.1, 0, -0.1), 0.4)
  1321.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0.1) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(-0.1, 0, 0.05), 0.4)
  1322.     if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1323.       do
  1324.         if StaggerHit.Value == true then
  1325.           break
  1326.         end
  1327.       end
  1328.     end
  1329.   end
  1330.   if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1331.       teh = math.random(-30, 30) / 100
  1332.       so("341336307", main2, 0.6, 1.4 + teh)
  1333.       so("341336485", main2, 0.6, 1 + teh)
  1334.       for i = 0, 1, 0.12 do
  1335.         swait()
  1336.         hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1337.         MagniDamage(hitbox, 3, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1338.         mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1339.         mwld2.C0 = clerp(mwld2.C0, cf(0, 0.3, 0) * euler(0, 0, -0.5), 0.4)
  1340.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.6) * euler(0.2, 0, 0), 0.4)
  1341.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0.1, 0, 0) * euler(0, 0, 0.6), 0.4)
  1342.         RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(2.5, 0, 0.6) * euler(0, 0.2, 0) * euler(-2, 0, 0), 0.4)
  1343.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4, 0, -0.6) * euler(0, 0.4, 0), 0.4)
  1344.         RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.4)
  1345.         LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.4)
  1346.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1347.           do
  1348.             if StaggerHit.Value == true then
  1349.               break
  1350.             end
  1351.           end
  1352.         end
  1353.       end
  1354.       hitbox.Parent = nil
  1355.     end
  1356. end
  1357.  
  1358.   attacktwo = function()
  1359.   for i = 0, 1, 0.15 do
  1360.     swait()
  1361.     mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1362.     mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1363.     Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, -0.6) * euler(0.1, 0, 0), 0.4)
  1364.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0.6) * euler(0.2, 0, 0), 0.4)
  1365.     RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.1) * euler(0.6, 0, 0.7) * euler(0, 1, 0) * euler(0.4, 0, 0), 0.4)
  1366.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1, 0, -0.8) * euler(0, 2, 0), 0.4)
  1367.     RH.C0 = clerp(RH.C0, cf(0.9, -0.7, 0.2) * euler(0, 1.57, 0) * euler(0, -0.6, 0) * euler(0, 0, 0.1), 0.4)
  1368.     LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.2, 0, 0.15), 0.4)
  1369.     if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1370.       do
  1371.         if StaggerHit.Value == true then
  1372.           break
  1373.         end
  1374.       end
  1375.     end
  1376.   end
  1377.   if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1378.       hitbox.Parent = modelzorz
  1379.       hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1380.       teh = math.random(-30, 30) / 100
  1381.       so("341336307", main1, 0.6, 1.4 + teh)
  1382.       so("341336485", main1, 0.6, 1 + teh)
  1383.       for i = 0, 1, 0.12 do
  1384.         swait()
  1385.         hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1386.         MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1387.         mwld1.C0 = clerp(mwld1.C0, cf(0, 0.3, 0) * euler(0, 0, -0.4), 0.4)
  1388.         mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1389.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.1, 0, 0), 0.4)
  1390.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.8) * euler(0.2, 0, 0), 0.4)
  1391.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57) * euler(0, -1, 0) * euler(0, 0, 0), 0.4)
  1392.         LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(1, 0, -0.8) * euler(0, 2.5, 0) * euler(-2, 0, 0), 0.4)
  1393.         RH.C0 = clerp(RH.C0, cf(1, -0.8, -0.4) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.3), 0.4)
  1394.         LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, 0.2) * euler(0, -1.57, 0) * euler(0, 0.8, 0) * euler(0.1, 0, -0.15), 0.4)
  1395.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1396.           do
  1397.             if StaggerHit.Value == true then
  1398.               break
  1399.             end
  1400.           end
  1401.         end
  1402.       end
  1403.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1404.           teh = math.random(-30, 30) / 100
  1405.           so("341336307", main2, 0.6, 1.4 + teh)
  1406.           so("341336485", main2, 0.6, 1 + teh)
  1407.           for i = 0, 1, 0.12 do
  1408.             swait()
  1409.             hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1410.             MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1411.             mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.4)
  1412.             mwld2.C0 = clerp(mwld2.C0, cf(0, 0.3, 0) * euler(0, 0, -0.4), 0.4)
  1413.             Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1) * euler(0.1, 0, 0), 0.4)
  1414.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 1) * euler(0, 0, 0), 0.4)
  1415.             RW.C0 = clerp(RW.C0, cf(1, 0.5, -0.5) * euler(1.57, 0, 1.57) * euler(0, -1.5, 0) * euler(-2, 0, 0), 0.4)
  1416.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.8) * euler(0, -0.2, 0) * euler(0, 0, 0), 0.4)
  1417.             RH.C0 = clerp(RH.C0, cf(0.8, -0.7, 0.3) * euler(0, 1.57, 0) * euler(0, -1, 0) * euler(0, 0, 0.1), 0.4)
  1418.             LH.C0 = clerp(LH.C0, cf(-1, -0.7, -0.4) * euler(0, -1.57, 0) * euler(0, -0.6, 0) * euler(-0.2, 0, 0.3), 0.4)
  1419.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1420.               do
  1421.                 if StaggerHit.Value == true then
  1422.                   break
  1423.                 end
  1424.               end
  1425.             end
  1426.           end
  1427.           hitbox.Parent = nil
  1428.         end
  1429.       end
  1430. end
  1431.  
  1432.   attackthree = function()
  1433.   for i = 0, 1, 0.15 do
  1434.     swait()
  1435.     mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1436.     mwld2.C0 = clerp(mwld2.C0, cf(0, 0.1, 0) * euler(0, 0, 0.4), 0.5)
  1437.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.1) * euler(0.5, 0, 0), 0.5)
  1438.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, 0.8) * euler(0, 0, 0.1) * euler(-0.2, 0, 0), 0.5)
  1439.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, -0.1, 0) * euler(2.8, 0, 0), 0.5)
  1440.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0.6, 0, -0.7) * euler(0, 0.5, 0) * euler(0, 0, 0.6), 0.5)
  1441.     RH.C0 = clerp(RH.C0, cf(1.1, -0.7, -0.2) * euler(0, 1.57, 0) * euler(0, -0.1, 0) * euler(-0.05, 0, 0.15), 0.5)
  1442.     LH.C0 = clerp(LH.C0, cf(-0.95, -0.7, -0.1) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.1), 0.5)
  1443.     if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1444.       do
  1445.         if StaggerHit.Value == true then
  1446.           break
  1447.         end
  1448.       end
  1449.     end
  1450.   end
  1451.   if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1452.       hitbox.Parent = modelzorz
  1453.       hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1454.       teh = math.random(-30, 30) / 100
  1455.       so("341336307", main2, 0.6, 1.4 + teh)
  1456.       so("341336485", main2, 0.6, 1 + teh)
  1457.       for i = 0, 1, 0.12 do
  1458.         swait()
  1459.         hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1460.         MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1461.         mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1462.         mwld2.C0 = clerp(mwld2.C0, cf(0, 0.2, 0) * euler(0, 0, -0.4), 0.5)
  1463.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.1) * euler(0.2, 0, 0), 0.5)
  1464.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1.5, -0.8) * euler(0, 0, 0.1) * euler(0.2, 0, 0), 0.5)
  1465.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, -0.1, 0) * euler(0.3, 0, 0), 0.5)
  1466.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 1.7, 0), 0.5)
  1467.         RH.C0 = clerp(RH.C0, cf(1.1, -0.2, -0.2) * euler(0, 1.57, 0) * euler(0, -0.1, 0) * euler(-0.05, 0, -0.1), 0.5)
  1468.         LH.C0 = clerp(LH.C0, cf(-0.95, -0.5, -0.6) * euler(0, -1.57, 0) * euler(-0.2, 0, 0.4), 0.5)
  1469.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1470.           do
  1471.             if StaggerHit.Value == true then
  1472.               break
  1473.             end
  1474.           end
  1475.         end
  1476.       end
  1477.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1478.           teh = math.random(-30, 30) / 100
  1479.           so("341336307", main1, 0.6, 1.4 + teh)
  1480.           so("341336485", main1, 0.6, 1 + teh)
  1481.           for i = 0, 1, 0.12 do
  1482.             swait()
  1483.             hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1484.             MagniDamage(hitbox, 2, 6, 8, math.random(6, 8), "Normal", RootPart, 0.3, 2, (math.random(4, 6)), nil, true)
  1485.             mwld1.C0 = clerp(mwld1.C0, cf(0, 0.1, 0) * euler(0, 0, -0.4), 0.5)
  1486.             mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.5)
  1487.             Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -0.1) * euler(0.2, 0, 0), 0.5)
  1488.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1.5, -0.8) * euler(0, 0, -0.4) * euler(0.2, 0, 0), 0.5)
  1489.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, -0.1, 0) * euler(-0.3, 0, 0.6), 0.5)
  1490.             LW.C0 = clerp(LW.C0, cf(-0.6, 0.5, -0.5) * euler(1.57, 0, -1.57) * euler(0, 1.7, 0) * euler(-2.8, 0, 0), 0.5)
  1491.             RH.C0 = clerp(RH.C0, cf(1.1, -0.2, -0.2) * euler(0, 1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.1), 0.5)
  1492.             LH.C0 = clerp(LH.C0, cf(-0.95, -0.5, -0.6) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.2, 0, 0.4), 0.5)
  1493.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1494.               do
  1495.                 if StaggerHit.Value == true then
  1496.                   break
  1497.                 end
  1498.               end
  1499.             end
  1500.           end
  1501.           hitbox.Parent = nil
  1502.         end
  1503.       end
  1504. end
  1505.  
  1506.   attackfour = function()
  1507.   so("341336200", main1, 0.6, 1)
  1508.   so("341336200", main2, 0.6, 1)
  1509.   RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, 0, 0), 0.3)
  1510.   LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 0, 0), 0.3)
  1511.   local tehn = math.random(1, 7)
  1512.   local rara = 0
  1513.   for i = 0, 1, 0.05 do
  1514.     swait()
  1515.     rara = rara + 1
  1516.     if (rara) % 2 == 0 then
  1517.       if tehn > 6 then
  1518.         tehn = 1
  1519.       else
  1520.         tehn = tehn + 1
  1521.       end
  1522.     end
  1523.     da1 = math.random(150, 250) / 100
  1524.     da2 = math.random(700, 900) / 100
  1525.     MagicCircle(Neons[tehn], main1.CFrame * cf(0, 3, 0), 5, 10, 5, da1, da2, da1, 0.2)
  1526.     MagicCircle(Neons[tehn], main2.CFrame * cf(0, 3, 0), 5, 10, 5, da1, da2, da1, 0.2)
  1527.     mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1528.     mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  1529.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.3)
  1530.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  1531.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, -1.5, 0), 0.3)
  1532.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 1.5, 0), 0.3)
  1533.     RH.C0 = clerp(RH.C0, cf(1.05, -0.95, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.1), 0.3)
  1534.     LH.C0 = clerp(LH.C0, cf(-1.05, -0.95, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.1), 0.3)
  1535.     if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1536.       do
  1537.         if StaggerHit.Value == true then
  1538.           break
  1539.         end
  1540.       end
  1541.     end
  1542.   end
  1543.   if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1544.       hitbox.Parent = modelzorz
  1545.       hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1546.       so("341336307", main1, 1, 1.2)
  1547.       so("341336307", main2, 1, 1.2)
  1548.       for i = 0, 1, 0.2 do
  1549.         swait()
  1550.         hitbox.CFrame = main1.CFrame * cf(0, 2, 0)
  1551.         MagniDamage(hitbox, 2, 8, 10, math.random(6, 8), "Normal", RootPart, 0.2, 2, (math.random(4, 6)), nil, true)
  1552.         hitbox.CFrame = main2.CFrame * cf(0, 2, 0)
  1553.         MagniDamage(hitbox, 2, 8, 10, math.random(6, 8), "Normal", RootPart, 0.2, 2, (math.random(4, 6)), nil, true)
  1554.         mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.8)
  1555.         mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.8)
  1556.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.8)
  1557.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.2) * euler(0, 0, 0) * euler(0, 0, 0), 0.8)
  1558.         RW.C0 = clerp(RW.C0, cf(0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, -1.5, 0) * euler(-2.2, 0, 0), 0.8)
  1559.         LW.C0 = clerp(LW.C0, cf(-0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 1.5, 0) * euler(-2.2, 0, 0), 0.8)
  1560.         RH.C0 = clerp(RH.C0, cf(1.05, -0.95, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.1), 0.8)
  1561.         LH.C0 = clerp(LH.C0, cf(-1.05, -0.95, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.1), 0.8)
  1562.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1563.           do
  1564.             if StaggerHit.Value == true then
  1565.               break
  1566.             end
  1567.           end
  1568.         end
  1569.       end
  1570.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1571.           for i = 1, 3 do
  1572.             Star(main2, 50)
  1573.             Star(main1, 50)
  1574.           end
  1575.           hitbox.Parent = nil
  1576.           local ref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1577.           ref1.Anchored = true
  1578.           ref1.CFrame = cf(main1.Position)
  1579.           game:GetService("Debris"):AddItem(ref1, 1)
  1580.           so("341336243", ref1, 1, 1)
  1581.           local ref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1582.           ref2.Anchored = true
  1583.           ref2.CFrame = cf(main2.Position)
  1584.           game:GetService("Debris"):AddItem(ref2, 1)
  1585.           so("341336243", ref1, 1, 1)
  1586.           for i = 0, 1, 0.2 do
  1587.             swait()
  1588.             mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.5)
  1589.             mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, -1.4), 0.5)
  1590.             Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.5)
  1591.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, -1, -0.2) * euler(0, 0, 0) * euler(0, 0, 0), 0.5)
  1592.             RW.C0 = clerp(RW.C0, cf(0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, 2) * euler(0, -1.5, 0) * euler(-2.2, 0, 0), 0.5)
  1593.             LW.C0 = clerp(LW.C0, cf(-0.8, 0.5, -0.5) * euler(1.6, 0, 0) * euler(0, 0, -2) * euler(0, 1.5, 0) * euler(-2.2, 0, 0), 0.5)
  1594.             RH.C0 = clerp(RH.C0, cf(1.05, -0.95, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, -0.1), 0.5)
  1595.             LH.C0 = clerp(LH.C0, cf(-1.05, -0.95, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.05, 0, 0.1), 0.5)
  1596.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1597.               do
  1598.                 if StaggerHit.Value == true then
  1599.                   break
  1600.                 end
  1601.               end
  1602.             end
  1603.           end
  1604.           for i = 0, 1, 0.3 do
  1605.             swait()
  1606.             for d = 1, #Saber do
  1607.               Saber[d].Transparency = i
  1608.             end
  1609.           end
  1610.           for d = 1, #Saber do
  1611.             Saber[d].Transparency = 1
  1612.           end
  1613.           handlewld.Part1 = Torso
  1614.           handlewld2.Part1 = Torso
  1615.           handlewld.C0 = euler(0, 3.14, -2.6) * cf(0, 0, -0.6)
  1616.           handlewld2.C0 = euler(0, 3.14, -2.6) * euler(0, 3.14, 0) * cf(0, 0, -0.6)
  1617.           mwld1.C0 = cf(0, 2, 0)
  1618.           mwld2.C0 = cf(0, 2, 0)
  1619.           floating = true
  1620.           Mode = "Normal"
  1621.           for i = 1, 0, -0.2 do
  1622.             swait()
  1623.             for d = 1, #Saber do
  1624.               Saber[d].Transparency = i
  1625.             end
  1626.           end
  1627.           for d = 1, #Saber do
  1628.             Saber[d].Transparency = 0
  1629.           end
  1630.         end
  1631.       end
  1632. end
  1633.  
  1634.   PowerRising = function()
  1635.   attack = true
  1636.   if Mode == "Sabers" then
  1637.     UnSword()
  1638.   end
  1639.   local dec = Instance.new("NumberValue", Decrease)
  1640.   dec.Name = "DecreaseMvmt"
  1641.   dec.Value = 10
  1642.   manainc = 12
  1643.   local col = 1
  1644.   local colnum = 0
  1645.   local dopart = 0
  1646.   cooldownsadd[1] = 0.18
  1647.   cooldownsadd[2] = 0.16
  1648.   cooldownsadd[3] = 0.14
  1649.   prising = true
  1650.   local prref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1651.   prref.Anchored = true
  1652.   while prising == true do
  1653.       swait()
  1654.       dopart = dopart + 1
  1655.       if (dopart) % 4 == 0 then
  1656.         colnum = colnum + 1
  1657.         if (colnum) % 2 == 0 then
  1658.           col = math.random(1, 7)
  1659.         end
  1660.         MagicBlock2(Neons[col], LeftArm.CFrame * cf(0, -1, 0), 4, 4, 4, 0.6, 0.6, 0.6, 0.05, 1)
  1661.         MagicBlock2(Neons[col], RightArm.CFrame * cf(0, -1, 0), 4, 4, 4, 0.6, 0.6, 0.6, 0.05, 1)
  1662.         prref.CFrame = cf(RootPart.Position) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100)
  1663.         local phitfloor, pposfloor = rayCast(prref.Position, CFrame.new(prref.Position, prref.Position - Vector3.new(0, 1, 0)).lookVector, 50, Character)
  1664.         if phitfloor ~= nil then
  1665.           MagicCircle(Neons[col], cf(pposfloor), 1, 1, 1, 1, 5, 1, 0.1)
  1666.         end
  1667.       end
  1668.       do
  1669.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.3, 0, 0), 0.1)
  1670.         RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(1, 0, 1.3) * euler(0, -1.57, 0), 0.1)
  1671.         LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(1, 0, -1.3) * euler(0, 1.57, 0), 0.1)
  1672.         RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.1)
  1673.         LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.1)
  1674.         if Stagger.Value ~= true and StunT.Value > Stun.Value and StaggerHit.Value == true then
  1675.           break
  1676.         end
  1677.       end
  1678.   end
  1679.   cooldownsadd[1] = 0.16
  1680.   cooldownsadd[2] = 0.14
  1681.   cooldownsadd[3] = 0.12
  1682.   manainc = 16
  1683.   dec.Parent = nil
  1684.   attack = false
  1685. end
  1686.  
  1687.   Star = function(mainpart, rand)
  1688.   local stref = part(3, effects, 0, 0, BrickColor.new("Black"), "Reference", vt())
  1689.   stref.Anchored = true
  1690.   stref.Material = "Neon"
  1691.   stref.CFrame = cf(mainpart.Position)
  1692.   local strmsh = mesh("SpecialMesh", stref, "FileMesh", "45428961", vt(0, 0, 0), vt(3, 3, 3))
  1693.   hitbox.CFrame = mainpart.CFrame * cf(math.random(-100, 100) / 100, 2 + math.random(-200, 200) / 100, math.random(-100, 100) / 100)
  1694.   table.insert(Effects, {RootPart.CFrame.lookVector + vt(math.random(-rand, rand) / 100, math.random(-rand, rand) / 100, math.random(-rand, rand) / 100), "Shoot", 80, hitbox.Position, 7, 9, 0, math.random(1, 7), stref, euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0})
  1695. end
  1696.  
  1697.   do1 = function()
  1698.   if attack == true then
  1699.     return
  1700.   end
  1701.     attack = true
  1702.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1703.     return
  1704.   end
  1705.   if cooldowns[1] >= 50 then
  1706.     if Mode == "Sabers" then
  1707.       UnSword()
  1708.     end
  1709.     cbuster = true
  1710.     Humanoid.AutoRotate = false
  1711.     for i = 0, 1, 0.1 do
  1712.       swait()
  1713.       LeftArm.Transparency = i
  1714.       for d = 1, #Buster do
  1715.         Buster[d].Transparency = i
  1716.       end
  1717.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.2, 0, 0), 0.3)
  1718.       RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.4) * euler(0, -1.5, 0), 0.3)
  1719.       LW.C0 = clerp(LW.C0, cf(-1, 0.5, 0.5) * euler(1.3, 0, -1) * euler(0, 0, 0), 0.3)
  1720.       RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  1721.       LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  1722.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1723.         do
  1724.           if StaggerHit.Value == true then
  1725.             break
  1726.           end
  1727.         end
  1728.       end
  1729.     end
  1730.     local rara1 = Instance.new("NumberValue", Decrease)
  1731.     rara1.Name = "DecreaseMvmt"
  1732.     rara1.Value = 0.4
  1733.     local rara2 = Instance.new("NumberValue", Decrease)
  1734.     rara2.Name = "DecreaseDef"
  1735.     rara2.Value = -0.1
  1736.     handlewld3.Part1 = LeftArm
  1737.     handlewld3.C0 = euler(0, 0, mr(-90)) * euler(0, mr(40), 0) * cf(0, 0, 0)
  1738.     LeftArm.Transparency = 1
  1739.     for d = 1, #Buster do
  1740.       Buster[d].Transparency = 1
  1741.     end
  1742.     for i = 1, 0, -0.2 do
  1743.       swait()
  1744.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.5)
  1745.       for d = 1, #Buster do
  1746.         Buster[d].Transparency = i
  1747.       end
  1748.     end
  1749.     for d = 1, #Buster do
  1750.       Buster[d].Transparency = 0
  1751.     end
  1752.     cshoot = false
  1753.     cdebounce = false
  1754.     local dashoot = 0
  1755.     local laser1 = part(3, nil, 0, 0.5, BrickColor.new("Really red"), "Effect", vt())
  1756.     laser1.Material = "Neon"
  1757.     laser1.Anchored = true
  1758.     local laser2 = laser1:Clone()
  1759.     local laser3 = laser1:Clone()
  1760.     local laser4 = laser1:Clone()
  1761.     local lmsh1 = mesh("CylinderMesh", laser1, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1762.     local lmsh2 = mesh("CylinderMesh", laser2, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1763.     local lmsh3 = mesh("CylinderMesh", laser3, "", "", vt(0, 0, 0), vt(1, 1, 1))
  1764.     local lmsh4 = (mesh("CylinderMesh", laser4, "", "", vt(0, 0, 0), vt(1, 1, 1)))
  1765.     local l2cf, l3cf, l4cf = nil, nil, nil
  1766.     while cbuster == true and cooldowns[1] > 10 do
  1767.               swait()
  1768.                     if MMouse ~= nil then
  1769.                       local mpos = handle3.CFrame * euler(0, 0, 0)
  1770.                       local cff = CFrame.new(mpos.p, MMouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
  1771.                       local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1772.                       handlewld3a.Part0 = handle3
  1773.                       handlewld3a.Part1 = handle3a
  1774.                       handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.3)
  1775.                     end
  1776.               if busterlaser == true then
  1777.                 busterlaser = false
  1778.                 so("306247678", Torso, 1, 0.5)
  1779.                 for _,c in pairs(model3:children()) do
  1780.                   c.Transparency = 0
  1781.                 end
  1782.                 local dec = Instance.new("NumberValue", Decrease)
  1783.                 dec.Name = "DecreaseMvmt"
  1784.                 dec.Value = 0
  1785.                 for d = 1, 7 do
  1786.                   for i = 1, 0, -0.25 do
  1787.                     swait()
  1788.                     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.4) * euler(0, 0, 0), 0.3)
  1789.                     do
  1790.                       do
  1791.                         if d == 1 then
  1792.                           rmsh7.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  1793.                           rmsh7a.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  1794.                           rwld7.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, 0.1)
  1795.                           rwld7a.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, -0.1)
  1796.                         else
  1797.                           if d == 2 then
  1798.                             rmsh6.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1799.                             rmsh6a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1800.                             rwld6.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, 0.1)
  1801.                             rwld6a.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, -0.1)
  1802.                           else
  1803.                             if d == 3 then
  1804.                               rmsh5.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1805.                               rmsh5a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1806.                               rwld5.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, 0.1)
  1807.                               rwld5a.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, -0.1)
  1808.                             else
  1809.                               if d == 4 then
  1810.                                 rmsh4.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  1811.                                 rmsh4a.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  1812.                                 rwld4.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, 0.1)
  1813.                                 rwld4a.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, -0.1)
  1814.                               else
  1815.                                 if d == 5 then
  1816.                                   rmsh3.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1817.                                   rmsh3a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1818.                                   rwld3.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, 0.1)
  1819.                                   rwld3a.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, -0.1)
  1820.                                 else
  1821.                                   if d == 6 then
  1822.                                     rmsh2.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1823.                                     rmsh2a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1824.                                     rwld2.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, 0.1)
  1825.                                     rwld2a.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, -0.1)
  1826.                                   else
  1827.                                     if d == 7 then
  1828.                                       rmsh1.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  1829.                                       rmsh1a.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  1830.                                       rwld1.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, 0.1)
  1831.                                       rwld1a.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, -0.1)
  1832.                                     end
  1833.                                   end
  1834.                                 end
  1835.                               end
  1836.                             end
  1837.                           end
  1838.                         end
  1839.                       end
  1840.                     end
  1841.                   end
  1842.                 end
  1843.                 local mainpos = MMouse.Hit.p
  1844.                 for i = 0, 3, 0.2 do
  1845.                   swait()
  1846.                   if mainpos ~= nil then
  1847.                     local mpos = handle3.CFrame * euler(0, 0, 0)
  1848.                     local cff = CFrame.new(mpos.p, mainpos) * CFrame.Angles(math.pi / 2, 0, 0)
  1849.                     local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1850.                     handlewld3a.Part0 = handle3
  1851.                     handlewld3a.Part1 = handle3a
  1852.                     handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.8)
  1853.                   end
  1854.                   do
  1855.                     do
  1856.                       if i < 1 then
  1857.                         handlewld4.C0 = clerp(handlewld4.C0, cf(0, 0, 0.1), 0.4)
  1858.                         handlewld5.C0 = clerp(handlewld5.C0, cf(0, 0, -0.1), 0.4)
  1859.                         handlewld6.C0 = euler(0, mr(-45) * i, 0) * cf(3.35, 0, -0.075 - 0.065 * i)
  1860.                         handlewld7.C0 = euler(0, mr(45) * i, 0) * cf(3.35, 0, 0.075 + 0.065 * i)
  1861.                       end
  1862.                     end
  1863.                   end
  1864.                 end
  1865.                 mana.Value = mana.Value - 15
  1866.                 cooldowns[1] = cooldowns[1] - 30
  1867.                 for i = 1, 3 do
  1868.                   so("341336476", handle10, 10, 1)
  1869.                 end
  1870.                 local refl = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1871.                 refl.Anchored = true
  1872.                 for d = 1, 7 do
  1873.                   for i = 0, 1, 0.25 do
  1874.                     swait()
  1875.                     if mainpos ~= nil then
  1876.                       local mpos = handle3.CFrame * euler(0, 0, 0)
  1877.                       local cff = CFrame.new(mpos.p, mainpos) * CFrame.Angles(math.pi / 2, 0, 0)
  1878.                       local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1879.                       handlewld3a.Part0 = handle3
  1880.                       handlewld3a.Part1 = handle3a
  1881.                       handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0) * cf(math.random(-50, 50) / 100, math.random(-50, 50) / 100, math.random(-50, 50) / 100), 0.5)
  1882.                       for i = 1, 5 do
  1883.                         tehcf = cf(0, 0, -1.5)
  1884.                         if i == 2 then
  1885.                           tehcf = cf(0, 3, -1.5)
  1886.                         else
  1887.                           if i == 3 then
  1888.                             tehcf = cf(0, -3, -1.5)
  1889.                           else
  1890.                             if i == 4 then
  1891.                               tehcf = cf(3, 0, -1.5)
  1892.                             else
  1893.                               if i == 5 then
  1894.                                 tehcf = cf(-3, 0, -1.5)
  1895.                               end
  1896.                             end
  1897.                           end
  1898.                         end
  1899.                         refl.CFrame = handle10.CFrame * tehcf
  1900.                         local mainpos = refl.Position
  1901.                         local dist = 500
  1902.                         raa = math.random(1, 7)
  1903.                         if i == 1 then
  1904.                           MagicCircle(Neons[raa], refl.CFrame, 30, 30, 10, 0, 0, 0, 0.3)
  1905.                         end
  1906.                         local bounce = 10
  1907.                         repeat
  1908.                           bounce = bounce - 1
  1909.                           local hit, pos = rayCast(mainpos, refl.CFrame.lookVector, dist, Character)
  1910.                           local targl = mainpos - pos
  1911.                           local magl = targl.magnitude
  1912.                           dist = dist - magl
  1913.                           local mag = (mainpos - pos).magnitude
  1914.                           if i == 1 then
  1915.                             MagicCylinder(Neons[raa], CFrame.new((mainpos + pos) / 2, pos) * angles(1.57, 0, 0), 30, mag * 5, 30, 0, 0, 0, 0.3)
  1916.                           end
  1917.                           mainpos = pos
  1918.                           if hit ~= nil then
  1919.                             Damagefunc(hit, 8, 10, 0, "Normal", RootPart, 0.2, 1, (math.random(8, 10)), nil, nil, true)
  1920.                           end
  1921.                         until dist <= 0 or hit == nil or bounce < 1
  1922.                       end
  1923.                     end
  1924.                     do
  1925.                       do
  1926.                         if d == 7 then
  1927.                           rainbow6.Transparency = 1
  1928.                           rainbow6a.Transparency = 1
  1929.                           rmsh7.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  1930.                           rmsh7a.Scale = vt(2.5, 2.25, rs4 - rs4 * i)
  1931.                           rwld7.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, 0.1)
  1932.                           rwld7a.C0 = euler(0, mr(90), 0) * cf(2.85 + rw3 * i, 0, -0.1)
  1933.                         else
  1934.                           if d == 6 then
  1935.                             rainbow5.Transparency = 1
  1936.                             rainbow5a.Transparency = 1
  1937.                             rmsh6.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1938.                             rmsh6a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1939.                             rwld6.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, 0.1)
  1940.                             rwld6a.C0 = euler(0, mr(90), 0) * cf(2.175 + rw2 * i, 0, -0.1)
  1941.                           else
  1942.                             if d == 5 then
  1943.                               rainbow4.Transparency = 1
  1944.                               rainbow4a.Transparency = 1
  1945.                               rmsh5.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1946.                               rmsh5a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1947.                               rwld5.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, 0.1)
  1948.                               rwld5a.C0 = euler(0, mr(90), 0) * cf(1.425 + rw2 * i, 0, -0.1)
  1949.                             else
  1950.                               if d == 4 then
  1951.                                 rainbow3.Transparency = 1
  1952.                                 rainbow3a.Transparency = 1
  1953.                                 rmsh4.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  1954.                                 rmsh4a.Scale = vt(2.5, 2.25, rs3 - rs3 * i)
  1955.                                 rwld4.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, 0.1)
  1956.                                 rwld4a.C0 = euler(0, mr(90), 0) * cf(0.65 + rw2 * i, 0, -0.1)
  1957.                               else
  1958.                                 if d == 3 then
  1959.                                   rainbow2.Transparency = 1
  1960.                                   rainbow2a.Transparency = 1
  1961.                                   rmsh3.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1962.                                   rmsh3a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1963.                                   rwld3.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, 0.1)
  1964.                                   rwld3a.C0 = euler(0, mr(90), 0) * cf(-0.125 + rw2 * i, 0, -0.1)
  1965.                                 else
  1966.                                   if d == 2 then
  1967.                                     rainbow1.Transparency = 1
  1968.                                     rainbow1a.Transparency = 1
  1969.                                     rmsh2.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1970.                                     rmsh2a.Scale = vt(2.5, 2.25, rs2 - rs2 * i)
  1971.                                     rwld2.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, 0.1)
  1972.                                     rwld2a.C0 = euler(0, mr(90), 0) * cf(-0.875 + rw2 * i, 0, -0.1)
  1973.                                   else
  1974.                                     if d == 1 then
  1975.                                       rmsh1.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  1976.                                       rmsh1a.Scale = vt(2.5, 2.25, rs1 - rs1 * i)
  1977.                                       rwld1.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, 0.1)
  1978.                                       rwld1a.C0 = euler(0, mr(90), 0) * cf(-1.55 + rw1 * i, 0, -0.1)
  1979.                                     end
  1980.                                   end
  1981.                                 end
  1982.                               end
  1983.                             end
  1984.                           end
  1985.                         end
  1986.                       end
  1987.                     end
  1988.                   end
  1989.                 end
  1990.                 for _,c in pairs(model3:children()) do
  1991.                   c.Transparency = 1
  1992.                 end
  1993.                 for i = 0, 1, 0.1 do
  1994.                   swait()
  1995.                   if mainpos ~= nil then
  1996.                     local mpos = handle3.CFrame * euler(0, 0, 0)
  1997.                     local cff = CFrame.new(mpos.p, mainpos) * CFrame.Angles(math.pi / 2, 0, 0)
  1998.                     local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1999.                     handlewld3a.Part0 = handle3
  2000.                     handlewld3a.Part1 = handle3a
  2001.                     handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.5)
  2002.                   end
  2003.                   do
  2004.                     do
  2005.                       if i < 1 then
  2006.                         handlewld4.C0 = clerp(handlewld4.C0, cf(0, 0, 0), 0.4)
  2007.                         handlewld5.C0 = clerp(handlewld5.C0, cf(0, 0, 0), 0.4)
  2008.                         handlewld6.C0 = clerp(handlewld6.C0, cf(3.35, 0, -0.075), 0.4)
  2009.                         handlewld7.C0 = clerp(handlewld7.C0, cf(3.35, 0, 0.075), 0.4)
  2010.                       end
  2011.                     end
  2012.                   end
  2013.                 end
  2014.                 Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 1)
  2015.                 RootJoint.C1 = clerp(RootJoint.C1, RootCF, 1)
  2016.                 dec.Parent = nil
  2017.                 handlewld4.C0 = cf(0, 0, 0)
  2018.                 handlewld5.C0 = cf(0, 0, 0)
  2019.                 handlewld6.C0 = clerp(handlewld6.C0, cf(3.35, 0, -0.075), 1)
  2020.                 handlewld7.C0 = clerp(handlewld7.C0, cf(3.35, 0, 0.075), 1)
  2021.               end
  2022.               if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2023.                 if StaggerHit.Value ~= true and cshoot == true then
  2024.                   cdebounce = true
  2025.                   cshoot = false
  2026. while cdebounce do
  2027. swait()
  2028.                 if cdebounce == true and dashoot < 27 then
  2029.                   if dashoot == 0 then
  2030.                     l2cf = vt(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  2031.                     l3cf = vt(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  2032.                     l4cf = vt(math.random(-10, 10) / 100, math.random(-10, 10) / 100, math.random(-10, 10) / 100)
  2033.                   end
  2034.                   dashoot = dashoot + 1
  2035.                   local hit, pos = rayCast(handle10.Position, handle10.CFrame.lookVector, 500, Character)
  2036.                   local hit2, pos2 = rayCast(handle10.Position, handle10.CFrame.lookVector + l2cf, 500, Character)
  2037.                   local hit3, pos3 = rayCast(handle10.Position, handle10.CFrame.lookVector + l3cf, 500, Character)
  2038.                   local hit4, pos4 = rayCast(handle10.Position, handle10.CFrame.lookVector + l4cf, 500, Character)
  2039.                   if (dashoot) % 3 == 0 and dashoot < 20 then
  2040.                     so("341336333", handle10, 1, 1)
  2041.                   end
  2042.                   if dashoot == 20 or dashoot == 22 or dashoot == 24 or dashoot == 26 then
  2043.                     cooldowns[1] = cooldowns[1] - 4
  2044.                     handlewld8.C0 = euler(0, mr(-20), 0) * cf(0.291, 0, 0)
  2045.                     handlewld9.C0 = euler(0, mr(20), 0) * cf(0.291, 0, 0)
  2046.                     so("341336385", handle10, 1, 1)
  2047.                     table.insert(Effects, {handle10.CFrame.lookVector, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2048.                     table.insert(Effects, {handle10.CFrame.lookVector + l2cf, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2049.                     table.insert(Effects, {handle10.CFrame.lookVector + l3cf, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2050.                     table.insert(Effects, {handle10.CFrame.lookVector + l4cf, "Shoot2", 50, handle10.Position, 6, 8, 0, math.random(1, 7)})
  2051.                   else
  2052.                     handlewld8.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2053.                     handlewld9.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2054.                   end
  2055.                   local mag = (handle10.Position - pos).magnitude
  2056.                   laser1.Parent = effects
  2057.                   laser1.CFrame = cf((handle10.Position + pos) / 2, pos) * angles(1.57, 0, 0)
  2058.                   lmsh1.Scale = vt(0.5, mag * 5, 0.5)
  2059.                   local mag2 = (handle10.Position - pos2).magnitude
  2060.                   laser2.Parent = effects
  2061.                   laser2.CFrame = cf((handle10.Position + pos2) / 2, pos2) * angles(1.57, 0, 0)
  2062.                   lmsh2.Scale = vt(0.5, mag2 * 5, 0.5)
  2063.                   local mag3 = (handle10.Position - pos3).magnitude
  2064.                   laser3.Parent = effects
  2065.                   laser3.CFrame = cf((handle10.Position + pos3) / 2, pos3) * angles(1.57, 0, 0)
  2066.                   lmsh3.Scale = vt(0.5, mag3 * 5, 0.5)
  2067.                   local mag4 = (handle10.Position - pos4).magnitude
  2068.                   laser4.Parent = effects
  2069.                   laser4.CFrame = cf((handle10.Position + pos4) / 2, pos4) * angles(1.57, 0, 0)
  2070.                   lmsh4.Scale = vt(0.5, mag4 * 5, 0.5)
  2071.                 else
  2072.                   do
  2073.                     laser1.Parent = nil
  2074.                     laser2.Parent = nil
  2075.                     laser3.Parent = nil
  2076.                     laser4.Parent = nil
  2077.                     cdebounce = false
  2078.                     dashoot = 0
  2079.                     if MMouse ~= nil then
  2080.                       local mpos = handle3.CFrame * euler(0, 0, 0)
  2081.                       local cff = CFrame.new(mpos.p, MMouse.Hit.p) * CFrame.Angles(math.pi / 2, 0, 0)
  2082.                       local x, y, z = handle3.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  2083.                       handlewld3a.Part0 = handle3
  2084.                       handlewld3a.Part1 = handle3a
  2085.                       handlewld3a.C0 = clerp(handlewld3a.C0, CFrame.Angles(x, y, z) * euler(0, -mr(45), 1.57) * cf(-1, 0, 0), 0.3)
  2086.                     end
  2087.                     end
  2088.                   end
  2089.                   end
  2090.                   end
  2091.                   end
  2092.                       if Anim == "Idle" then
  2093.                         RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.4) * euler(0, -1.5, 0), 0.3)
  2094.                         RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2095.                         LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2096.                       end
  2097.           if Anim == "Walk" or Anim == "Run" then
  2098.             RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(-0.2, 0, 0.4) * euler(0, 0, 0), 0.3)
  2099.             RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.5), 0.3)
  2100.             LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.3)
  2101.           end
  2102.         if Anim == "Jump" then
  2103.           RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.8) * euler(0, 0, 0), 0.3)
  2104.           RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2105.           LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2106.         end
  2107.       if Anim == "Fall" then
  2108.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8) * euler(0, -1.5, 0), 0.2)
  2109.         RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2110.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2111.       end
  2112.             end
  2113.     Humanoid.AutoRotate = true
  2114.     cbuster = false
  2115.     rara1.Parent = nil
  2116.     rara2.Parent = nil
  2117.     handlewld8.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2118.     handlewld9.C0 = euler(0, 0, 0) * cf(0.291, 0, 0)
  2119.     laser1.Parent = nil
  2120.     laser2.Parent = nil
  2121.     laser3.Parent = nil
  2122.     laser4.Parent = nil
  2123.     LW.Part0 = ch.Torso
  2124.     LW.Part1 = ch["Left Arm"]
  2125.     handlewld3.Part0 = handle3
  2126.     handlewld3.Part1 = LeftArm
  2127.     for i = 0, 1, 0.1 do
  2128.       swait()
  2129.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.8) * euler(0.2, 0, 0), 0.3)
  2130.       for d = 1, #Buster do
  2131.         Buster[d].Transparency = i
  2132.       end
  2133.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2134.         do
  2135.           if StaggerHit.Value == true then
  2136.             break
  2137.           end
  2138.         end
  2139.       end
  2140.     end
  2141.     handlewld3a.C0 = clerp(handlewld3a.C0, cf(0, 0, 0), 1)
  2142.     handlewld3.Part1 = Torso
  2143.     handlewld3.C0 = euler(1.57, 0, 0) * cf(-0.5, 0, 0) * euler(0, 0, -0.5) * cf(0, 0, -0.8)
  2144.     for i = 1, 0, -0.1 do
  2145.       swait()
  2146.       LeftArm.Transparency = i
  2147.       for d = 1, #Buster do
  2148.         Buster[d].Transparency = i
  2149.       end
  2150.     end
  2151.     LeftArm.Transparency = 0
  2152.     for d = 1, #Buster do
  2153.       Buster[d].Transparency = 0
  2154.     end
  2155.   end
  2156.     attack = false
  2157. end
  2158.  
  2159.   do2 = function()
  2160.     if sbreaker == true then
  2161.     sbreaker = false
  2162.     end
  2163.   if attack == true then
  2164.     return
  2165.   end
  2166.     attack = true
  2167.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2168.     return
  2169.   end
  2170.   if cooldowns[2] >= 70 then
  2171.     if Mode == "Sabers" then
  2172.       UnSword()
  2173.     end
  2174.     local rara1 = Instance.new("NumberValue", Decrease)
  2175.     rara1.Name = "DecreaseMvmt"
  2176.     rara1.Value = -0.05
  2177.     local rara2 = Instance.new("NumberValue", Decrease)
  2178.     rara2.Name = "DecreaseDef"
  2179.     rara2.Value = 0.1
  2180.     so("341336144", LeftArm, 1, 1)
  2181.     so("341336144", RightArm, 1, 1)
  2182.     sbreaker = true
  2183.     local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2184.     local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  2185.     local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2186.     local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  2187.     local da1 = lparti1:Clone()
  2188.     da1.Parent = sbref1
  2189.     local da2 = lparti1:Clone()
  2190.     da2.Parent = sbref2
  2191.     da1.Enabled = true
  2192.     da2.Enabled = true
  2193.     for i = 0, 1, 0.1 do
  2194.       swait()
  2195.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  2196.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2197.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2198.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2199.         do
  2200.           if StaggerHit.Value == true then
  2201.             break
  2202.           end
  2203.         end
  2204.       end
  2205.     end
  2206.     shockshoot = false
  2207.     shockdebounce = false
  2208.     local dashoot = 3
  2209.     local sref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2210.     sref.Anchored = true
  2211.     TehM = nil
  2212.     while sbreaker == true and cooldowns[2] > 20 do
  2213.         swait()
  2214.         if sbreakerII == true then
  2215.           sbreakerII = false
  2216.           for i = 0, 1, 0.1 do
  2217.             swait()
  2218.             da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2219.             da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2220.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.3, 0, -0.2) * euler(0, 0, 0), 0.3)
  2221.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.3, 0, 0.2) * euler(0, 0, 0), 0.3)
  2222.           end
  2223.           cooldowns[2] = cooldowns[2] - 30
  2224.           mana.Value = mana.Value - 10
  2225.           for i = 1, 3 do
  2226.             MouseLook = cf((RootPart.Position + MMouse.Hit.p) / 2, MMouse.Hit.p)
  2227.             local hit, pos = rayCast(RootPart.Position, MouseLook.lookVector, 200, Character)
  2228.             rand = cf(math.random(-1500, 1500) / 100, 10, math.random(-1500, 1500) / 100)
  2229.             sref.CFrame = cf(pos) * rand
  2230.             local hit2, pos2 = rayCast(sref.Position, CFrame.new(sref.Position, sref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  2231.             local d1 = part(3, effects, 0, 0.5, BrickColor.new("White"), "Effect", vt())
  2232.             d1.Anchored = true
  2233.             d1.CFrame = cf(pos2)
  2234.             d1.Material = "Neon"
  2235.             msh = mesh("CylinderMesh", d1, "nil", "nil", vt(0, 0, 0), vt(100, 5, 100))
  2236.             d2 = d1:Clone()
  2237.             d2.Transparency = 1
  2238.             d2.Parent = d1
  2239.             d2.CFrame = cf(d1.Position)
  2240.             d2.BrickColor = BrickColor.new("New Yeller")
  2241.             table.insert(Effects, {d1, "SatelliteStrike2", d2, d2.Mesh, 0, 0})
  2242.           end
  2243.         end
  2244.         do
  2245.           if shockshoot == true then
  2246.             shockshoot = false
  2247.             shockdebounce = true
  2248.           end
  2249.           if shockdebounce == true and dashoot < 25 then
  2250.             dashoot = dashoot + 1
  2251.             if (dashoot) % 4 == 0 and dashoot < 20 then
  2252.               cooldowns[2] = cooldowns[2] - 3
  2253.               MouseLook = cf((RootPart.Position + TehM) / 2, TehM)
  2254.               local hit, pos = rayCast(RootPart.Position, MouseLook.lookVector, 200, Character)
  2255.               rand = cf(math.random(-1500, 1500) / 100, 10, math.random(-1500, 1500) / 100)
  2256.               if dashoot == 4 then
  2257.                 rand = cf(0, 10, 0)
  2258.               end
  2259.               sref.CFrame = cf(pos) * rand
  2260.               local hit2, pos2 = rayCast(sref.Position, CFrame.new(sref.Position, sref.Position - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  2261.               local d1 = part(3, effects, 0, 0.5, BrickColor.new("White"), "Effect", vt())
  2262.               d1.Anchored = true
  2263.               d1.CFrame = cf(pos2)
  2264.               d1.Material = "Neon"
  2265.               msh = mesh("CylinderMesh", d1, "nil", "nil", vt(0, 0, 0), vt(50, 5, 50))
  2266.               d2 = d1:Clone()
  2267.               d2.Transparency = 1
  2268.               d2.Parent = d1
  2269.               d2.CFrame = cf(d1.Position)
  2270.               d2.BrickColor = BrickColor.new("New Yeller")
  2271.               table.insert(Effects, {d1, "SatelliteStrike", d2, d2.Mesh, 0, 0})
  2272.             end
  2273.           else
  2274.             do
  2275.               shockdebounce = false
  2276.               dashoot = 3
  2277.               da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2278.               da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2279.               RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2280.               LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2281.               if Stagger.Value ~= true and StunT.Value > Stun.Value and StaggerHit.Value == true then
  2282.                 break
  2283.               end
  2284.             end
  2285.           end
  2286.         end
  2287.               if Anim == "Idle" then
  2288.                 RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2289.                 LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2290.                     end
  2291.                 if Anim == "Walk" or Anim == "Run" then
  2292.                   RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.5), 0.3)
  2293.                   LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.3)
  2294.                     end
  2295.                   if Anim == "Jump" then
  2296.                     RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2297.                     LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2298.                     end
  2299.                     if Anim == "Fall" then
  2300.                       RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2301.                       LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2302.                     end
  2303.       end
  2304.     sbreaker = false
  2305.     rara1.Parent = nil
  2306.     rara2.Parent = nil
  2307.     sbrwld1.Parent = nil
  2308.     sbrwld2.Parent = nil
  2309.     sbref1.Anchored = true
  2310.     sbref2.Anchored = true
  2311.     da1.Enabled = false
  2312.     da2.Enabled = false
  2313.     game:GetService("Debris"):AddItem(sbref1, 5)
  2314.     game:GetService("Debris"):AddItem(sbref2, 5)
  2315.   end
  2316.     attack = false
  2317. end
  2318.  
  2319.   do3 = function()
  2320.   if attack == true then
  2321.     return
  2322.   end
  2323.     attack = true
  2324.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2325.     return
  2326.   end
  2327.   if cooldowns[3] >= 80 then
  2328.     if Mode == "Sabers" then
  2329.       UnSword()
  2330.     end
  2331.     local rara1 = Instance.new("NumberValue", Decrease)
  2332.     rara1.Name = "DecreaseMvmt"
  2333.     rara1.Value = 0.1
  2334.     local rara2 = Instance.new("NumberValue", Decrease)
  2335.     rara2.Name = "DecreaseDef"
  2336.     rara2.Value = 0.05
  2337.     so("341336144", LeftArm, 1, 1)
  2338.     so("341336144", RightArm, 1, 1)
  2339.     sblazing = true
  2340.     local sbref1 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt(1, 1, 1))
  2341.     local sbrwld1 = weld(sbref1, sbref1, LeftArm, cf(0, 1, 0))
  2342.     local sbref2 = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt(1, 1, 1))
  2343.     local sbrwld2 = weld(sbref2, sbref2, RightArm, cf(0, 1, 0))
  2344.     local da1 = sparti:Clone()
  2345.     da1.Parent = sbref1
  2346.     local da2 = sparti:Clone()
  2347.     da2.Parent = sbref2
  2348.     da1.Enabled = true
  2349.     da2.Enabled = true
  2350.     for i = 0, 1, 0.1 do
  2351.       swait()
  2352.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  2353.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2354.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2355.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2356.         do
  2357.           if StaggerHit.Value == true then
  2358.             break
  2359.           end
  2360.         end
  2361.       end
  2362.     end
  2363.     starshoot = false
  2364.     stardebounce = false
  2365.     local dashoot = 0
  2366.     local sref = part(3, nil, 0, 0.5, BrickColor.new("Black"), "Reference", vt())
  2367.     sref.Anchored = true
  2368.     TehM = nil
  2369.     while sblazing == true and cooldowns[3] > 20 do
  2370.               swait()
  2371.               if galacblazing == true then
  2372.                 galacblazing = false
  2373.                 for i = 0, 1, 0.1 do
  2374.                   swait()
  2375.                   RW.C0 = clerp(RW.C0, cf(1.5, 0.6, 0) * euler(2.8, 0, 0.4) * euler(0, 0, 0), 0.3)
  2376.                   LW.C0 = clerp(LW.C0, cf(-1.5, 0.6, 0) * euler(2.8, 0, -0.4) * euler(0, 0, 0), 0.3)
  2377.                   Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.6, 0, 0), 0.3)
  2378.                   da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2379.                   da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2380.                   if math.random(1, 2) == 1 then
  2381.                     da1.RotSpeed = nr(400, 500)
  2382.                   else
  2383.                     da1.RotSpeed = nr(-500, -400)
  2384.                   end
  2385.                   if math.random(1, 2) == 1 then
  2386.                     da2.RotSpeed = nr(400, 500)
  2387.                   else
  2388.                     da2.RotSpeed = nr(-500, -400)
  2389.                   end
  2390.                 end
  2391.                 cooldowns[3] = cooldowns[3] - 20
  2392.                 mana.Value = mana.Value - 20
  2393.                 sref.CFrame = cf(RootPart.Position) * cf(0, 50, 0)
  2394.                 sref.CFrame = cf(sref.Position, MMouse.Hit.p)
  2395.                 local stref = part(3, effects, 0, 0, BrickColor.new("Black"), "Reference", vt())
  2396.                 stref.Anchored = true
  2397.                 stref.Material = "Neon"
  2398.                 stref.CFrame = sref.CFrame
  2399.                 local strmsh = mesh("SpecialMesh", stref, "FileMesh", "45428961", vt(0, 0, 0), vt(90, 90, 90))
  2400.                 so("341336159", stref, 1, 0.4)
  2401.                 table.insert(Effects, {stref.CFrame.lookVector, "Shoot4", 150, sref.Position, 7, 9, 0, math.random(1, 7), stref, math.random(-50, 50), 0})
  2402.               end
  2403.             do
  2404.               if Stagger.Value ~= true and StunT.Value > Stun.Value then
  2405.                 if StaggerHit.Value ~= true or starshoot == true then
  2406.                   starshoot = false
  2407.                   stardebounce = true
  2408.                   cooldowns[3] = cooldowns[3] - 10
  2409.                   sref.CFrame = cf(RootPart.Position) * cf(math.random(-3000, 3000) / 100, math.random(500, 5000) / 100, math.random(-3000, 3000) / 100)
  2410.                   sref.CFrame = cf(sref.Position, MMouse.Hit.p)
  2411.                   local stref = part(3, effects, 0, 0, BrickColor.new("Black"), "Reference", vt())
  2412.                   stref.Anchored = true
  2413.                   stref.Material = "Neon"
  2414.                   stref.CFrame = sref.CFrame
  2415.                   local strmsh = mesh("SpecialMesh", stref, "FileMesh", "45428961", vt(0, 0, 0), vt(30, 30, 30))
  2416.                   so("341336159", stref, 1, 1)
  2417.                   table.insert(Effects, {stref.CFrame.lookVector, "Shoot3", 150, sref.Position, 7, 9, 0, math.random(1, 7), stref, math.random(-50, 50), 0})
  2418.                 end
  2419.                 do
  2420.                   if stardebounce == true and dashoot < 10 then
  2421.                     dashoot = dashoot + 1
  2422.                   else
  2423.                     stardebounce = false
  2424.                     dashoot = 0
  2425.                   end
  2426.                   da1.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2427.                   da2.Color = cs(Neons[math.random(1, 7)].Color, Neons[math.random(1, 7)].Color)
  2428.                   if math.random(1, 2) == 1 then
  2429.                     da1.RotSpeed = nr(400, 500)
  2430.                   else
  2431.                     da1.RotSpeed = nr(-500, -400)
  2432.                   end
  2433.                   if math.random(1, 2) == 1 then
  2434.                     da2.RotSpeed = nr(400, 500)
  2435.                   else
  2436.                     da2.RotSpeed = nr(-500, -400)
  2437.                   end
  2438.                   Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.3)
  2439.                   RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(2.5, 0, 1) * euler(0, 0, 0), 0.3)
  2440.                   LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(2.5, 0, -1) * euler(0, 0, 0), 0.3)
  2441.                   if Anim == "Idle" then
  2442.                     RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2443.                     LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2444.                   end
  2445.                 end
  2446.           if Anim == "Walk" or Anim == "Run" then
  2447.             RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.5), 0.3)
  2448.             LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.5), 0.3)
  2449.           end
  2450.         end
  2451.         if Anim == "Jump" then
  2452.           RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.1), 0.3)
  2453.           LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.05), 0.3)
  2454.         end
  2455.       end
  2456.       if Anim == "Fall" then
  2457.         RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  2458.         LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  2459.       end
  2460.     end
  2461.     sblazing = false
  2462.     rara1.Parent = nil
  2463.     rara2.Parent = nil
  2464.     sref.Parent = nil
  2465.     sbrwld1.Parent = nil
  2466.     sbrwld2.Parent = nil
  2467.     sbref1.Anchored = true
  2468.     sbref2.Anchored = true
  2469.     da1.Enabled = false
  2470.     da2.Enabled = false
  2471.     game:GetService("Debris"):AddItem(sbref1, 5)
  2472.     game:GetService("Debris"):AddItem(sbref2, 5)
  2473.   end
  2474.     attack = false
  2475. end
  2476.  
  2477.   do4 = function()
  2478.   if attack == true then
  2479.     return
  2480.   end
  2481.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  2482.     return
  2483.   end
  2484.   cooldowns[4] = 0
  2485. end
  2486.  
  2487.   findNearestTorso = function(pos, distance)
  2488.   local list = (game.Workspace:children())
  2489.   local torso = nil
  2490.   local dist = distance
  2491.   local temp, human, temp2 = nil, nil, nil
  2492.   for x = 1, #list do
  2493.     temp2 = list[x]
  2494.     canfind = true
  2495.     if game.Players:GetPlayerFromCharacter(temp2) ~= nil and game.Players:GetPlayerFromCharacter(temp2).TeamColor == Player.TeamColor and Player.Neutral == false then
  2496.       canfind = false
  2497.     end
  2498.     canfind = true
  2499.     if temp2.className == "Model" and temp2 ~= Character and canfind == true then
  2500.       temp = temp2:findFirstChild("Torso")
  2501.       human = temp2:findFirstChild("Humanoid")
  2502.       if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  2503.         torso = temp
  2504.         dist = (temp.Position - pos).magnitude
  2505.       end
  2506.     end
  2507.   end
  2508.   return torso, dist
  2509. end
  2510.  
  2511.   DecreaseStat = function(Model, Stat, Amount, Duration)
  2512.   if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  2513.     Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  2514.     d = Instance.new("NumberValue", Model.Stats.Decrease)
  2515.     dur = Instance.new("NumberValue", d)
  2516.     dur.Name = "Duration"
  2517.     dur.Value = Duration
  2518.     game:GetService("Debris"):AddItem(d, 20)
  2519.     if Stat == "Damage" then
  2520.       d.Name = "DecreaseAtk"
  2521.     else
  2522.       if Stat == "Defense" then
  2523.         d.Name = "DecreaseDef"
  2524.       else
  2525.         if Stat == "Movement" then
  2526.           d.Name = "DecreaseMvmt"
  2527.         end
  2528.       end
  2529.     end
  2530.     if Model:findFirstChild("Torso") ~= nil then
  2531.       display = ""
  2532.       if Stat == "Damage" then
  2533.         if Amount > 0 then
  2534.           display = "-Damage"
  2535.         else
  2536.           display = "+Damage"
  2537.         end
  2538.       else
  2539.         if Stat == "Defense" then
  2540.           if Amount > 0 then
  2541.             display = "-Defense"
  2542.           else
  2543.             display = "+Defense"
  2544.           end
  2545.         else
  2546.           if Stat == "Movement" then
  2547.             if Amount > 0 then
  2548.               display = "-Movement"
  2549.             else
  2550.               display = "+Movement"
  2551.             end
  2552.           end
  2553.         end
  2554.       end
  2555.       showDamage(Model, display, "Debuff")
  2556.     end
  2557.     d.Value = Amount
  2558.   end
  2559. end
  2560.  
  2561.   GetDist = function(Part1, Part2, magni)
  2562.   local targ = Part1.Position - Part2.Position
  2563.   local mag = targ.magnitude
  2564.   if mag <= magni then
  2565.     return true
  2566.   else
  2567.     return false
  2568.   end
  2569. end
  2570.  
  2571.   MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2572.   for _,c in pairs(workspace:children()) do
  2573.     local hum = c:findFirstChild("Humanoid")
  2574.     if hum ~= nil then
  2575.       local head = nil
  2576.       for _,d in pairs(c:children()) do
  2577.         if d.className == "Model" and ranged ~= true then
  2578.           head = d:findFirstChild("Hitbox")
  2579.           if d.Parent == Character then
  2580.             break
  2581.           end
  2582.           if head ~= nil then
  2583.             local targ = head.Position - Part.Position
  2584.             local mag = targ.magnitude
  2585.             if mag <= magni and c.Name ~= Player.Name then
  2586.               ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2587.               ref.Anchored = true
  2588.               ref.CFrame = cf(head.Position)
  2589.               game:GetService("Debris"):AddItem(ref, 1)
  2590.               hitnum = math.random(1, 5)
  2591.               if hitnum == 1 then
  2592.                 so("199148971", ref, 1, 1)
  2593.               else
  2594.                 if hitnum == 2 then
  2595.                   so("199149025", ref, 1, 1)
  2596.                 else
  2597.                   if hitnum == 3 then
  2598.                     so("199149072", ref, 1, 1)
  2599.                   else
  2600.                     if hitnum == 4 then
  2601.                       so("199149109", ref, 1, 1)
  2602.                     else
  2603.                       if hitnum == 5 then
  2604.                         so("199149119", ref, 1, 1)
  2605.                       end
  2606.                     end
  2607.                   end
  2608.                 end
  2609.               end
  2610.               StaggerHit.Value = true
  2611.             end
  2612.           end
  2613.         end
  2614.         do
  2615.           if d.className == "Part" then
  2616.             head = d
  2617.             if head ~= nil then
  2618.               local targ = head.Position - Part.Position
  2619.               local mag = targ.magnitude
  2620.               if mag <= magni and c.Name ~= Player.Name then
  2621.                 if stun == nil then
  2622.                   stun = math.random(5, 10)
  2623.                 end
  2624.                 local Rang = nil
  2625.                 if Ranged == false then
  2626.                   Rang = true
  2627.                 end
  2628.                 local stag = nil
  2629.                 if shbash == true then
  2630.                   stag = true
  2631.                 end
  2632.                 Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  2633.               end
  2634.             end
  2635.           end
  2636.         end
  2637.       end
  2638.     end
  2639.   end
  2640. end
  2641.  
  2642.   MagniBuff = function(Part, magni, Dec, DecAm, Dur)
  2643.   DecreaseStat(Character, Dec, DecAm, Dur)
  2644.   for _,c in pairs(workspace:children()) do
  2645.     local hum = c:findFirstChild("Humanoid")
  2646.     if hum ~= nil then
  2647.       local head = c:findFirstChild("Torso")
  2648.       if head ~= nil then
  2649.         local targ = head.Position - Part.Position
  2650.         local mag = targ.magnitude
  2651.         cando = true
  2652.         if mag <= magni then
  2653.           if Player.Neutral == false then
  2654.             if game.Players:GetPlayerFromCharacter(head.Parent) ~= nil then
  2655.               if game.Players:GetPlayerFromCharacter(head.Parent).TeamColor == Player.TeamColor then
  2656.                 cando = true
  2657.               else
  2658.                 cando = false
  2659.               end
  2660.             else
  2661.               cando = false
  2662.             end
  2663.             if head.Parent:findFirstChild("Alignment") ~= nil and head.Parent.Alignment.Value == Player.TeamColor.Color then
  2664.               cando = true
  2665.             end
  2666.           else
  2667.             cando = false
  2668.           end
  2669.           if cando == true then
  2670.             DecreaseStat(head.Parent, Dec, DecAm, Dur)
  2671.           end
  2672.         end
  2673.       end
  2674.     end
  2675.   end
  2676. end
  2677.  
  2678.   rayCast = function(Pos, Dir, Max, Ignore)
  2679.   return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2680. end
  2681.  
  2682.   local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  2683.   LastPoint = Point
  2684.   effect = function(Color, Ref, LP, P1, returnn, size, thing1)
  2685.   if LP == nil or P1 == nil then
  2686.     return
  2687.   end
  2688.   local effectsmsh = Instance.new("SpecialMesh")
  2689.   effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2690.   effectsmsh.MeshType = "Head"
  2691.   effectsmsh.Name = "Mesh"
  2692.   local effectsg = Instance.new("Part")
  2693.   NoOutline(effectsg)
  2694.   effectsg.formFactor = 3
  2695.   effectsg.CanCollide = false
  2696.   effectsg.Name = "Eff"
  2697.   effectsg.Locked = true
  2698.   effectsg.Anchored = true
  2699.   effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2700.   effectsg.Parent = workspace
  2701.   effectsmsh.Parent = effectsg
  2702.   effectsg.BrickColor = BrickColor.new(Color)
  2703.   effectsg.Reflectance = Ref
  2704.   local point1 = P1
  2705.   local mg = (LP.p - point1.p).magnitude
  2706.   effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2707.   effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2708.   effectsmsh.Scale = Vector3.new(size, 1, size)
  2709.   game:GetService("Debris"):AddItem(effectsg, 2)
  2710.   if returnn then
  2711.     return effectsg
  2712.   end
  2713.   if not returnn then
  2714.     if thing1 == 1 then
  2715.       table.insert(Effects, {effectsg, "Cylinder", 0.05, 0.2, 0, 0.2, effectsmsh})
  2716.     else
  2717.       if thing1 == 2 then
  2718.         table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  2719.       else
  2720.         if thing1 == 3 then
  2721.           table.insert(Effects, {effectsg, "Cylinder", 0, 0, 0, 0.1, effectsmsh})
  2722.         end
  2723.       end
  2724.     end
  2725.   end
  2726. end
  2727.  
  2728.   effect2 = function(Color, Ref, LP, P1, returnn, size, raa)
  2729.   if LP == nil or P1 == nil then
  2730.     return
  2731.   end
  2732.   MshTypee = "CylinderMesh"
  2733.   if raa == 2 then
  2734.     MshTypee = "BlockMesh"
  2735.   end
  2736.   local effectsmsh = Instance.new(MshTypee)
  2737.   effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  2738.   effectsmsh.Name = "Mesh"
  2739.   local effectsg = Instance.new("Part")
  2740.   NoOutline(effectsg)
  2741.   if raa == 2 then
  2742.     effectsg.Material = "Neon"
  2743.   end
  2744.   effectsg.formFactor = 3
  2745.   effectsg.CanCollide = false
  2746.   effectsg.Name = "Eff"
  2747.   effectsg.Locked = true
  2748.   effectsg.Anchored = true
  2749.   effectsg.Size = Vector3.new(0.5, 1, 0.5)
  2750.   effectsg.Parent = workspace
  2751.   effectsmsh.Parent = effectsg
  2752.   effectsg.BrickColor = BrickColor.new(Color)
  2753.   effectsg.Reflectance = Ref
  2754.   local point1 = P1
  2755.   local mg = (LP.p - point1.p).magnitude
  2756.   effectsg.Size = Vector3.new(0.5, mg, 0.5)
  2757.   effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  2758.   effectsmsh.Scale = Vector3.new(size, 1, size)
  2759.   game:GetService("Debris"):AddItem(effectsg, 5)
  2760.   if returnn then
  2761.     return effectsg
  2762.   end
  2763.   if not returnn then
  2764.     if raa == 2 then
  2765.       table.insert(Effects, {effectsg, "Cylinder", 0.05, -0.05, 0, -0.05, effectsmsh})
  2766.     else
  2767.       table.insert(Effects, {effectsg, "Cylinder", 0.1, -0.2, 0, -0.2, effectsmsh})
  2768.     end
  2769.   end
  2770. end
  2771.  
  2772.   local CFrameFromTopBack = function(at, top, back)
  2773.   local right = top:Cross(back)
  2774.   return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  2775. end
  2776.  
  2777.   Triangle = function(a, b, c)
  2778.   local edg1 = c - a:Dot(b - a.unit)
  2779.   local edg2 = a - b:Dot(c - b.unit)
  2780.   local edg3 = b - c:Dot(a - c.unit)
  2781.   if edg1 <= b - a.magnitude and edg1 >= 0 then
  2782.     a = a
  2783.   else
  2784.     if edg2 <= c - b.magnitude and edg2 >= 0 then
  2785.       a = b
  2786.     else
  2787.       if edg3 <= a - c.magnitude and edg3 >= 0 then
  2788.         a = c
  2789.       else
  2790.         assert(false, "unreachable")
  2791.       end
  2792.     end
  2793.   end
  2794. local len1 = (c-a):Dot((b-a).unit)
  2795. local len2 = (b-a).magnitude - len1
  2796. local width = (a + (b-a).unit*len1 - c).magnitude
  2797. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2798.   local list = {}
  2799.   if len1 > 0.01 then
  2800.     local w1 = Instance.new("WedgePart", m)
  2801.     w1.Name = "Triangle"
  2802.     game:GetService("Debris"):AddItem(w1, 5)
  2803.     w1.Material = "SmoothPlastic"
  2804.     w1.FormFactor = "Custom"
  2805.     w1.BrickColor = BrickColor.new("Medium blue")
  2806.     w1.Transparency = 0
  2807.     w1.Reflectance = 0
  2808.     w1.Material = "SmoothPlastic"
  2809.     w1.CanCollide = false
  2810.     NoOutline(w1)
  2811.     local sz = Vector3.new(0.2, width, len1)
  2812.     w1.Size = sz
  2813.     local sp = Instance.new("SpecialMesh", w1)
  2814.     sp.MeshType = "Wedge"
  2815.     sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  2816.     w1:BreakJoints()
  2817.     w1.Anchored = true
  2818.     w1.Parent = workspace
  2819.     w1.Transparency = 0.7
  2820.     table.insert(Effects, {w1, "Disappear", 0.05})
  2821.     w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  2822.     table.insert(list, w1)
  2823.   end
  2824.   do
  2825.     if len2 > 0.01 then
  2826.       local w2 = Instance.new("WedgePart", m)
  2827.       w2.Name = "Triangle"
  2828.       game:GetService("Debris"):AddItem(w2, 5)
  2829.       w2.Material = "SmoothPlastic"
  2830.       w2.FormFactor = "Custom"
  2831.       w2.BrickColor = BrickColor.new("Medium blue")
  2832.       w2.Transparency = 0
  2833.       w2.Reflectance = 0
  2834.       w2.Material = "SmoothPlastic"
  2835.       w2.CanCollide = false
  2836.       NoOutline(w2)
  2837.       local sz = Vector3.new(0.2, width, len2)
  2838.       w2.Size = sz
  2839.       local sp = Instance.new("SpecialMesh", w2)
  2840.       sp.MeshType = "Wedge"
  2841.       sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  2842.       w2:BreakJoints()
  2843.       w2.Anchored = true
  2844.       w2.Parent = workspace
  2845.       w2.Transparency = 0.7
  2846.       table.insert(Effects, {w2, "Disappear", 0.05})
  2847.       w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  2848.       table.insert(list, w2)
  2849.     end
  2850.     do
  2851.       return unpack(list)
  2852.     end
  2853.   end
  2854. end
  2855.  
  2856.   MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2857.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2858.   prt.Anchored = true
  2859.   prt.CFrame = cframe
  2860.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2861.   game:GetService("Debris"):AddItem(prt, 10)
  2862.   if Type == 1 or Type == nil then
  2863.     table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2864.   else
  2865.     if Type == 2 then
  2866.       table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2867.     else
  2868.       if Type == 3 then
  2869.         table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  2870.       else
  2871.         if Type == 4 then
  2872.           table.insert(Effects, {prt, "Block4", delay, x3, y3, z3, msh, 1})
  2873.         end
  2874.       end
  2875.     end
  2876.   end
  2877. end
  2878.  
  2879.   MagicBlock2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  2880.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2881.   prt.Material = "Neon"
  2882.   prt.Anchored = true
  2883.   prt.CFrame = cframe
  2884.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2885.   game:GetService("Debris"):AddItem(prt, 10)
  2886.   if Type == 1 or Type == nil then
  2887.     table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  2888.   else
  2889.     if Type == 2 then
  2890.       table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  2891.     else
  2892.       if Type == 3 then
  2893.         table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame})
  2894.       end
  2895.     end
  2896.   end
  2897. end
  2898.  
  2899.   MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2900.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2901.   prt.Material = "Neon"
  2902.   prt.Anchored = true
  2903.   prt.CFrame = cframe
  2904.   local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2905.   game:GetService("Debris"):AddItem(prt, 10)
  2906.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2907. end
  2908.  
  2909.   MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  2910.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2911.   prt.Anchored = true
  2912.   prt.CFrame = cframe
  2913.   local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2914.   game:GetService("Debris"):AddItem(prt, 10)
  2915.   table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  2916. end
  2917.  
  2918.   MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2919.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2920.   prt.Material = "Neon"
  2921.   prt.Anchored = true
  2922.   prt.CFrame = cframe
  2923.   local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  2924.   game:GetService("Debris"):AddItem(prt, 10)
  2925.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2926. end
  2927.  
  2928.   MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2929.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2930.   prt.Anchored = true
  2931.   prt.CFrame = cframe
  2932.   local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2933.   game:GetService("Debris"):AddItem(prt, 10)
  2934.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2935. end
  2936.  
  2937.   ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  2938.   local prt = part(3, effects, 0, 1, brickcolor, "Effect", vt())
  2939.   prt.Anchored = true
  2940.   prt.CFrame = cframe
  2941.   local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  2942.   game:GetService("Debris"):AddItem(prt, 10)
  2943.   table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  2944. end
  2945.  
  2946.   MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2947.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2948.   prt.Anchored = true
  2949.   prt.CFrame = cframe
  2950.   local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2951.   game:GetService("Debris"):AddItem(prt, 10)
  2952.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2953. end
  2954.  
  2955.   MagicSpecial = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2956.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2957.   prt.Anchored = true
  2958.   prt.CFrame = cframe
  2959.   local msh = mesh("SpecialMesh", prt, "FileMesh", "24388358", vt(0, 0, 0), vt(x1, y1, z1))
  2960.   game:GetService("Debris"):AddItem(prt, 10)
  2961.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2962. end
  2963.  
  2964.   BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  2965.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2966.   prt.Anchored = true
  2967.   prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2968.   game:GetService("Debris"):AddItem(prt, 10)
  2969.   local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  2970.   local num = math.random(10, 50) / 1000
  2971.   table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  2972. end
  2973.  
  2974.   MagicStar = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2975.   local prt = part(3, effects, 0, 0, brickcolor, "Effect", vt())
  2976.   prt.Material = "Neon"
  2977.   prt.Anchored = true
  2978.   prt.CFrame = cframe
  2979.   local msh = mesh("SpecialMesh", prt, "FileMesh", "45428961", vt(0, 0, 0), vt(x1, y1, z1))
  2980.   game:GetService("Debris"):AddItem(prt, 10)
  2981.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  2982. end
  2983.  
  2984.   Lightning = function(p0, p1, tym, ofs, col, th, tra, last)
  2985.   local magz = (p0 - p1).magnitude
  2986.   local curpos = p0
  2987.   local trz = {-ofs, ofs}
  2988.   for i = 1, tym do
  2989.     local li = Instance.new("Part", effects)
  2990.     li.TopSurface = 0
  2991.     li.BottomSurface = 0
  2992.     li.Anchored = true
  2993.     li.Transparency = tra or 0.4
  2994.     li.BrickColor = BrickColor.new(col)
  2995.     li.formFactor = "Custom"
  2996.     li.CanCollide = false
  2997.     li.Size = Vector3.new(th, th, magz / tym)
  2998.     local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2999.     local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  3000.     li.Material = "Neon"
  3001.     if tym == i then
  3002.       local magz2 = (curpos - p1).magnitude
  3003.       li.Size = Vector3.new(th, th, magz2)
  3004.       li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  3005.           table.insert(Effects, {li, "Disappear", last})
  3006.     else
  3007.       do
  3008.         do
  3009.           li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  3010.           curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  3011.           game.Debris:AddItem(li, 10)
  3012.           table.insert(Effects, {li, "Disappear", last})
  3013.         end
  3014.       end
  3015.     end
  3016.   end
  3017. end
  3018.  
  3019.   Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  3020.   if hit.Parent == nil then
  3021.     return
  3022.   end
  3023.   if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  3024.     ref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  3025.     ref.Anchored = true
  3026.     ref.CFrame = cf(hit.Position)
  3027.     game:GetService("Debris"):AddItem(ref, 1)
  3028.     hitnum = math.random(1, 5)
  3029.     if hitnum == 1 then
  3030.       so("199148971", ref, 1, 1)
  3031.     else
  3032.       if hitnum == 2 then
  3033.         so("199149025", ref, 1, 1)
  3034.       else
  3035.         if hitnum == 3 then
  3036.           so("199149072", ref, 1, 1)
  3037.         else
  3038.           if hitnum == 4 then
  3039.             so("199149109", ref, 1, 1)
  3040.           else
  3041.             if hitnum == 5 then
  3042.               so("199149119", ref, 1, 1)
  3043.             end
  3044.           end
  3045.         end
  3046.       end
  3047.     end
  3048.     StaggerHit.Value = true
  3049.   end
  3050.   h = hit.Parent:FindFirstChild("Humanoid")
  3051.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3052.     if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  3053.       return
  3054.     end
  3055.     c = Instance.new("ObjectValue")
  3056.     c.Name = "creator"
  3057.     c.Value = game:service("Players").LocalPlayer
  3058.     c.Parent = h
  3059.     RecentEnemy.Value = hit.Parent
  3060.     game:GetService("Debris"):AddItem(c, 0.5)
  3061.     minim = minim * Atk.Value
  3062.     maxim = maxim * Atk.Value
  3063.     Damage = 0
  3064.     if minim == maxim then
  3065.       Damage = maxim
  3066.     else
  3067.       Damage = math.random(minim, maxim)
  3068.     end
  3069.     blocked = false
  3070.     enblock = nil
  3071.     local EStats = hit.Parent:findFirstChild("Stats")
  3072.     if EStats ~= nil then
  3073.       invis = EStats:findFirstChild("Invisibility")
  3074.       isinvis = EStats:findFirstChild("IsInvisible")
  3075.       if (ranged == false or ranged == nil) and invis ~= nil and isinvis.Value == true then
  3076.         invis.Value = 0
  3077.       end
  3078.       enblock = EStats:findFirstChild("Block")
  3079.       if enblock ~= nil and enblock.Value == true then
  3080.         blocked = true
  3081.       end
  3082.       if EStats:findFirstChild("Defense") ~= nil then
  3083.         Damage = Damage / EStats.Defense.Value
  3084.         if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  3085.           hitnum = math.random(1, 5)
  3086.           if hitnum == 1 then
  3087.             so("199149321", hit, 1, 1)
  3088.           else
  3089.             if hitnum == 2 then
  3090.               so("199149338", hit, 1, 1)
  3091.             else
  3092.               if hitnum == 3 then
  3093.                 so("199149367", hit, 1, 1)
  3094.               else
  3095.                 if hitnum == 4 then
  3096.                   so("199149409", hit, 1, 1)
  3097.                 else
  3098.                   if hitnum == 5 then
  3099.                     so("199149452", hit, 1, 1)
  3100.                   end
  3101.                 end
  3102.               end
  3103.             end
  3104.           end
  3105.         else
  3106.           if ranged == false or ranged == nil and blocked ~= true then
  3107.             hitnum = math.random(1, 6)
  3108.             if hitnum == 1 then
  3109.               so("199149137", hit, 1, 1)
  3110.             else
  3111.               if hitnum == 2 then
  3112.                 so("199149186", hit, 1, 1)
  3113.               else
  3114.                 if hitnum == 3 then
  3115.                   so("199149221", hit, 1, 1)
  3116.                 else
  3117.                   if hitnum == 4 then
  3118.                     so("199149235", hit, 1, 1)
  3119.                   else
  3120.                     if hitnum == 5 then
  3121.                       so("199149269", hit, 1, 1)
  3122.                     else
  3123.                       if hitnum == 6 then
  3124.                         so("199149297", hit, 1, 1)
  3125.                       end
  3126.                     end
  3127.                   end
  3128.                 end
  3129.               end
  3130.             end
  3131.           end
  3132.         end
  3133.         if Damage <= 3 and staghit == true and ranged ~= true then
  3134.           StaggerHit.Value = true
  3135.         end
  3136.       end
  3137.       if EStats:findFirstChild("Stun") ~= nil then
  3138.         if blocked == true then
  3139.           incstun = incstun / 2
  3140.         end
  3141.         if EStats.Stun.Value < EStats.StunThreshold.Value then
  3142.           EStats.Stun.Value = EStats.Stun.Value + incstun
  3143.         end
  3144.       end
  3145.       if EStats:findFirstChild("Stagger") ~= nil and stagger == true then
  3146.         EStats.Stagger.Value = true
  3147.       end
  3148.     end
  3149.     if blocked == true then
  3150.       showDamage(hit.Parent, "Block", "Damage")
  3151.       if ranged ~= true then
  3152.         enblock.Value = false
  3153.         Stagger.Value = true
  3154.         hitnum = math.random(1, 2)
  3155.         if hitnum == 1 then
  3156.           so("199148933", hit, 1, 1)
  3157.         else
  3158.           if hitnum == 2 then
  3159.             so("199148947", hit, 1, 1)
  3160.           end
  3161.         end
  3162.       end
  3163.     else
  3164.       Damage = math.floor(Damage)
  3165.       coroutine.resume(coroutine.create(function(Hum, Dam)
  3166.     hit.Parent.Humanoid:TakeDamage(Damage)
  3167.   end
  3168. ), h, Damage)
  3169.       showDamage(hit.Parent, Damage, "Damage")
  3170.       if DecreaseState ~= nil then
  3171.         if DecreaseState == "Temporal" then
  3172.           DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3173.           DecreaseStat(hit.Parent, "Defense", DecreaseAmount, Duration)
  3174.         else
  3175.           if DecreaseState == "Temporal2" then
  3176.             DecreaseStat(hit.Parent, "Damage", DecreaseAmount, Duration)
  3177.             DecreaseStat(hit.Parent, "Movement", DecreaseAmount, Duration)
  3178.           else
  3179.             DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  3180.           end
  3181.         end
  3182.       end
  3183.       if Type == "NormalDecreaseMvmt1" then
  3184.         DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  3185.       end
  3186.       if Type == "Knockdown" then
  3187.         hum = hit.Parent.Humanoid
  3188.         hum.PlatformStand = true
  3189.         coroutine.resume(coroutine.create(function(HHumanoid)
  3190.     swait(1)
  3191.     HHumanoid.PlatformStand = false
  3192.   end
  3193. ), hum)
  3194.         local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3195.         local bodvol = Instance.new("BodyVelocity")
  3196.         bodvol.velocity = angle * knockback
  3197.         bodvol.P = 5000
  3198.         bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3199.         bodvol.Parent = hit
  3200.         rl = Instance.new("BodyAngularVelocity")
  3201.         rl.P = 3000
  3202.         rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  3203.         rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  3204.         rl.Parent = hit
  3205.         game:GetService("Debris"):AddItem(bodvol, 0.5)
  3206.         game:GetService("Debris"):AddItem(rl, 0.5)
  3207.       else
  3208.         do
  3209.           if Type == "Knockdown2" then
  3210.             hum = hit.Parent.Humanoid
  3211.             local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3212.             local bodvol = Instance.new("BodyVelocity")
  3213.             bodvol.velocity = angle * knockback
  3214.             bodvol.P = 5000
  3215.             bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  3216.             bodvol.Parent = hit
  3217.             game:GetService("Debris"):AddItem(bodvol, 0.5)
  3218.           else
  3219.             do
  3220.               if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  3221.                 vp = Instance.new("BodyVelocity")
  3222.                 vp.P = 500
  3223.                 vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  3224.                 if KnockbackType == 1 then
  3225.                   vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3226.                 else
  3227.                   if KnockbackType == 2 then
  3228.                     vp.velocity = Property.CFrame.lookVector * knockback
  3229.                   end
  3230.                 end
  3231.                 game:GetService("Debris"):AddItem(vp, 0.5)
  3232.                 if knockback > 0 then
  3233.                   vp.Parent = hit.Parent.Torso
  3234.                 end
  3235.               end
  3236.               debounce = Instance.new("BoolValue")
  3237.               debounce.Name = "DebounceHit"
  3238.               debounce.Parent = hit.Parent
  3239.               debounce.Value = true
  3240.               game:GetService("Debris"):AddItem(debounce, Delay)
  3241.               c = Instance.new("ObjectValue")
  3242.               c.Name = "creator"
  3243.               c.Value = Player
  3244.               c.Parent = h
  3245.               game:GetService("Debris"):AddItem(c, 0.5)
  3246.               CRIT = false
  3247.             end
  3248.           end
  3249.         end
  3250.       end
  3251.     end
  3252.   end
  3253. end
  3254.  
  3255.   showDamage = function(Char, Dealt, Type)
  3256.   m = Instance.new("Model")
  3257.   m.Name = "Effect"
  3258.   c = Instance.new("Part")
  3259.   c.Transparency = 1
  3260.   c.Name = "Head"
  3261.   c.TopSurface = 0
  3262.   c.BottomSurface = 0
  3263.   c.formFactor = "Plate"
  3264.   c.Size = Vector3.new(1, 0.4, 1)
  3265.   b = Instance.new("BillboardGui", c)
  3266.   b.Size = UDim2.new(5, 0, 5, 0)
  3267.   b.AlwaysOnTop = true
  3268.   damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  3269.   if Type == "Damage" then
  3270.     damgui.Font = "SourceSans"
  3271.     if Dealt == "Block" then
  3272.       damgui.TextColor3 = BrickColor.new("Bright blue").Color
  3273.     else
  3274.       if Dealt < 3 then
  3275.         damgui.TextColor3 = BrickColor.new("White").Color
  3276.       else
  3277.         if Dealt >= 3 and Dealt < 20 then
  3278.           damgui.TextColor3 = BrickColor.new("Bright yellow").Color
  3279.         else
  3280.           damgui.TextColor3 = BrickColor.new("Really red").Color
  3281.           damgui.Font = "SourceSansBold"
  3282.         end
  3283.       end
  3284.     end
  3285.   else
  3286.     if Type == "Debuff" then
  3287.       damgui.TextColor3 = BrickColor.new("White").Color
  3288.     else
  3289.       if Type == "Interrupt" then
  3290.         damgui.TextColor3 = BrickColor.new("New Yeller").Color
  3291.       end
  3292.     end
  3293.   end
  3294.   damgui.TextScaled = true
  3295.   ms = Instance.new("CylinderMesh")
  3296.   ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  3297.   ms.Parent = c
  3298.   c.Reflectance = 0
  3299.   Instance.new("BodyGyro").Parent = c
  3300.   c.Parent = m
  3301.   if Char:findFirstChild("Head") ~= nil then
  3302.     c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3303.   else
  3304.     if Char.Parent:findFirstChild("Head") ~= nil then
  3305.       c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  3306.     end
  3307.   end
  3308.   f = Instance.new("BodyPosition")
  3309.   f.P = 2000
  3310.   f.D = 100
  3311.   f.maxForce = Vector3.new(545000, 545000, 545000)
  3312.   if Type == "Damage" then
  3313.     f.position = c.Position + Vector3.new(0, 3, 0)
  3314.   else
  3315.     if Type == "Debuff" or Type == "Interrupt" then
  3316.       f.position = c.Position + Vector3.new(0, 5, 0)
  3317.     end
  3318.   end
  3319.   f.Parent = c
  3320.   game:GetService("Debris"):AddItem(m, 5)
  3321.   table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  3322.   c.CanCollide = false
  3323.   m.Parent = workspace
  3324.   c.CanCollide = false
  3325. end
  3326.  
  3327.   combo = 0
  3328.   ob1d = function(mouse)
  3329.   if cshoot == false and cdebounce == false then
  3330.     cshoot = true
  3331.   end
  3332.   if shockshoot == false and shockdebounce == false then
  3333.     shockshoot = true
  3334.     TehM = MMouse.Hit.p
  3335.   end
  3336.   if starshoot == false and stardebounce == false then
  3337.     starshoot = true
  3338.     TehM = MMouse.Hit.p
  3339.   end
  3340.   if attack == true or equipped == false then
  3341.     return
  3342.   end
  3343. attack = true
  3344.   hold = true
  3345.   if combo == 0 then
  3346.     combo = 1
  3347.     attackone()
  3348.   else
  3349.     if combo == 1 then
  3350.       combo = 2
  3351.       attacktwo()
  3352.     else
  3353.       if combo == 2 then
  3354.         combo = 3
  3355.         attackthree()
  3356.       else
  3357.         if combo == 3 then
  3358.           combo = 0
  3359.           attackfour()
  3360.         end
  3361.       end
  3362.     end
  3363.   end
  3364. attack = false
  3365. end
  3366.  
  3367.   ob1u = function(mouse)
  3368.   hold = false
  3369. end
  3370.  
  3371.   buttonhold = false
  3372.   fenbarmove1.MouseButton1Click:connect(do1)
  3373.   fenbarmove2.MouseButton1Click:connect(do2)
  3374.   fenbarmove3.MouseButton1Click:connect(do3)
  3375.   fenbarmove4.MouseButton1Click:connect(do4)
  3376.   eul = 0
  3377.   equipped = false
  3378.   key = function(key)
  3379.   if key == "q" and Player.Name == "Fenrier" then
  3380.     cooldowns[1] = 100
  3381.     cooldowns[2] = 100
  3382.     cooldowns[3] = 100
  3383.     cooldowns[4] = 100
  3384.   end
  3385.   if key == "z" and cbuster == true then
  3386.     cbuster = false
  3387.     return
  3388.   end
  3389.   if key == "x" and sbreaker == true then
  3390.     sbreaker = false
  3391.     return
  3392.   end
  3393.   if key == "c" and sblazing == true then
  3394.     sblazing = false
  3395.     return
  3396.   end
  3397.   if key == "e" then
  3398.     if prising == true then
  3399.       prising = false
  3400.       return
  3401.     end
  3402.     if cbuster == true and mana.Value > 15 then
  3403.       busterlaser = true
  3404.       return
  3405.     end
  3406.     if sbreaker == true and mana.Value > 10 then
  3407.       sbreakerII = true
  3408.       return
  3409.     end
  3410.     if sblazing == true and mana.Value > 20 then
  3411.       galacblazing = true
  3412.       return
  3413.     end
  3414.   end
  3415.   if attack == true then
  3416.     return
  3417.   end
  3418.   if key == "f" then
  3419.     attack = true
  3420.     pressedf = true
  3421.     fnumb = 0
  3422. repeat swait() until effects:FindFirstChild("Effect") == nil
  3423.     if equipped == false then
  3424.       RSH = ch.Torso["Right Shoulder"]
  3425.       LSH = ch.Torso["Left Shoulder"]
  3426.       RSH.Parent = nil
  3427.       LSH.Parent = nil
  3428.       RW.Name = "Right Shoulder"
  3429.       RW.Part0 = ch.Torso
  3430.       RW.C0 = cf(1.5, 0.5, 0)
  3431.       RW.C1 = cf(0, 0.5, 0)
  3432.       RW.Part1 = ch["Right Arm"]
  3433.       RW.Parent = ch.Torso
  3434.       LW.Name = "Left Shoulder"
  3435.       LW.Part0 = ch.Torso
  3436.       LW.C0 = cf(-1.5, 0.5, 0)
  3437.       LW.C1 = cf(0, 0.5, 0)
  3438.       LW.Part1 = ch["Left Arm"]
  3439.       LW.Parent = ch.Torso
  3440.       Animate.Parent = nil
  3441.       equipanim()
  3442.       equipped = true
  3443.     else
  3444.       equipped = false
  3445.       hideanim()
  3446.       LH.C1 = LHC1
  3447.       RH.C1 = RHC1
  3448.       Animate.Parent = Humanoid
  3449.       swait(0)
  3450.       RW.Parent = nil
  3451.       LW.Parent = nil
  3452.       RSH.Parent = player.Character.Torso
  3453.       LSH.Parent = player.Character.Torso
  3454.     end
  3455.     attack = false
  3456.   end
  3457.   if equipped == false then
  3458.     return
  3459.   end
  3460.   if key == "e" then
  3461.     PowerRising()
  3462.   end
  3463.   if key == "q" then
  3464.     mana.Value = 100
  3465.   end
  3466.   if key == "z" then
  3467.     do1()
  3468.   end
  3469.   if key == "x" then
  3470.     do2()
  3471.   end
  3472.   if key == "c" then
  3473.     do3()
  3474.   end
  3475.   if key == "v" then
  3476.     do4()
  3477.   end
  3478. end
  3479.  
  3480.   key2 = function(key)
  3481. end
  3482.  
  3483.   s = function(mouse)
  3484.   mouse.Button1Down:connect(function()
  3485.     ob1d(mouse)
  3486.   end
  3487. )
  3488.   mouse.Button1Up:connect(function()
  3489.     ob1u(mouse)
  3490.   end
  3491. )
  3492.   mouse.KeyDown:connect(key)
  3493.   mouse.KeyUp:connect(key2)
  3494.   player = Player
  3495.   ch = Character
  3496. end
  3497.  
  3498.   ds = function(mouse)
  3499. end
  3500.  
  3501.   Bin.Selected:connect(s)
  3502.   Bin.Deselected:connect(ds)
  3503.   print("Dreamer loaded.")
  3504.   local mananum = 0
  3505.   local donum = 0
  3506.   local stunnum = 0
  3507.   local staggeranim = false
  3508.   local stunanim = false
  3509.   local walk = 0
  3510.   local walkforw = true
  3511.   local fnum = 0
  3512.   local domodel = false
  3513.   local gef = 10
  3514.   local col = 1
  3515.   local colnum = 0
  3516.   while true do
  3517.     swait()
  3518.     for _,c in pairs(model3:children()) do
  3519.       if c.className == "Part" then
  3520.         if c.BrickColor == Neons[1] then
  3521.           c.BrickColor = Neons[2]
  3522.         else
  3523.           if c.BrickColor == Neons[2] then
  3524.             c.BrickColor = Neons[3]
  3525.           else
  3526.             if c.BrickColor == Neons[3] then
  3527.               c.BrickColor = Neons[4]
  3528.             else
  3529.               if c.BrickColor == Neons[4] then
  3530.                 c.BrickColor = Neons[5]
  3531.               else
  3532.                 if c.BrickColor == Neons[5] then
  3533.                   c.BrickColor = Neons[6]
  3534.                 else
  3535.                   if c.BrickColor == Neons[6] then
  3536.                     c.BrickColor = Neons[7]
  3537.                   else
  3538.                     if c.BrickColor == Neons[7] then
  3539.                       c.BrickColor = Neons[1]
  3540.                     end
  3541.                   end
  3542.                 end
  3543.               end
  3544.             end
  3545.           end
  3546.         end
  3547.       end
  3548.     end
  3549.     starsparti.Color = cs(Neons[math.random(1, 7)].Color, Color3.new(1, 1, 1))
  3550.     if Mode == "Sabers" then
  3551.       passive1.Value = 0
  3552.       passive2.Value = -0.1
  3553.     else
  3554.       passive1.Value = -0.1
  3555.       passive2.Value = 0
  3556.     end
  3557.     if (Head:findFirstChild("Running")) ~= nil then
  3558.       if floating == true then
  3559.         Head.Running.Volume = 0
  3560.         Humanoid.JumpPower = 60
  3561.       else
  3562.         Head.Running.Volume = 0.5
  3563.         Humanoid.JumpPower = 50
  3564.       end
  3565.     end
  3566.     colnum = colnum + 1
  3567.     if #Neons - 1 < col and (colnum) % 2 == 0 then
  3568.       col = 1
  3569.     end
  3570.     if (colnum) % 2 == 0 then
  3571.       col = col + 1
  3572.     end
  3573.     gef = gef + 1
  3574.     if (gef) % 10 == 0 and 0 < Humanoid.Health then
  3575.       hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
  3576.       if hitfloor2 ~= nil and equipped == true and floating == true and Mode == "Normal" then
  3577.         MagicWave(BrickColor.new("Institutional white"), cf(posfloor2) * euler(0, math.random(-50, 50), 0), 1, 2, 1, 0.7, -0.05, 0.7, 0.15)
  3578.       end
  3579.     end
  3580.     if Humanoid.Health <= 0 then
  3581.       attack = true
  3582.       resumeControl()
  3583.       modelzorz.Parent = workspace
  3584.       model2.Parent = workspace
  3585.       game:GetService("Debris"):AddItem(modelzorz, 30)
  3586.       game:GetService("Debris"):AddItem(model2, 30)
  3587.       if domodel == false then
  3588.         domodel = true
  3589.         for i = 1, #Weapon do
  3590.           Weapon[i].Parent = modelzorz
  3591.           Weapon[i].CanCollide = true
  3592.         end
  3593.         for i = 1, #Welds do
  3594.           Welds[i].Parent = main1
  3595.         end
  3596.       end
  3597.     end
  3598.     do
  3599.       if fnumb < 21 then
  3600.         fnumb = fnumb + 1
  3601.         if pressedf == false then
  3602.           fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  3603.           tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  3604.           tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  3605.         else
  3606.           if fnumb == 20 then
  3607.             fenframe5.Parent = nil
  3608.             print("daigui")
  3609.           end
  3610.           fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  3611.           tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  3612.           tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  3613.         end
  3614.       end
  3615.       if Stagger.Value == true and staggeranim == false then
  3616.         coroutine.resume(coroutine.create(function()
  3617.   staggeranim = true
  3618.   while attack == true do
  3619.     swait()
  3620.   end
  3621.   StaggerAnim()
  3622.   StaggerHit.Value = false
  3623.   Stagger.Value = false
  3624.   staggeranim = false
  3625. end
  3626. ))
  3627.       end
  3628.       if StaggerHit.Value == true and staggeranim == false then
  3629.         coroutine.resume(coroutine.create(function()
  3630.   staggeranim = true
  3631.   while attack == true do
  3632.     swait()
  3633.   end
  3634.   StaggerHitt()
  3635.   StaggerHit.Value = false
  3636.   Stagger.Value = false
  3637.   staggeranim = false
  3638. end
  3639. ))
  3640.       end
  3641.       if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  3642.         Humanoid.WalkSpeed = 0
  3643.       else
  3644.         Humanoid.WalkSpeed = 16 * Mvmt.Value
  3645.       end
  3646.       if StunT.Value <= Stun.Value and stunanim == false then
  3647.         coroutine.resume(coroutine.create(function()
  3648.   stunanim = true
  3649.   while attack == true do
  3650.     swait()
  3651.   end
  3652.   StunAnim()
  3653.   Stun.Value = 0
  3654.   stunanim = false
  3655. end
  3656. ))
  3657.       end
  3658.       local stunnum2 = 40
  3659.       if stunnum2 <= stunnum then
  3660.         if 0 < Stun.Value then
  3661.           Stun.Value = Stun.Value - 1
  3662.         end
  3663.         stunnum = 0
  3664.       end
  3665.       stunnum = stunnum + 1
  3666.       if 0.5 <= donum then
  3667.         handidle = true
  3668.       else
  3669.         if donum <= 0 then
  3670.           handidle = false
  3671.         end
  3672.       end
  3673.       if handidle == false then
  3674.         donum = donum + 0.003
  3675.       else
  3676.         donum = donum - 0.003
  3677.       end
  3678.       local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3679.       local velderp = RootPart.Velocity.y
  3680.       hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3681.       if equipped == true then
  3682.         if Anim == "Walk" and floating == false then
  3683.           if walkforw == true then
  3684.             RH.C1 = clerp(RH.C1, RHC1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3685.             LH.C1 = clerp(LH.C1, LHC1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Mvmt.Value * 10 / 50)
  3686.           else
  3687.             RH.C1 = clerp(RH.C1, RHC1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3688.             LH.C1 = clerp(LH.C1, LHC1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Mvmt.Value * 10 / 50)
  3689.           end
  3690.         else
  3691.           RH.C1 = clerp(RH.C1, RHC1, 0.2)
  3692.           LH.C1 = clerp(LH.C1, LHC1, 0.2)
  3693.         end
  3694.         if 1 < RootPart.Velocity.y and hitfloor == nil then
  3695.           Anim = "Jump"
  3696.           if Mode == "Normal" and floating == true then
  3697.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 - (donum)) * euler(-0.1, 0, 0), 0.3)
  3698.           end
  3699.           if attack == false then
  3700.             if Mode == "Normal" then
  3701.               MagicBlock2(Neons[col], LeftLeg.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  3702.               MagicBlock2(Neons[col], RightLeg.CFrame * cf(0, -1, 0), 4, 4, 4, 2, 2, 2, 0.2, 1)
  3703.               Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.4 - (donum) / 2, 0, 0), 0.3)
  3704.               RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.8 + (donum) / 4) * euler(0, 0, 0), 0.3)
  3705.               LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -0.8 - (donum) / 4) * euler(0, 0, 0), 0.3)
  3706.               RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.1 + (donum) / 7), 0.3)
  3707.               LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.05 - (donum) / 7), 0.3)
  3708.             else
  3709.               mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3710.               mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3711.               Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2, 0, 0), 0.25)
  3712.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.25)
  3713.               RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 0.8) * euler(0, -0.6, 0) * euler(0, 0, -0.2), 0.25)
  3714.               LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8) * euler(0, 0.6, 0) * euler(0, 0, 0.2), 0.25)
  3715.               RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.25)
  3716.               LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  3717.             end
  3718.           end
  3719.         else
  3720.           if RootPart.Velocity.y < -1 and hitfloor == nil then
  3721.             Anim = "Fall"
  3722.             if Mode == "Normal" and floating == true then
  3723.               RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3724.             end
  3725.             if attack == false then
  3726.               if Mode == "Normal" then
  3727.                 Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3728.                 Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3729.                 RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.8) * euler(0, -1.5, 0), 0.2)
  3730.                 LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.8), 0.2)
  3731.                 RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3732.                 LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3733.               else
  3734.                 Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.2)
  3735.                 Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.2)
  3736.                 RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0, 0, 0), 0.2)
  3737.                 RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 0.4) * euler(0, -1, 0) * euler(0, 0, 0.6), 0.25)
  3738.                 LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.4) * euler(0, 1, 0) * euler(0, 0, -0.6), 0.25)
  3739.                 RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.2)
  3740.                 LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.2)
  3741.               end
  3742.             end
  3743.           else
  3744.             if torvel < 1 and hitfloor ~= nil then
  3745.               Anim = "Idle"
  3746.               if Mode == "Normal" and floating == true then
  3747.                 RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.5 - (donum)) * euler(-0.05, 0, 0), 0.3)
  3748.               end
  3749.               if attack == false then
  3750.                 if Mode == "Normal" then
  3751.                   Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2 - (donum) / 8, 0, 0), 0.3)
  3752.                   RW.C0 = clerp(RW.C0, cf(1.3, 0.5, 0.1) * euler(0.4, 0, 0.4 + (donum) / 4) * euler(0, -1.5, 0), 0.3)
  3753.                   LW.C0 = clerp(LW.C0, cf(-1.3, 0.5, 0.1) * euler(0.4, 0, -0.4 - (donum) / 4) * euler(0, 1.5, 0), 0.3)
  3754.                   RH.C0 = clerp(RH.C0, cf(0.95, -0.9, 0) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.1 + (donum) / 7), 0.3)
  3755.                   LH.C0 = clerp(LH.C0, cf(-1, -0.8, -0.1) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.05 - (donum) / 7), 0.3)
  3756.                 else
  3757.                   mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3758.                   mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3759.                   Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.1, 0, 0), 0.2)
  3760.                   RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, -0.4) * euler(0.2 + (donum) / 4, 0, 0), 0.2)
  3761.                   RW.C0 = clerp(RW.C0, cf(1.4, 0.4, -0.1) * euler(1, 0, 0.7 - (donum) / 3) * euler(0, 1, 0), 0.2)
  3762.                   LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.4, 0, -0.8 + (donum) / 3) * euler(0, -1, 0), 0.2)
  3763.                   RH.C0 = clerp(RH.C0, cf(1, -0.7, -0.3) * euler(0, 1.57, 0) * euler(-0.1, 0, -0.1 + (donum) / 4), 0.2)
  3764.                   LH.C0 = clerp(LH.C0, cf(-1.1, -0.7, -0.2) * euler(0, -1.57, 0) * euler(0, 0.4, 0) * euler(-0.05, 0, -0.15 - (donum) / 4), 0.2)
  3765.                 end
  3766.               end
  3767.             else
  3768.               if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  3769.                 Anim = "Walk"
  3770.                 walk = walk + 1
  3771.                 if 15 - 5 * Mvmt.Value <= walk then
  3772.                   walk = 0
  3773.                   if walkforw == true then
  3774.                     walkforw = false
  3775.                   else
  3776.                     if walkforw == false then
  3777.                       walkforw = true
  3778.                     end
  3779.                   end
  3780.                 end
  3781.                 testpart.CFrame = cf(RootPart.Position - RootPart.Velocity) * cf(0, 6, 0)
  3782.                 newpos = vt(RootPart.Position.X, RootPart.Position.Y, RootPart.Position.Z)
  3783.                 MoveCF = cf(testpart.Position, newpos)
  3784.                 local mpos = testpart.CFrame * euler(0, 0, 0)
  3785.                 local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0)
  3786.                 local x, y, z = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  3787.                 if Mode == "Normal" and floating == true then
  3788.                   RootJoint.C0 = clerp(RootJoint.C0, cf(0, 1.4 - (donum), 0) * CFrame.Angles(x, y, 0) * euler(0, 3.14, 0), 0.3)
  3789.                 end
  3790.                 if attack == false then
  3791.                   if Mode == "Normal" then
  3792.                     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2 + (donum) / 2, 0, 0), 0.3)
  3793.                     RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(-0.2, 0, 0.4 + (donum) / 4) * euler(0, 0, 0), 0.3)
  3794.                     LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(-0.2, 0, -0.4 - (donum) / 4) * euler(0, 0, 0), 0.3)
  3795.                     RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2 - (donum) / 2) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.5 - (donum) / 2), 0.3)
  3796.                     LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2 - (donum) / 2) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.5 + (donum) / 2), 0.3)
  3797.                   else
  3798.                     mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3799.                     mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3800.                     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3801.                     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3802.                     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 0.8) * euler(0, -1, 0), 0.25)
  3803.                     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8) * euler(0, 1, 0), 0.25)
  3804.                     RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25)
  3805.                     LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25)
  3806.                   end
  3807.                 end
  3808.               else
  3809.                 do
  3810.                   if 30 <= torvel and hitfloor ~= nil then
  3811.                     Anim = "Run"
  3812.                     if Mode == "Normal" and floating == true then
  3813.                       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 1.4 - (donum)) * euler(0.4, 0, 0), 0.3)
  3814.                     end
  3815.                     if attack == false then
  3816.                       if Mode == "Normal" then
  3817.                         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(-0.2 + (donum) / 2, 0, 0), 0.3)
  3818.                         RW.C0 = clerp(RW.C0, cf(1.4, 0.5, 0.1) * euler(-0.2, 0, 0.4 + (donum) / 4) * euler(0, 0, 0), 0.3)
  3819.                         LW.C0 = clerp(LW.C0, cf(-1.4, 0.5, 0.1) * euler(-0.2, 0, -0.4 - (donum) / 4) * euler(0, 0, 0), 0.3)
  3820.                         RH.C0 = clerp(RH.C0, cf(0.95, -0.8, -0.2 - (donum) / 2) * euler(0, 1.57, 0) * euler(-0.2 - (donum) / 4, 0, -0.5 - (donum) / 2), 0.3)
  3821.                         LH.C0 = clerp(LH.C0, cf(-0.95, -0.8, -0.2 - (donum) / 2) * euler(0, -1.57, 0) * euler(-0.1 - (donum) / 4, 0, 0.5 + (donum) / 2), 0.3)
  3822.                       else
  3823.                         mwld1.C0 = clerp(mwld1.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3824.                         mwld2.C0 = clerp(mwld2.C0, cf(0, 0, 0) * euler(0, 0, 0), 0.3)
  3825.                         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3826.                         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3) * euler(0, 0, 0) * euler(0.1, 0, 0), 0.25)
  3827.                         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6, 0, 0.8) * euler(0, -1, 0), 0.25)
  3828.                         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6, 0, -0.8) * euler(0, 1, 0), 0.25)
  3829.                         RH.C0 = clerp(RH.C0, cf(1.05, -0.9, -0.1) * euler(0, 1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, 0.2), 0.25)
  3830.                         LH.C0 = clerp(LH.C0, cf(-1.05, -0.9, -0.1) * euler(0, -1.57, 0) * euler(0, 0, 0) * euler(-0.02, 0, -0.2), 0.25)
  3831.                       end
  3832.                     end
  3833.                   end
  3834.                   end
  3835.                   end
  3836.                  end
  3837.         end
  3838.           end
  3839.                   fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  3840.                   fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  3841.                   fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  3842.                   fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  3843.                   fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  3844.                   fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3845.                   fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3846.                   fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3847.                   fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3848.                   for _,c in pairs(Decrease:children()) do
  3849.                     if (c:findFirstChild("Duration")) ~= nil then
  3850.                       c.Duration.Value = c.Duration.Value - 1
  3851.                       if c.Duration.Value <= 0 then
  3852.                         c.Parent = nil
  3853.                       end
  3854.                     end
  3855.                     if c.Name == "DecreaseAtk" then
  3856.                       decreaseatk = decreaseatk + c.Value
  3857.                     else
  3858.                       if c.Name == "DecreaseDef" then
  3859.                         decreasedef = decreasedef + c.Value
  3860.                       else
  3861.                         if c.Name == "DecreaseMvmt" then
  3862.                           decreasemvmt = decreasemvmt + c.Value
  3863.                         end
  3864.                       end
  3865.                     end
  3866.                   end
  3867.                   Atk.Value = 1 - (decreaseatk)
  3868.                   if Atk.Value <= 0 then
  3869.                     Atk.Value = 0
  3870.                   end
  3871.                   Def.Value = 1 - (decreasedef)
  3872.                   if Def.Value <= 0 then
  3873.                     Def.Value = 0.01
  3874.                   end
  3875.                   Mvmt.Value = 1 - (decreasemvmt)
  3876.                   if Mvmt.Value <= 0 then
  3877.                     Mvmt.Value = 0
  3878.                   end
  3879.                   decreaseatk = 0
  3880.                   decreasedef = 0
  3881.                   decreasemvmt = 0
  3882.                   AtkVal = Atk.Value * 100
  3883.                   AtkVal = math.floor(AtkVal)
  3884.                   AtkVal = AtkVal / 100
  3885.                   fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  3886.                   DefVal = Def.Value * 100
  3887.                   DefVal = math.floor(DefVal)
  3888.                   DefVal = DefVal / 100
  3889.                   fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  3890.                   MvmtVal = Mvmt.Value * 100
  3891.                   MvmtVal = math.floor(MvmtVal)
  3892.                   MvmtVal = MvmtVal / 100
  3893.                   if Rooted.Value == true then
  3894.                     MvmtVal = 0
  3895.                   end
  3896.                   fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  3897.                   if StunT.Value <= Stun.Value then
  3898.                     fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  3899.                   else
  3900.                     fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  3901.                   end
  3902.                   fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  3903.                   if 100 <= mana.Value then
  3904.                     mana.Value = 100
  3905.                   else
  3906.                     if mananum <= manainc then
  3907.                       mananum = mananum + 1
  3908.                     else
  3909.                       mananum = 0
  3910.                       mana.Value = mana.Value + 1
  3911.                     end
  3912.                   end
  3913.                   for i = 1, #cooldowns do
  3914.                     if cooldownmax <= cooldowns[i] then
  3915.                       cooldowns[i] = cooldownmax
  3916.                     else
  3917.                       cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  3918.                     end
  3919.                   end
  3920.                 end
  3921. if #Effects>0 then
  3922. for e=1,#Effects do
  3923. if Effects[e]~=nil then
  3924. local Thing=Effects[e]
  3925.                         if Thing ~= nil then
  3926.                           local Part = Thing[1]
  3927.                           local Mode = Thing[2]
  3928.                           local Delay = Thing[3]
  3929.                           local IncX = Thing[4]
  3930.                           local IncY = Thing[5]
  3931.                           local IncZ = Thing[6]
  3932.                           if Thing[2] == "CylinderClang" then
  3933.                             if Thing[3] <= 1 then
  3934.                               Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3935.                               Thing[7] = Thing[1].CFrame
  3936.                               effect("New Yeller", 0, Thing[8], Thing[7], nil, 0.1, 2)
  3937.                               Thing[8] = Thing[7]
  3938.                               Thing[3] = Thing[3] + Thing[4]
  3939.                             else
  3940.                               Part.Parent = nil
  3941.                               table.remove(Effects, e)
  3942.                             end
  3943.                           end
  3944.                           if Thing[2] == "showDamage" then
  3945.                             if Thing[6] < Thing[5] then
  3946.                               Thing[6] = Thing[6] + 1
  3947.                             else
  3948.                               if Thing[6] < Thing[7] then
  3949.                                 Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  3950.                                 Thing[6] = Thing[6] + 1
  3951.                               else
  3952.                                 if Thing[6] < Thing[8] then
  3953.                                   Thing[6] = Thing[6] + 1
  3954.                                 else
  3955.                                   if Thing[6] < Thing[9] then
  3956.                                     Thing[6] = Thing[6] + 1
  3957.                                     Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  3958.                                     Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  3959.                                     Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  3960.                                   else
  3961.                                     Thing[1].Parent = nil
  3962.                                     table.remove(Effects, e)
  3963.                                   end
  3964.                                 end
  3965.                               end
  3966.                             end
  3967.                           end
  3968.                           if Thing[2] == "CloneEf" then
  3969.                             if Thing[3] <= 500 then
  3970.                               Thing[3] = Thing[3] + 1
  3971.                               if 10 <= Thing[4] then
  3972.                                 Thing[4] = 0
  3973.                               end
  3974.                               Thing[4] = Thing[4] + 1
  3975.                             else
  3976.                               table.remove(Effects, e)
  3977.                             end
  3978.                           end
  3979.                           if Thing[2] == "SatelliteStrike" then
  3980.                             if Thing[5] < 100 then
  3981.                               Thing[5] = Thing[5] + 2
  3982.                               Thing[6] = Thing[6] + 1
  3983.                               if 2 < Thing[6] then
  3984.                                 Thing[6] = 0
  3985.                                 if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  3986.                                   Thing[3].Transparency = 0.8
  3987.                                   Thing[3].BrickColor = BrickColor.new("Really red")
  3988.                                 else
  3989.                                   Thing[3].Transparency = 0.8
  3990.                                   Thing[3].BrickColor = BrickColor.new("New Yeller")
  3991.                                 end
  3992.                               end
  3993.                             else
  3994.                               refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  3995.                               refda.Anchored = true
  3996.                               refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  3997.                               game:GetService("Debris"):AddItem(refda, 1)
  3998.                               local mag = (refda.Position - Thing[1].Position).magnitude
  3999.                               MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 40, mag * 5, 40, 0, 0, 0, 0.3)
  4000.                               Lightning(refda.Position, Thing[1].Position, 15, 5, "Bright yellow", 3.5, 0.2, 0.05)
  4001.                               MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  4002.                               refda.CFrame = cf(Thing[1].Position)
  4003.                               MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  4004.                               refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  4005.                               MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  4006.                               refda.CFrame = cf(Thing[1].Position)
  4007.                               so("341336446", refda, 1, math.random(100, 120) / 100)
  4008.                               so("341336459", refda, 1, math.random(100, 120) / 100)
  4009.                               Thing[1].Parent = nil
  4010.                               table.remove(Effects, e)
  4011.                             end
  4012.                           end
  4013.                           do
  4014.                             if Thing[2] == "SatelliteStrike2" then
  4015.                               if Thing[5] < 100 then
  4016.                                 Thing[5] = Thing[5] + 2
  4017.                                 Thing[6] = Thing[6] + 1
  4018.                                 if 2 < Thing[6] then
  4019.                                   Thing[6] = 0
  4020.                                   if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  4021.                                     Thing[3].Transparency = 0.8
  4022.                                     Thing[3].BrickColor = BrickColor.new("Really red")
  4023.                                   else
  4024.                                     Thing[3].Transparency = 0.8
  4025.                                     Thing[3].BrickColor = BrickColor.new("New Yeller")
  4026.                                   end
  4027.                                 end
  4028.                               else
  4029.                                 refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  4030.                                 refda.Anchored = true
  4031.                                 refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  4032.                                 game:GetService("Debris"):AddItem(refda, 1)
  4033.                                 local mag = (refda.Position - Thing[1].Position).magnitude
  4034.                                 MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 60, mag * 5, 60, 0, 0, 0, 0.1)
  4035.                                 Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  4036.                                 MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  4037.                                 refda.CFrame = cf(Thing[1].Position)
  4038.                                 MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  4039.                                 refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  4040.                                 MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  4041.                                 refda.CFrame = cf(Thing[1].Position)
  4042.                                 so("341336446", refda, 1, math.random(70, 90) / 100)
  4043.                                 so("341336459", refda, 1, math.random(50, 80) / 100)
  4044.                                 Thing[1].Parent = nil
  4045.                                 table.remove(Effects, e)
  4046.                               end
  4047.                             end
  4048.                             do
  4049.                               if Thing[2] == "Shoot" then
  4050.                                 Thing[11] = Thing[11] + 0.02
  4051.                                 local Look = Thing[1]
  4052.                                 local hit, pos = rayCast(Thing[4], Look, Thing[11], modelzorz)
  4053.                                 local mag = (Thing[4] - pos).magnitude
  4054.                                 if 6 < Thing[8] then
  4055.                                   Thing[8] = 1
  4056.                                 else
  4057.                                   Thing[8] = Thing[8] + 1
  4058.                                 end
  4059.                                 MagicCylinder(Neons[Thing[8]], CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  4060.                                 Thing[9].BrickColor = Neons[Thing[8]]
  4061.                                 Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * cf(0, 0, -1) * Thing[10]
  4062.                                 Thing[4] = Thing[4] + Look * Thing[11]
  4063.                                 Thing[3] = Thing[3] - 1
  4064.                                 if hit ~= nil then
  4065.                                   Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 3)), nil, nil, true)
  4066.                                 end
  4067.                                 if Thing[3] <= 0 then
  4068.                                   Thing[9].Parent = nil
  4069.                                   table.remove(Effects, e)
  4070.                                 end
  4071.                               end
  4072.                               do
  4073.                                 if Thing[2] == "Shoot2" then
  4074.                                   local Look = Thing[1]
  4075.                                   local hit, pos = rayCast(Thing[4], Look, 4, Character)
  4076.                                   local mag = (Thing[4] - pos).magnitude
  4077.                                   if 6 < Thing[8] then
  4078.                                     Thing[8] = 1
  4079.                                   else
  4080.                                     Thing[8] = Thing[8] + 1
  4081.                                   end
  4082.                                   MagicCircle(BrickColor.new(NewCol3), CFrame.new((Thing[4] + pos) / 2, pos) * angles(1.57, 0, 0), 4, 4, 4, -0.5, -0.5, -0.5, 0.5)
  4083.                                   Thing[4] = Thing[4] + Look * 4
  4084.                                   Thing[3] = Thing[3] - 1
  4085.                                   if hit ~= nil then
  4086.                                     Thing[3] = 0
  4087.                                     Damagefunc(hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0.1, 2, (math.random(1, 5)), nil, nil, true)
  4088.                                   end
  4089.                                   if Thing[3] <= 0 then
  4090.                                     table.remove(Effects, e)
  4091.                                   end
  4092.                                 end
  4093.                                 do
  4094.                                   if Thing[2] == "Shoot3" then
  4095.                                     local Look = Thing[1]
  4096.                                     local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  4097.                                     local mag = (Thing[4] - pos).magnitude
  4098.                                     if 6 < Thing[8] then
  4099.                                       Thing[8] = 1
  4100.                                     else
  4101.                                       Thing[8] = Thing[8] + 1
  4102.                                     end
  4103.                                     Thing[11] = Thing[11] + 0.05
  4104.                                     Thing[9].BrickColor = Neons[Thing[8]]
  4105.                                     Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  4106.                                     MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 25, 25, 25, 2, 2, 2, 0.25)
  4107.                                     Thing[4] = Thing[4] + Look * 1.5
  4108.                                     Thing[3] = Thing[3] - 1
  4109.                                     if hit ~= nil then
  4110.                                       Thing[3] = 0
  4111.                                     end
  4112.                                     if Thing[3] <= 0 then
  4113.                                       MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 30, 30, 30, 4, 4, 4, 0.1)
  4114.                                       MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 0, 0, 0, 0.05)
  4115.                                       local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  4116.                                       staaaaref.Anchored = true
  4117.                                       staaaaref.CFrame = cf(Thing[9].Position)
  4118.                                       game:GetService("Debris"):AddItem(staaaaref, 1)
  4119.                                       so("341336499", staaaaref, 0.8, 2)
  4120.                                       MagniDamage(staaaaref, 10, 10, 12, math.random(10, 20), "Knockdown2", staaaaref, 0.1, 1, (math.random(4, 6)), nil, nil, true, "Damage", 0.1, 200)
  4121.                                       Thing[9].Parent = nil
  4122.                                       table.remove(Effects, e)
  4123.                                     end
  4124.                                   end
  4125.                                   do
  4126.                                     if Thing[2] == "Shoot4" then
  4127.                                       local Look = Thing[1]
  4128.                                       local hit, pos = rayCast(Thing[4], Look, 1.5, modelzorz)
  4129.                                       local mag = (Thing[4] - pos).magnitude
  4130.                                       if 6 < Thing[8] then
  4131.                                         Thing[8] = 1
  4132.                                       else
  4133.                                         Thing[8] = Thing[8] + 1
  4134.                                       end
  4135.                                       Thing[11] = Thing[11] + 0.05
  4136.                                       Thing[9].BrickColor = Neons[Thing[8]]
  4137.                                       Thing[9].CFrame = CFrame.new((Thing[4] + pos) / 2, pos) * euler(0, mr(90), 0) * euler(Thing[10], 0, 0) * euler(0, Thing[11], 0)
  4138.                                       MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 80, 80, 80, 2, 2, 2, 0.25)
  4139.                                       Thing[4] = Thing[4] + Look * 1.5
  4140.                                       Thing[3] = Thing[3] - 1
  4141.                                       if hit ~= nil then
  4142.                                         Thing[3] = 0
  4143.                                       end
  4144.                                       if Thing[3] <= 0 then
  4145.                                         MagicStar(Thing[9].BrickColor, Thing[9].CFrame, 90, 90, 90, 4, 4, 4, 0.1)
  4146.                                         MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 200, 200, 200, 0, 0, 0, 0.1)
  4147.                                         MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 150, 150, 150, 10, 10, 10, 0.08)
  4148.                                         MagicCircle(Thing[9].BrickColor, Thing[9].CFrame, 100, 100, 100, 15, 15, 15, 0.06)
  4149.                                         local staaaaref = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  4150.                                         staaaaref.Anchored = true
  4151.                                         staaaaref.CFrame = cf(Thing[9].Position)
  4152.                                         game:GetService("Debris"):AddItem(staaaaref, 1)
  4153.                                         so("341336499", staaaaref, 0.8, 1)
  4154.                                         MagniDamage(staaaaref, 20, 15, 18, math.random(30, 50), "Knockdown2", staaaaref, 0.1, 1, (math.random(8, 10)), nil, nil, true, "Damage", 0.1, 400)
  4155.                                         Thing[9].Parent = nil
  4156.                                         table.remove(Effects, e)
  4157.                                       end
  4158.                                     end
  4159.                                     do
  4160.                                       do
  4161.                                         if Thing[2] ~= "DecreaseStat" and Thing[2] ~= "showDamage" and Thing[2] ~= "CloneEf" and Thing[2] ~= "Blink" and Thing[2] ~= "ShootIce" and Thing[2] ~= "Freeze" and Thing[2] ~= "Shoot" and Thing[2] ~= "Shoot2" and Thing[2] ~= "Shoot3" and Thing[2] ~= "Shoot4" and Thing[2] ~= "SatelliteStrike" and Thing[2] ~= "SatelliteStrike2" then
  4162.                                           if Thing[1].Transparency <= 1 then
  4163.                                             if Thing[2] == "Block1" then
  4164.                                               Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4165.                                               Mesh = Thing[7]
  4166.                                               Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4167.                                               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4168.                                             else
  4169.                                               if Thing[2] == "Block2" then
  4170.                                                 Thing[1].CFrame = Thing[1].CFrame
  4171.                                                 Mesh = Thing[7]
  4172.                                                 Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4173.                                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4174.                                               else
  4175.                                                 if Thing[2] == "Block3" then
  4176.                                                   Thing[8] = Thing[8] * cf(0, 1, 0)
  4177.                                                   Thing[1].CFrame = Thing[8] * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4178.                                                   Mesh = Thing[7]
  4179.                                                   Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4180.                                                   Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4181.                                                 else
  4182.                                                   if Thing[2] == "Block4" then
  4183.                                                     if #Neons - 1 < Thing[8] then
  4184.                                                       Thing[8] = 1
  4185.                                                     else
  4186.                                                       Thing[8] = Thing[8] + 1
  4187.                                                     end
  4188.                                                     Thing[1].BrickColor = Neons[Thing[8]]
  4189.                                                     Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4190.                                                     Mesh = Thing[7]
  4191.                                                     Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4192.                                                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4193.                                                   else
  4194.                                                     if Thing[2] == "Cylinder" then
  4195.                                                       Mesh = Thing[7]
  4196.                                                       Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4197.                                                       Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4198.                                                     else
  4199.                                                       if Thing[2] == "Shatter" then
  4200.                                                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4201.                                                         Thing[4] = Thing[4] * cf(0, Thing[7], 0)
  4202.                                                         Thing[1].CFrame = Thing[4] * euler(Thing[6], 0, 0)
  4203.                                                         Thing[6] = Thing[6] + Thing[5]
  4204.                                                       else
  4205.                                                         if Thing[2] == "Blood" then
  4206.                                                           Mesh = Thing[7]
  4207.                                                           Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  4208.                                                           Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  4209.                                                           Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4210.                                                         else
  4211.                                                           if Thing[2] == "Elec" then
  4212.                                                             Mesh = Thing[7]
  4213.                                                             Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  4214.                                                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4215.                                                           else
  4216.                                                             if Thing[2] == "Disappear" then
  4217.                                                               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4218.                                                             end
  4219.                                                           end
  4220.                                                         end
  4221.                                                       end
  4222.                                                     end
  4223.                                                   end
  4224.                                                 end
  4225.                                               end
  4226.                                             end
  4227.                                           else
  4228.                                             Part.Parent = nil
  4229.                                             table.remove(Effects, e)
  4230.                                           end
  4231.                                         end
  4232.                                       end
  4233.                                     end
  4234.                                   end
  4235.                                 end
  4236.                               end
  4237.                             end
  4238.                           end
  4239.                         end
  4240.                       end
  4241.                     end
  4242.                   end
  4243.             end
  4244.               end
  4245.               -- ~ CLarramore 2016
  4246.               --kk i surrender now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement