SHARE
TWEET

Untitled

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