Advertisement
NextFlamePB

ROBLOX Sephiroth Script Fix

Jul 21st, 2017
1,242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 238.70 KB | None | 0 0
  1. p=game.Players.LocalPlayer
  2. c=p.Character
  3. m=p:GetMouse()
  4. Player = game:GetService("Players").LocalPlayer
  5. mouse=Player:GetMouse()
  6. Cha = Player.Character
  7. Character = Cha
  8. torso = Cha.Torso
  9. Mouse = mouse
  10. curaga = false
  11. equip = false
  12. on = false
  13. it=Instance.new
  14. vt=Vector3.new
  15. cf=CFrame.new
  16. euler=CFrame.fromEulerAnglesXYZ
  17. angles=CFrame.Angles
  18. Color1 = torso.BrickColor
  19. Torso = torso
  20. Effects = {}
  21.  
  22. ---------------------------------------Clothes
  23. game.Players.LocalPlayer.Character["Right Arm"].BrickColor = BrickColor.new("Pastel brown")
  24. game.Players.LocalPlayer.Character["Left Arm"].BrickColor = BrickColor.new("Pastel brown")
  25. game.Players.LocalPlayer.Character["Head"].BrickColor = BrickColor.new("Pastel brown")
  26. game.Players.LocalPlayer.Character["Right Leg"].BrickColor = BrickColor.new("Pastel brown")
  27. game.Players.LocalPlayer.Character["Left Leg"].BrickColor = BrickColor.new("Pastel brown")
  28. game.Players.LocalPlayer.Character["Torso"].BrickColor = BrickColor.new("Pastel brown")
  29. Cha.Shirt:Remove()
  30.  
  31. Shirt = Instance.new("Shirt",Character)
  32. Shirt.Parent = Cha
  33. Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=276413699"
  34.  
  35. ---------------------------------------Taunts n Stuff
  36. local Taunts = {"Come on. Ya scared?"}
  37. local raisechats = { "Descend, Heartless Angel!" , "I'm... the chosen one!","I will lead you to the Promised Land","The Planet and I are to be one!","That was true power","Come power!","Prepare yourself!","No mercy","No more games... show me what you've got!"}
  38. local final = {"Show me your strength" , "That's enough"}
  39. ---------------------------------------Chat Gui n stuff
  40.  
  41. so = function(id,par,vol,pit)
  42. coroutine.resume(coroutine.create(function()
  43. local sou = Instance.new("Sound",par or workspace)
  44. sou.Volume=vol
  45. sou.Pitch=pit or 1
  46. sou.SoundId=id
  47. swait()
  48. sou:play()
  49. game:GetService("Debris"):AddItem(sou,6)
  50. end))
  51. end
  52.  
  53.  
  54. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  55. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt())
  56. prt.Anchored=true
  57. prt.CFrame=cframe
  58. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  59. game:GetService("Debris"):AddItem(prt,5)
  60. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3})
  61. end
  62.  
  63. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  64. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt())
  65. prt.Anchored=true
  66. prt.CFrame=cframe
  67. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  68. game:GetService("Debris"):AddItem(prt,2)
  69. table.insert(Effects,{prt,"Cylinder2",delay,x3,y3,z3})
  70. end
  71.  
  72. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  73. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt())
  74. if Type~=2 then
  75. prt.Anchored=true
  76. end
  77. prt.CFrame=cframe
  78. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  79. game:GetService("Debris"):AddItem(prt,5)
  80. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  81. local wld=nil
  82. if dur==2 then
  83. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  84. end
  85. for i=0,1,delay do
  86. wait()
  87. if dur==1 then
  88. Part.CFrame=Part.CFrame
  89. elseif dur==2 then
  90. wld.C0=cframe
  91. end
  92. Part.Transparency=i
  93. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  94. end
  95. Part.Parent=nil
  96. end),prt,msh,Type)
  97. end
  98.  
  99. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  100. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt())
  101. prt.Anchored=true
  102. prt.CFrame=cframe
  103. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  104. game:GetService("Debris"):AddItem(prt,5)
  105. coroutine.resume(coroutine.create(function(Part,Mesh)
  106. for i=0,1,delay do
  107. wait()
  108. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  109. Part.Transparency=i
  110. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  111. end
  112. Part.Parent=nil
  113. end),prt,msh)
  114. end
  115.  
  116. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,mshtype)
  117. local prt=part2(3,workspace,0,0,brickcolor,"Effect",vt())
  118. prt.Anchored=true
  119. prt.CFrame=cframe
  120. local thetype=""
  121. if mshtype==1 then
  122. thetype="http://www.roblox.com/asset/?id=20329976"
  123. elseif mshtype==2 then
  124. thetype="http://www.roblox.com/asset/?id=1323306"
  125. end
  126. msh=mesh("SpecialMesh",prt,"FileMesh",thetype,vt(0,0,0),vt(x1,y1,z1))
  127. game:GetService("Debris"):AddItem(prt,2)
  128. coroutine.resume(coroutine.create(function(Part,Mesh)
  129. for i=0,1,delay do
  130. wait()
  131. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  132. Part.Transparency=i
  133. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  134. end
  135. Part.Parent=nil
  136. end),prt,msh)
  137. end
  138.  
  139.  
  140. function NoOutline(Part)
  141. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  142. end
  143.  
  144. function part2(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  145. local fp=it("Part")
  146. fp.formFactor=formfactor
  147. fp.Parent=parent
  148. fp.Reflectance=reflectance
  149. fp.Transparency=transparency
  150. fp.CanCollide=false
  151. fp.Locked=true
  152. fp.BrickColor=brickcolor
  153. fp.Name=name
  154. fp.Size=size
  155. fp.Position=Torso.Position
  156. NoOutline(fp)
  157. fp.Material="SmoothPlastic"
  158. fp:BreakJoints()
  159. return fp
  160. end
  161. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock,Slash)
  162.         if hit.Parent==nil then
  163.                 return
  164.         end
  165.         h=hit.Parent:FindFirstChild("Humanoid")
  166.         for _,v in pairs(hit.Parent:children()) do
  167.         if v:IsA("Humanoid") then
  168.         h=v
  169.         end
  170.         end
  171.         if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  172.         h=hit.Parent.Parent:FindFirstChild("Humanoid")
  173.         end
  174.         if hit.Parent.className=="Hat" then
  175.         hit=hit.Parent.Parent:findFirstChild("Head")
  176.         end
  177.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  178.         if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  179.         --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  180.                         return
  181.                 end]]
  182. --                        hs(hit,1.2)
  183.                 if Slash==1 then
  184.                 so("http://www.roblox.com/asset/?id=10209590",hit,1,1)
  185.                 MagicCircle(Color1,hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.2,.2,6,.2,0.1)
  186.                 end
  187.                         c=Instance.new("ObjectValue")
  188.                         c.Name="creator"
  189.                         c.Value=game:service("Players").LocalPlayer
  190.                         c.Parent=h
  191.                         game:GetService("Debris"):AddItem(c,.5)
  192.                 Damage=math.random(minim,maxim)
  193. --                h:TakeDamage(Damage)
  194.                 blocked=false
  195.                 block=hit.Parent:findFirstChild("Block")
  196.                 if block~=nil then
  197.                 print(block.className)
  198.                 if block.className=="NumberValue" then
  199.                 if block.Value>0 then
  200.                 blocked=true
  201.                 if decreaseblock~=nil then
  202.                 block.Value=block.Value-decreaseblock
  203.                 end
  204.                 end
  205.                 end
  206.                 if block.className=="IntValue" then
  207.                 if block.Value>0 then
  208.                 blocked=true
  209.                 if decreaseblock~=nil then
  210.                 block.Value=block.Value-decreaseblock
  211.                 end
  212.                 end
  213.                 end
  214.                 end
  215.                 if blocked==false then
  216. --                h:TakeDamage(Damage)
  217.                 h.Health=h.Health-Damage
  218.                 showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  219.                 else
  220.                 h.Health=h.Health-(Damage/2)
  221.                 showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  222.                 end
  223.                 if Type=="Knockdown" then
  224.                 hum=hit.Parent.Humanoid
  225. hum.PlatformStand=true
  226. coroutine.resume(coroutine.create(function(HHumanoid)
  227. swait(1)
  228. HHumanoid.PlatformStand=false
  229. end),hum)
  230.                 local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  231. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  232. local bodvol=Instance.new("BodyVelocity")
  233. bodvol.velocity=angle*knockback
  234. bodvol.P=5000
  235. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  236. bodvol.Parent=hit
  237. rl=Instance.new("BodyAngularVelocity")
  238. rl.P=3000
  239. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  240. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  241. rl.Parent=hit
  242. game:GetService("Debris"):AddItem(bodvol,.5)
  243. game:GetService("Debris"):AddItem(rl,.5)
  244.                 elseif Type=="Normal" then
  245.                 vp=Instance.new("BodyVelocity")
  246.                 vp.P=500
  247.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  248. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  249.                 if KnockbackType==1 then
  250.                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  251.                 elseif KnockbackType==2 then
  252.                 vp.velocity=Property.CFrame.lookVector*knockback
  253.                 end
  254.                 if knockback>0 then
  255.                         vp.Parent=hit.Parent.Torso
  256.                 end
  257.                 game:GetService("Debris"):AddItem(vp,.5)
  258.                 elseif Type=="Up" then
  259.                 local bodyVelocity=Instance.new("BodyVelocity")
  260.                 bodyVelocity.velocity=vt(0,30,0)
  261.                 bodyVelocity.P=5000
  262.                 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  263.                 bodyVelocity.Parent=hit
  264.                 game:GetService("Debris"):AddItem(bodyVelocity,1)
  265.                 rl=Instance.new("BodyAngularVelocity")
  266.                 rl.P=3000
  267.                 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  268.                 rl.angularvelocity=Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  269.                 rl.Parent=hit
  270.                 game:GetService("Debris"):AddItem(rl,.5)
  271.                 elseif Type=="Snare" then
  272.                 bp=Instance.new("BodyPosition")
  273.                 bp.P=2000
  274.                 bp.D=100
  275.                 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  276.                 bp.position=hit.Parent.Torso.Position
  277.                 bp.Parent=hit.Parent.Torso
  278.                 game:GetService("Debris"):AddItem(bp,1)
  279.                 elseif Type=="Charge" then
  280.                 Charge=Charge+1
  281.                 coroutine.resume(coroutine.create(function(Part,Hum)
  282.                 swait(30)
  283.                 for i=1,5 do
  284.                 swait()
  285.                 so("rbxasset://sounds\\unsheath.wav",hit,1,2)
  286.                 MagicCircle(Color1,hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.1,.2,8,.1,0.05)
  287.                 newdam=math.random(1,5)
  288.                 if blocked==false then
  289.                 Hum:TakeDamage(newdam)
  290.                 showDamage(hit.Parent,newdam,.5,BrickColor:Red())
  291.                 else
  292.                 Hum:TakeDamage(newdam/2)
  293.                 showDamage(hit.Parent,newdam,.5,BrickColor.new("Bright blue"))
  294.                 end
  295.                 end
  296.                 end),hit,h)
  297.                 end
  298.                         debounce=Instance.new("BoolValue")
  299.                         debounce.Name="DebounceHit"
  300.                         debounce.Parent=hit.Parent
  301.                         debounce.Value=true
  302.                         game:GetService("Debris"):AddItem(debounce,Delay)
  303.                         c=Instance.new("ObjectValue")
  304.                         c.Name="creator"
  305.                         c.Value=Player
  306.                         c.Parent=h
  307.                         game:GetService("Debris"):AddItem(c,.5)
  308.                 CRIT=false
  309.         end
  310. end
  311.  
  312. showDamage=function(Char,Dealt,du,Color)
  313.         m=Instance.new("Model")
  314.         m.Name=tostring(math.floor(Dealt))
  315.         h=Instance.new("Humanoid")
  316.         h.Health=0
  317.         h.MaxHealth=0
  318.         h.Parent=m
  319.         c=Instance.new("Part")
  320.         c.Transparency=0
  321.         c.BrickColor=Color
  322.         c.Name="Head"
  323.         c.TopSurface=0
  324.         c.BottomSurface=0
  325.         c.formFactor="Plate"
  326.         c.Size=Vector3.new(1,.4,1)
  327.         ms=Instance.new("CylinderMesh")
  328.         ms.Scale=Vector3.new(.8,.8,.8)
  329.         if CRIT==true then
  330.                 ms.Scale=Vector3.new(1,1.25,1)
  331.         end
  332.         ms.Parent=c
  333.         c.Reflectance=0
  334.         Instance.new("BodyGyro").Parent=c
  335.         c.Parent=m
  336.         if Char:findFirstChild("Head")~=nil then
  337.         c.CFrame=cf(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  338.         elseif Char.Parent:findFirstChild("Head")~=nil then
  339.         c.CFrame=cf(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  340.         end
  341.         f=Instance.new("BodyPosition")
  342.         f.P=2000
  343.         f.D=100
  344.         f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  345.         f.position=c.Position+Vector3.new(0,3,0)
  346.         f.Parent=c
  347.         game:GetService("Debris"):AddItem(m,.5+du)
  348.         c.CanCollide=false
  349.         m.Parent=workspace
  350.         c.CanCollide=false
  351. end
  352.  
  353.  
  354. repeat wait() until game:getService("Players").LocalPlayer.Character ~= nil;
  355.  
  356. local Services = setmetatable({}, {  __index = function(Self, Request)  return game:getService(Request) or nil  end  })
  357. local Player = Services.Players.LocalPlayer
  358. local Mouse = Player:GetMouse()
  359. local Backpack = Player.Backpack
  360. local Character = Player.Character
  361. local PlayerGui = Player.PlayerGui
  362. local Camera = Workspace.CurrentCamera
  363. local RunService = Services.RunService
  364. local Head = Character:findFirstChild("Head")
  365. local Torso = Character:findFirstChild("Torso")
  366. local RootPart = Character:findFirstChild("HumanoidRootPart")
  367. local RightArm = Character:findFirstChild("Right Arm")
  368. local LeftArm = Character:findFirstChild("Left Arm")
  369. local RightLeg = Character:findFirstChild("Right Leg")
  370. local LeftLeg = Character:findFirstChild("Left Leg")
  371. local Humanoid = Character:findFirstChild("Humanoid")
  372. local Neck = Torso:findFirstChild("Neck")
  373. local RootJoint = RootPart:findFirstChild("RootJoint")
  374. local RightSH = Torso:findFirstChild("Right Shoulder")
  375. local LeftSH = Torso:findFirstChild("Left Shoulder")
  376. local RightHip = Torso:findFirstChild("Right Hip")
  377. local LeftHip = Torso:findFirstChild("Left Hip")
  378. local it = Instance.new
  379. local vt = Vector3.new
  380. local bc = BrickColor.new
  381. local c3 = Color3.new
  382. local UD2 = UDim2.new
  383. local cf = CFrame.new
  384. local euler = CFrame.fromEulerAnglesXYZ
  385. local angles = CFrame.Angles
  386. local bc = BrickColor.new
  387. local c3 = Color3.new
  388. local deg = math.deg
  389. local inf = math.huge
  390. local rad = math.rad
  391. local pi = math.pi
  392. local random = math.random
  393.  
  394. local IDs = {
  395.         --Meshes
  396.         ["This"] = 0,
  397.        
  398.         --Textures
  399.         ["House of Gremory"] = 198026609,
  400.         ["House of Phenex"] = 197704664,
  401.         ["Electric"] = 255514024,
  402.        
  403.         --Audio
  404.         ["MVC3 Wesker Theme"] = 193889412,
  405.         ["Resident Evil Movie Wesker Theme"] = 163237084,
  406.        
  407. }
  408.                
  409. local Tn = "New"
  410. local KeyDown = {}
  411. local KeyLastDown = {}
  412. local httpasset = "http://www.roblox.com/Asset/?id="
  413. local rbxassetid = "rbxassetid://"
  414. local rbxasset = "rbxasset://"
  415. local IsAttacking = false
  416. local IsSprinting = false
  417. local IsEquipping = false
  418. local IsBlocking = false
  419. local IsEquipped = false
  420. local AttackDebounce = false
  421. local RootCF = euler(-1.57, 0, 3.14)
  422. local NeckC0 = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  423. local NeckC1 = cf(0, -0.5, 0)
  424. local Combo = 0
  425. local ContinueCombo = false
  426. local RMB = false
  427. local LMB = false
  428. local Hold = false
  429. local blcf = nil
  430. local scfr = nil
  431.  
  432. function Preload(AssetID)
  433.         Services.ContentProvider:Preload(AssetID)
  434. end
  435.  
  436. function PreloadAssets()
  437.         for _, Assets in pairs(IDs) do
  438.                 Preload(httpasset .. Assets)
  439.         end
  440. end
  441.  
  442. PreloadAssets()
  443.  
  444. function newSound(Parent,ID,Pitch,Volume,Looped)
  445.         Sound = it("Sound",Parent)
  446.         Sound.SoundId = ID
  447.         Sound.Pitch = Pitch
  448.         Sound.Volume = Volume
  449.         Sound.Looped = Looped
  450.  
  451.         return Sound
  452. end
  453.  
  454. function NoOutline(Part)
  455.         Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  456. end
  457.  
  458. Lerp = function(a,b,c)
  459.         return a+(b-a)*c
  460. end
  461.  
  462. function ctlerp(c1,c2,al)
  463.         local com1 = {c1:components()}
  464.         local com2 = {c2:components()}
  465.         for i,v in pairs(com1) do
  466.                 com1[i] = lerp(v,com2[i],al)
  467.         end
  468.         return CFrame.new(unpack(com1))
  469. end
  470.  
  471. do
  472.     local function QuaternionFromCFrame(cf)
  473.             local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  474.             local trace = m00 + m11 + m22
  475.             if trace > 0 then
  476.                     local s = math.sqrt(1 + trace)
  477.                     local recip = 0.5/s
  478.                     return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  479.             else
  480.                     local i = 0
  481.                     if m11 > m00 then
  482.                             i = 1
  483.                     end
  484.                     if m22 > (i == 0 and m00 or m11) then
  485.                             i = 2
  486.                     end
  487.                     if i == 0 then
  488.                             local s = math.sqrt(m00-m11-m22+1)
  489.                             local recip = 0.5/s
  490.                             return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  491.                     elseif i == 1 then
  492.                             local s = math.sqrt(m11-m22-m00+1)
  493.                             local recip = 0.5/s
  494.                             return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  495.                     elseif i == 2 then
  496.                             local s = math.sqrt(m22-m00-m11+1)
  497.                             local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  498.                     end
  499.             end
  500.         end  
  501.         local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  502.                 local xs, ys, zs = x + x, y + y, z + z
  503.                 local wx, wy, wz = w*xs, w*ys, w*zs
  504.                 local xx = x*xs
  505.                 local xy = x*ys
  506.                 local xz = x*zs
  507.                 local yy = y*ys
  508.                 local yz = y*zs
  509.                 local zz = z*zs
  510.                 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))
  511.                 end  
  512.         local function QuaternionSlerp(a, b, t)
  513.             local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  514.             local startInterp, finishInterp;
  515.             if cosTheta >= 0.0001 then
  516.                     if (1 - cosTheta) > 0.0001 then
  517.                             local theta = math.acos(cosTheta)
  518.                             local invSinTheta = 1/math.sin(theta)
  519.                             startInterp = math.sin((1-t)*theta)*invSinTheta
  520.                             finishInterp = math.sin(t*theta)*invSinTheta  
  521.                     else
  522.                             startInterp = 1-t
  523.                             finishInterp = t
  524.                     end
  525.             else
  526.                     if (1+cosTheta) > 0.0001 then
  527.                             local theta = math.acos(-cosTheta)
  528.                             local invSinTheta = 1/math.sin(theta)
  529.                             startInterp = math.sin((t-1)*theta)*invSinTheta
  530.                             finishInterp = math.sin(t*theta)*invSinTheta
  531.                     else
  532.                             startInterp = t-1
  533.                             finishInterp = t
  534.                     end
  535.             end
  536.             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
  537.     end  
  538.     function clerp(a,b,t)
  539.             local qa = {QuaternionFromCFrame(a)}
  540.             local qb = {QuaternionFromCFrame(b)}
  541.             local ax, ay, az = a.x, a.y, a.z
  542.             local bx, by, bz = b.x, b.y, b.z  
  543.             local _t = 1-t
  544.             return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  545.     end
  546.  
  547. end
  548. --[[
  549. local CFrameInterpolate=function(s,e,a,r,i,n,g)
  550.         g,r=CFrame,{{s:toEulerAnglesXYZ()},{e:toEulerAnglesXYZ()}}
  551.         for _=1,3 do
  552.                 i,n=r[1][_],r[2][_]r[1][_]=i+a*(n-i)
  553.         end
  554.         return(g.new(s.p:lerp(e.p,a))*g.Angles(unpack(r[1])))
  555. end]]
  556.  
  557. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  558.         return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  559. end
  560.  
  561. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  562.         local fp = it("Part")
  563.         fp.formFactor = formfactor
  564.         fp.Parent = parent
  565.         fp.Reflectance = reflectance
  566.         fp.Transparency = transparency
  567.         fp.CanCollide = false
  568.         fp.Locked=true
  569.         fp.BrickColor = brickcolor
  570.         fp.Name = name
  571.         fp.Size = size
  572.         fp.Position = Torso.Position
  573.         fp.BottomSurface="Smooth"
  574.         fp.TopSurface="Smooth"
  575.         fp.Material = "SmoothPlastic"
  576.         fp:BreakJoints()
  577.        
  578.         NoOutline(fp)
  579.         return fp
  580. end
  581.  
  582. function mesh(Mesh,part,meshtype,meshid,scale)
  583.         local mesh = it(Mesh)
  584.         mesh.Parent = part
  585.         if Mesh=="SpecialMesh" then
  586.                 mesh.MeshType = meshtype
  587.                 mesh.MeshId = meshid
  588.         end
  589.         mesh.Scale=scale
  590.         return mesh
  591. end
  592.  
  593. function weld(parent,part0,part1,c0,c1)
  594.         local weld = it("Motor")
  595.         weld.Parent = parent
  596.         weld.Part0 = part0
  597.         weld.Part1 = part1
  598.         weld.C0 = c0
  599.         if c1 ~= nil then
  600.                 weld.C1 = c1
  601.         end
  602.         return weld
  603. end
  604.  
  605. for i, v in pairs(Character:GetChildren()) do
  606.         if v:IsA("LocalScript") and v.Name == string.lower(tostring(Tn)) then
  607.                 v:Destroy()
  608.         end
  609. end
  610.  
  611. for i, v in pairs(Backpack:GetChildren()) do
  612.         if v:IsA("HopperBin") and v.Name == tostring(Tn) then
  613.                 v:Destroy()
  614.         end
  615. end
  616.  
  617. for i, v in pairs(Character:GetChildren()) do
  618.         if v:IsA("Model") and v.Name == tostring(Tn) then
  619.                 v:Destroy()
  620.         end
  621. end
  622.        
  623. local Main = it("Model", Character)
  624. Main.Name = Tn
  625.  
  626. local MagicBin = it("Model", Main)
  627. MagicBin.Name = "MagicBin"
  628.  
  629. local EffectsBin = it("Model", Main)
  630. EffectsBin.Name = "EffectsBin"
  631. Hilt17=part(3,Main,0,0,bc("Medium stone grey"),"Hilt17",vt(0.200000003, 0.200000003, 0.200000003))
  632. Hilt11=part(3,Main,0,0,bc("Medium stone grey"),"Hilt11",vt(0.289999992, 0.200000003, 0.200000003))
  633. Hilt15=part(3,Main,0,0,bc("Medium stone grey"),"Hilt15",vt(0.200000003, 0.200000003, 0.200000003))
  634. Hilt12=part(3,Main,0,0,bc("Medium stone grey"),"Hilt12",vt(0.200000003, 0.200000003, 0.200000003))
  635. Hilt14=part(3,Main,0,0,bc("Medium stone grey"),"Hilt14",vt(0.200000003, 0.200000003, 0.200000003))
  636. Hilt16=part(3,Main,0,0,bc("Medium stone grey"),"Hilt16",vt(0.200000003, 0.200000003, 0.200000003))
  637. Hilt3=part(3,Main,0,0,bc("Medium stone grey"),"Hilt3",vt(0.200000003, 0.200000003, 0.200000003))
  638. Hilt13=part(3,Main,0,0,bc("Medium stone grey"),"Hilt13",vt(0.200000003, 0.200000003, 0.200000003))
  639. Blade9=part(3,Main,0.25,0,bc("White"),"Blade9",vt(0.5200001, 5.10000038, 0.200000003))
  640. Hilt5=part(3,Main,0,0,bc("Medium stone grey"),"Hilt5",vt(0.289999992, 0.200000003, 0.200000003))
  641. Hilt10=part(3,Main,0,0,bc("Medium stone grey"),"Hilt10",vt(0.200000003, 0.200000003, 0.200000003))
  642. Hilt6=part(3,Main,0,0,bc("Medium stone grey"),"Hilt6",vt(0.200000003, 0.200000003, 0.200000003))
  643. Handle15=part(3,Main,0,0,bc("White"),"Handle15",vt(0.200000003, 0.200000003, 0.200000003))
  644. Handle13=part(3,Main,0,0,bc("White"),"Handle13",vt(0.200000003, 0.200000003, 0.200000003))
  645. Handle8=part(3,Main,0,0,bc("Black"),"Handle8",vt(0.400000036, 2.19000006, 0.400000006))
  646. Handle14=part(3,Main,0,0,bc("White"),"Handle14",vt(0.200000003, 0.200000003, 0.200000003))
  647. Handle12=part(3,Main,0,0,bc("White"),"Handle12",vt(0.200000003, 0.200000003, 0.200000003))
  648. Handle7=part(3,Main,0,0,bc("White"),"Handle7",vt(0.200000003, 0.200000003, 0.200000003))
  649. Handle2=part(3,Main,0,0,bc("Medium stone grey"),"Handle2",vt(0.200000003, 0.280000001, 0.400000006))
  650. Handle1=part(3,Main,0,0,bc("White"),"Handle1",vt(0.200000003, 0.200000003, 0.200000003))
  651. Handle3=part(3,Main,0,0,bc("White"),"Handle3",vt(0.200000003, 0.200000003, 0.200000003))
  652. Handle=part(3,Main,0,0,bc("Black"),"Handle",vt(0.200000003, 2.19999981, 0.400000006))
  653. Handle4=part(3,Main,0,0,bc("White"),"Handle4",vt(0.200000003, 0.200000003, 0.200000003))
  654. Handle11=part(3,Main,0,0,bc("White"),"Handle11",vt(0.200000003, 0.200000003, 0.200000003))
  655. Handle5=part(3,Main,0,0,bc("Medium stone grey"),"Handle5",vt(0.400000036, 0.280000001, 0.400000006))
  656. Handle10=part(3,Main,0,0,bc("White"),"Handle10",vt(0.200000003, 0.200000003, 0.200000003))
  657. Handle6=part(3,Main,0,0,bc("Medium stone grey"),"Handle6",vt(0.400000036, 0.280000001, 0.400000006))
  658. Hilt7=part(3,Main,0,0,bc("Medium stone grey"),"Hilt7",vt(0.75, 0.200000003, 0.400000006))
  659. Handle9=part(3,Main,0,0,bc("Black"),"Handle9",vt(0.400000036, 2.19999981, 0.400000006))
  660. Hilt2=part(3,Main,0,0,bc("Medium stone grey"),"Hilt2",vt(0.600000024, 0.200000003, 0.600000024))
  661. Hilt1=part(3,Main,0,0,bc("Medium stone grey"),"Hilt1",vt(0.600000024, 0.200000003, 0.200000003))
  662. Hilt9=part(3,Main,0,0,bc("Medium stone grey"),"Hilt9",vt(0.200000003, 0.200000003, 0.200000003))
  663. Hilt4=part(3,Main,0,0,bc("Medium stone grey"),"Hilt4",vt(0.200000003, 0.200000003, 0.200000003))
  664. Hilt8=part(3,Main,0,0,bc("Medium stone grey"),"Hilt8",vt(0.200000003, 0.200000003, 0.200000003))
  665. Blade1=part(3,Main,0.25,0,bc("White"),"Blade1",vt(0.200000003, 0.579999924, 0.540000081))
  666. Blade10=part(3,Main,0.25,0,bc("White"),"Blade10",vt(0.600000083, 3.81000042, 0.200000003))
  667. Blade11=part(3,Main,0.25,0,bc("White"),"Blade11",vt(0.490000039, 0.469999969, 0.200000003))
  668. Blade12=part(3,Main,0.25,0,bc("White"),"Blade12",vt(0.490000039, 0.469999969, 0.200000003))
  669. Blade13=part(3,Main,0.25,0,bc("White"),"Blade13",vt(0.230000004, 0.200000003, 0.200000003))
  670. Blade14=part(3,Main,0.25,0,bc("White"),"Blade14",vt(0.230000004, 0.200000003, 0.200000003))
  671. Blade15=part(3,Main,0.25,0,bc("White"),"Blade15",vt(0.200000003, 0.200000003, 0.200000003))
  672. Blade16=part(3,Main,0.25,0,bc("White"),"Blade16",vt(0.200000003, 0.219999999, 0.200000003))
  673. Blade17=part(3,Main,0.25,0,bc("White"),"Blade17",vt(0.200000003, 1.18999994, 0.49000001))
  674. Blade18=part(3,Main,0.25,0,bc("White"),"Blade18",vt(0.200000003, 0.200000003, 0.200000003))
  675. Blade2=part(3,Main,0.25,0,bc("White"),"Blade2",vt(0.200000003, 0.200000003, 0.200000003))
  676. Blade3=part(3,Main,0.25,0,bc("White"),"Blade3",vt(0.200000003, 1.66999996, 0.479999989))
  677. Blade4=part(3,Main,0.25,0,bc("White"),"Blade4",vt(0.25999999, 1.69000018, 0.200000003))
  678. Blade5=part(3,Main,0.25,0,bc("White"),"Blade5",vt(0.420000076, 2.75, 0.200000003))
  679. Blade6=part(3,Main,0.25,0,bc("White"),"Blade6",vt(0.25999999, 1.06000018, 0.200000003))
  680. Blade7=part(3,Main,0.25,0,bc("White"),"Blade7",vt(0.25999999, 1.35000014, 0.200000003))
  681. Blade8=part(3,Main,0.25,0,bc("White"),"Blade8",vt(0.420000076, 2.32000017, 0.200000003))
  682. Hitbox=part(3,Main,0,1,bc("Medium stone grey"),"Hitbox",vt(0.810000002, 8.5199995, 0.200000003))
  683.  
  684. Hilt17Mesh=mesh("CylinderMesh",Hilt17,nil,nil,vt(1, 0.5, 0.25))
  685. Hilt11Mesh=mesh("BlockMesh",Hilt11,nil,nil,vt(1, 0.5, 0.25))
  686. Hilt15Mesh=mesh("CylinderMesh",Hilt15,nil,nil,vt(1, 0.5, 0.25))
  687. Hilt12Mesh=mesh("BlockMesh",Hilt12,nil,nil,vt(0.5, 0.5, 0.25))
  688. Hilt14Mesh=mesh("CylinderMesh",Hilt14,nil,nil,vt(1, 0.5, 1))
  689. Hilt16Mesh=mesh("BlockMesh",Hilt16,nil,nil,vt(0.5, 0.5, 0.25))
  690. Hilt3Mesh=mesh("CylinderMesh",Hilt3,nil,nil,vt(1, 0.5, 1))
  691. Hilt13Mesh=mesh("CylinderMesh",Hilt13,nil,nil,vt(1, 0.5, 1))
  692. Blade9Mesh=mesh("BlockMesh",Blade9,nil,nil,vt(0.899999976, 1, 0.5))
  693. Hilt5Mesh=mesh("BlockMesh",Hilt5,nil,nil,vt(1, 0.5, 0.25))
  694. Hilt10Mesh=mesh("CylinderMesh",Hilt10,nil,nil,vt(1, 0.5, 0.25))
  695. Hilt6Mesh=mesh("CylinderMesh",Hilt6,nil,nil,vt(1, 0.5, 1))
  696. Handle15Mesh=mesh("SpecialMesh",Handle15,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  697. Handle13Mesh=mesh("SpecialMesh",Handle13,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  698. Handle8Mesh=mesh("CylinderMesh",Handle8,nil,nil,vt(1, 1, 0.600000024))
  699. Handle14Mesh=mesh("SpecialMesh",Handle14,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  700. Handle12Mesh=mesh("SpecialMesh",Handle12,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  701. Handle7Mesh=mesh("SpecialMesh",Handle7,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  702. Handle2Mesh=mesh("BlockMesh",Handle2,nil,nil,vt(1, 1, 0.649999976))
  703. Handle1Mesh=mesh("SpecialMesh",Handle1,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  704. Handle3Mesh=mesh("SpecialMesh",Handle3,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  705. HandleMesh=mesh("BlockMesh",Handle,nil,nil,vt(1, 1, 0.600000024))
  706. Handle4Mesh=mesh("SpecialMesh",Handle4,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  707. Handle11Mesh=mesh("SpecialMesh",Handle11,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  708. Handle5Mesh=mesh("CylinderMesh",Handle5,nil,nil,vt(1, 1, 0.649999976))
  709. Handle10Mesh=mesh("SpecialMesh",Handle10,Enum.MeshType.FileMesh,"rbxassetid://9756362",vt(0.165000007, 0.165000007, 0.00999999978))
  710. Handle6Mesh=mesh("CylinderMesh",Handle6,nil,nil,vt(1, 1, 0.649999976))
  711. Hilt7Mesh=mesh("BlockMesh",Hilt7,nil,nil,vt(1, 0.5, 1))
  712. Handle9Mesh=mesh("CylinderMesh",Handle9,nil,nil,vt(1, 1, 0.600000024))
  713. Hilt2Mesh=mesh("BlockMesh",Hilt2,nil,nil,vt(0.899999976, 0.5, 1))
  714. Hilt1Mesh=mesh("BlockMesh",Hilt1,nil,nil,vt(1, 1, 0.75))
  715. Hilt9Mesh=mesh("BlockMesh",Hilt9,nil,nil,vt(0.5, 0.5, 0.25))
  716. Hilt4Mesh=mesh("CylinderMesh",Hilt4,nil,nil,vt(1, 0.5, 0.25))
  717. Hilt8Mesh=mesh("BlockMesh",Hilt8,nil,nil,vt(0.5, 0.5, 0.25))
  718. Blade1Mesh=mesh("SpecialMesh",Blade1,Enum.MeshType.Wedge,"",vt(0.5, 1, 1))
  719. Blade10Mesh=mesh("BlockMesh",Blade10,nil,nil,vt(0.899999976, 1, 0.5))
  720. Blade11Mesh=mesh("BlockMesh",Blade11,nil,nil,vt(0.899999976, 1, 0.5))
  721. Blade12Mesh=mesh("BlockMesh",Blade12,nil,nil,vt(0.899999976, 1, 0.5))
  722. Blade13Mesh=mesh("BlockMesh",Blade13,nil,nil,vt(0.899999976, 1, 0.5))
  723. Blade14Mesh=mesh("BlockMesh",Blade14,nil,nil,vt(0.899999976, 1, 0.5))
  724. Blade15Mesh=mesh("SpecialMesh",Blade15,Enum.MeshType.Wedge,"",vt(0.5, 1, 1))
  725. Blade16Mesh=mesh("BlockMesh",Blade16,nil,nil,vt(0.899999976, 1, 0.5))
  726. Blade17Mesh=mesh("SpecialMesh",Blade17,Enum.MeshType.Wedge,"",vt(0.5, 1, 1))
  727. Blade18Mesh=mesh("SpecialMesh",Blade18,Enum.MeshType.Wedge,"",vt(0.5, 1, 1))
  728. Blade2Mesh=mesh("SpecialMesh",Blade2,Enum.MeshType.Wedge,"",vt(0.5, 1, 1))
  729. Blade3Mesh=mesh("SpecialMesh",Blade3,Enum.MeshType.Wedge,"",vt(0.5, 1, 1))
  730. Blade4Mesh=mesh("BlockMesh",Blade4,nil,nil,vt(0.899999976, 1, 0.5))
  731. Blade5Mesh=mesh("BlockMesh",Blade5,nil,nil,vt(0.899999976, 1, 0.5))
  732. Blade6Mesh=mesh("BlockMesh",Blade6,nil,nil,vt(0.899999976, 1, 0.5))
  733. Blade7Mesh=mesh("BlockMesh",Blade7,nil,nil,vt(0.899999976, 1, 0.5))
  734. Blade8Mesh=mesh("BlockMesh",Blade8,nil,nil,vt(0.899999976, 1, 0.5))
  735. Hilt1Mesh=mesh("BlockMesh"--[[
  736. HandleWeld=weld(Handle,Torso,Handle,euler(0,0,rad(140))*cf(0,-2.5,0.5))
  737. HandleWeld.Part0 = RightArm
  738. HandleWeld.C0 = euler(-rad(90),rad(90),0)*cf(0.95,0,0)
  739. ]]
  740. local Wing=it("Model",Main)
  741. Wing.Name = "Wing"
  742.  
  743. WingBase1=part(3,Wing,0.5,0,bc("Black"),"WingBase1",vt(0.419999987, 0.349999994, 0.349999994))
  744. WingBase2=part(3,Wing,0.5,0,bc("Black"),"WingBase2",vt(0.409999967, 0.349999994, 0.349999994))
  745. WingBase18=part(3,Wing,0.5,0,bc("Black"),"WingBase18",vt(0.349999994, 0.200000003, 0.75000006))
  746. WingBase16=part(3,Wing,0.5,0,bc("Black"),"WingBase16",vt(0.350000054, 0.200000003, 0.300000012))
  747. WingBase13=part(3,Wing,0.5,0,bc("Black"),"WingBase13",vt(0.200000003, 0.349999994, 0.200000003))
  748. WingBase17=part(3,Wing,0.5,0,bc("Black"),"WingBase17",vt(0.349999994, 0.200000003, 0.350000054))
  749. WingBase6=part(3,Wing,0.5,0,bc("Black"),"WingBase6",vt(0.639999986, 0.349999994, 0.349999994))
  750. WingBase19=part(3,Wing,0.5,0,bc("Black"),"WingBase19",vt(0.349999994, 0.200000003, 0.75000006))
  751. WingBase12=part(3,Wing,0.5,0,bc("Black"),"WingBase12",vt(0.349999994, 0.200000003, 0.280000001))
  752. WingBase10=part(3,Wing,0.5,0,bc("Black"),"WingBase10",vt(0.300000012, 0.349999994, 0.270000011))
  753. WingBase14=part(3,Wing,0.5,0,bc("Black"),"WingBase14",vt(0.350000054, 0.209999993, 0.200000003))
  754. WingBase9=part(3,Wing,0.5,0,bc("Black"),"WingBase9",vt(0.289999962, 0.349999994, 0.460000008))
  755. WingBase11=part(3,Wing,0.5,0,bc("Black"),"WingBase11",vt(0.350000054, 0.309999973, 0.400000006))
  756. WingBase5=part(3,Wing,0.5,0,bc("Black"),"WingBase5",vt(0.409999967, 0.349999994, 0.349999994))
  757. WingBase8=part(3,Wing,0.5,0,bc("Black"),"WingBase8",vt(0.879999995, 0.349999994, 0.349999994))
  758. WingBase4=part(3,Wing,0.5,0,bc("Black"),"WingBase4",vt(0.419999987, 0.349999994, 0.349999994))
  759. WingBase15=part(3,Wing,0.5,0,bc("Black"),"WingBase15",vt(0.349999994, 0.200000003, 0.350000054))
  760. WingBase20=part(3,Wing,0.5,0,bc("Black"),"WingBase20",vt(0.350000054, 0.209999993, 0.400000006))
  761. WingBase3=part(3,Wing,0.5,0,bc("Black"),"WingBase3",vt(0.399999976, 0.349999994, 0.349999994))
  762. WingBase7=part(3,Wing,0.5,0,bc("Black"),"WingBase7",vt(1.04999995, 0.349999994, 0.350000024))
  763. Feather1=part(3,Wing,0,0,bc("Black"),"Feather1",vt(0.419999987, 0.349999994, 1.00999999))
  764. Feather2=part(3,Wing,0,0,bc("Black"),"Feather2",vt(0.419999987, 0.349999994, 1.06999993))
  765. Feather3=part(3,Wing,0,0,bc("Black"),"Feather3",vt(0.419999987, 0.349999994, 1.06999993))
  766. Feather4=part(3,Wing,0,0,bc("Black"),"Feather4",vt(0.419999987, 0.349999994, 1.06999993))
  767. Feather5=part(3,Wing,0,0,bc("Black"),"Feather5",vt(0.419999987, 0.349999994, 0.969999969))
  768. Feather6=part(3,Wing,0,0,bc("Black"),"Feather6",vt(0.419999987, 0.349999994, 0.919999957))
  769. Feather7=part(3,Wing,0,0,bc("Black"),"Feather7",vt(0.419999987, 0.349999994, 0.969999969))
  770. Feather8=part(3,Wing,0,0,bc("Black"),"Feather8",vt(0.419999987, 0.349999994, 0.889999986))
  771. Feather9=part(3,Wing,0,0,bc("Black"),"Feather9",vt(0.419999987, 0.349999994, 1.46000004))
  772. Feather10=part(3,Wing,0,0,bc("Black"),"Feather10",vt(0.419999987, 0.349999994, 1.46000004))
  773. Feather11=part(3,Wing,0,0,bc("Black"),"Feather11",vt(0.419999987, 0.349999994, 1.32000005))
  774. Feather12=part(3,Wing,0,0,bc("Black"),"Feather12",vt(0.419999987, 0.349999994, 1.46000004))
  775. Feather13=part(3,Wing,0,0,bc("Black"),"Feather13",vt(0.419999987, 0.349999994, 1.13999999))
  776. Feather14=part(3,Wing,0,0,bc("Black"),"Feather14",vt(0.419999987, 0.349999994, 1.24000001))
  777. Feather15=part(3,Wing,0,0,bc("Black"),"Feather15",vt(0.419999987, 0.349999994, 1.46000004))
  778. Feather16=part(3,Wing,0,0,bc("Black"),"Feather16",vt(0.419999987, 0.349999994, 1.46000004))
  779. Feather17=part(3,Wing,0,0,bc("Black"),"Feather17",vt(0.419999987, 0.349999994, 1.46000004))
  780. Feather18=part(3,Wing,0,0,bc("Black"),"Feather18",vt(0.419999987, 0.349999994, 1.46000004))
  781. Feather19=part(3,Wing,0,0,bc("Black"),"Feather19",vt(0.419999987, 0.349999994, 1.46000004))
  782. Feather20=part(3,Wing,0,0,bc("Black"),"Feather20",vt(0.419999987, 0.349999994, 1.46000004))
  783. Feather21=part(3,Wing,0,0,bc("Black"),"Feather21",vt(0.419999987, 0.349999994, 1.46000004))
  784. Feather22=part(3,Wing,0,0,bc("Black"),"Feather22",vt(0.419999987, 0.349999994, 1.46000004))
  785. Feather23=part(3,Wing,0,0,bc("Black"),"Feather23",vt(0.419999987, 0.349999994, 1.46000004))
  786. Feather24=part(3,Wing,0,0,bc("Black"),"Feather24",vt(0.419999987, 0.349999994, 1.46000004))
  787. Feather25=part(3,Wing,0,0,bc("Black"),"Feather25",vt(0.419999987, 0.349999994, 1.46000004))
  788. Feather26=part(3,Wing,0,0,bc("Black"),"Feather26",vt(0.419999987, 0.349999994, 1.46000004))
  789. Feather27=part(3,Wing,0,0,bc("Black"),"Feather27",vt(0.419999987, 0.349999994, 1.46000004))
  790. Feather28=part(3,Wing,0,0,bc("Black"),"Feather28",vt(0.419999987, 0.349999994, 1.46000004))
  791. Feather29=part(3,Wing,0,0,bc("Black"),"Feather29",vt(0.419999987, 0.349999994, 1.46000004))
  792. Feather30=part(3,Wing,0,0,bc("Black"),"Feather30",vt(0.419999987, 0.349999994, 1.46000004))
  793. Feather31=part(3,Wing,0,0,bc("Black"),"Feather31",vt(0.419999987, 0.349999994, 1.18000007))
  794. Feather32=part(3,Wing,0,0,bc("Black"),"Feather32",vt(0.419999987, 0.349999994, 1.19000006))
  795. Feather33=part(3,Wing,0,0,bc("Black"),"Feather33",vt(0.419999987, 0.349999994, 1.20000005))
  796.  
  797. WingBase1Mesh=mesh("BlockMesh",WingBase1,nil,nil,vt(1, 0.75, 1))
  798. WingBase2Mesh=mesh("BlockMesh",WingBase2,nil,nil,vt(1, 0.75, 1))
  799. WingBase18Mesh=mesh("SpecialMesh",WingBase18,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  800. WingBase16Mesh=mesh("SpecialMesh",WingBase16,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  801. WingBase13Mesh=mesh("BlockMesh",WingBase13,nil,nil,vt(1, 0.75, 1))
  802. WingBase17Mesh=mesh("SpecialMesh",WingBase17,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  803. WingBase6Mesh=mesh("BlockMesh",WingBase6,nil,nil,vt(1, 0.75, 1))
  804. WingBase19Mesh=mesh("SpecialMesh",WingBase19,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  805. WingBase12Mesh=mesh("SpecialMesh",WingBase12,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  806. WingBase10Mesh=mesh("BlockMesh",WingBase10,nil,nil,vt(1, 0.75, 1))
  807. WingBase14Mesh=mesh("SpecialMesh",WingBase14,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  808. WingBase9Mesh=mesh("BlockMesh",WingBase9,nil,nil,vt(1, 0.75, 1))
  809. WingBase11Mesh=mesh("SpecialMesh",WingBase11,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  810. WingBase5Mesh=mesh("BlockMesh",WingBase5,nil,nil,vt(1, 0.75, 1))
  811. WingBase8Mesh=mesh("BlockMesh",WingBase8,nil,nil,vt(1, 0.75, 1))
  812. WingBase4Mesh=mesh("BlockMesh",WingBase4,nil,nil,vt(1, 0.75, 1))
  813. WingBase15Mesh=mesh("SpecialMesh",WingBase15,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  814. WingBase20Mesh=mesh("SpecialMesh",WingBase20,Enum.MeshType.Wedge,"",vt(0.75, 1, 1))
  815. WingBase3Mesh=mesh("BlockMesh",WingBase3,nil,nil,vt(1, 0.75, 1))
  816. WingBase7Mesh=mesh("BlockMesh",WingBase7,nil,nil,vt(1, 0.75, 1))
  817. Feather1Mesh=mesh("SpecialMesh",Feather1,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  818. Feather2Mesh=mesh("SpecialMesh",Feather2,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  819. Feather3Mesh=mesh("SpecialMesh",Feather3,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  820. Feather4Mesh=mesh("SpecialMesh",Feather4,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  821. Feather5Mesh=mesh("SpecialMesh",Feather5,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  822. Feather6Mesh=mesh("SpecialMesh",Feather6,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  823. Feather7Mesh=mesh("SpecialMesh",Feather7,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  824. Feather8Mesh=mesh("SpecialMesh",Feather8,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  825. Feather9Mesh=mesh("SpecialMesh",Feather9,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  826. Feather10Mesh=mesh("SpecialMesh",Feather10,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  827. Feather11Mesh=mesh("SpecialMesh",Feather11,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  828. Feather12Mesh=mesh("SpecialMesh",Feather12,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  829. Feather13Mesh=mesh("SpecialMesh",Feather13,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  830. Feather14Mesh=mesh("SpecialMesh",Feather14,Enum.MeshType.Sphere,"",vt(1, 0.75, 1))
  831. Feather15Mesh=mesh("SpecialMesh",Feather15,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  832. Feather16Mesh=mesh("SpecialMesh",Feather16,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  833. Feather17Mesh=mesh("SpecialMesh",Feather17,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  834. Feather18Mesh=mesh("SpecialMesh",Feather18,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  835. Feather19Mesh=mesh("SpecialMesh",Feather19,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  836. Feather20Mesh=mesh("SpecialMesh",Feather20,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  837. Feather21Mesh=mesh("SpecialMesh",Feather21,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  838. Feather22Mesh=mesh("SpecialMesh",Feather22,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  839. Feather23Mesh=mesh("SpecialMesh",Feather23,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  840. Feather24Mesh=mesh("SpecialMesh",Feather24,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  841. Feather25Mesh=mesh("SpecialMesh",Feather25,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  842. Feather26Mesh=mesh("SpecialMesh",Feather26,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  843. Feather27Mesh=mesh("SpecialMesh",Feather27,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  844. Feather28Mesh=mesh("SpecialMesh",Feather28,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  845. Feather29Mesh=mesh("SpecialMesh",Feather29,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  846. Feather30Mesh=mesh("SpecialMesh",Feather30,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  847. Feather31Mesh=mesh("SpecialMesh",Feather31,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  848. Feather32Mesh=mesh("SpecialMesh",Feather32,Enum.MeshType.Sphere,"",vt(0.75, 0.5, 1))
  849. Feather33Mesh=mesh("SpecialMesh",Feather33,Enum.MeshType.Sphere,"""Players").LocalPlayer
  850. PlayerGui = Player.PlayerGui
  851. Cam = workspace.CurrentCamera
  852. Backpack = Player.Backpack
  853. Character = Player.Character
  854. Humanoid = Character.Humanoid
  855. Mouse = Player:GetMouse()
  856. RootPart = Character["HumanoidRootPart"]
  857. Torso = Character["Torso"]
  858. Head = Character["Head"]
  859. RightArm = Character["Right Arm"]
  860. LeftArm = Character["Left Arm"]
  861. RightLeg = Character["Right Leg"]
  862. LeftLeg = Character["Left Leg"]
  863. RootJoint = RootPart["RootJoint"]
  864. Neck = Torso["Neck"]
  865. RightShoulder = Torso["Right Shoulder"]
  866. LeftShoulder = Torso["Left Shoulder"]
  867. RightHip = Torso["Right Hip"]
  868. LeftHip = Torso["Left Hip"]
  869.  
  870. IT = Instance.new
  871. CF = CFrame.new
  872. VT = Vector3.new
  873. RAD = math.rad
  874. C3 = Color3.new
  875. UD2 = UDim2.new
  876. BRICKC = BrickColor.new
  877. ANGLES = CFrame.Angles
  878. EULER = CFrame.fromEulerAnglesXYZ
  879. COS = math.cos
  880. ACOS = math.acos
  881. SIN = math.sin
  882. ASIN = math.asin
  883. ABS = math.abs
  884. MRANDOM = math.random
  885. FLOOR = math.floor
  886.  
  887.  
  888.  
  889. Humanoid.MaxHealth = 1500
  890. wait()
  891. Humanoid.Health = 1500
  892. print(Humanoid.Health.."/"..Humanoid.MaxHealth)
  893.  
  894. --//=================================\\
  895. --||          CUSTOMIZATION
  896. --\\=================================//
  897.  
  898. Class_Name = "Sephiroth"
  899. Weapon_Name = "Masmune"
  900.  
  901. Custom_Colors = {
  902.     Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  903.     Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  904.  
  905.     Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  906.     Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  907.     Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  908.     Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  909.     Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  910.  
  911.     Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  912.     Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  913.     Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  914.     Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  915.     Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  916. }
  917.  
  918. Mana_Bar_Background_Transparency = 0 --Transparency for the background of the mana bar.
  919. Secondary_Mana_Bar_Background_Transparency = 0 --Transparency for the background of the secondary mana bar.
  920. Health_Bar_Background_Transparency = 0 --Transparency for the background of the health bar.
  921. Stun_Bar_Background_Transparency = 0 --Transparency for the background of the stun bar.
  922. Ability_Background_Transparency = 0  --Transparency for the background of the abilities.
  923. Stat_Background_Transparency = 0 --Transparency for the background of the stats.
  924.  
  925. Player_Size = 1 --Size of the player.
  926. Animation_Speed = 2 * Player_Size
  927. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  928.  
  929. Enable_Gui = false --Enables or disables the Weapon Gui. Also functions as hiding or showing the Gui.
  930. Enable_Stats = false --Enables or disables stats.
  931. Put_Stats_In_Character = false --Places stats in Character.
  932. Enable_Stagger_Hit = false --Enables or disables staggering when hitting a hitbox of some sort.
  933. Play_Hitbox_Hit_Sound = true --Plays a hit sound when hitting a hitbox of some sort.
  934. Enable_Stagger = false --Enables or disables staggering.
  935. Enable_Stun = false --Enables or disables the stun mechanic.
  936. Enable_Abilities = false --Enables abilites with cooldowns and mana costs.
  937. Enable_Secondary_Bar = false --Enables the secondary mana bar, if true.
  938.  
  939. Start_Equipped = false --Starts the player equipped with their weapon.
  940. Start_Equipped_With_Equipped_Animation = false --Used in conjunction with the above option. Starts your equip animation.
  941. Can_Equip_Or_Unequip = true --Enables or disables the ability to unequip or equip your weapon.
  942. Disable_Animator = true --Disables the Animator in the humanoid.
  943. Disable_Animate = true --Disables the Animate script in the character.
  944. Disable_Moving_Arms = false --Keeps the arms from moving around.
  945. Use_Motors_Instead_Of_Welds = false --Uses motors instead of welds to disable moving arms.
  946. Walkspeed_Depends_On_Movement_Value = false --Walkspeed depends on movement value. Self-explanatory.
  947. Disable_Jump = false --Disables jumping.
  948. Use_HopperBin = false --Uses a hopperbin to do things.
  949.  
  950. Cooldown_1 = 0 --Cooldowns for abilites.
  951. Cooldown_2 = 0
  952. Cooldown_3 = 0
  953. Cooldown_4 = 0
  954. Skill_1_Mana_Cost = 0 --How much mana is required to use the skill.
  955. Skill_2_Mana_Cost = 0
  956. Skill_3_Mana_Cost = 0
  957. Skill_4_Mana_Cost = 0
  958. Max_Mana = 0 --Maximum amount of mana you can have.
  959. Max_Secondary_Mana = 0 --Maximum amount of secondary mana you can have.
  960. Mana_Name = "Mana" --Name for the mana bar.
  961. Secondary_Mana_Name = "Block" --Name for the secondary mana bar.
  962. Max_Stun = 1 --Maximum amount of stun you can have.
  963. Recover_Mana = 0 --How much mana you gain.
  964. Mana_Regen_Mode = "1" --Basically switches from one mana regen system to another.
  965. Secondary_Mana_Regen_Mode = "1" --Basically switches from one secondary mana regen system to another.
  966. Stun_Lose_Mode = "1" --Basically switches from one secondary stun loss system to another.
  967. Recover_Secondary_Mana = 0 --How much secondary mana you gain.
  968. Lose_Stun = 0 --How much stun you lose.
  969. Stun_Wait = 0 --Delay between losing stun.
  970. Mana_Wait = 0 --Delay between gaining mana.
  971. Secondary_Mana_Wait = 0 --Delay between gaining secondary mana.
  972. Menu_Update_Speed = 0 --How fast the Weapon Gui will update.
  973. Constant_Update = false --Removes the delay between updating the Weapon GUI.
  974. Show_Stats = false --Hides or shows stats.
  975. Stat_Offset = 0.74 --For cosmetic purposes. {0.74, 0.78}
  976.  
  977. --//=================================\\
  978. --||      END OF CUSTOMIZATION
  979. --\\=================================//
  980.  
  981.  
  982. local Snap = Instance.new("Sound",Character.Torso)
  983. Snap.SoundId = "rbxassetid://242076158"
  984. Snap.Looped = false
  985. Snap.Volume = 4
  986. Snap.Pitch = 1 / Player_Size
  987.  
  988.  
  989. --//=================================\\
  990. --||          USEFUL VALUES
  991. --\\=================================//
  992.  
  993. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  994. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  995. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  996. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  997. local CO1 = 0
  998. local CO2 = 0
  999. local CO3 = 0
  1000. local CO4 = 0
  1001. local CHANGEDEFENSE = 0
  1002. local CHANGEDAMAGE = 0
  1003. local CHANGEMOVEMENT = 0
  1004. local ANIM = "Idle"
  1005. local ATTACK = false
  1006. local EQUIPPED = false
  1007. local HOLD = false
  1008. local COMBO = 1
  1009. local LASTPOINT = nil
  1010. local BLCF = nil
  1011. local SCFR = nil
  1012. local STAGGERHITANIM = false
  1013. local STAGGERANIM = false
  1014. local STUNANIM = false
  1015. local CRITCHANCENUMBER = 0
  1016. local IDLENUMBER = 0
  1017. local DONUMBER = 0
  1018. local HANDIDLE = false
  1019. local SINE = 0
  1020. local CHANGE = 2 / Animation_Speed
  1021. local WALKINGANIM = false
  1022. local WALK = 0
  1023. local DISABLEJUMPING = false
  1024. local HASBEENBLOCKED = false
  1025. local STUNDELAYNUMBER = 0
  1026. local MANADELAYNUMBER = 0
  1027. local SECONDARYMANADELAYNUMBER = 0
  1028. local ROBLOXIDLEANIMATION = IT("Animation")
  1029. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1030. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1031. --ROBLOXIDLEANIMATION.Parent = Humanoid
  1032. local WEAPONGUI = IT("ScreenGui", nil)
  1033. WEAPONGUI.Name = "Weapon GUI"
  1034. local WEAPONTOOL = IT("HopperBin", nil)
  1035. WEAPONTOOL.Name = Weapon_Name
  1036. local Weapon = IT("Model")
  1037. Weapon.Name = Weapon_Name
  1038. local Effects = IT("Folder", Weapon)
  1039. Effects.Name = "Effects"
  1040. local ANIMATOR = Humanoid.Animator
  1041. local ANIMATE = Character.Animate
  1042. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  1043. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  1044. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  1045. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  1046.  
  1047. --//=================================\\
  1048. --\\=================================//
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054. --//=================================\\
  1055. --||              STATS
  1056. --\\=================================//
  1057.  
  1058. if Character:FindFirstChild("Stats") ~= nil then
  1059. Character:FindFirstChild("Stats").Parent = nil
  1060. end
  1061.  
  1062. local Stats = IT("Folder", nil)
  1063. Stats.Name = "Stats"
  1064. local ChangeStat = IT("Folder", Stats)
  1065. ChangeStat.Name = "ChangeStat"
  1066. local Defense = IT("NumberValue", Stats)
  1067. Defense.Name = "Defense"
  1068. Defense.Value = 1
  1069. local Movement = IT("NumberValue", Stats)
  1070. Movement.Name = "Movement"
  1071. Movement.Value = 1
  1072. local Damage = IT("NumberValue", Stats)
  1073. Damage.Name = "Damage"
  1074. Damage.Value = 1
  1075. local Mana = IT("NumberValue", Stats)
  1076. Mana.Name = "Mana"
  1077. Mana.Value = 0
  1078. local SecondaryMana = IT("NumberValue", Stats)
  1079. SecondaryMana.Name = "SecondaryMana"
  1080. SecondaryMana.Value = 0
  1081. local CanCrit = IT("BoolValue", Stats)
  1082. CanCrit.Name = "CanCrit"
  1083. CanCrit.Value = false
  1084. local CritChance = IT("NumberValue", Stats)
  1085. CritChance.Name = "CritChance"
  1086. CritChance.Value = 20
  1087. local CanPenetrateArmor = IT("BoolValue", Stats)
  1088. CanPenetrateArmor.Name = "CanPenetrateArmor"
  1089. CanPenetrateArmor.Value = false
  1090. local AntiTeamKill = IT("BoolValue", Stats)
  1091. AntiTeamKill.Name = "AntiTeamKill"
  1092. AntiTeamKill.Value = false
  1093. local Rooted = IT("BoolValue", Stats)
  1094. Rooted.Name = "Rooted"
  1095. Rooted.Value = false
  1096. local Block = IT("BoolValue", Stats)
  1097. Block.Name = "Block"
  1098. Block.Value = false
  1099. local RecentEnemy = IT("ObjectValue", Stats)
  1100. RecentEnemy.Name = "RecentEnemy"
  1101. RecentEnemy.Value = nil
  1102. local StaggerHit = IT("BoolValue", Stats)
  1103. StaggerHit.Name = "StaggerHit"
  1104. StaggerHit.Value = false
  1105. local Stagger = IT("BoolValue", Stats)
  1106. Stagger.Name = "Stagger"
  1107. Stagger.Value = false
  1108. local Stun = IT("BoolValue", Stats)
  1109. Stun.Name = "Stun"
  1110. Stun.Value = false
  1111. local StunValue = IT("NumberValue", Stats)
  1112. StunValue.Name = "StunValue"
  1113. StunValue.Value = 0
  1114.  
  1115. if Enable_Stats == true and Put_Stats_In_Character == true then
  1116.     Stats.Parent = Character
  1117. end
  1118.  
  1119. --//=================================\\
  1120. --\\=================================//
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. --//=================================\\
  1127. --||         DEBUFFS / BUFFS
  1128. --\\=================================//
  1129.  
  1130. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  1131. DEFENSECHANGE1.Name = "ChangeDefense"
  1132. DEFENSECHANGE1.Value = 0
  1133.  
  1134. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  1135. MOVEMENTCHANGE1.Name = "ChangeMovement"
  1136. MOVEMENTCHANGE1.Value = 0
  1137.  
  1138. --//=================================\\
  1139. --\\=================================//
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145. --//=================================\\
  1146. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  1147. --\\=================================//
  1148.  
  1149. ArtificialHB = Instance.new("BindableEvent", script)
  1150. ArtificialHB.Name = "ArtificialHB"
  1151.  
  1152. script:WaitForChild("ArtificialHB")
  1153.  
  1154. frame = Frame_Speed
  1155. tf = 0
  1156. allowframeloss = false
  1157. tossremainder = false
  1158. lastframe = tick()
  1159. script.ArtificialHB:Fire()
  1160.  
  1161. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1162.     tf = tf + s
  1163.     if tf >= frame then
  1164.         if allowframeloss then
  1165.             script.ArtificialHB:Fire()
  1166.             lastframe = tick()
  1167.         else
  1168.             for i = 1, math.floor(tf / frame) do
  1169.                 script.ArtificialHB:Fire()
  1170.             end
  1171.         lastframe = tick()
  1172.         end
  1173.         if tossremainder then
  1174.             tf = 0
  1175.         else
  1176.             tf = tf - frame * math.floor(tf / frame)
  1177.         end
  1178.     end
  1179. end)
  1180.  
  1181. --//=================================\\
  1182. --\\=================================//
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188. --//=================================\\
  1189. --||          SOME FUNCTIONS
  1190. --\\=================================//
  1191.  
  1192. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1193.     return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1194. end
  1195.  
  1196. function PositiveAngle(NUMBER)
  1197.     if NUMBER >= 0 then
  1198.         NUMBER = 0
  1199.     end
  1200.     return NUMBER
  1201. end
  1202.  
  1203. function NegativeAngle(NUMBER)
  1204.     if NUMBER <= 0 then
  1205.         NUMBER = 0
  1206.     end
  1207.     return NUMBER
  1208. end
  1209.  
  1210. function Swait(NUMBER)
  1211.     if NUMBER == 0 or NUMBER == nil then
  1212.         ArtificialHB.Event:wait()
  1213.     else
  1214.         for i = 1, NUMBER do
  1215.             ArtificialHB.Event:wait()
  1216.         end
  1217.     end
  1218. end
  1219.  
  1220. function QuaternionFromCFrame(cf)
  1221.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1222.     local trace = m00 + m11 + m22
  1223.     if trace > 0 then
  1224.         local s = math.sqrt(1 + trace)
  1225.         local recip = 0.5 / s
  1226.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1227.     else
  1228.         local i = 0
  1229.         if m11 > m00 then
  1230.             i = 1
  1231.         end
  1232.         if m22 > (i == 0 and m00 or m11) then
  1233.             i = 2
  1234.         end
  1235.         if i == 0 then
  1236.             local s = math.sqrt(m00 - m11 - m22 + 1)
  1237.             local recip = 0.5 / s
  1238.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1239.         elseif i == 1 then
  1240.             local s = math.sqrt(m11 - m22 - m00 + 1)
  1241.             local recip = 0.5 / s
  1242.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1243.         elseif i == 2 then
  1244.             local s = math.sqrt(m22 - m00 - m11 + 1)
  1245.             local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1246.         end
  1247.     end
  1248. end
  1249.  
  1250. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1251.     local xs, ys, zs = x + x, y + y, z + z
  1252.     local wx, wy, wz = w * xs, w * ys, w * zs
  1253.     local xx = x * xs
  1254.     local xy = x * ys
  1255.     local xz = x * zs
  1256.     local yy = y * ys
  1257.     local yz = y * zs
  1258.     local zz = z * zs
  1259.     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))
  1260. end
  1261.  
  1262. function QuaternionSlerp(a, b, t)
  1263.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1264.     local startInterp, finishInterp;
  1265.     if cosTheta >= 0.0001 then
  1266.         if (1 - cosTheta) > 0.0001 then
  1267.             local theta = ACOS(cosTheta)
  1268.             local invSinTheta = 1 / SIN(theta)
  1269.             startInterp = SIN((1 - t) * theta) * invSinTheta
  1270.             finishInterp = SIN(t * theta) * invSinTheta
  1271.         else
  1272.             startInterp = 1 - t
  1273.             finishInterp = t
  1274.         end
  1275.     else
  1276.         if (1 + cosTheta) > 0.0001 then
  1277.             local theta = ACOS(-cosTheta)
  1278.             local invSinTheta = 1 / SIN(theta)
  1279.             startInterp = SIN((t - 1) * theta) * invSinTheta
  1280.             finishInterp = SIN(t * theta) * invSinTheta
  1281.         else
  1282.             startInterp = t - 1
  1283.             finishInterp = t
  1284.         end
  1285.     end
  1286.     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
  1287. end
  1288.  
  1289. function Clerp(a, b, t)
  1290.     local qa = {QuaternionFromCFrame(a)}
  1291.     local qb = {QuaternionFromCFrame(b)}
  1292.     local ax, ay, az = a.x, a.y, a.z
  1293.     local bx, by, bz = b.x, b.y, b.z
  1294.     local _t = 1 - t
  1295.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1296. end
  1297.  
  1298. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1299.     local frame = IT("Frame")
  1300.     frame.BackgroundTransparency = TRANSPARENCY
  1301.     frame.BorderSizePixel = BORDERSIZEPIXEL
  1302.     frame.Position = POSITION
  1303.     frame.Size = SIZE
  1304.     frame.BackgroundColor3 = COLOR
  1305.     frame.BorderColor3 = BORDERCOLOR
  1306.     frame.Name = NAME
  1307.     frame.Parent = PARENT
  1308.     return frame
  1309. end
  1310.  
  1311. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1312.     local label = IT("TextLabel")
  1313.     label.BackgroundTransparency = 1
  1314.     label.Size = UD2(1, 0, 1, 0)
  1315.     label.Position = UD2(0, 0, 0, 0)
  1316.     label.TextColor3 = C3(255, 255, 255)
  1317.     label.TextStrokeTransparency = STROKETRANSPARENCY
  1318.     label.TextTransparency = TRANSPARENCY
  1319.     label.FontSize = TEXTFONTSIZE
  1320.     label.Font = TEXTFONT
  1321.     label.BorderSizePixel = BORDERSIZEPIXEL
  1322.     label.TextScaled = true
  1323.     label.Text = TEXT
  1324.     label.Name = NAME
  1325.     label.Parent = PARENT
  1326.     return label
  1327. end
  1328.  
  1329. function NoOutlines(PART)
  1330.     PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1331. end
  1332.  
  1333. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  1334.     local NEWPART = IT("Part")
  1335.     NEWPART.formFactor = FORMFACTOR
  1336.     NEWPART.Reflectance = REFLECTANCE
  1337.     NEWPART.Transparency = TRANSPARENCY
  1338.     NEWPART.CanCollide = false
  1339.     NEWPART.Locked = true
  1340.     NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1341.     NEWPART.Name = NAME
  1342.     NEWPART.Size = SIZE
  1343.     NEWPART.Position = Torso.Position
  1344.     NoOutlines(NEWPART)
  1345.     NEWPART.Material = MATERIAL
  1346.     NEWPART:BreakJoints()
  1347.     NEWPART.Parent = PARENT
  1348.     return NEWPART
  1349. end
  1350.  
  1351. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1352.     local NEWMESH = IT(MESH)
  1353.     if MESH == "SpecialMesh" then
  1354.         NEWMESH.MeshType = MESHTYPE
  1355.         if MESHID ~= "nil" and MESHID ~= "" then
  1356.             NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1357.         end
  1358.         if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1359.             NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1360.         end
  1361.     end
  1362.     NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1363.     NEWMESH.Scale = SCALE
  1364.     NEWMESH.Parent = PARENT
  1365.     return NEWMESH
  1366. end
  1367.  
  1368. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1369.     local NEWWELD = IT(TYPE)
  1370.     NEWWELD.Part0 = PART0
  1371.     NEWWELD.Part1 = PART1
  1372.     NEWWELD.C0 = C0
  1373.     NEWWELD.C1 = C1
  1374.     NEWWELD.Parent = PARENT
  1375.     return NEWWELD
  1376. end
  1377.  
  1378. function CreateSound(ID, PARENT, VOLUME, PITCH)
  1379.     coroutine.resume(coroutine.create(function()
  1380.         local NEWSOUND = IT("Sound", PARENT)
  1381.         NEWSOUND.Volume = VOLUME
  1382.         NEWSOUND.Pitch = PITCH
  1383.         NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1384.         Swait()
  1385.         NEWSOUND:play()
  1386.         game:GetService("Debris"):AddItem(NEWSOUND, 10)
  1387.     end))
  1388. end
  1389.  
  1390. function CFrameFromTopBack(at, top, back)
  1391.     local right = top:Cross(back)
  1392.     return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1393. end
  1394.  
  1395. function Lightning(POSITION1, POSITION2, MULTIPLIERTIME, LIGHTNINGDELAY, OFFSET, BRICKCOLOR, MATERIAL, SIZE, TRANSPARENCY, LASTINGTIME)
  1396.     local MAGNITUDE = (POSITION1 - POSITION2).magnitude
  1397.     local CURRENTPOSITION = POSITION1
  1398.     local LIGHTNINGOFFSET = {-OFFSET, OFFSET}
  1399.     coroutine.resume(coroutine.create(function()
  1400.         for i = 1, MULTIPLIERTIME do
  1401.             local LIGHTNINGPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR,"Effect", VT(SIZE * Player_Size, SIZE * Player_Size, MAGNITUDE / MULTIPLIERTIME))
  1402.             LIGHTNINGPART.Anchored = true
  1403.             local LIGHTNINGOFFSET2 = VT(LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)], LIGHTNINGOFFSET[MRANDOM(1, 2)])
  1404.             local LIGHTNINGPOSITION1 = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME).p + LIGHTNINGOFFSET2
  1405.             if MULTIPLIERTIME == i then
  1406.                 local LIGHTNINGMAGNITUDE1 = (CURRENTPOSITION - POSITION2).magnitude
  1407.                 LIGHTNINGPART.Size = VT(SIZE * Player_Size, SIZE * Player_Size, LIGHTNINGMAGNITUDE1)
  1408.                 LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, POSITION2) * CF(0, 0, -LIGHTNINGMAGNITUDE1 / 2)
  1409.             else
  1410.                 LIGHTNINGPART.CFrame = CF(CURRENTPOSITION, LIGHTNINGPOSITION1) * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2)
  1411.             end
  1412.             CURRENTPOSITION=LIGHTNINGPART.CFrame * CF(0, 0, MAGNITUDE / MULTIPLIERTIME / 2).p
  1413.             game.Debris:AddItem(LIGHTNINGPART, LASTINGTIME)
  1414.             coroutine.resume(coroutine.create(function()
  1415.                 while LIGHTNINGPART.Transparency ~= 1 do
  1416.                     --local StartTransparency = tra
  1417.                     for i=0, 1, LASTINGTIME do
  1418.                         Swait()
  1419.                         LIGHTNINGPART.Transparency = LIGHTNINGPART.Transparency + (0.1 / LASTINGTIME)
  1420.                     end
  1421.                 end
  1422.             end))
  1423.         Swait(LIGHTNINGDELAY / Animation_Speed)
  1424.         end
  1425.     end))
  1426. end
  1427.  
  1428. function MagicBlock(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1429.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1430.     EFFECTPART.Anchored = true
  1431.     EFFECTPART.CFrame = CFRAME
  1432.     local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1433.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1434.     coroutine.resume(coroutine.create(function(PART, MESH)
  1435.         for i = 0, 1, delay do
  1436.             Swait()
  1437.             PART.CFrame = PART.CFrame * ROTATION
  1438.             PART.Transparency = i
  1439.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1440.         end
  1441.         PART.Parent = nil
  1442.     end), EFFECTPART, EFFECTMESH)
  1443. end
  1444.  
  1445. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1446.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1447.     EFFECTPART.Anchored = true
  1448.     EFFECTPART.CFrame = CFRAME
  1449.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1450.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1451.     coroutine.resume(coroutine.create(function(PART, MESH)
  1452.         for i = 0, 1, delay do
  1453.             Swait()
  1454.             PART.CFrame = PART.CFrame * ROTATION
  1455.             PART.Transparency = i
  1456.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1457.         end
  1458.         PART.Parent = nil
  1459.     end), EFFECTPART, EFFECTMESH)
  1460. end
  1461.  
  1462. function MagicCylinder(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1463.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1464.     EFFECTPART.Anchored = true
  1465.     EFFECTPART.CFrame = CFRAME
  1466.     local EFFECTMESH = CreateMesh("CylinderMesh", EFFECTPART, "", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1467.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1468.     coroutine.resume(coroutine.create(function(PART, MESH)
  1469.         for i = 0, 1, delay do
  1470.             Swait()
  1471.             PART.CFrame = PART.CFrame * ROTATION
  1472.             PART.Transparency = i
  1473.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1474.         end
  1475.         PART.Parent = nil
  1476.     end), EFFECTPART, EFFECTMESH)
  1477. end
  1478.  
  1479. function MagicHead(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1480.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1481.     EFFECTPART.Anchored = true
  1482.     EFFECTPART.CFrame = CFRAME
  1483.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Head", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1484.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1485.     coroutine.resume(coroutine.create(function(PART, MESH)
  1486.         for i = 0, 1, delay do
  1487.             Swait()
  1488.             PART.CFrame = PART.CFrame * ROTATION
  1489.             PART.Transparency = i
  1490.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1491.         end
  1492.         PART.Parent = nil
  1493.     end), EFFECTPART, EFFECTMESH)
  1494. end
  1495.  
  1496. function MagicRing(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1497.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1498.     EFFECTPART.Anchored = true
  1499.     EFFECTPART.CFrame = CFRAME
  1500.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "3270017", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1501.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1502.     coroutine.resume(coroutine.create(function(PART, MESH)
  1503.         for i = 0, 1, delay do
  1504.             Swait()
  1505.             PART.CFrame = PART.CFrame * ROTATION
  1506.             PART.Transparency = i
  1507.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1508.         end
  1509.         PART.Parent = nil
  1510.     end), EFFECTPART, EFFECTMESH)
  1511. end
  1512.  
  1513. function MagicWave(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1514.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1515.     EFFECTPART.Anchored = true
  1516.     EFFECTPART.CFrame = CFRAME
  1517.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "20329976", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), VT(0, 0, (-0.1 * Z1)) + (OFFSET * Player_Size))
  1518.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1519.     coroutine.resume(coroutine.create(function(PART, MESH)
  1520.         for i = 0, 1, delay do
  1521.             Swait()
  1522.             PART.CFrame = PART.CFrame * ROTATION
  1523.             PART.Transparency = i
  1524.             MESH.Offset = VT(0, 0, (-0.1 * MESH.Scale.Z))
  1525.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1526.         end
  1527.         PART.Parent = nil
  1528.     end), EFFECTPART, EFFECTMESH)
  1529. end
  1530.  
  1531. function MagicCrystal(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1532.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1533.     EFFECTPART.Anchored = true
  1534.     EFFECTPART.CFrame = CFRAME
  1535.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "9756362", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1536.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1537.     coroutine.resume(coroutine.create(function(PART, MESH)
  1538.         for i = 0, 1, delay do
  1539.             Swait()
  1540.             PART.CFrame = PART.CFrame * ROTATION
  1541.             PART.Transparency = i
  1542.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1543.         end
  1544.         PART.Parent = nil
  1545.     end), EFFECTPART, EFFECTMESH)
  1546. end
  1547.  
  1548. function MagicSwirl(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1549.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1550.     EFFECTPART.Anchored = true
  1551.     EFFECTPART.CFrame = CFRAME
  1552.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1051557", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1553.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1554.     coroutine.resume(coroutine.create(function(PART, MESH)
  1555.         for i = 0, 1, delay do
  1556.             Swait()
  1557.             PART.CFrame = PART.CFrame * ROTATION
  1558.             PART.Transparency = i
  1559.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1560.         end
  1561.         PART.Parent = nil
  1562.     end), EFFECTPART, EFFECTMESH)
  1563. end
  1564.  
  1565. function MagicSharpCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1566.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1567.     EFFECTPART.Anchored = true
  1568.     EFFECTPART.CFrame = CFRAME
  1569.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1778999", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1570.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1571.     coroutine.resume(coroutine.create(function(PART, MESH)
  1572.         for i = 0, 1, delay do
  1573.             Swait()
  1574.             PART.CFrame = PART.CFrame * ROTATION
  1575.             PART.Transparency = i
  1576.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1577.         end
  1578.         PART.Parent = nil
  1579.     end), EFFECTPART, EFFECTMESH)
  1580. end
  1581.  
  1582. function MagicFlatCone(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1583.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1584.     EFFECTPART.Anchored = true
  1585.     EFFECTPART.CFrame = CFRAME
  1586.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1033714", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1587.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1588.     coroutine.resume(coroutine.create(function(PART, MESH)
  1589.         for i = 0, 1, delay do
  1590.             Swait()
  1591.             PART.CFrame = PART.CFrame * ROTATION
  1592.             PART.Transparency = i
  1593.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1594.         end
  1595.         PART.Parent = nil
  1596.     end), EFFECTPART, EFFECTMESH)
  1597. end
  1598.  
  1599. function MagicSpikedCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1600.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1601.     EFFECTPART.Anchored = true
  1602.     EFFECTPART.CFrame = CFRAME
  1603.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1323306", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1604.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1605.     coroutine.resume(coroutine.create(function(PART, MESH)
  1606.         for i = 0, 1, delay do
  1607.             Swait()
  1608.             PART.CFrame = PART.CFrame * ROTATION
  1609.             PART.Transparency = i
  1610.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1611.         end
  1612.         PART.Parent = nil
  1613.     end), EFFECTPART, EFFECTMESH)
  1614. end
  1615.  
  1616. function MagicFlatCrown(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1617.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1618.     EFFECTPART.Anchored = true
  1619.     EFFECTPART.CFrame = CFRAME
  1620.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "1078075", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1621.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1622.     coroutine.resume(coroutine.create(function(PART, MESH)
  1623.         for i = 0, 1, delay do
  1624.             Swait()
  1625.             PART.CFrame = PART.CFrame * ROTATION
  1626.             PART.Transparency = i
  1627.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1628.         end
  1629.         PART.Parent = nil
  1630.     end), EFFECTPART, EFFECTMESH)
  1631. end
  1632.  
  1633. function MagicSkull(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  1634.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1635.     EFFECTPART.Anchored = true
  1636.     EFFECTPART.CFrame = CFRAME
  1637.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  1638.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1639.     coroutine.resume(coroutine.create(function(PART, MESH)
  1640.         for i = 0, 1, delay do
  1641.             Swait()
  1642.             PART.CFrame = PART.CFrame * ROTATION
  1643.             PART.Transparency = i
  1644.             MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  1645.         end
  1646.         PART.Parent = nil
  1647.     end), EFFECTPART, EFFECTMESH)
  1648. end
  1649.  
  1650. function ElectricEffect(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X, Y, Z, delay)
  1651.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  1652.     EFFECTPART.Anchored = true
  1653.     EFFECTPART.CFrame = CFRAME
  1654.     local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "FileMesh", "4770583", "", VT(X * Player_Size, Y * Player_Size, Z * Player_Size), OFFSET * Player_Size)
  1655.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1656.     local XVALUE = MRANDOM()
  1657.     local YVALUE = MRANDOM()
  1658.     local ZVALUE = MRANDOM()
  1659.     coroutine.resume(coroutine.create(function(PART, MESH, THEXVALUE, THEYVALUE, THEZVALUE)
  1660.         for i = 0, 1, delay do
  1661.             Swait()
  1662.             PART.CFrame = PART.CFrame * ROTATION
  1663.             PART.Transparency = i
  1664.             THEXVALUE = THEXVALUE - 0.1 * (delay * 10)
  1665.             THEYVALUE = THEYVALUE - 0.1 * (delay * 10)
  1666.             THEZVALUE = THEZVALUE - 0.1 * (delay * 10)
  1667.             MESH.Scale = MESH.Scale + VT(THEXVALUE * Player_Size, THEYVALUE * Player_Size, THEZVALUE * Player_Size)
  1668.         end
  1669.         PART.Parent = nil
  1670.     end), EFFECTPART, EFFECTMESH, XVALUE, YVALUE, ZVALUE)
  1671. end
  1672.  
  1673. function TrailEffect(BRICKCOLOR, MATERIAL, CURRENTCFRAME, OLDCFRAME, MESHTYPE, REFLECTANCE, SIZE, ROTATION, X, Y, Z, delay)
  1674.     local MAGNITUDECFRAME = (CURRENTCFRAME.p - OLDCFRAME.p).magnitude
  1675.     if MAGNITUDECFRAME > (1 / 100) then
  1676.         local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT(1, MAGNITUDECFRAME, 1))
  1677.         EFFECTPART.Anchored = true
  1678.         EFFECTPART.CFrame = CF((CURRENTCFRAME.p + OLDCFRAME.p) / 2, OLDCFRAME.p) * ANGLES(RAD(90), 0, 0)
  1679.         local THEMESHTYPE = "BlockMesh"
  1680.         if MESHTYPE == "Cylinder" then
  1681.             THEMESHTYPE = "CylinderMesh"
  1682.         end
  1683.         local EFFECTMESH = CreateMesh(THEMESHTYPE, EFFECTPART, "", "", "", VT(0 + SIZE * Player_Size, 1, 0 + SIZE * Player_Size), VT(0, 0, 0))
  1684.         game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1685.         coroutine.resume(coroutine.create(function(PART, MESH)
  1686.             for i = 0, 1, delay do
  1687.                 Swait()
  1688.                 PART.CFrame = PART.CFrame * ROTATION
  1689.                 PART.Transparency = i
  1690.                 MESH.Scale = MESH.Scale + VT(X * Player_Size, Y * Player_Size, Z * Player_Size)
  1691.             end
  1692.             PART.Parent = nil
  1693.         end), EFFECTPART, EFFECTMESH)
  1694.     end
  1695. end
  1696.  
  1697. function ClangEffect(BRICKCOLOR, MATERIAL, CFRAME, ANGLE, DURATION, SIZE, POWER, REFLECTANCE, X, Y, Z, delay)
  1698.     local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 1, BRICKCOLOR, "Effect", VT())
  1699.     EFFECTPART.Anchored = true
  1700.     EFFECTPART.CFrame = CFRAME
  1701.     local EFFECTMESH = CreateMesh("BlockMesh", EFFECTPART, "", "", "", VT(0, 0, 0), VT(0, 0, 0))
  1702.     game:GetService("Debris"):AddItem(EFFECTPART, 10)
  1703.     local THELASTPOINT = CFRAME
  1704.     coroutine.resume(coroutine.create(function(PART)
  1705.         for i = 1, DURATION do
  1706.             Swait()
  1707.             PART.CFrame = PART.CFrame * ANGLES(RAD(ANGLE), 0, 0) * CF(0, POWER * Player_Size, 0)
  1708.             TrailEffect(BRICKCOLOR, MATERIAL, PART.CFrame, THELASTPOINT, "Cylinder", REFLECTANCE, SIZE * Player_Size, ANGLES(0, 0, 0), X * Player_Size, Y * Player_Size, Z * Player_Size, delay)
  1709.             THELASTPOINT = PART.CFrame
  1710.         end
  1711.         PART.Parent = nil
  1712.     end), EFFECTPART)
  1713. end
  1714.  
  1715. --local list={}
  1716. function Triangle(Color, Material, a, b, c, delay)
  1717.     local edge1 = (c - a):Dot((b - a).unit)
  1718.     local edge2 = (a - b):Dot((c - b).unit)
  1719.     local edge3 = (b - c):Dot((a - c).unit)
  1720.     if edge1 <= (b - a).magnitude and edge1 >= 0 then
  1721.         a, b, c=a, b, c
  1722.     elseif edge2 <= (c - b).magnitude and edge2 >= 0 then
  1723.         a, b, c=b, c, a
  1724.     elseif edge3 <= (a - c).magnitude and edge3 >= 0 then
  1725.         a, b, c=c, a, b
  1726.     else
  1727.         assert(false, "unreachable")
  1728.     end
  1729.     local len1 = (c - a):Dot((b - a).unit)
  1730.     local len2 = (b - a).magnitude - len1
  1731.     local width = (a + (b - a).unit * len1 - c).magnitude
  1732.     local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, - (b - a).unit)
  1733.     if len1 > 1 / 100 then
  1734.         local sz = VT(0.2, width, len1)
  1735.         local w1 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1736.         local sp = CreateMesh("SpecialMesh", w1, "Wedge", "", "", VT(0, 1, 1) * sz / w1.Size, VT(0, 0, 0))
  1737.         w1.Anchored = true
  1738.         w1.CFrame = maincf * ANGLES(math.pi, 0, math.pi / 2) * CF(0, width / 2, len1 / 2)
  1739.         coroutine.resume(coroutine.create(function()
  1740.             for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1741.                 Swait()
  1742.                 w1.Transparency = i
  1743.             end
  1744.             w1.Parent = nil
  1745.         end))
  1746.         game:GetService("Debris"):AddItem(w1, 10)
  1747.         --table.insert(list, w1)
  1748.     end
  1749.     if len2 > 1 / 100 then
  1750.         local sz = VT(0.2, width, len2)
  1751.         local w2 = CreatePart(3, Effects, Material, 0, 0.5, Color, "Trail", sz)
  1752.         local sp = CreateMesh("SpecialMesh", w2, "Wedge", "", "", VT(0, 1, 1) * sz / w2.Size, VT(0, 0, 0))
  1753.         w2.Anchored = true
  1754.         w2.CFrame = maincf * ANGLES(math.pi, math.pi, -math.pi / 2) * CF(0, width / 2, -len1 - len2 / 2)
  1755.         coroutine.resume(coroutine.create(function()
  1756.             for i = 0.5, 1, delay * (2 / Animation_Speed) do
  1757.                 Swait()
  1758.                 w2.Transparency = i
  1759.             end
  1760.             w2.Parent = nil
  1761.         end))
  1762.         game:GetService("Debris"):AddItem(w2, 10)
  1763.         --table.insert(list, w2)
  1764.     end
  1765.     --return unpack(list)
  1766. end
  1767.  
  1768. --[[Usage:
  1769.     local Pos = Part
  1770.     local Offset = Part.CFrame * CF(0, 0, 0)
  1771.     local Color = "Institutional white"
  1772.     local Material = "Neon"
  1773.     local TheDelay = 0.01
  1774.     local Height = 4
  1775.     BLCF = Offset
  1776.     if SCFR and (Pos.Position - SCFR.p).magnitude > 0.1 then
  1777.         local a, b = Triangle(Color, Material, (SCFR * CF(0, Height / 2,0)).p, (SCFR * CF(0, -Height / 2, 0)).p, (BLCF * CF(0, Height / 2,0)).p, TheDelay)
  1778.         if a then game:GetService("Debris"):AddItem(a, 1) end
  1779.         if b then game:GetService("Debris"):AddItem(b, 1) end
  1780.         local a, b = Triangle(Color, Material, (BLCF * CF(0, Height / 2, 0)).p, (BLCF * CF(0, -Height / 2, 0)).p, (SCFR * CF(0, -Height / 2, 0)).p, TheDelay)
  1781.         if a then game:GetService("Debris"):AddItem(a, 1) end
  1782.         if b then game:GetService("Debris"):AddItem(b, 1) end
  1783.         SCFR = BLCF
  1784.     elseif not SCFR then
  1785.         SCFR = BLCF
  1786.     end
  1787. --
  1788. BLCF = nil
  1789. SCFR = nil
  1790. --]]
  1791.  
  1792. --//=================================\\
  1793. --\\=================================//
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799. --//=================================\\
  1800. --||          RESIZE PLAYER
  1801. --\\=================================//
  1802.  
  1803. if Player_Size ~= 1 then
  1804. RootPart.Size = RootPart.Size * Player_Size
  1805. Torso.Size = Torso.Size * Player_Size
  1806. Head.Size = Head.Size * Player_Size
  1807. RightArm.Size = RightArm.Size * Player_Size
  1808. LeftArm.Size = LeftArm.Size * Player_Size
  1809. RightLeg.Size = RightLeg.Size * Player_Size
  1810. LeftLeg.Size = LeftLeg.Size * Player_Size
  1811. RootJoint.Parent = RootPart
  1812. Neck.Parent = Torso
  1813. RightShoulder.Parent = Torso
  1814. LeftShoulder.Parent = Torso
  1815. RightHip.Parent = Torso
  1816. LeftHip.Parent = Torso
  1817.    
  1818. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1819.     RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1820.     Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1821.     Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1822.     RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  1823.     LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  1824.     if Disable_Moving_Arms == false then
  1825.         RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1826.         LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  1827.     else
  1828.         RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1829.         LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  1830.     end
  1831.     RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1832.     LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1833.     RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1834.     LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  1835. end
  1836.  
  1837.  
  1838. --//=================================\\
  1839. --\\=================================//
  1840.  
  1841.  
  1842.  
  1843.  
  1844.  
  1845. --//=================================\\
  1846. --||         WEAPON CREATION
  1847. --\\=================================//
  1848.  
  1849. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0))
  1850. local HandleMesh = CreateMesh("SpecialMesh", HandlePart, "FileMesh", "93180631", "93180676", VT(1, 1, 1), VT(0, 3.1 * Player_Size, 0))
  1851. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Handle, Torso, Handle, CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0))
  1852.  
  1853. local HitboxPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Hitbox", VT(0, 0, 0))
  1854. local HitboxWeld = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, HitboxPart, CF(0 * Player_Size, 4 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1855.  
  1856. local AttachmentX = Instance.new("Attachment",HitboxPart)
  1857. AttachmentX.CFrame = CFrame.new(0,6 * Player_Size,0)
  1858. local AttachmentY = Instance.new("Attachment",HitboxPart)
  1859. AttachmentY.CFrame = CFrame.new(0,-3 * Player_Size,0)
  1860. local Trail = Instance.new("Trail",HitboxPart)
  1861. Trail.Attachment0 = AttachmentX
  1862. Trail.Attachment1 = AttachmentY
  1863. Trail.Lifetime = 0.5
  1864. Trail.MinLength = 0
  1865. Trail.LightEmission = 1
  1866. Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5,0),NumberSequenceKeypoint.new(1,1,0)})
  1867. Trail.Enabled = false
  1868.  
  1869. local EffectPart = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Effect Part", VT(0, 0, 0))
  1870. local EffectWeld = CreateWeldOrSnapOrMotor("Weld", EffectPart, Handle, EffectPart, CF(0 * Player_Size, 7 * Player_Size, 0 * Player_Size), CF(0, 0, 0))
  1871.  
  1872. if Player_Size ~= 1 then
  1873.     for _, v in pairs (Weapon:GetChildren()) do
  1874.         if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  1875.             local p1 = v.Part1
  1876.             v.Part1 = nil
  1877.             local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  1878.             v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  1879.             v.Part1 = p1
  1880.         elseif v.ClassName == "Part" then
  1881.             for _, b in pairs (v:GetChildren()) do
  1882.                 if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  1883.                     b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  1884.                 end
  1885.             end
  1886.         end
  1887.     end
  1888. end
  1889.  
  1890. for _, c in pairs(Weapon:GetChildren()) do
  1891.     if c.ClassName == "Part" then
  1892.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1893.     end
  1894. end
  1895. for _, c in pairs(Main:GetChildren()) do
  1896.     if c.ClassName == "Part" then
  1897.         c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1898.     end
  1899. end
  1900.  
  1901. if Start_Equipped == true and Start_Equipped_With_Equipped_Animation == false then
  1902.     HandleWeld.Part0 = RightArm
  1903.     HandleWeld.C0 = CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  1904. end
  1905.  
  1906. Weapon.Parent = Character
  1907.  
  1908. Humanoid.Died:connect(function()
  1909.     ATTACK = true
  1910. end)
  1911.  
  1912. print(Class_Name.." loaded.")
  1913.  
  1914. --//=================================\\
  1915. --\\=================================//
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921. --//=================================\\
  1922. --||         DAMAGE FUNCTIONS
  1923. --\\=================================//
  1924.  
  1925. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1926.     local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1927.     STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1928.     local BODYGYRO = IT("BodyGyro", STATPART)
  1929.     local BODYPOSITION = IT("BodyPosition", STATPART)
  1930.     BODYPOSITION.P = 2000
  1931.     BODYPOSITION.D = 100
  1932.     BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1933.     if LABELTYPE == "Normal" then
  1934.         BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1935.     elseif LABELTYPE == "Debuff" then
  1936.         BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 8, MRANDOM(-2, 2))
  1937.     elseif LABELTYPE == "Interruption" then
  1938.         BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2,2), 8, MRANDOM(-2, 2))
  1939.     end
  1940.     game:GetService("Debris"):AddItem(STATPART ,5)
  1941.     local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1942.     BILLBOARDGUI.Adornee = STATPART
  1943.     BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1944.     BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1945.     BILLBOARDGUI.AlwaysOnTop = false
  1946.     local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1947.     TEXTLABEL.BackgroundTransparency = 1
  1948.     TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1949.     TEXTLABEL.Text = TEXT
  1950.     TEXTLABEL.Font = "SourceSans"
  1951.     TEXTLABEL.FontSize="Size42"
  1952.     TEXTLABEL.TextColor3 = COLOR
  1953.     TEXTLABEL.TextStrokeTransparency = 0
  1954.     TEXTLABEL.TextScaled = true
  1955.     TEXTLABEL.TextWrapped = true
  1956.     coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1957.         wait(0.2)
  1958.         for i=1, 5 do
  1959.             wait()
  1960.             THEBODYPOSITION.Position = THEPART.Position - VT(0, 0.5 ,0)
  1961.         end
  1962.         wait(1.2)
  1963.         for i=1, 5 do
  1964.             wait()
  1965.             THETEXTLABEL.TextTransparency = THETEXTLABEL.TextTransparency + 0.2
  1966.             THETEXTLABEL.TextStrokeTransparency = THETEXTLABEL.TextStrokeTransparency + 0.2
  1967.             THEBODYPOSITION.position = THEPART.Position + VT(0, 0.5, 0)
  1968.         end
  1969.         THEPART.Parent = nil
  1970.     end),STATPART, BODYPOSITION, TEXTLABEL)
  1971. end
  1972.  
  1973. function IncreaseOrDecreaseStat(LOCATION, STAT, AMOUNT, DURATION, SHOWTHESTAT)
  1974.     if LOCATION:FindFirstChild("Stats") ~= nil then
  1975.         if LOCATION.Stats:FindFirstChild("Block") ~= nil then
  1976.             if LOCATION.Stats:FindFirstChild("Block").Value == true then
  1977.                 return
  1978.             end
  1979.         end
  1980.         if LOCATION.Stats:FindFirstChild("ChangeStat") ~= nil and LOCATION.Stats:FindFirstChild("Block").Value == false then
  1981.             local NewStatChange = IT("NumberValue")
  1982.             NewStatChange.Value = AMOUNT
  1983.             if STAT == "Defense" then
  1984.                 NewStatChange.Name = "ChangeDefense"
  1985.             elseif STAT == "Damage" then
  1986.                 NewStatChange.Name = "ChangeDamage"
  1987.             elseif STAT == "Movement" then
  1988.                 NewStatChange.Name = "ChangeMovement"
  1989.             end
  1990.             if SHOWTHESTAT == true then
  1991.                 if AMOUNT < 0 then
  1992.                     StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "-"..STAT, C3(1, 1, 1))
  1993.                 elseif AMOUNT > 0 then
  1994.                     StatLabel("Debuff", LOCATION.Head.CFrame * CF(0, 0 + (LOCATION.Head.Size.z - 1), 0), "+"..STAT, C3(1, 1, 1))
  1995.                 end
  1996.             end
  1997.             if DURATION ~= nil and DURATION ~= 0 then
  1998.                 local StatDuration = IT("NumberValue")
  1999.                 StatDuration.Name = "Duration"
  2000.                 StatDuration.Value = DURATION
  2001.                 StatDuration.Parent = NewStatChange
  2002.             end
  2003.             NewStatChange.Parent = LOCATION.Stats:FindFirstChild("ChangeStat")
  2004.         end
  2005.     end
  2006. end
  2007.  
  2008. --Usage: DamageFunction(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, hit, false, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2009. function DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HIT, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2010.     if HIT.Parent == nil then
  2011.         return
  2012.     end
  2013.     local HITHUMANOID = HIT.Parent:FindFirstChild("Humanoid")
  2014.     for _, v in pairs(HIT.Parent:GetChildren()) do
  2015.         if v:IsA("Humanoid") then
  2016.             HITHUMANOID = v
  2017.         end
  2018.     end
  2019.     if HIT.Name == "Hitbox" and RANGED ~= true and HIT.Parent ~= Weapon and Enable_Stagger_Hit == true then
  2020.         StaggerHit.Value = true
  2021.         if Play_Hitbox_Hit_Sound == true then
  2022.             if HITWEAPONSOUND ~= "" and HITWEAPONSOUND ~= "nil" then
  2023.                 CreateSound(HITWEAPONSOUND, HIT, 1, HITWEAPONSOUNDPITCH)
  2024.             end
  2025.         end
  2026.         return
  2027.     end
  2028.     if HIT.Parent.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent.Parent:FindFirstChild("UpperTorso") ~= nil then
  2029.         HITHUMANOID = HIT.Parent.Parent:FindFirstChild("Humanoid")
  2030.     end
  2031.     if HIT.Parent.ClassName == "Hat" or HIT.ClassName == "Accessory" then
  2032.         HIT = HIT.Parent.Parent:FindFirstChild("Head")
  2033.     end
  2034.     if HITHUMANOID ~= nil and HIT.Parent.Name ~= Character.Name and (HIT.Parent:FindFirstChild("Torso") ~= nil or HIT.Parent:FindFirstChild("UpperTorso") ~= nil) then
  2035.         if HIT.Parent:FindFirstChild("DebounceHit") ~= nil then
  2036.             if HIT.Parent.DebounceHit.Value == true then
  2037.                 return
  2038.             end
  2039.         end
  2040.         if AntiTeamKill.Value == true then
  2041.             if Player.Neutral == false and game.Players:GetPlayerFromCharacter(HIT.Parent) ~= nil then
  2042.                 if game.Players:GetPlayerFromCharacter(HIT.Parent).TeamColor == Player.TeamColor then
  2043.                     return
  2044.                 end
  2045.             end
  2046.         end
  2047.         if HITEVENWHENDEAD == false then
  2048.             if HIT.Parent:FindFirstChild("Humanoid") ~= nil then
  2049.                 if HIT.Parent:FindFirstChild("Humanoid").Health <= 0 then
  2050.                     return
  2051.                 end
  2052.             end
  2053.         end
  2054.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2055.             if HIT.Parent.Stats:FindFirstChild("StunValue") ~= nil then
  2056.                 HIT.Parent.Stats:FindFirstChild("StunValue").Value = HIT.Parent.Stats:FindFirstChild("StunValue").Value + INCREASESTUN
  2057.             end
  2058.         end
  2059.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2060.             if HIT.Parent.Stats:FindFirstChild("Stagger") ~= nil then
  2061.                 if STAGGER == true and Enable_Stagger == true then
  2062.                     HIT.Parent.Stats:FindFirstChild("Stagger").Value = true
  2063.                 end
  2064.             end
  2065.         end
  2066.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2067.             if HIT.Parent.Stats:FindFirstChild("Block") ~= nil then
  2068.                 if HIT.Parent.Stats:FindFirstChild("Block").Value == true then
  2069.                     HASBEENBLOCKED = true
  2070.                     if HIT.Parent.Stats:FindFirstChild("Block"):FindFirstChild("BlockDebounce") == nil then
  2071.                         StatLabel("Interruption", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Blocked!", C3(0, 100 / 255, 255 / 255))
  2072.                         if RANGED ~= true then
  2073.                             if HITBLOCKSOUND ~= "" and HITBLOCKSOUND ~= "nil" then
  2074.                                 CreateSound(HITBLOCKSOUND, HIT, 1, HITBLOCKSOUNDPITCH)
  2075.                             end
  2076.                         end
  2077.                         local BlockDebounce = IT("BoolValue", HIT.Parent.Stats:FindFirstChild("Block"))
  2078.                         BlockDebounce.Name = "BlockDebounce"
  2079.                         BlockDebounce.Value = true
  2080.                         if RANGED ~= true then
  2081.                             game:GetService("Debris"):AddItem(BlockDebounce, 0.5)
  2082.                         else
  2083.                             game:GetService("Debris"):AddItem(BlockDebounce, 0.1)
  2084.                         end
  2085.                     end
  2086.                     if RANGED ~= true and Enable_Stagger == true then
  2087.                         HIT.Parent.Stats:FindFirstChild("Block").Value = false
  2088.                         Stagger.Value = true
  2089.                     end
  2090.                     return
  2091.                 end
  2092.             end
  2093.         end
  2094.         if DECREASETHESTAT ~= nil then
  2095.             if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2096.                 IncreaseOrDecreaseStat(HIT.Parent, DECREASETHESTAT, DECREASEAMOUNT, DECREASEDURATION, SHOWDECREASEDSTAT)
  2097.             end
  2098.         end
  2099.         local DAMAGE = MRANDOM(MINIMUMDAMAGE,MAXIMUMDAMAGE) * Damage.Value
  2100.         if HIT.Parent:FindFirstChild("Stats") ~= nil then
  2101.             if HIT.Parent.Stats:FindFirstChild("Defense") ~= nil then
  2102.                 if CanPenetrateArmor.Value == true then
  2103.                     DAMAGE = DAMAGE
  2104.                 else
  2105.                     DAMAGE = DAMAGE / HIT.Parent.Stats:FindFirstChild("Defense").Value
  2106.                 end
  2107.             elseif HIT.Parent.Stats:FindFirstChild("Defense") == nil then
  2108.                 DAMAGE = DAMAGE
  2109.             end
  2110.         end
  2111.         if CanCrit.Value == true then
  2112.             CRITCHANCENUMBER = MRANDOM(1, CritChance.Value)
  2113.             if CRITCHANCENUMBER == 1 then
  2114.                 DAMAGE = DAMAGE * 2
  2115.             end
  2116.         end
  2117.         DAMAGE = math.floor(DAMAGE)
  2118.         if HASBEENBLOCKED == false then
  2119.             HITHUMANOID.Health = HITHUMANOID.Health - DAMAGE * Player_Size
  2120.         end
  2121.         if DAMAGE <= 3 and HASBEENBLOCKED == false then
  2122.             if STAGGERHIT == true and Enable_Stagger_Hit == true and RANGED ~= true then
  2123.                 StaggerHit.Value = true
  2124.             end
  2125.             if HITARMORSOUND ~= "" and HITARMORSOUND ~= "nil" then
  2126.                 CreateSound(HITARMORSOUND, HIT, 1, HITARMORSOUNDPITCH)
  2127.             end
  2128.         elseif DAMAGE > 3 and HASBEENBLOCKED == false then
  2129.             if HITPLAYERSOUND ~= "" and HITPLAYERSOUND ~= "nil" then
  2130.                 CreateSound(HITPLAYERSOUND, HIT, 1, HITPLAYERSOUNDPITCH)
  2131.             end
  2132.         end
  2133.         if DAMAGE > 3 and DAMAGE < 20 and HASBEENBLOCKED == false then
  2134.             if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2135.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE * Player_Size, C3(200/255, 0, 0))
  2136.                 CreateSound("296102734", HIT, 1, 1)
  2137.             else
  2138.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE * Player_Size, C3(255/255, 220/255, 0))
  2139.             end
  2140.         elseif DAMAGE >= 20 and HASBEENBLOCKED == false then
  2141.             if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2142.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE * Player_Size, C3(200/255, 0, 0))
  2143.                 CreateSound("296102734", HIT, 1, 1)
  2144.             else
  2145.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE * Player_Size, C3(255/255, 0, 0))
  2146.             end
  2147.         elseif DAMAGE <= 3 and HASBEENBLOCKED == false then
  2148.             if CanCrit.Value == true and CRITCHANCENUMBER == 1 then
  2149.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), "Crit! \n"..DAMAGE * Player_Size, C3(200/255, 0, 0))
  2150.                 CreateSound("296102734", HIT, 1, 1)
  2151.             else
  2152.                 StatLabel("Normal", HIT.Parent.Head.CFrame * CF(0, 0 + (HIT.Parent.Head.Size.z - 1), 0), DAMAGE * Player_Size, C3(225/255, 225/255, 225/255))
  2153.             end
  2154.         end
  2155.         if TYPE == "Normal" then
  2156.             local vp = IT("BodyVelocity")
  2157.             vp.P=500
  2158.             vp.maxForce = VT(math.huge, 0, math.huge)
  2159.             if KNOCKBACKTYPE == 1 then
  2160.                 vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK + PROPERTY.Velocity / 1.05
  2161.             elseif KNOCKBACKTYPE == 2 then
  2162.                 vp.Velocity = PROPERTY.CFrame.lookVector * KNOCKBACK
  2163.             end
  2164.             if KNOCKBACK > 0 and HASBEENBLOCKED == false then
  2165.                 vp.Parent = HIT--.Parent.Torso
  2166.             end
  2167.             game:GetService("Debris"):AddItem(vp, 0.5)
  2168.         end
  2169.         HASBEENBLOCKED = false
  2170.         RecentEnemy.Value = HIT.Parent
  2171.         local DebounceHit = IT("BoolValue", HIT.Parent)
  2172.         DebounceHit.Name = "DebounceHit"
  2173.         DebounceHit.Value = true
  2174.         game:GetService("Debris"):AddItem(DebounceHit, DELAY)
  2175.     end
  2176. end
  2177.  
  2178. Apoc = false
  2179. GodSlash = false
  2180.  
  2181. --Usage: MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, Part, 5, true, 5, 10, MRANDOM(5, 10), "Normal", Part, 0.5, false, true, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2182. function MagnitudeDamage(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, PART, MAGNITUDE, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2183.     --[[if Apoc == true then
  2184.         Explosions = Instance.new("Explosion", PART)
  2185.         Explosions.Visible = false
  2186.         Explosions.BlastPressure = 1000
  2187.         Explosions.BlastRadius = 8
  2188.         Explosions.Position = PART.Position
  2189.         Explosions.DestroyJointRadiusPercent = 0
  2190.         Explosions.ExplosionType = "CratersAndDebris"
  2191.     elseif GodSlash == true then
  2192.         Explosions = Instance.new("Explosion", PART)
  2193.         Explosions.Visible = false
  2194.         Explosions.BlastPressure = 1000
  2195.         Explosions.BlastRadius = 10
  2196.         Explosions.Position = PART.Position
  2197.         Explosions.DestroyJointRadiusPercent = 0
  2198.         Explosions.ExplosionType = "CratersAndDebris"
  2199.     else
  2200.         Explosions = Instance.new("Explosion", PART)
  2201.         Explosions.Visible = false
  2202.         Explosions.BlastPressure = 1000
  2203.         Explosions.BlastRadius = 5
  2204.         Explosions.Position = PART.Position
  2205.         Explosions.DestroyJointRadiusPercent = 0
  2206.         Explosions.ExplosionType = "CratersAndDebris"
  2207.     end]]
  2208.     for _, c in pairs(workspace:GetChildren()) do
  2209.         local HUMANOID = c:FindFirstChild("Humanoid")
  2210.         local HEAD = nil
  2211.         if HUMANOID ~= nil then
  2212.             for _, d in pairs(c:GetChildren()) do
  2213.                 if d.ClassName == "Model" and RANGED ~= true then
  2214.                     HEAD = d:FindFirstChild("Hitbox")
  2215.                     if HEAD ~= nil then
  2216.                         local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2217.                         if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2218.                             if Play_Hitbox_Hit_Sound == true then
  2219.                                 local HitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  2220.                                 HitRefpart.Anchored = true
  2221.                                 HitRefpart.CFrame = CF(HEAD.Position)
  2222.                                 CreateSound(HITWEAPONSOUND, HitRefpart, 1, HITWEAPONSOUNDPITCH)
  2223.                             end
  2224.                             if Enable_Stagger_Hit == true then
  2225.                                 StaggerHit.Value = true
  2226.                             end
  2227.                         end
  2228.                     end
  2229.                 elseif d:IsA"BasePart" then
  2230.                     HEAD = d
  2231.                     if HEAD ~= nil then
  2232.                         local THEMAGNITUDE = (HEAD.Position - PART.Position).magnitude
  2233.                         if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2234.                             DamageFunction(HITWEAPONSOUND, HITARMORSOUND, HITBLOCKSOUND, HITPLAYERSOUND, HITWEAPONSOUNDPITCH, HITARMORSOUNDPITCH, HITBLOCKSOUNDPITCH, HITPLAYERSOUNDPITCH, HEAD, HITEVENWHENDEAD, MINIMUMDAMAGE, MAXIMUMDAMAGE, KNOCKBACK, TYPE, PROPERTY, DELAY, KNOCKBACKTYPE, INCREASESTUN, STAGGER, STAGGERHIT, RANGED, MAGNITUDEDECREASETHESTAT, MAGNITUDEDECREASEAMOUNT, MAGNITUDEDECREASEDURATION, MAGNITUDESHOWDECREASEDSTAT)
  2235.                         end
  2236.                     end
  2237.                 end
  2238.             end
  2239.         end
  2240.     end
  2241. end
  2242.  
  2243. --Usage: MagnitudeBuffOrDebuff(Part, 5, "Defense", -0.1, 3, true, true)
  2244. function MagnitudeBuffOrDebuff(PART, MAGNITUDE, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF, APPLYTOOTHERSINSTEAD)
  2245.     if Player.Neutral == true then
  2246.         IncreaseOrDecreaseStat(Character, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2247.     end
  2248.     for _, c in pairs(workspace:GetChildren()) do
  2249.         local HUMANOID = c:FindFirstChild("Humanoid")
  2250.         local THEHEAD = nil
  2251.         if HUMANOID ~= nil then
  2252.             if c:FindFirstChild("Torso") ~= nil then
  2253.                 THEHEAD = c:FindFirstChild("Torso")
  2254.             elseif c:FindFirstChild("UpperTorso") ~= nil then
  2255.                 THEHEAD = c:FindFirstChild("UpperTorso")
  2256.             end
  2257.             if THEHEAD ~= nil then
  2258.                 local THEMAGNITUDE = (THEHEAD.Position - PART.Position).magnitude
  2259.                 print("yes 1")
  2260.                 if APPLYTOOTHERSINSTEAD == true then
  2261.                     if THEMAGNITUDE <= (MAGNITUDE * Player_Size) and c.Name ~= Player.Name then
  2262.                         if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  2263.                             if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  2264.                                 IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2265.                             end
  2266.                         end
  2267.                     end
  2268.                 elseif APPLYTOOTHERSINSTEAD == false then
  2269.                     if THEMAGNITUDE <= (MAGNITUDE * Player_Size) then
  2270.                         if Player.Neutral == false and game.Players:GetPlayerFromCharacter(THEHEAD.Parent) ~= nil then
  2271.                             if game.Players:GetPlayerFromCharacter(THEHEAD.Parent).TeamColor == Player.TeamColor then
  2272.                                 IncreaseOrDecreaseStat(THEHEAD.Parent, STAT, AMOUNT, DURATION, SHOWBUFFORDEBUFF)
  2273.                             end
  2274.                         end
  2275.                     end
  2276.                 end
  2277.             end
  2278.         end
  2279.     end
  2280. end
  2281.  
  2282. --//=================================\\
  2283. --\\=================================//
  2284.  
  2285.  
  2286.  
  2287.  
  2288.  
  2289. --//=================================\\
  2290. --||            WEAPON GUI
  2291. --\\=================================//
  2292.  
  2293. local MANABAR = CreateFrame(WEAPONGUI, Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_8.r, Custom_Colors.Custom_Color_8.g, Custom_Colors.Custom_Color_8.b), C3(0, 0, 0),"Mana Bar")
  2294. local MANACOVER = CreateFrame(MANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_5.r, Custom_Colors.Custom_Color_5.g, Custom_Colors.Custom_Color_5.b), C3(0, 0, 0),"Mana Cover")
  2295. local MANATEXT = CreateLabel(MANABAR, Mana_Name.." ["..FLOOR(Mana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Mana Text")
  2296.  
  2297. local HEALTHBAR = CreateFrame(WEAPONGUI, Health_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.82, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_11.r, Custom_Colors.Custom_Color_11.g, Custom_Colors.Custom_Color_11.b), C3(0, 0, 0), "Health Bar")
  2298. local HEALTHCOVER = CreateFrame(HEALTHBAR, 0, 2,UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_6.r, Custom_Colors.Custom_Color_6.g, Custom_Colors.Custom_Color_6.b), C3(0, 0, 0), "Health Cover")
  2299. local HEALTHTEXT = CreateLabel(HEALTHBAR, "Health ["..FLOOR(Humanoid.Health).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Health Text")
  2300.  
  2301. local STUNFRAME = CreateFrame(nil, Stun_Bar_Background_Transparency, 2, UD2(0.5, 0, 0.78, 0),UD2(0.26, 0, 0, 0),C3(Custom_Colors.Custom_Color_10.r, Custom_Colors.Custom_Color_10.g, Custom_Colors.Custom_Color_10.b), C3(0, 0, 0), "Stun Frame")
  2302. local STUNBAR = CreateFrame(STUNFRAME, 0, 2, UD2(0, 0, 0, 0),UD2(0, 0, 1, 0),C3(Custom_Colors.Custom_Color_7.r, Custom_Colors.Custom_Color_7.g, Custom_Colors.Custom_Color_7.b), C3(0, 0, 0), "Stun Bar")
  2303. local STUNTEXT = CreateLabel(STUNFRAME, "Stun ["..FLOOR(StunValue.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Stun Text")
  2304.  
  2305. local SECONDARYMANABAR = CreateFrame(nil, Secondary_Mana_Bar_Background_Transparency, 2, UD2(0.23, 0, 0.78, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_9.r, Custom_Colors.Custom_Color_9.g, Custom_Colors.Custom_Color_9.b), C3(0, 0, 0),"Secondary Mana Bar")
  2306. local SECONDARYMANACOVER = CreateFrame(SECONDARYMANABAR, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_4.r, Custom_Colors.Custom_Color_4.g, Custom_Colors.Custom_Color_4.b), C3(0, 0, 0),"Secondary Mana Cover")
  2307. local SECONDARYMANATEXT = CreateLabel(SECONDARYMANABAR, Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Secondary Mana Text")
  2308.  
  2309. local DEFENSEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.23, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 100 / 255, 255 / 255), C3(0, 0, 0),"Defense Frame")
  2310. local DEFENSETEXT = CreateLabel(DEFENSEFRAME, "Defense ["..(Defense.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Defense Text")
  2311.  
  2312. local DAMAGEFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.456, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(255 / 255, 100 / 255, 100 / 255), C3(0, 0, 0),"Damage Frame")
  2313. local DAMAGETEXT = CreateLabel(DAMAGEFRAME, "Damage ["..(Damage.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Damage Text")
  2314.  
  2315. local MOVEMENTFRAME = CreateFrame(nil, Stat_Background_Transparency, 2, UD2(0.685, 0, Stat_Offset, 0), UD2(0.075, 0, 0, 0), C3(100 / 255, 255 / 255, 100 / 255), C3(0, 0, 0),"Movement Frame")
  2316. local MOVEMENTTEXT = CreateLabel(MOVEMENTFRAME, "Movement ["..(Movement.Value * 100).."%]", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Movement Text")
  2317.  
  2318. local SKILL1FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 1 Frame")
  2319. local SKILL2FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 2 Frame")
  2320. local SKILL3FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.23, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 3 Frame")
  2321. local SKILL4FRAME = CreateFrame(nil, Ability_Background_Transparency, 2, UD2(0.50, 0, 0.93, 0), UD2(0.26, 0, 0, 0), C3(Custom_Colors.Custom_Color_12.r, Custom_Colors.Custom_Color_12.g, Custom_Colors.Custom_Color_12.b), C3(0, 0, 0), "Skill 4 Frame")
  2322.  
  2323. local SKILL1BAR = CreateFrame(SKILL1FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 1 Bar")
  2324. local SKILL2BAR = CreateFrame(SKILL2FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 2 Bar")
  2325. local SKILL3BAR = CreateFrame(SKILL3FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 3 Bar")
  2326. local SKILL4BAR = CreateFrame(SKILL4FRAME, 0, 2, UD2(0, 0, 0, 0), UD2(0, 0, 1, 0), C3(Custom_Colors.Custom_Color_3.r, Custom_Colors.Custom_Color_3.g, Custom_Colors.Custom_Color_3.b), C3(0, 0, 0), "Skill 4 Bar")
  2327.  
  2328. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Ability 1", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 1")
  2329. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Ability 2", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 2")
  2330. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 3")
  2331. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", C3(1, 1, 1), "Size32", "Legacy", 1, 2, 1, "Text 4")
  2332.  
  2333. if Enable_Gui == true then
  2334.     WEAPONGUI.Parent = PlayerGui
  2335. end
  2336.  
  2337. if Enable_Stats == true and Show_Stats == true then
  2338.     DEFENSEFRAME.Parent = WEAPONGUI
  2339.     DAMAGEFRAME.Parent = WEAPONGUI
  2340.     MOVEMENTFRAME.Parent = WEAPONGUI
  2341. end
  2342.  
  2343. if Enable_Secondary_Bar == true then
  2344.     SECONDARYMANABAR.Parent = WEAPONGUI
  2345. end
  2346.  
  2347. if Enable_Abilities == true then
  2348.     SKILL1FRAME.Parent = WEAPONGUI
  2349.     SKILL2FRAME.Parent = WEAPONGUI
  2350.     SKILL3FRAME.Parent = WEAPONGUI
  2351.     SKILL4FRAME.Parent = WEAPONGUI
  2352. end
  2353.  
  2354. if Enable_Stun == true then
  2355.     STUNFRAME.Parent = WEAPONGUI
  2356. end
  2357.  
  2358. function UpdateGUI()
  2359.     MANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2360.     MANACOVER:TweenSize(UD2(1 * (Mana.Value / Max_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2361.     MANATEXT.Text = Mana_Name.." ["..FLOOR(Mana.Value).."]"
  2362.     HEALTHBAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2363.     HEALTHCOVER:TweenSize(UD2(1 * (Humanoid.Health / Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2364.     HEALTHTEXT.Text = "Health ["..FLOOR(Humanoid.Health).."]"
  2365.     if Enable_Abilities == true then
  2366.         SKILL1FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2367.         SKILL2FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2368.         SKILL3FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2369.         SKILL4FRAME:TweenSize(UD2(0.26, 0, 0.06, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2370.         SKILL1BAR:TweenSize(UD2(1 * (CO1 / Cooldown_1), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2371.         SKILL2BAR:TweenSize(UD2(1 * (CO2 / Cooldown_2), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2372.         SKILL3BAR:TweenSize(UD2(1 * (CO3 / Cooldown_3), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2373.         SKILL4BAR:TweenSize(UD2(1 * (CO4 / Cooldown_4), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2374.     end
  2375.     if Enable_Stats == true and Show_Stats == true then
  2376.         DEFENSEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2377.         DEFENSETEXT.Text = "Defense ["..(Defense.Value * 100).."%]"
  2378.         DAMAGEFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2379.         DAMAGETEXT.Text = "Damage ["..(Damage.Value * 100).."%]"
  2380.         MOVEMENTFRAME:TweenSize(UD2(0.075, 0, 0.03), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2381.         MOVEMENTTEXT.Text = "Movement ["..(Movement.Value * 100).."%]"
  2382.     end
  2383.     if Enable_Stun == true then
  2384.         STUNFRAME:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2385.         STUNBAR:TweenSize(UD2(1 * (StunValue.Value / Max_Stun), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2386.         STUNTEXT.Text = "Stun ["..FLOOR(StunValue.Value).."]"
  2387.     end
  2388.     if Enable_Secondary_Bar == true then
  2389.         SECONDARYMANABAR:TweenSize(UD2(0.26, 0, 0.03, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2390.         SECONDARYMANACOVER:TweenSize(UD2(1 * (SecondaryMana.Value / Max_Secondary_Mana), 0, 1, 0), "Out", "Quad", Menu_Update_Speed, Constant_Update)
  2391.         SECONDARYMANATEXT.Text = Secondary_Mana_Name.." ["..FLOOR(SecondaryMana.Value).."]"
  2392.     end
  2393. end
  2394.  
  2395. if Enable_Gui == true then
  2396.     UpdateGUI()
  2397.     for _, v in pairs (WEAPONGUI:GetChildren()) do
  2398.         if v.ClassName == "Frame" then
  2399.             for _, b in pairs (v:GetChildren()) do
  2400.                 if b.ClassName == "TextLabel" then
  2401.                     coroutine.resume(coroutine.create(function(THETEXTLABEL)
  2402.                         wait(Menu_Update_Speed)
  2403.                         for i = 1, 0, -0.1 do
  2404.                             Swait()
  2405.                             THETEXTLABEL.TextTransparency = i
  2406.                             THETEXTLABEL.TextStrokeTransparency = i
  2407.                             end
  2408.                         THETEXTLABEL.TextTransparency = 0
  2409.                         THETEXTLABEL.TextStrokeTransparency = 0
  2410.                     end), b)
  2411.                 end
  2412.             end
  2413.         end
  2414.     end
  2415. end
  2416.  
  2417. --//=================================\\
  2418. --\\=================================//
  2419.  
  2420.  
  2421.  
  2422.  
  2423.  
  2424. --//=================================\\
  2425. --||         SKILL FUNCTIONS
  2426. --\\=================================//
  2427.  
  2428. function UpdateSkillsAndStuff()
  2429.     if Mana_Regen_Mode == "1" then
  2430.         if Mana.Value >= Max_Mana then
  2431.             Mana.Value = Max_Mana
  2432.         elseif Mana.Value < 0 then
  2433.             Mana.Value = 0
  2434.         else
  2435.             if MANADELAYNUMBER <= Mana_Wait then
  2436.                 MANADELAYNUMBER = MANADELAYNUMBER + 1
  2437.             else
  2438.                 MANADELAYNUMBER = 0
  2439.                 Mana.Value = Mana.Value + Recover_Mana
  2440.             end
  2441.         end
  2442.     elseif Mana_Regen_Mode == "2" then
  2443.         if Mana.Value <= Max_Mana then
  2444.             Mana.Value = Mana.Value + (Recover_Mana / 30) / Animation_Speed
  2445.         elseif Mana.Value >= Max_Mana then
  2446.             Mana.Value = Max_Mana
  2447.         elseif Mana.Value < 0 then
  2448.             Mana.Value = 0
  2449.         end
  2450.     end
  2451.     if Enable_Secondary_Bar == true then
  2452.         if Secondary_Mana_Regen_Mode == "1" then
  2453.             if SecondaryMana.Value >= Max_Secondary_Mana then
  2454.                 SecondaryMana.Value = Max_Secondary_Mana
  2455.             elseif SecondaryMana.Value < 0 then
  2456.                 SecondaryMana.Value = 0
  2457.             else
  2458.                 if SECONDARYMANADELAYNUMBER <= Secondary_Mana_Wait then
  2459.                     SECONDARYMANADELAYNUMBER = SECONDARYMANADELAYNUMBER + 1
  2460.                 else
  2461.                     SECONDARYMANADELAYNUMBER = 0
  2462.                     SecondaryMana.Value = SecondaryMana.Value + Recover_Secondary_Mana
  2463.                 end
  2464.             end
  2465.         elseif Secondary_Mana_Regen_Mode == "2" then
  2466.             if SecondaryMana.Value <= Max_Secondary_Mana then
  2467.                 SecondaryMana.Value = SecondaryMana.Value + (Recover_Secondary_Mana / 30) / Animation_Speed
  2468.             elseif SecondaryMana.Value >= Max_Secondary_Mana then
  2469.                 SecondaryMana.Value = Max_Secondary_Mana
  2470.             elseif SecondaryMana.Value < 0 then
  2471.                 SecondaryMana.Value = 0
  2472.             end
  2473.         end
  2474.     else
  2475.         SecondaryMana.Value = 0
  2476.     end
  2477.     if Enable_Stun == true then
  2478.         if Stun_Lose_Mode == "1" then
  2479.             if StunValue.Value > Max_Stun then
  2480.                 StunValue.Value = Max_Stun
  2481.             elseif StunValue.Value <= 0 then
  2482.                 StunValue.Value = 0
  2483.             else
  2484.                 if STUNDELAYNUMBER <= Stun_Wait then
  2485.                     STUNDELAYNUMBER = STUNDELAYNUMBER + 1
  2486.                 else
  2487.                     STUNDELAYNUMBER = 0
  2488.                     StunValue.Value = StunValue.Value - Lose_Stun
  2489.                 end
  2490.             end
  2491.         elseif Stun_Lose_Mode == "2" then
  2492.             if StunValue.Value <= Max_Stun and StunValue.Value > 0 then
  2493.                 StunValue.Value = StunValue.Value - (Lose_Stun / 30) / Animation_Speed
  2494.             elseif StunValue.Value > Max_Stun then
  2495.                 StunValue.Value = Max_Stun
  2496.             elseif StunValue.Value <= 0 then
  2497.                 StunValue.Value = 0
  2498.             end
  2499.         end
  2500.     else
  2501.         StunValue.Value = 0
  2502.     end
  2503.     if Enable_Abilities == true then
  2504.         if CO1 <= Cooldown_1 then
  2505.             CO1 = CO1 + (1 / 30) / Animation_Speed
  2506.         elseif CO1 >= Cooldown_1 then
  2507.             CO1 = Cooldown_1
  2508.         end
  2509.         if CO2 <= Cooldown_2 then
  2510.             CO2 = CO2 + (1 / 30) / Animation_Speed
  2511.         elseif CO2 >= Cooldown_2 then
  2512.             CO2 = Cooldown_2
  2513.         end
  2514.         if CO3 <= Cooldown_3 then
  2515.             CO3 = CO3 + (1 / 30) / Animation_Speed
  2516.         elseif CO3 >= Cooldown_3 then
  2517.             CO3 = Cooldown_3
  2518.         end
  2519.         if CO4 <= Cooldown_4 then
  2520.             CO4 = CO4 + (1 / 30) / Animation_Speed
  2521.         elseif CO4 >= Cooldown_4 then
  2522.             CO4 = Cooldown_4
  2523.         end
  2524.     end
  2525. end
  2526.  
  2527. --//=================================\\
  2528. --\\=================================//
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534. --//=================================\\
  2535. --||    ATTACK FUNCTIONS AND STUFF
  2536. --\\=================================//
  2537.  
  2538. function EquipWeapon()
  2539.     --ATTACK = true
  2540.     DEFENSECHANGE1.Parent = nil
  2541.     MOVEMENTCHANGE1.Parent = ChangeStat
  2542.     for i=0, 1, 0.5 / Animation_Speed do
  2543.         Swait()
  2544.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2545.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2546.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2547.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2548.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2549.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2550.     end
  2551.     for i=0, 1, 0.08 / Animation_Speed do
  2552.         Swait()
  2553.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2554.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2555.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2556.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2557.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2558.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2559.     end
  2560.     HandleWeld.Part0 = RightArm
  2561.     HandleWeld.C0 = CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0))
  2562.     CreateSound("174884033", HitboxPart, 1, 1.5)
  2563.     for i=0, 1, 0.5 / Animation_Speed do
  2564.         Swait()
  2565.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2566.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2567.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2568.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2569.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2570.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2571.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  2572.     end
  2573.     LASTPOINT = EffectPart.CFrame
  2574.     for i=0, 1, 0.08 / Animation_Speed do
  2575.         Swait()
  2576.         Trail.Enabled = true
  2577.         LASTPOINT = EffectPart.CFrame
  2578.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2579.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2580.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(80)) * ANGLES(RAD(-60), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2581.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2582.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  2583.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2584.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-140), RAD(90), RAD(0)), 0.3 / Animation_Speed)
  2585.     end
  2586.     LASTPOINT = nil
  2587.     Trail.Enabled = false
  2588.     --ATTACK = false
  2589. end
  2590.  
  2591. function UnequipWeapon()
  2592.     --ATTACK = true
  2593.     for i=0, 1, 0.5 / Animation_Speed do
  2594.         Swait()
  2595.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2596.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2597.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2598.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2599.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2600.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2601.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  2602.     end
  2603.     CreateSound("245542809", HitboxPart, 1, 1.2)
  2604.     for i=0, 1, 0.08 / Animation_Speed do
  2605.         Swait()
  2606.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2607.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2608.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(210), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2609.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2610.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2611.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2612.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(-0.05 * Player_Size, -1 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(-27), RAD(0), RAD(-19)) * ANGLES(RAD(0), RAD(110), RAD(0)), 0.3 / Animation_Speed)
  2613.     end
  2614.     HandleWeld.Part0 = Torso
  2615.     HandleWeld.C0 = CF(2 * Player_Size, 2 * Player_Size, 0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135))
  2616.     for i=0, 1, 0.5 / Animation_Speed do
  2617.         Swait()
  2618.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2619.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-2.5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2620.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.75 * Player_Size, 0 * Player_Size) * ANGLES(RAD(140), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2621.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2622.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(95), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.3 / Animation_Speed)
  2623.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-55), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.3 / Animation_Speed)
  2624.     end
  2625.     for i=0, 1, 0.08 / Animation_Speed do
  2626.         Swait()
  2627.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2628.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2629.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2630.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)), 0.3 / Animation_Speed)
  2631.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2632.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2633.         if Disable_Moving_Arms == false then
  2634.             RightShoulder.C1 = Clerp(RightShoulder.C1, ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  2635.             LeftShoulder.C1 = Clerp(LeftShoulder.C1, ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5), 0.3 / Animation_Speed)
  2636.         else
  2637.             RightShoulder.C1 = Clerp(RightShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  2638.             LeftShoulder.C1 = Clerp(LeftShoulder.C1, CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size), 0.3 / Animation_Speed)
  2639.         end
  2640.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2641.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2642.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2643.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2644.     end
  2645.     RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  2646.     RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  2647.     Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2648.     Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  2649.     RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  2650.     LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  2651.     if Disable_Moving_Arms == false then
  2652.         RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2653.         LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  2654.     else
  2655.         RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2656.         LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  2657.     end
  2658.     RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2659.     LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2660.     RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2661.     LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  2662.     --ATTACK = false
  2663.     DEFENSECHANGE1.Parent = ChangeStat
  2664.     MOVEMENTCHANGE1.Parent = nil
  2665. end
  2666.  
  2667. function StaggerHitAnimation()
  2668.     ATTACK = true
  2669.     if Weapon:FindFirstChild("Hitbox") ~= nil then
  2670.         for i = 1, MRANDOM(2, 4) do
  2671.             ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2672.         end
  2673.     end
  2674.     for i = 0, 1, 0.1 / Animation_Speed do
  2675.         Swait()
  2676.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-30)), 0.3 / Animation_Speed)
  2677.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2678.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-30), RAD(0), RAD(60)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2679.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-20)) * ANGLES(RAD(0), RAD(20), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2680.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.9 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2681.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.3 / Animation_Speed)
  2682.         if Stagger.Value == true or Stun.Value == true then
  2683.             break
  2684.         end
  2685.     end
  2686.     ATTACK = false
  2687. end
  2688.  
  2689. function StaggerAnimation()
  2690.     ATTACK = true
  2691.     if Weapon:FindFirstChild("Hitbox") ~= nil then
  2692.         for i = 1, MRANDOM(2, 4) do
  2693.             ClangEffect("Bright yellow", "Neon", CF(Weapon:FindFirstChild("Hitbox").Position) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 20, 5, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2694.         end
  2695.     end
  2696.     DISABLEJUMPING = true
  2697.     COMBO = 1
  2698.     StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Staggered!", C3(255 / 255, 255 / 255, 0))
  2699.     local STAGGERVELOCITY = Instance.new("BodyVelocity",Torso)
  2700.     STAGGERVELOCITY.P = 500
  2701.     STAGGERVELOCITY.maxForce = VT(math.huge, 0, math.huge)
  2702.     if Rooted.Value == false then
  2703.         STAGGERVELOCITY.Velocity = RootPart.CFrame.lookVector * -40
  2704.     end
  2705.     for i = 0, 1, 0.35 / Animation_Speed do
  2706.         Swait()
  2707.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2708.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2709.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2710.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size,0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2711.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2712.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size,0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(5)), 0.3 / Animation_Speed)
  2713.     end
  2714.     for i = 0, 1, 0.2 / Animation_Speed do
  2715.         Swait()
  2716.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2717.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2718.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2719.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-7.5), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2720.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2721.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.4 / Animation_Speed)
  2722.     end
  2723.     STAGGERVELOCITY.Parent = nil
  2724.     for i = 1, 50 * Animation_Speed do
  2725.         Swait()
  2726.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.8 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-20)) * ANGLES(RAD(-5), RAD(-5), RAD(0)), 0.3 / Animation_Speed)
  2727.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(5), RAD(0)), 0.3 / Animation_Speed)
  2728.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(20)) * ANGLES(RAD(0), RAD(-20), RAD(0)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2729.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-10)) * ANGLES(RAD(0), RAD(15), RAD(0)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2730.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.4 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)), 0.3 / Animation_Speed)
  2731.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-10)), 0.3 / Animation_Speed)
  2732.     end
  2733.     DISABLEJUMPING = false
  2734.     ATTACK = false
  2735. end
  2736.  
  2737. function StunAnimation()
  2738.     ATTACK = true
  2739.     DISABLEJUMPING = true
  2740.     COMBO = 1
  2741.     StatLabel("Interruption", Head.CFrame * CF(0, 0 + (Head.Size.z - 1), 0), "Stunned!", C3(255 / 255, 255 / 255, 0))
  2742.     for i = 0, 1, 0.3 / Animation_Speed do
  2743.         Swait()
  2744.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(-150)), 0.3 / Animation_Speed)
  2745.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-10), RAD(0), RAD(-20)), 0.3 / Animation_Speed)
  2746.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2747.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2748.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(30)), 0.3 / Animation_Speed)
  2749.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.3 / Animation_Speed)
  2750.     end
  2751.     for i = 0, 1, 0.3 / Animation_Speed do
  2752.         Swait()
  2753.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.05 * Player_Size) * ANGLES(RAD(45), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2754.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2755.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2756.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-50)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2757.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2758.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(50)), 0.4 / Animation_Speed)
  2759.     end
  2760.     for i = 0, 1, 0.3 / Animation_Speed do
  2761.         Swait()
  2762.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(75), RAD(0), RAD(-180)), 0.4 / Animation_Speed)
  2763.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-15), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  2764.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(70)) * ANGLES(RAD(0), RAD(30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2765.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10), RAD(0), RAD(-80)) * ANGLES(RAD(0), RAD(-40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2766.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  2767.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(80)), 0.4 / Animation_Speed)
  2768.     end
  2769.     for i = 1, 70 * Animation_Speed do
  2770.         Swait()
  2771.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -2.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-180)), 0.3 / Animation_Speed)
  2772.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.3 / Animation_Speed)
  2773.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(-10), RAD(90)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed)
  2774.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.3 / Animation_Speed)
  2775.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2776.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.3 / Animation_Speed)
  2777.     end
  2778.     for i = 0, 1, 0.2 / Animation_Speed do
  2779.         Swait()
  2780.         RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -1.5 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(100)), 0.4 / Animation_Speed)
  2781.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2782.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(-10), RAD(30)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2783.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(80), RAD(0), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2784.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(70)), 0.4 / Animation_Speed)
  2785.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.25 * Player_Size, -1 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2786.     end
  2787.     DISABLEJUMPING = false
  2788.     ATTACK = false
  2789. end
  2790.  
  2791. function EAbility()
  2792.     ATTACK = true
  2793.     ATTACK = false
  2794. end
  2795.  
  2796. function SwordAttack1()
  2797.     ATTACK = true
  2798.     for i=0, 1, 0.1 / Animation_Speed do
  2799.         Swait()
  2800.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  2801.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(35)), 0.4 / Animation_Speed)
  2802.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(150), RAD(0), RAD(-20)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2803.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.25 * Player_Size, 0.5 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(160), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2804.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2805.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2806.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-80), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2807.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2808.             break
  2809.         end
  2810.     end
  2811.     CreateSound("553461842", HitboxPart, 1.2, MRANDOM(8, 9) / 10)
  2812.     local HASHITFLOOR = false
  2813.     for i=0, 1, 0.1 / Animation_Speed do
  2814.         Swait()
  2815.         Trail.Enabled = true
  2816.         local SWORDHIT, SWORDPOS = Raycast(EffectPart.Position, (CF(EffectPart.Position, EffectPart.Position + VT(0, -1, 0))).lookVector, 1 * Player_Size, Character)
  2817.         if SWORDHIT ~= nil and HASHITFLOOR == false and SWORDHIT.Parent:FindFirstChild("Humanoid") == nil then
  2818.             HASHITFLOOR = true
  2819.             --print(SWORDHIT.Material)
  2820.             if SWORDHIT.Material == Enum.Material.Grass or SWORDHIT.Material == Enum.Material.Ice or SWORDHIT.Material == Enum.Material.Fabric or SWORDHIT.Material == Enum.Material.SmoothPlastic or SWORDHIT.Material == Enum.Material.Sand or SWORDHIT.Material == Enum.Material.Plastic or SWORDHIT.Material == Enum.Material.Neon or SWORDHIT.Material == Enum.Material.Foil then
  2821.                 CreateSound("525717773", EffectPart, 1.2 , MRANDOM(8, 12) / 10)
  2822.             elseif SWORDHIT.Material == Enum.Material.Metal or SWORDHIT.Material == Enum.Material.Concrete or SWORDHIT.Material == Enum.Material.Brick or SWORDHIT.Material == Enum.Material.CorrodedMetal or SWORDHIT.Material == Enum.Material.Slate or SWORDHIT.Material == Enum.Material.Marble or SWORDHIT.Material == Enum.Material.Granite or SWORDHIT.Material == Enum.Material.DiamondPlate or SWORDHIT.Material == Enum.Material.Pebble or SWORDHIT.Material == Enum.Material.Cobblestone then
  2823.                 CreateSound("470790670", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2824.                 for i = 1, MRANDOM(2, 4) do
  2825.                     ClangEffect("Bright yellow", "Neon", CF(SWORDPOS) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), 10, 3, 0.2, MRANDOM(5, 15) / 10, 0, -0.02, 0, -0.02, 0.1)
  2826.                 end
  2827.             elseif SWORDHIT.Material == Enum.Material.Wood or SWORDHIT.Material == Enum.Material.WoodPlanks then
  2828.                 CreateSound("514586161", EffectPart, 1 , MRANDOM(8, 12) / 10)
  2829.             end
  2830.         end
  2831.         MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2832.         if HASHITFLOOR == true then
  2833.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2834.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2835.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(40), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2836.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0 * Player_Size, 0.25 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2837.             RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2838.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2839.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-132.5), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2840.         else
  2841.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2842.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-20)), 0.4 / Animation_Speed)
  2843.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(30), RAD(0), RAD(5)) * ANGLES(RAD(0), RAD(-30), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2844.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(0 * Player_Size, 0.25 * Player_Size, -0.75 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2845.             RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.075 * Player_Size) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(17.5)), 0.4 / Animation_Speed)
  2846.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2847.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-150), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2848.         end
  2849.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2850.             break
  2851.         end
  2852.     end
  2853.     BLCF = nil
  2854.     SCFR = nil
  2855.     ATTACK = false
  2856.     Trail.Enabled = false
  2857. end
  2858.  
  2859. function SwordAttack2()
  2860.     ATTACK = true
  2861.     for i=0, 1, 0.1 / Animation_Speed do
  2862.         Swait()
  2863.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2864.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2865.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2866.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2867.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2868.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2869.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2870.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2871.             break
  2872.         end
  2873.     end
  2874.     CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2875.     for i=0, 1, 0.1 / Animation_Speed do
  2876.         Swait()
  2877.         Trail.Enabled = true
  2878.         MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2879.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2880.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2881.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2882.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2883.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2884.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2885.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2886.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2887.             break
  2888.         end
  2889.     end
  2890.     BLCF = nil
  2891.     SCFR = nil
  2892.     ATTACK = false
  2893.     Trail.Enabled = false
  2894. end
  2895. function SwordAttack3()
  2896.     ATTACK = true
  2897.     for i=0, 1, 0.1 / Animation_Speed do
  2898.         Swait()
  2899.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2900.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2901.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2902.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2903.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2904.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2905.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(130), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  2906.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2907.             break
  2908.         end
  2909.     end
  2910.     CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2911.     for i=0, 1, 0.1 / Animation_Speed do
  2912.         Swait()
  2913.         Trail.Enabled = true
  2914.         MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2915.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2916.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2917.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(100), RAD(0), RAD(-71)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2918.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2919.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2920.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2921.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(110), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  2922.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2923.             break
  2924.         end
  2925.     end
  2926.     BLCF = nil
  2927.     SCFR = nil
  2928.     ATTACK = false
  2929.     Trail.Enabled = false
  2930. end
  2931. function SwordAttack4()
  2932.     ATTACK = true
  2933.     for i=0, 1, 0.1 / Animation_Speed do
  2934.         Swait()
  2935.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2936.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2937.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2938.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2939.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2940.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2941.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(130), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  2942.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2943.             break
  2944.         end
  2945.     end
  2946.     CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2947.     for i=0, 1.5, 0.1 / Animation_Speed do
  2948.         Swait()
  2949.         Trail.Enabled = true
  2950.         Humanoid.Jump = true
  2951.         MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Up", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2952.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2953.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2954.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2955.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2956.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2957.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2958.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(110), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  2959.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2960.             break
  2961.         end
  2962.     end
  2963.     BLCF = nil
  2964.     SCFR = nil
  2965.     ATTACK = false
  2966.     Trail.Enabled = false
  2967. end
  2968. function SwordAttack5()
  2969.     ATTACK = true
  2970.     Animation_Speed = 0.8 * Player_Size
  2971.     for i = 1,4 do
  2972.     for i=0, 1, 0.1 / Animation_Speed do
  2973.         Swait()
  2974.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  2975.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2976.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2977.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2978.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  2979.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  2980.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-110), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2981.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2982.             break
  2983.         end
  2984.     end
  2985.     CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  2986.     for i=0, 1, 0.1 / Animation_Speed do
  2987.         Swait()
  2988.         Trail.Enabled = true
  2989.         MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  2990.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  2991.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  2992.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2993.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2994.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  2995.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  2996.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-130), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  2997.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  2998.             break
  2999.         end
  3000.     end
  3001.     for i=0, 1, 0.1 / Animation_Speed do
  3002.         Swait()
  3003.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  3004.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(2.5), RAD(0), RAD(30)), 0.4 / Animation_Speed)
  3005.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(100)) * ANGLES(RAD(-30), RAD(80), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3006.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-15), RAD(0), RAD(-55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3007.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3008.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3009.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(130), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  3010.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3011.             break
  3012.         end
  3013.     end
  3014.     CreateSound("553461718", HitboxPart, 1.2, MRANDOM(7, 9) / 10)
  3015.     for i=0, 1, 0.1 / Animation_Speed do
  3016.         Swait()
  3017.         Trail.Enabled = true
  3018.         MagnitudeDamage(HITWEAPONSOUNDS[MRANDOM(1, #HITWEAPONSOUNDS)], HITARMORSOUNDS[MRANDOM(1, #HITARMORSOUNDS)], HITBLOCKSOUNDS[MRANDOM(1, #HITBLOCKSOUNDS)], HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], 10, 10, 10, 1, HitboxPart, 4, false, 5, 10, MRANDOM(5, 10), "Normal", RootPart, 0.5, 1, MRANDOM(5, 10), nil, true, false, nil, 0, 0, false)
  3019.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed)
  3020.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-15)), 0.4 / Animation_Speed)
  3021.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.25 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(100), RAD(0), RAD(-71)) * ANGLES(RAD(20), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3022.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3023.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed)
  3024.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3025.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(110), RAD(-90), RAD(0)), 0.4 / Animation_Speed)
  3026.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3027.             break
  3028.         end
  3029.     end
  3030.     end
  3031.     Animation_Speed = 2 * Player_Size
  3032.     BLCF = nil
  3033.     SCFR = nil
  3034.     ATTACK = false
  3035.     Trail.Enabled = false
  3036. end
  3037. function ShootFireball(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  3038.     local POS1 = POSITION1
  3039.     local POS2 = POSITION2
  3040.     local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  3041.     local FIREBALLSPEED = SPEED * Player_Size
  3042.     local FIREBALLDURATION = DURATION
  3043.     local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3044.     local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  3045.     coroutine.resume(coroutine.create(function()
  3046.         repeat
  3047.             Swait()
  3048.             local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  3049.             POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  3050.             MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  3051.             if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  3052.                 FIREBALLDURATION = 0
  3053.                 local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  3054.                 FireballHitRefpart.Anchored = true
  3055.                 FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  3056.                 game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  3057.                 CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  3058.                 for i = 1, MRANDOM(4, 8) do
  3059.                     MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 10, 10, 10, 0, 0, 0, MRANDOM(3, 5) / 100)
  3060.                 end
  3061.                 MagicBlock("Bright red", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  3062.                 MagicBlock("Bright orange", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.5, SIZE * 0.5, SIZE * 0.5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  3063.                 MagicBlock("Bright yellow", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 0.25, SIZE * 0.25, SIZE * 0.25, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  3064.                 MagnitudeDamage("", "", "", "", 10, 10, 10, 1, FireballHitRefpart, SIZE / 2, false, LOWDAMAGE, HIGHDAMAGE, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  3065.             else
  3066.                 FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  3067.             end
  3068.         until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  3069.     end))
  3070. end
  3071. function ShootOmegaFireball(POSITION1, POSITION2, SPEED, SIZE, DURATION, LOWDAMAGE, HIGHDAMAGE)
  3072.     local POS1 = POSITION1
  3073.     local POS2 = POSITION2
  3074.     local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  3075.     local FIREBALLSPEED = SPEED * Player_Size
  3076.     local FIREBALLDURATION = DURATION * Player_Size
  3077.     local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3078.     local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"}
  3079.     coroutine.resume(coroutine.create(function()
  3080.         repeat
  3081.             Swait()
  3082.             local FIREBALLHIT, FIREBALLPOS = Raycast(POS1, MOUSELOOK.lookVector, FIREBALLSPEED, Character)
  3083.             POS1 = POS1 + (MOUSELOOK.lookVector * FIREBALLSPEED)
  3084.             MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", CF(POS1) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / -10, SIZE / -10, SIZE / -10, 0.1)
  3085.             if FIREBALLHIT ~= nil or FIREBALLDURATION <= 0.1 then
  3086.                 FIREBALLDURATION = 0
  3087.                 local FireballHitRefpart = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  3088.                 FireballHitRefpart.Anchored = true
  3089.                 FireballHitRefpart.CFrame = CF(FIREBALLPOS)
  3090.                 game:GetService("Debris"):AddItem(FireballHitRefpart, 5)
  3091.                 CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FireballHitRefpart, 1.4, MRANDOM(14, 16) / 10)
  3092.                 for i = 1, MRANDOM(4, 8) do
  3093.                     MagicBlock(FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)], "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 10, 10, 10, 0, 0, 0, MRANDOM(3, 5) / 100)
  3094.                 end
  3095.                 for i = 1,1 do
  3096.                     MagicBlock("Bright red", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE, SIZE, SIZE, SIZE / 3, SIZE / 3, SIZE / 3, 0.05)
  3097.                     MagicBlock("Bright orange", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 5, SIZE * 5, SIZE * 5, SIZE / 4, SIZE / 4, SIZE / 4, 0.05)
  3098.                     MagicBlock("Bright yellow", "Neon", FireballHitRefpart.CFrame * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5)), RAD(MRANDOM(-5, 5))), VT(0, 0, 0), SIZE * 5, SIZE * 5, SIZE * 5, SIZE / 5, SIZE / 5, SIZE / 5, 0.05)
  3099.                     MagnitudeDamage("", "", "", "", 10, 10, 10, 1, FireballHitRefpart, SIZE / 2, false, LOWDAMAGE, HIGHDAMAGE, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false)
  3100.                 end
  3101.             else
  3102.                 FIREBALLDURATION = FIREBALLDURATION - (1 / 30) / Animation_Speed
  3103.             end
  3104.         until FIREBALLHIT ~= nil or FIREBALLDURATION <= 0
  3105.     end))
  3106. end
  3107. function FirePillar(POSITION1, POSITION2, SIZE, RISE, RANGE, LOWDAMAGE, HIGHDAMAGE, LASTINGTIME)
  3108.     local POS1 = POSITION1
  3109.     local POS2 = POSITION2
  3110.     local MOUSELOOK = CF((POS1 + POS2) / 2, POS2)
  3111.     local FIREPILLARHITSOUNDS = {"171378971", --[["646619365",--]] "472579737"--[[, "144140670"--]]}
  3112.     local FIREPILLARCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3113.     local FIREPILLAR1HIT, FIREPILLAR1POS = Raycast(POS1, MOUSELOOK.lookVector, RANGE * Player_Size, Character)
  3114.     local FirePillarRefpart1 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  3115.     FirePillarRefpart1.Anchored = true
  3116.     FirePillarRefpart1.CFrame = CF(FIREPILLAR1POS) * CF(0, 10, 0)
  3117.     game:GetService("Debris"):AddItem(FirePillarRefpart1, 5)
  3118.     local FIREPILLAR2HIT, FIREPILLAR2POS = Raycast(FirePillarRefpart1.Position, CF(FirePillarRefpart1.Position, FirePillarRefpart1.Position + VT(0, -1, 0)).lookVector, 999, Character)
  3119.     if FIREPILLAR2HIT ~= nil then
  3120.         FirePillarRefpart1.Parent = nil
  3121.         local FirePillarRefpart2 = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  3122.         FirePillarRefpart2.Anchored = true
  3123.         FirePillarRefpart2.CFrame = CF(FIREPILLAR2POS)
  3124.         game:GetService("Debris"):AddItem(FirePillarRefpart2, 5)
  3125.         CreateSound(FIREPILLARHITSOUNDS[MRANDOM(1, #FIREPILLARHITSOUNDS)], FirePillarRefpart2, 1.2, MRANDOM(11, 13) / 10)
  3126.         for i = 1, MRANDOM(5, 10) do
  3127.             MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame * ANGLES(RAD(MRANDOM(-60, 60)), 0, RAD(MRANDOM(-60, 60))), CF(0, MRANDOM(5, 7) / 10 * Player_Size, 0), VT(0, 0, 0), 30, 30, 30, 0, 0, 0, MRANDOM(3, 5) / 100)
  3128.         end
  3129.         for i = 1, MRANDOM(15, 20) do
  3130.             local FIREEFFECTSIZE = MRANDOM(1, 2)
  3131.             MagicBlock(FIREPILLARCOLORS[MRANDOM(1, #FIREPILLARCOLORS)], "Neon", FirePillarRefpart2.CFrame, CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-20, 20)), 0), VT(MRANDOM(SIZE / 6, SIZE / 4), 0, 0), FIREEFFECTSIZE, FIREEFFECTSIZE, FIREEFFECTSIZE, -0.02, -0.02, -0.02, MRANDOM(1, 2) / 100)
  3132.         end
  3133.         MagicCylinder("Bright red", "Neon", CF(FIREPILLAR2POS), ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, 0, 1.5, LASTINGTIME)
  3134.         MagicSphere("Bright red", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE, 0.1, SIZE, 1.5, RISE, 1.5, LASTINGTIME)
  3135.         MagicSphere("Bright orange", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.5, 0.1, SIZE * 0.5, 1.5, RISE * 0.75, 1.5, LASTINGTIME)
  3136.         MagicSphere("Bright yellow", "Neon", FirePillarRefpart2.CFrame, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE * 0.25, 0.1, SIZE * 0.25, 1.5, RISE * 0.375, 1.5, LASTINGTIME)
  3137.         MagnitudeDamage("", "", "", "", 10, 10, 10, 1, FirePillarRefpart2, SIZE / 3, false, LOWDAMAGE, HIGHDAMAGE, 0, "Normal", RootPart, 0, 1, MRANDOM(10, 15), nil, false, true, "Movement", -0.1, 3, true)
  3138.     end
  3139. end
  3140.  
  3141. function Attack1()
  3142.     ATTACK = true
  3143.     local FIREEFFECTCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3144.     for i=0, 1, 0.1 / Animation_Speed do
  3145.         Swait()
  3146.         for i = 1, 2 do
  3147.             MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0, MRANDOM(-10, 10) / 10 * Player_Size, 0) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, 0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3148.         end
  3149.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  3150.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3151.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3152.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3153.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3154.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  3155.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3156.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3157.             break
  3158.         end
  3159.     end
  3160.     Snap:Play()
  3161.     CreateSound("154324879", LeftArm, 1.4, 1.5)
  3162.     ShootFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Mouse.hit.p, 1, 100, 2.1, 5, 10)
  3163.     MagicBlock("Bright red", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  3164.     MagicBlock("Bright orange", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  3165.     MagicBlock("Bright yellow", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  3166.     for i=0, 1, 0.1 / Animation_Speed do
  3167.         Swait()
  3168.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  3169.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3170.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3171.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3172.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3173.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3174.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3175.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3176.             break
  3177.         end
  3178.     end
  3179.     ATTACK = false
  3180. end
  3181.  
  3182. function Attack2()
  3183.     ATTACK = true
  3184.     local FIREEFFECTCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3185.     for i=0, 1, 0.1 / Animation_Speed do
  3186.         Swait()
  3187.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3188.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3189.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3190.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", Head.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3191.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftLeg.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3192.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightLeg.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3193.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3194.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3195.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3196.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3197.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3198.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  3199.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3200.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3201.             break
  3202.         end
  3203.     end
  3204.     Snap:Play()
  3205.     CreateSound("549224856", LeftArm, 1, MRANDOM(11, 13) / 10)
  3206.     FirePillar(RootPart.Position, mouse.Hit.p, 2500, 700.5, 1, 20, 24, 0.025)
  3207.     MagicBlock("Bright red", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  3208.     MagicBlock("Bright orange", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  3209.     MagicBlock("Bright yellow", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  3210.     for i=0, 1, 0.1 / Animation_Speed do
  3211.         Swait()
  3212.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3213.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3214.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3215.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", Head.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3216.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftLeg.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3217.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightLeg.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3218.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  3219.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3220.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3221.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.25 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(70 + MRANDOM(-2.5, 2.5)), RAD(40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3222.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  3223.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-12.5)), 0.4 / Animation_Speed)
  3224.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3225.         --[[
  3226.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(40)), 0.4 / Animation_Speed)
  3227.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3228.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3229.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-10 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(40 + MRANDOM(-2.5, 2.5)), RAD(70), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3230.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  3231.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3232.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3233.         --]]
  3234.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3235.             break
  3236.         end
  3237.     end
  3238.     ATTACK = false
  3239. end
  3240. FireballBarrage = false
  3241. function Attack3()
  3242.     ATTACK = true
  3243.     FireballBarrage = true
  3244.     local FIREEFFECTCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3245.     for i=0, 1, 0.1 / Animation_Speed do
  3246.         Swait()
  3247.         for i = 1, 2 do
  3248.             MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0, MRANDOM(-10, 10) / 10 * Player_Size, 0) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, 0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3249.         end
  3250.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-60)), 0.4 / Animation_Speed)
  3251.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(60)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3252.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3253.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(5), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3254.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3255.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  3256.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3257.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3258.             break
  3259.         end
  3260.     end
  3261.     Snap:Play()
  3262.     CreateSound("154324879", LeftArm, 1.4, 1.5)
  3263.     while FireballBarrage == true do
  3264.         ShootOmegaFireball((LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size)).p, Torso.Position + Vector3.new(math.random(-20,-10),math.random(0,0),math.random(-20,-10)), 5, 20, 2.1, 5, 10)
  3265.         MagicBlock("Bright red", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 5, 5, 5, 0.5, 0.5, 0.5, 0.05)
  3266.         MagicBlock("Bright orange", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.05)
  3267.         MagicBlock("Bright yellow", "Neon", LeftArm.CFrame * CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0.05, 0.05, 0.05, 0.5, 0.5, 0.5, 0.05)
  3268.         wait()
  3269.     end
  3270.     for i=0, 1, 0.1 / Animation_Speed do
  3271.         Swait()
  3272.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-50)), 0.4 / Animation_Speed)
  3273.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(50)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3274.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3275.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25 * Player_Size, 0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-55)) * ANGLES(RAD(40), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3276.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-12.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3277.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3278.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3279.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3280.             break
  3281.         end
  3282.     end
  3283.     ATTACK = false
  3284. end
  3285.  
  3286. function Attack4()
  3287.     ATTACK = true
  3288.     local FIREEFFECTCOLORS = {"Bright red", "Bright orange", "Bright yellow"}
  3289.     for i=0, 1, 0.1 / Animation_Speed do
  3290.         Swait()
  3291.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3292.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3293.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3294.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", Head.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3295.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftLeg.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3296.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightLeg.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3297.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-40)), 0.4 / Animation_Speed)
  3298.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3299.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3300.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3301.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(70), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed)
  3302.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-40), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-10)), 0.4 / Animation_Speed)
  3303.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3304.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3305.             break
  3306.         end
  3307.     end
  3308.     Snap:Play()
  3309.     wait(1)
  3310.     for i = 1,10 do
  3311.         for i=1,15 do
  3312.             CreateSound("549224856", LeftArm, 1, MRANDOM(11, 13) / 10)
  3313.             FirePillar(RootPart.Position, RootPart.Position + Vector3.new(math.random(-1000,1000),math.random(-100,100),math.random(-1000,1000)), 250, math.random(70,7000), 2000, 1, 2, 0.025)
  3314.             wait()
  3315.         end
  3316.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3317.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3318.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3319.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", Head.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3320.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftLeg.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3321.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightLeg.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3322.         Swait()
  3323.     end
  3324.     for i=0, 1, 0.1 / Animation_Speed do
  3325.         Swait()
  3326.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3327.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RootPart.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3328.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightArm.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3329.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", Head.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3330.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", LeftLeg.CFrame * CF(0 * Player_Size, MRANDOM(-15, -10) / 10 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), 0, RAD(MRANDOM(-360, 360))), CF(0, 0, -0.1) * ANGLES(0, 0, RAD(MRANDOM(-20, 20))), VT(0, 1, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3331.         MagicBlock(FIREEFFECTCOLORS[MRANDOM(1, #FIREEFFECTCOLORS)], "Neon", RightLeg.CFrame * CF(0 * Player_Size, MRANDOM(-2, 2) * Player_Size, 0 * Player_Size) * ANGLES(0, RAD(MRANDOM(-360, 360)), 0), CF(0, MRANDOM(5, 10) / 100, 0) * ANGLES(0, RAD(MRANDOM(-10, 10)), 0), VT(MRANDOM(20, 40) / 10, 0, 0), 10, 10, 10, -0.05, -0.05, -0.05, 0.05)
  3332.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(-30)), 0.4 / Animation_Speed)
  3333.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(25)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3334.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3335.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.25 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-20 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(70 + MRANDOM(-2.5, 2.5)), RAD(40), RAD(0)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3336.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-7.5)), 0.4 / Animation_Speed)
  3337.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, 0.05 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(-12.5)), 0.4 / Animation_Speed)
  3338.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3339.         --[[
  3340.         RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(5), RAD(0), RAD(40)), 0.4 / Animation_Speed)
  3341.         Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-30)) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.4 / Animation_Speed)
  3342.         RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(70), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  3343.         LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-10 + MRANDOM(-2.5, 2.5))) * ANGLES(RAD(40 + MRANDOM(-2.5, 2.5)), RAD(70), RAD(20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  3344.         RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(60), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.4 / Animation_Speed)
  3345.         LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(5)), 0.4 / Animation_Speed)
  3346.         HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, -0.25 * Player_Size) * ANGLES(RAD(-20), RAD(90), RAD(0)), 0.4 / Animation_Speed)
  3347.         --]]
  3348.         if StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true then
  3349.             break
  3350.         end
  3351.     end
  3352.     ATTACK = false
  3353. end
  3354.  
  3355. function Move1()
  3356.     ATTACK = true
  3357.     ATTACK = false
  3358. end
  3359.  
  3360. function Move2()
  3361.     ATTACK = true
  3362.     ATTACK = false
  3363. end
  3364.  
  3365. function Move3()
  3366.     ATTACK = true
  3367.     ATTACK = false
  3368. end
  3369.  
  3370. function Move4()
  3371.     ATTACK = true
  3372.     ATTACK = false
  3373. end
  3374.  
  3375. --//=================================\\
  3376. --\\=================================//
  3377.  
  3378.  
  3379.  
  3380.  
  3381.  
  3382. --//=================================\\
  3383. --||          SET THINGS UP
  3384. --\\=================================//
  3385.  
  3386. if Start_Equipped == true then
  3387.     ATTACK = true
  3388.     EQUIPPED = true
  3389.     if Disable_Animate == true then
  3390.         ANIMATE.Parent = nil
  3391.         local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3392.         IDLEANIMATION:Play()
  3393.     end
  3394.     if Disable_Animator == true then
  3395.         ANIMATOR.Parent = nil
  3396.     end
  3397.     if Disable_Moving_Arms == true then
  3398.         RSH = Torso["Right Shoulder"]
  3399.         LSH = Torso["Left Shoulder"]
  3400.         RSH.Parent = nil
  3401.         LSH.Parent = nil
  3402.         if Use_Motors_Instead_Of_Welds == true then
  3403.             RightShoulder = IT("Motor")
  3404.             LeftShoulder = IT("Motor")
  3405.         else
  3406.             RightShoulder = IT("Weld")
  3407.             LeftShoulder = IT("Weld")
  3408.         end
  3409.         RightShoulder.Name = "Right Shoulder"
  3410.         RightShoulder.Part0 = Torso
  3411.         RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3412.         RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3413.         RightShoulder.Part1 = Character["Right Arm"]
  3414.         RightShoulder.Parent = Torso
  3415.         LeftShoulder.Name = "Left Shoulder"
  3416.         LeftShoulder.Part0 = Torso
  3417.         LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3418.         LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3419.         LeftShoulder.Part1 = Character["Left Arm"]
  3420.         LeftShoulder.Parent = Torso
  3421.         RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3422.         LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3423.     end
  3424.     if Start_Equipped_With_Equipped_Animation == true then
  3425.         Swait()
  3426.         EquipWeapon()
  3427.     end
  3428.     ATTACK = false
  3429. end
  3430.  
  3431. --//=================================\\
  3432. --\\=================================//
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438. --//=================================\\
  3439. --||      ASSIGN THINGS TO KEYS
  3440. --\\=================================//
  3441.  
  3442. Humanoid.Changed:connect(function(Jump)
  3443.     if Jump == "Jump" and (Disable_Jump == true or DISABLEJUMPING == true) then
  3444.         Humanoid.Jump = false
  3445.     end
  3446. end)
  3447.  
  3448. function MouseDown(Mouse)
  3449.     if ATTACK == true or EQUIPPED == false then
  3450.         return
  3451.     end
  3452.     HOLD = true
  3453.     if COMBO == 1 then
  3454.         COMBO = 2
  3455.         SwordAttack1()
  3456.     elseif COMBO == 2 then
  3457.         COMBO = 3
  3458.         SwordAttack2()
  3459.     elseif COMBO == 3 then
  3460.         COMBO = 4
  3461.         SwordAttack3()
  3462.     elseif COMBO == 4 then
  3463.         COMBO = 5
  3464.         SwordAttack4()
  3465.     elseif COMBO == 5 then
  3466.         COMBO = 1
  3467.         SwordAttack5()
  3468.     end
  3469.     coroutine.resume(coroutine.create(function()
  3470.         for i=1, 50 do
  3471.             if ATTACK == false then
  3472.                 Swait()
  3473.             end
  3474.         end
  3475.         if ATTACK == false then
  3476.             COMBO = 1
  3477.         end
  3478.     end))
  3479. end
  3480.  
  3481. function MouseUp(Mouse)
  3482. HOLD = false
  3483. end
  3484.  
  3485. function KeyDown(Key)
  3486.     if Key == "f" and Can_Equip_Or_Unequip == true and ATTACK == false then
  3487.         ATTACK = true
  3488.         COMBO = 1
  3489.         if EQUIPPED == false then
  3490.             EQUIPPED = true
  3491.             if Disable_Animate == true then
  3492.                 ANIMATE.Parent = nil
  3493.                 local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  3494.                 IDLEANIMATION:Play()
  3495.             end
  3496.             if Disable_Animator == true then
  3497.                 ANIMATOR.Parent = nil
  3498.             end
  3499.             if Disable_Moving_Arms == true then
  3500.                 RSH = Torso["Right Shoulder"]
  3501.                 LSH = Torso["Left Shoulder"]
  3502.                 RSH.Parent = nil
  3503.                 LSH.Parent = nil
  3504.                 if Use_Motors_Instead_Of_Welds == true then
  3505.                     RightShoulder = IT("Motor")
  3506.                     LeftShoulder = IT("Motor")
  3507.                 else
  3508.                     RightShoulder = IT("Weld")
  3509.                     LeftShoulder = IT("Weld")
  3510.                 end
  3511.                 RightShoulder.Name = "Right Shoulder"
  3512.                 RightShoulder.Part0 = Torso
  3513.                 RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3514.                 RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3515.                 RightShoulder.Part1 = Character["Right Arm"]
  3516.                 RightShoulder.Parent = Torso
  3517.                 LeftShoulder.Name = "Left Shoulder"
  3518.                 LeftShoulder.Part0 = Torso
  3519.                 LeftShoulder.C0=CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3520.                 LeftShoulder.C1=CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  3521.                 LeftShoulder.Part1 = Character["Left Arm"]
  3522.                 LeftShoulder.Parent = Torso
  3523.                 RIGHTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3524.                 LEFTSHOULDERC0 = CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0))
  3525.             end
  3526.             Swait()
  3527.             EquipWeapon()
  3528.         elseif EQUIPPED == true then
  3529.             EQUIPPED = false
  3530.             UnequipWeapon()
  3531.             if Disable_Animator == true then
  3532.                 ANIMATOR.Parent = Humanoid
  3533.             end
  3534.             if Disable_Animate == true then
  3535.                 ANIMATE.Parent = Character
  3536.             end
  3537.             Swait()
  3538.             if Disable_Moving_Arms == true then
  3539.                 RightShoulder.Parent = nil
  3540.                 LeftShoulder.Parent = nil
  3541.                 RSH.Parent = Torso
  3542.                 LSH.Parent = Torso
  3543.             end
  3544.         end
  3545.         ATTACK = false
  3546.     end
  3547.     if Key == "e" and EQUIPPED == true and ATTACK == false then
  3548.         GodSlash = true
  3549.         Attack1()
  3550.         GodSlash = false
  3551.     end
  3552.     if Key == "q" and EQUIPPED == true and ATTACK == false then
  3553.         Attack2()
  3554.     end
  3555.     if Key == "r" and EQUIPPED == true and ATTACK == false and FireballBarrage == false then
  3556.         Apoc = true
  3557.         Attack3()
  3558.         Apoc = false
  3559.     end
  3560.     if Key == "t" and EQUIPPED == true and ATTACK == false then
  3561.         Apoc = true
  3562.         Attack4()
  3563.         Apoc = false
  3564.     end
  3565. end
  3566.  
  3567. function KeyUp(Key)
  3568.     if Key == "r" and FireballBarrage == true then
  3569.         FireballBarrage = false
  3570.     end
  3571. end
  3572.  
  3573. if Use_HopperBin == false then
  3574.  
  3575.     Mouse.Button1Down:connect(function(NEWKEY)
  3576.         MouseDown(NEWKEY)
  3577.     end)
  3578.     Mouse.Button1Up:connect(function(NEWKEY)
  3579.         MouseUp(NEWKEY)
  3580.     end)
  3581.     Mouse.KeyDown:connect(function(NEWKEY)
  3582.         KeyDown(NEWKEY)
  3583.     end)
  3584.     Mouse.KeyUp:connect(function(NEWKEY)
  3585.         KeyUp(NEWKEY)
  3586.     end)
  3587.  
  3588. elseif Use_HopperBin == true then
  3589.     WEAPONTOOL.Parent = Backpack
  3590.     script.Parent = WEAPONTOOL
  3591.     function SelectTool(Mouse)
  3592.         Mouse.Button1Down:connect(function()
  3593.             MouseDown(Mouse)
  3594.         end)
  3595.         Mouse.Button1Up:connect(function()
  3596.             MouseUp(Mouse)
  3597.         end)
  3598.         Mouse.KeyDown:connect(KeyDown)
  3599.         Mouse.KeyUp:connect(KeyUp)
  3600.     end
  3601.     function DeselectTool(Mouse)
  3602.     end
  3603.     WEAPONTOOL.Selected:connect(SelectTool)
  3604.     WEAPONTOOL.Deselected:connect(DeselectTool)
  3605. end
  3606.  
  3607. --//=================================\\
  3608. --\\=================================//
  3609.  
  3610.  
  3611.  
  3612.  
  3613.  
  3614. --//=================================\\
  3615. --||    WRAP THE WHOLE SCRIPT UP
  3616. --\\=================================//
  3617.  
  3618. while true do
  3619.     Swait()
  3620.     if HitboxPart ~= nil and ATTACK == false and StaggerHit.Value == false and Stagger.Value == false and Stun.Value == false then
  3621.         HitboxPart.Name = "NilHitbox"
  3622.     else
  3623.         HitboxPart.Name = "Hitbox"
  3624.     end
  3625.     if Enable_Gui == true then
  3626.         UpdateGUI()
  3627.     end
  3628.     UpdateSkillsAndStuff()
  3629.     if Walkspeed_Depends_On_Movement_Value == true then
  3630.         if Movement.Value < 0 or StaggerHit.Value == true or Stagger.Value == true or Stun.Value == true or Rooted.Value == true then
  3631.             Humanoid.WalkSpeed = 0
  3632.         else
  3633.             Humanoid.WalkSpeed = 16 * Movement.Value * Player_Size
  3634.         end
  3635.     end
  3636.     if Enable_Stun == true and StunValue.Value >= Max_Stun then
  3637.         StunValue.Value = 0
  3638.         Stun.Value = true
  3639.     end
  3640.     if Enable_Stagger_Hit == true then
  3641.         if StaggerHit.Value == true and STAGGERHITANIM == false then
  3642.             coroutine.resume(coroutine.create(function()
  3643.                 STAGGERHITANIM = true
  3644.                 while ATTACK == true do
  3645.                     Swait()
  3646.                 end
  3647.                 StaggerHitAnimation()
  3648.                 StaggerHit.Value = false
  3649.                 STAGGERHITANIM = false
  3650.             end))
  3651.         end
  3652.     else
  3653.         StaggerHit.Value = false
  3654.     end
  3655.     if Enable_Stagger == true then
  3656.         if Stagger.Value == true and STAGGERANIM == false then
  3657.             coroutine.resume(coroutine.create(function()
  3658.                 STAGGERANIM = true
  3659.                 while ATTACK == true do
  3660.                     Swait()
  3661.                 end
  3662.                 StaggerAnimation()
  3663.                 Stagger.Value = false
  3664.                 STAGGERANIM = false
  3665.             end))
  3666.         end
  3667.     else
  3668.         Stagger.Value = false
  3669.     end
  3670.     if Enable_Stun == true then
  3671.         if Stun.Value == true and STUNANIM == false then
  3672.             coroutine.resume(coroutine.create(function()
  3673.                 StunValue.Value = 0
  3674.                 STUNANIM = true
  3675.                 while ATTACK == true do
  3676.                     Swait()
  3677.                 end
  3678.                 StunAnimation()
  3679.                 Stun.Value = false
  3680.                 STUNANIM = false
  3681.             end))
  3682.         end
  3683.     else
  3684.         StunValue.Value = 0
  3685.         Stun.Value = false
  3686.     end
  3687.     if DONUMBER >= .5 then
  3688.         HANDIDLE = true
  3689.     elseif DONUMBER <= 0 then
  3690.         HANDIDLE = false
  3691.     end
  3692.     if HANDIDLE == false then
  3693.         DONUMBER = DONUMBER + 0.003 / Animation_Speed
  3694.     else
  3695.         DONUMBER = DONUMBER - 0.003 / Animation_Speed
  3696.     end
  3697.     if ATTACK == false then
  3698.         IDLENUMBER = IDLENUMBER + 1
  3699.     else
  3700.         IDLENUMBER = 0
  3701.     end
  3702.     if Enable_Stats == true then
  3703.         for _, v in pairs (ChangeStat:GetChildren()) do
  3704.             if v:FindFirstChild("Duration") ~= nil then
  3705.                 v:FindFirstChild("Duration").Value = v:FindFirstChild("Duration").Value - (1 / 30) / Animation_Speed
  3706.                 if v:FindFirstChild("Duration").Value <= 0 then
  3707.                     v.Parent = nil
  3708.                 end
  3709.             end
  3710.             if v.Name == "ChangeDefense" then
  3711.                 CHANGEDEFENSE = CHANGEDEFENSE + v.Value
  3712.             elseif v.Name == "ChangeDamage" then
  3713.                 CHANGEDAMAGE = CHANGEDAMAGE + v.Value
  3714.             elseif v.Name == "ChangeMovement" then
  3715.                 CHANGEMOVEMENT = CHANGEMOVEMENT + v.Value
  3716.             end
  3717.         end
  3718.         Defense.Value = 1 + (CHANGEDEFENSE)
  3719.         if Defense.Value <= 0.01 then
  3720.             Defense.Value = 0.01
  3721.         end
  3722.         Damage.Value = 1 + (CHANGEDAMAGE)
  3723.         if Damage.Value <= 0 then
  3724.             Damage.Value = 0
  3725.         end
  3726.         Movement.Value = 1 + (CHANGEMOVEMENT)
  3727.         if Movement.Value <= 0 then
  3728.             Movement.Value = 0
  3729.         end
  3730.     CHANGEDEFENSE = 0
  3731.     CHANGEDAMAGE = 0
  3732.     CHANGEMOVEMENT = 0
  3733.     end
  3734.     SINE = SINE + CHANGE
  3735.     local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3736.     local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3737.     local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  3738.     local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  3739.     local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3740.     if ANIM == "Walk" and EQUIPPED == true and TORSOVELOCITY > 1 then
  3741.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3742.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3743.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3744.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3745.     elseif (ANIM ~= "Walk" and EQUIPPED == true) or (TORSOVELOCITY < 1) then
  3746.         RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3747.         Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3748.         RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3749.         LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3750.     end
  3751.     if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3752.         ANIM = "Jump"
  3753.         if EQUIPPED == true and ATTACK == false then
  3754.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3755.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3756.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3757.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3758.             RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  3759.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0.3 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3760.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3761.         end
  3762.     elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3763.         ANIM = "Fall"
  3764.         if EQUIPPED == true and ATTACK == false then
  3765.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3766.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3767.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  3768.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3769.             RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  3770.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  3771.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.2 / Animation_Speed)
  3772.         end
  3773.     elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3774.         ANIM = "Idle"
  3775.         if EQUIPPED == true and ATTACK == false then
  3776.             RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-20)), 0.15 / Animation_Speed)
  3777.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(15)), 0.15 / Animation_Speed)
  3778.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(20 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 24))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3779.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10 - 2.5 * COS(SINE / 16)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 24))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3780.             RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-2.5)), 0.15 / Animation_Speed)
  3781.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-15)), 0.15 / Animation_Speed)
  3782.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-100), RAD(90), RAD(0)), 0.15 / Animation_Speed)
  3783.         end
  3784.     elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3785.         ANIM = "Walk"
  3786.         WALK = WALK + 1 / Animation_Speed
  3787.         if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then
  3788.             WALK = 0
  3789.             if WALKINGANIM == true then
  3790.                 WALKINGANIM = false
  3791.             elseif WALKINGANIM == false then
  3792.                 WALKINGANIM = true
  3793.             end
  3794.         end
  3795.         if EQUIPPED == true and ATTACK == false then
  3796.             RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0.05 * COS(SINE / WALKSPEEDVALUE) * Player_Size, 0 * Player_Size, -0.1 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(-40)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3797.             Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(40)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3798.             RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(45 + 2.5 * SIN(SINE / (WALKSPEEDVALUE / 2)))) * RIGHTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3799.             LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-10 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-45 + 2.5 * SIN(SINE / (WALKSPEEDVALUE / 2)))) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3800.             RightHip.C0 = Clerp(RightHip.C0, CF(0.95 * Player_Size, -1 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(0), RAD(130), RAD(0)) * ANGLES(RAD(-1.25 - 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3801.             LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.9 * Player_Size, 0.25 * Player_Size) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-2.5 + 2.5 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3802.             HandleWeld.C0 = Clerp(HandleWeld.C0, CF(0 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(90), RAD(0)), 0.15 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3803.         end
  3804.     end
  3805.  
  3806. end
  3807.  
  3808. --//=================================\\
  3809. --\\=================================//
  3810.  
  3811.  
  3812.  
  3813.  
  3814.  
  3815. --//====================================================\\--
  3816. --||                     END OF SCRIPT
  3817. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement