Advertisement
NextFlamePB

ROBLOX Sephiroth Script

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