Dark_EccentricYT

Untitled

May 3rd, 2017
648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.40 KB | None | 0 0
  1. function lerp(weld,beglerp,endlerp,speed)
  2. weld.C0 = beglerp:lerp(endlerp,speed)
  3. return weld.C0
  4. end
  5. local speed = 0.25
  6. local angle = 0
  7. local anglespeed = 2
  8. local armspeed = 0.25
  9. local armangle = 0
  10. local armanglespeed = 2
  11. local legspeed = 0.25
  12. local legangle = 0
  13. local leganglespeed = 2
  14. ignore = {}
  15. on = false
  16. damen = true
  17. enabled = true
  18. jumping = false
  19. falling = false
  20. combo = 1
  21. Player = game.Players.LocalPlayer
  22. mouse = Player:GetMouse()
  23. Char = Player.Character
  24. Human = Char.Humanoid
  25. Sounds = {"rbxasset://sounds/unsheath.wav", "rbxassetid://10209640","rbxassetid://2248511","rbxassetid://168586621"}
  26. Head = Char.Head
  27. LA = Char:findFirstChild("Left Arm")
  28. RA = Char:findFirstChild("Right Arm")
  29. LL = Char:findFirstChild("Left Leg")
  30. RL = Char:findFirstChild("Right Leg")
  31. T = Char:findFirstChild("Torso")
  32. LS = T:findFirstChild("Left Shoulder")
  33. RS = T:findFirstChild("Right Shoulder")
  34. LH = T:findFirstChild("Left Hip")
  35. RH = T:findFirstChild("Right Hip")
  36. Neck = T:findFirstChild("Neck")
  37. HM = Char:findFirstChild("HumanoidRootPart")
  38. RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  39. WLS = Instance.new("Weld", nil)
  40. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  41. WLS.C1 = CFrame.new(0, 0.5, 0)
  42. WLS.Part0 = T
  43. WLS.Part1 = LA
  44. WRS = Instance.new("Weld", nil)
  45. WRS.Part0 = T
  46. WRS.Part1 = RA
  47. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  48. WRS.C1 = CFrame.new(0, 0.5, 0)
  49. WLH = Instance.new("Weld", nil)
  50. WLH.C0 = CFrame.new(-0.5, -1, 0)
  51. WLH.C1 = CFrame.new(0, 1, 0)
  52. WLH.Part0 = T
  53. WLH.Part1 = LL
  54. WRH = Instance.new("Weld", nil)
  55. WRH.C0 = CFrame.new(0.5, -1, 0)
  56. WRH.C1 = CFrame.new(0, 1, 0)
  57. WRH.Part0 = T
  58. WRH.Part1 = RL
  59. LSC0 = WLS.C0
  60. RSC0 = WRS.C0
  61. LHC0 = WLH.C0
  62. RHC0 = WRH.C0
  63. WRJ = Instance.new("Weld", nil)
  64. WRJ.Part0 = T
  65. WRJ.Part1 = HM
  66. WRJ.C0 = CFrame.new()
  67. WRJ.C1 = CFrame.new()
  68. RJC0 = WRJ.C0
  69. NC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  70. Run = game:GetService("RunService")
  71. hopbin = Instance.new("HopperBin",Player.Backpack)
  72. hopbin.Name = "Cane Sword"
  73.  
  74. New = function(Object, Parent, Name, Data)
  75. local Object = Instance.new(Object)
  76. for Index, Value in pairs(Data or {}) do
  77. Object[Index] = Value
  78. end
  79. Object.Parent = Parent
  80. Object.Name = Name
  81. return Object
  82. end
  83.  
  84. m=Instance.new('Model',Char)
  85. m.Name="Cane Sword"
  86.  
  87.  
  88. local function weldBetween(a, b)
  89. local weldd = Instance.new("ManualWeld")
  90. weldd.Part0 = a
  91. weldd.Part1 = b
  92. weldd.C0 = CFrame.new()
  93. weldd.C1 = b.CFrame:inverse() * a.CFrame
  94. weldd.Parent = a
  95. return weldd
  96. end
  97.  
  98. it=Instance.new
  99.  
  100. function nooutline(part)
  101. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  102. end
  103.  
  104. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  105. local fp=it("Part")
  106. fp.formFactor=formfactor
  107. fp.Parent=parent
  108. fp.Reflectance=reflectance
  109. fp.Transparency=transparency
  110. fp.CanCollide=false
  111. fp.Locked=true
  112. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  113. fp.Name=name
  114. fp.Size=size
  115. fp.Position=Char.Torso.Position
  116. nooutline(fp)
  117. fp.Material=material
  118. fp:BreakJoints()
  119. return fp
  120. end
  121.  
  122. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  123. local mesh=it(Mesh)
  124. mesh.Parent=part
  125. if Mesh=="SpecialMesh" then
  126. mesh.MeshType=meshtype
  127. mesh.MeshId=meshid
  128. end
  129. mesh.Offset=offset
  130. mesh.Scale=scale
  131. return mesh
  132. end
  133.  
  134. function weld(parent,part0,part1,c0,c1)
  135. local weld=it("Weld")
  136. weld.Parent=parent
  137. weld.Part0=part0
  138. weld.Part1=part1
  139. weld.C0=c0
  140. weld.C1=c1
  141. return weld
  142. end
  143.  
  144. m=Instance.new('Model',Char)
  145. it=Instance.new
  146. function nooutline(part)
  147. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  148. end
  149. function part(formfactor,parent,material,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.new(tostring(brickcolor))
  158. fp.Name=name
  159. fp.Size=size
  160. fp.Position=Char.Torso.Position
  161. nooutline(fp)
  162. fp.Material=material
  163. fp:BreakJoints()
  164. return fp
  165. end
  166. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  167. local mesh=it(Mesh)
  168. mesh.Parent=part
  169. if Mesh=="SpecialMesh" then
  170. mesh.MeshType=meshtype
  171. mesh.MeshId=meshid
  172. end
  173. mesh.Offset=offset
  174. mesh.Scale=scale
  175. return mesh
  176. end
  177. function weld(parent,part0,part1,c0,c1)
  178. local weld=it("Weld")
  179. weld.Parent=parent
  180. weld.Part0=part0
  181. weld.Part1=part1
  182. weld.C0=c0
  183. weld.C1=c1
  184. return weld
  185. end
  186.  
  187. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Wood,0,1,"Lavender","Handle",Vector3.new(4.11000013, 0.200000003, 0.200000003))
  188. Handleweld=weld(m,Char["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.790847778, 1.03089905, 1.03064919, -0.00106879731, -0.000915349985, 0.999999046, 0.999999404, -0.00033666502, 0.00106848951, 0.000335686607, 0.999999523, 0.000915709126))
  189. mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  190. mesh("SpecialMesh",Handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.689999998, 1))
  191. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Wood,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  192. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.05407715, 0.0022277832, 0.00188612938, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  193. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  194. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.699999988, 0.699999988))
  195. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  196. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.91497803, -0.00201416016, -0.00174498558, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  197. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  198. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.699999988, 1))
  199. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  200. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.11494446, -0.00224304199, -0.0019338131, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  201. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  202. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.699999988, 1))
  203. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Metal,0,0,"Bright yellow","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  204. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.71492004, -0.00180053711, -0.00156903267, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  205. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  206. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.699999988, 1))
  207. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Wood,0,0,"Lavender","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  208. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.06004333, 0.00221252441, 0.00190973282, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  209. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  210. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.100000001, 0.680000007, 0.680000007))
  211. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Wood,0,0,"Lavender","Part",Vector3.new(4.30999994, 0.200000003, 0.200000003))
  212. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100021362, -7.62939453e-005, -7.0810318e-005, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  213. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  214. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.689999998, 1))
  215. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Wood,0,0,"Lavender","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  216. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.25907898, -0.00234985352, -0.00205779076, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  217. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  218. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.699999988, 0.699999988))
  219. Sheath=part(Enum.FormFactor.Custom,m,Enum.Material.Wood,0,1,"Lavender","Sheath",Vector3.new(4.11000013, 0.200000003, 0.200000003))
  220. Sheathweld=weld(m,Handle,Sheath,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1.00000012, -1.16415322e-010, -1.16415322e-010, -1.16415322e-010, 1.00000012, -1.60298441e-011, -1.16415322e-010, -1.60298441e-011, 1))
  221. mesh("CylinderMesh",Sheath,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  222. mesh("SpecialMesh",Sheath,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.689999998, 1))
  223. CaneModel = New("Model",Char,"CaneModel",{})
  224. Cane = New("Part",CaneModel,"Cane",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1248245, 3.20707083, 162.530579, 1.1921295e-006, 0.99146229, 0.130393445, -0.258950979, 0.12594609, -0.957643986, -0.965890467, -0.0337643661, 0.256740272),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  225. Mesh = New("CylinderMesh",Cane,"Mesh",{})
  226. Mesh = New("SpecialMesh",Cane,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  227. Hitbox = New("Part",CaneModel,"Hitbox",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,Transparency = 1,Transparency = 1,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(4, 0.200000003, 0.5),CFrame = CFrame.new(88.1248245, 2.6117897, 160.30896, 1.1921295e-006, 0.99146229, 0.130393445, -0.258950979, 0.12594609, -0.957643986, -0.965890467, -0.0337643661, 0.256740272),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  228. Mesh = New("CylinderMesh",Hitbox,"Mesh",{})
  229. Mesh = New("SpecialMesh",Hitbox,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Brick,})
  230. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000048, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1248245, 3.07769418, 162.047607, 1.1921295e-006, 0.99146229, 0.130393445, -0.258950979, 0.12594609, -0.957643986, -0.965890467, -0.0337643661, 0.256740272),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
  231. Mesh = New("CylinderMesh",Part,"Mesh",{})
  232. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.129999995, 0.680000007, 1),MeshType = Enum.MeshType.Cylinder,})
  233. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.2185898, 2.61553836, 163.079819, -0.000347733498, 0.991555691, -0.129732043, 0.258829832, 0.125392199, 0.957755446, 0.965929747, -0.0332515836, -0.256691933),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  234. Mesh = New("CylinderMesh",Part,"Mesh",{})
  235. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.5, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  236. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.218605, 2.6026001, 163.031525, -0.000347733498, 0.991555691, -0.129732043, 0.258829832, 0.125392199, 0.957755446, 0.965929747, -0.0332515836, -0.256691933),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  237. Mesh = New("CylinderMesh",Part,"Mesh",{})
  238. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.689999998, 0.689999998),MeshType = Enum.MeshType.Sphere,})
  239. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Dark stone grey"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1385345, 2.05367851, 158.332794, -0.00101931067, 0.130093113, 0.991501331, 0.258804262, -0.957686782, 0.125922427, 0.96592927, 0.256733119, -0.0326924697),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.388235, 0.372549, 0.384314),})
  240. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.01999998, 0.119999997, 0.0399999991),MeshId = "http://www.roblox.com/asset?id=11294922",MeshType = Enum.MeshType.FileMesh,})
  241. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1284943, 3.32499266, 163.078491, -0.0447465591, 0.991480708, 0.122326002, 0.0842538401, 0.125757828, -0.988476753, -0.995439172, -0.0339244977, -0.0891632885),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  242. Mesh = New("CylinderMesh",Part,"Mesh",{})
  243. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  244. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Bright yellow"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.2185898, 2.61553836, 163.079819, -0.000347733498, 0.991555691, -0.129732043, 0.258829832, 0.125392199, 0.957755446, 0.965929747, -0.0332515836, -0.256691933),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.960784, 0.803922, 0.188235),})
  245. Mesh = New("CylinderMesh",Part,"Mesh",{})
  246. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.0700000003, 0.699999988, 1),MeshType = Enum.MeshType.Cylinder,})
  247. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.2089462, 2.75463581, 163.315475, -0.0752062127, 0.991526484, -0.105921164, 0.761261344, 0.12569797, 0.636145651, 0.644069314, -0.0327915736, -0.764263988),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  248. Mesh = New("CylinderMesh",Part,"Mesh",{})
  249. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  250. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1754608, 3.03916931, 163.392838, -0.129882112, 0.991465509, -0.0112542668, 0.976594806, 0.125954971, -0.17434977, -0.171444237, -0.033635769, -0.984619498),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  251. Mesh = New("CylinderMesh",Part,"Mesh",{})
  252. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  253. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.2165298, 2.66260743, 163.194763, -0.0229024887, 0.991549492, -0.12774387, 0.421224326, 0.12544322, 0.898245871, 0.906674743, -0.0332425237, -0.420540929),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  254. Mesh = New("CylinderMesh",Part,"Mesh",{})
  255. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  256. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1391449, 3.27995491, 163.223251, -0.0922137424, 0.991464615, 0.0921665207, 0.494174093, 0.125925615, -0.860194623, -0.864458621, -0.0337754637, -0.501568079),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  257. Mesh = New("CylinderMesh",Part,"Mesh",{})
  258. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  259. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.600000024),CFrame = CFrame.new(88.1307373, 2.1111865, 158.317368, -0.991530418, -0.12993598, 0.000176010653, -0.125557065, 0.957756937, -0.258722574, 0.0334486663, -0.256551355, -0.965959787),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  260. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.0399999991, 0.119999997, 1.01999998),MeshId = "http://www.roblox.com/asset?id=11294922",MeshType = Enum.MeshType.FileMesh,})
  261. Part = New("Part",CaneModel,"Part",{Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.600000024),CFrame = CFrame.new(88.1186981, 2.05119205, 158.333466, 0.991390407, 0.130939052, 8.85618465e-006, 0.126478568, -0.957601011, -0.258850515, -0.0338851586, 0.25662306, -0.965917408),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  262. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.0399999991, 0.119999997, 1.01999998),MeshId = "http://www.roblox.com/asset?id=11294922",MeshType = Enum.MeshType.FileMesh,})
  263. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1558151, 3.17833591, 163.335007, -0.122486204, 0.991468191, 0.0445858389, 0.811391354, 0.125907198, -0.570781529, -0.571525455, -0.0337362885, -0.819890559),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  264. Mesh = New("CylinderMesh",Part,"Mesh",{})
  265. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  266. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1108856, 2.10865593, 158.318054, -0.000461339951, -0.129478216, -0.991588235, 0.258838773, 0.957774639, -0.125182599, 0.965926647, -0.256716937, 0.0330716968),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  267. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.01999998, 0.119999997, 0.0399999991),MeshId = "http://www.roblox.com/asset?id=11294922",MeshType = Enum.MeshType.FileMesh,})
  268. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1943359, 2.88851786, 163.38591, -0.112984776, 0.991493046, -0.0646991432, 0.95878619, 0.125871778, 0.25474152, 0.260717362, -0.0332517251, -0.964851618),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  269. Mesh = New("CylinderMesh",Part,"Mesh",{})
  270. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  271. Part = New("Part",CaneModel,"Part",{BrickColor = BrickColor.new("Lavender"),Material = Enum.Material.Wood,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(1, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1248245, 3.20707083, 162.530579, 1.1921295e-006, 0.99146229, 0.130393445, -0.258950979, 0.12594609, -0.957643986, -0.965890467, -0.0337643661, 0.256740272),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.54902, 0.356863, 0.623529),})
  272. Mesh = New("CylinderMesh",Part,"Mesh",{})
  273. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.689999998, 1),MeshType = Enum.MeshType.Cylinder,})
  274. Part = New("WedgePart",CaneModel,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(3.60000014, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1307144, 2.64258456, 160.300705, 1.1921295e-006, 0.99146229, 0.130393445, -0.258950979, 0.12594609, -0.957643986, -0.965890467, -0.0337643661, 0.256740272),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),})
  275. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.100000001, 0.300000012),MeshType = Enum.MeshType.Wedge,})
  276. Part = New("WedgePart",CaneModel,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(3.60000014, 0.200000003, 0.200000003),CFrame = CFrame.new(88.1385574, 2.58508945, 160.316132, -0.000347733498, 0.991555691, -0.129732043, 0.258829832, 0.125392199, 0.957755446, 0.965929747, -0.0332515836, -0.256691933),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),})
  277. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.100000001, 0.300000012),MeshType = Enum.MeshType.Wedge,})
  278. Part = New("WedgePart",CaneModel,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(3.60000014, 0.200000003, 0.200000003),CFrame = CFrame.new(88.118721, 2.58260202, 160.316772, 0.000529229641, -0.991476059, -0.130230337, -0.259148479, -0.125907898, 0.957586765, -0.965829611, 0.0332496166, -0.256999612),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),})
  279. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.100000001, 0.300000012),MeshType = Enum.MeshType.Wedge,})
  280. Part = New("WedgePart",CaneModel,"Part",{BrickColor = BrickColor.new("White"),Material = Enum.Material.Metal,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(3.60000014, 0.200000003, 0.200000003),CFrame = CFrame.new(88.110878, 2.64007497, 160.301376, 0.000464578217, -0.991597593, 0.129360363, 0.25822407, -0.124854177, -0.957983196, 0.966085017, 0.0338490233, 0.255996346),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.94902, 0.952941, 0.952941),})
  281. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.100000001, 0.300000012),MeshType = Enum.MeshType.Wedge,})
  282. handle = Cane
  283. SheathWeld = Handleweld
  284. SheathC0 = SheathWeld.C0
  285. CaneParts = {}
  286. for i,v in pairs(CaneModel:GetChildren()) do
  287. table.insert(CaneParts,v)
  288. end
  289.  
  290. local prev
  291. local parts = CaneParts
  292.  
  293. for i = 1,#parts do
  294. if (prev ~= nil) then
  295. local weld = Instance.new("Weld")
  296. weld.Part0 = prev
  297. weld.Part1 = parts[i]
  298. weld.C0 = prev.CFrame:inverse()
  299. weld.C1 = parts[i].CFrame:inverse()
  300. weld.Parent = CaneModel
  301. end
  302. prev = parts[i]
  303. end
  304.  
  305. HW = Instance.new("Weld",T)
  306. HW.Part0 = handle
  307. HW.Part1 = Sheath
  308. HW.C0 = CFrame.new(2.8,0,0)
  309. hc0 = HW.C0
  310.  
  311. Meshes={
  312. Blast="20329976",
  313. Crown="1323306",
  314. Ring="3270017",
  315. Claw="10681506",
  316. Crystal="9756362",
  317. Coil="9753878",
  318. Cloud="1095708",
  319. Skull="4770583",
  320. }
  321.  
  322. function nooutlines(part)
  323. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  324. end
  325.  
  326. function getmesh(mesh)
  327. return "rbxassetid://"..mesh
  328. end
  329.  
  330. function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
  331. local p = Instance.new("Part", part or workspace)
  332. p.Anchored = true
  333. p.CanCollide = false
  334. p.FormFactor = Enum.FormFactor.Custom
  335. p.Material = "SmoothPlastic"
  336. p.CFrame = cframe
  337. p.BrickColor = brickcolor
  338. p.Size = Vector3.new(1,1,1)
  339. p.Transparency = trans
  340. nooutlines(p)
  341. local m = Instance.new("SpecialMesh",p)
  342. if meshtype ~= nil and meshid == nil then
  343. m.MeshType = meshtype
  344. end
  345. if meshtype == nil and meshid ~= nil then
  346. m.MeshId = getmesh(meshid)
  347. end
  348. m.Scale = size
  349. coroutine.wrap(function()
  350. for i = 0,loopwait,0.1 do
  351. p.CFrame = p.CFrame
  352. p.Transparency = p.Transparency +transincrement
  353. m.Scale = m.Scale + scaleby
  354. wait(1/60)
  355. end
  356. p:Destroy()
  357. end)()
  358. return p
  359. end
  360.  
  361. PlaySound = function(part,volume,pitch,id)
  362. local Sound = Instance.new("Sound", part)
  363. Sound.SoundId = id
  364. Sound.Pitch = pitch
  365. Sound.Volume = volume
  366. Rwait()
  367. Sound:Play()
  368. game.Debris:AddItem(Sound,0.1)
  369. end
  370.  
  371. ShowDmg = function(totake)
  372. local modl = Instance.new("Model", workspace)
  373. modl.Name = tostring(totake)
  374. local prt = Instance.new("Part", modl)
  375. prt.CanCollide = false
  376. prt.BrickColor = BrickColor.Red()
  377. prt.Name = "Head"
  378. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  379. prt.TopSurface = 0
  380. prt.BottomSurface = 0
  381. prt.FormFactor = 3
  382. prt.Size = Vector3.new(1, 0.2, 1)
  383. local bm = Instance.new("BlockMesh", prt)
  384. local hum = Instance.new("Humanoid", modl)
  385. hum.Health = 0
  386. hum.MaxHealth = 0
  387. hum.WalkSpeed = 0
  388. bodypos = Instance.new("BodyPosition", prt)
  389. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  390. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  391. game.Debris:AddItem(modl, 1)
  392. coroutine.resume(coroutine.create(function()
  393. for i = 1, 3 do
  394. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  395. Rwait()
  396. end
  397. end))
  398. end
  399.  
  400. function GetDistance(Obj,Mag)
  401. for _,v in pairs(workspace:GetChildren()) do
  402. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Char then
  403. local Mag2 = (v.Torso.Position - Obj.Position).magnitude
  404. if Mag2 < Mag then
  405. return v
  406. end
  407. end
  408. end
  409. end
  410.  
  411. function Damage(hit,mm,knockback)
  412. if hit ~= nil and hit.Parent ~= nil and damen == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
  413. hit.Parent.Humanoid:TakeDamage(mm)
  414. if knockback ~= nil and knockback ~= 0 then
  415. local v = Instance.new("BodyVelocity",hit.Parent.Torso)
  416. v.maxForce = Vector3.new(1e4,0,1e4)
  417. v.P = 1e20
  418. v.velocity = HM.CFrame.lookVector *knockback
  419. game.Debris:AddItem(v,0.1)
  420. end
  421. coroutine.resume(coroutine.create(function()
  422. ShowDmg(mm)
  423. end))
  424. damen = false
  425. end
  426. end
  427.  
  428. function MagDamage(magnitude,part,damg,knockback,ignoretime)
  429. if ignoretime == 0 or ignoretime == nil then
  430. ignoretime = 0.5
  431. end
  432. local Body = GetDistance(part,magnitude)
  433. if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
  434. ignore[Body] = true
  435. Body.Humanoid:TakeDamage(damg)
  436. spawn(function()
  437. ShowDmg(damg)
  438. end)
  439. if knockback ~= nil and knockback >= 0 and Body.Torso ~= nil then
  440. local v = Instance.new("BodyVelocity",Body.Torso)
  441. v.maxForce = Vector3.new(1e4,0,1e4)
  442. v.P = 1e15
  443. v.velocity = T.CFrame.lookVector *knockback
  444. game.Debris:AddItem(v,0.3)
  445. end
  446. coroutine.resume(coroutine.create(function()
  447. wait(ignoretime)
  448. ignore[Body] = false
  449. end))
  450. end
  451. end
  452.  
  453. function Rwait(long)
  454. if long == 0 or long == nil then
  455. Run.RenderStepped:wait()
  456. else
  457. for i = 0,long do
  458. Run.RenderStepped:wait()
  459. end
  460. end
  461. end
  462.  
  463. function Slash1()
  464. for i = 1,20 do
  465. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  466. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/1.8,math.pi/2),armspeed)
  467. lerp(WLH,WLH.C0,LHC0,legspeed)
  468. lerp(WRH,WRH.C0,RHC0,legspeed)
  469. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/5,0),speed)
  470. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  471. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  472. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  473. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  474. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  475. end
  476. Rwait()
  477. end
  478. PlaySound(Head,1,1,Sounds[2])
  479. damen = true
  480. local Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(5,10)) end)
  481. for i = 1,20 do
  482. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  483. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed)
  484. lerp(WLH,WLH.C0,LHC0,legspeed)
  485. lerp(WRH,WRH.C0,RHC0,legspeed)
  486. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi/5,0),speed)
  487. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  488. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  489. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  490. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  491. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  492. end
  493. Rwait()
  494. end
  495. damen = false
  496. Damgbx:disconnect()
  497. end
  498.  
  499. function Slash2()
  500. for i = 1,20 do
  501. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  502. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi,-math.pi/5,math.pi/5),armspeed)
  503. lerp(WLH,WLH.C0,LHC0,legspeed)
  504. lerp(WRH,WRH.C0,RHC0,legspeed)
  505. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi/5,0),speed)
  506. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  507. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  508. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  509. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  510. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  511. end
  512. Rwait()
  513. end
  514. damen = true
  515. local Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(5,10)) end)
  516. PlaySound(Head,1,1.1,Sounds[2])
  517. for i = 1,20 do
  518. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  519. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/20,math.pi/30,-math.pi/5),armspeed)
  520. lerp(WLH,WLH.C0,LHC0,legspeed)
  521. lerp(WRH,WRH.C0,RHC0,legspeed)
  522. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/5,0),speed)
  523. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  524. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  525. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  526. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  527. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  528. end
  529. Rwait()
  530. end
  531. damen = false
  532. Damgbx:disconnect()
  533. end
  534.  
  535. function Slash3()
  536. for i = 1,20 do
  537. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  538. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1,0,-0.5) *CFrame.Angles(0,0,math.pi/2),armspeed)
  539. lerp(WLH,WLH.C0,LHC0,legspeed)
  540. lerp(WRH,WRH.C0,RHC0,legspeed)
  541. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  542. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  543. lerp(HW,HW.C0,CFrame.new(-1.8,0,0) *CFrame.Angles(math.pi/2,0,math.pi/2),speed)
  544. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  545. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  546. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  547. end
  548. Rwait()
  549. end
  550. damen = true
  551. local BV = Instance.new("BodyVelocity",HM)
  552. BV.MaxForce = Vector3.new(1e4,1e4,1e4)
  553. BV.P = 1e50
  554. game.Debris:AddItem(BV,0.3)
  555. local Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(5,10),10) end)
  556. PlaySound(Head,1,0.8,Sounds[2])
  557. for i = 1,20 do
  558. BV.Velocity = HM.CFrame.lookVector *30
  559. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/3),armspeed)
  560. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/2),armspeed)
  561. lerp(WLH,WLH.C0,LHC0,legspeed)
  562. lerp(WRH,WRH.C0,RHC0,legspeed)
  563. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  564. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  565. lerp(HW,HW.C0,CFrame.new(-1.8,0,0) *CFrame.Angles(math.pi/2,0,math.pi/2),speed)
  566. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  567. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  568. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  569. end
  570. Rwait()
  571. end
  572. damen = false
  573. Damgbx:disconnect()
  574. end
  575.  
  576. function Slash4()
  577. for i = 1,20 do
  578. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  579. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/2.5,math.pi/2),armspeed)
  580. lerp(WLH,WLH.C0,LHC0,legspeed)
  581. lerp(WRH,WRH.C0,RHC0,legspeed)
  582. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  583. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  584. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  585. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  586. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  587. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  588. end
  589. Rwait()
  590. end
  591. damen = true
  592. local Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(5,10),10) end)
  593. PlaySound(Head,1,0.845,Sounds[2])
  594. for i = 0,1,0.05 do
  595. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/3),armspeed)
  596. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/20,math.pi/2),armspeed)
  597. lerp(WLH,WLH.C0,LHC0,legspeed)
  598. lerp(WRH,WRH.C0,RHC0,legspeed)
  599. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi*i*2,0),speed)
  600. lerp(Neck,Neck.C0,NC0,speed)
  601. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  602. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  603. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  604. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  605. end
  606. Rwait()
  607. end
  608. damen = false
  609. Damgbx:disconnect()
  610. end
  611.  
  612. function FencerFury()
  613. for i = 1,5 do
  614. damen = true
  615. Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(1,4)) end)
  616. for i = 1,8 do
  617. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  618. lerp(WRS,WRS.C0,RSC0 *CFrame.new(math.random(-10,5)/10,0,-math.random(-7,7)/10) *CFrame.Angles(0,0,math.pi/2),armspeed)
  619. lerp(WLH,WLH.C0,LHC0,legspeed)
  620. lerp(WRH,WRH.C0,RHC0,legspeed)
  621. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  622. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  623. lerp(HW,HW.C0,CFrame.new(-1.8,0,0) *CFrame.Angles(math.pi/2,0,math.pi/2),speed)
  624. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  625. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  626. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  627. end
  628. Rwait()
  629. end
  630. PlaySound(Head,1,1.2,Sounds[2])
  631. coroutine.wrap(function()
  632. Rwait(50)
  633. Damgbx:disconnect()
  634. end)()
  635. end
  636. Damgbx:disconnect()
  637. damen = false
  638. for i = 1,20 do
  639. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  640. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1,0,-0.5) *CFrame.Angles(0,0,math.pi/2),armspeed)
  641. lerp(WLH,WLH.C0,LHC0,legspeed)
  642. lerp(WRH,WRH.C0,RHC0,legspeed)
  643. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  644. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  645. lerp(HW,HW.C0,CFrame.new(-1.8,0,0) *CFrame.Angles(math.pi/2,0,math.pi/2),speed)
  646. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  647. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  648. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  649. end
  650. Rwait()
  651. end
  652. effect(Char,BrickColor.new("Institutional white"),Vector3.new(1,1,1),HM.CFrame *CFrame.Angles(math.pi/2,0,0),0,0.1,Vector3.new(1,1,1),1,Meshes.Blast,nil)
  653. damen = true
  654. local BV = Instance.new("BodyVelocity",HM)
  655. BV.MaxForce = Vector3.new(1e4,1e4,1e4)
  656. BV.P = 1e50
  657. game.Debris:AddItem(BV,0.3)
  658. local Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(5,10),10) end)
  659. PlaySound(Head,1,0.8,Sounds[2])
  660. for i = 1,20 do
  661. BV.Velocity = HM.CFrame.lookVector *50
  662. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/3),armspeed)
  663. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/2),armspeed)
  664. lerp(WLH,WLH.C0,LHC0,legspeed)
  665. lerp(WRH,WRH.C0,RHC0,legspeed)
  666. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  667. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  668. lerp(HW,HW.C0,CFrame.new(-1.8,0,0) *CFrame.Angles(math.pi/2,0,math.pi/2),speed)
  669. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  670. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  671. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  672. end
  673. Rwait()
  674. end
  675. damen = false
  676. Damgbx:disconnect()
  677. end
  678.  
  679. function CuttingSlash()
  680. speed = 0.15
  681. armspeed = 0.15
  682. for i = 1,30 do
  683. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  684. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/2.5,math.pi/2),armspeed)
  685. lerp(WLH,WLH.C0,LHC0,legspeed)
  686. lerp(WRH,WRH.C0,RHC0,legspeed)
  687. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,-math.pi/2,0),speed)
  688. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
  689. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  690. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  691. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  692. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  693. end
  694. Rwait()
  695. end
  696. speed = 0.2
  697. armspeed = 0.2
  698. damen = true
  699. local Damgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(15,18)) end)
  700. PlaySound(Head,1,0.5,Sounds[2])
  701. for i = 1,50 do
  702. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/5),armspeed)
  703. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/25,math.pi/2),armspeed)
  704. lerp(WLH,WLH.C0,LHC0,legspeed)
  705. lerp(WRH,WRH.C0,RHC0,legspeed)
  706. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi/5,0),speed)
  707. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  708. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  709. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  710. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  711. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  712. end
  713. Rwait()
  714. end
  715. speed = 0.25
  716. armspeed = 0.25
  717. Damgbx:disconnect()
  718. damen = false
  719. end
  720.  
  721. function GrandPierce()
  722. for i = 1,30 do
  723. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-0.5) *CFrame.Angles(math.pi,math.pi,-math.pi/4),armspeed)
  724. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.5) *CFrame.Angles(math.pi,math.pi,math.pi/4),armspeed)
  725. lerp(WLH,WLH.C0,LHC0,legspeed)
  726. lerp(WRH,WRH.C0,RHC0,legspeed)
  727. lerp(WRJ,WRJ.C0,RJC0,speed)
  728. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/4,0,0),speed)
  729. lerp(HW,HW.C0,CFrame.new(-1,0.6,0.4) *CFrame.Angles(math.pi,-math.pi/5,math.pi/1.3),speed)
  730. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  731. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  732. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  733. end
  734. Rwait()
  735. end
  736. PlaySound(Head,1,0.6,Sounds[2])
  737. for i = 1,30 do
  738. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-0.5) *CFrame.Angles(math.pi/2.5,math.pi,-math.pi/4),armspeed)
  739. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,- 0.5) *CFrame.Angles(math.pi/2.5,math.pi,math.pi/4),armspeed)
  740. lerp(WLH,WLH.C0,LHC0,legspeed)
  741. lerp(WRH,WRH.C0,RHC0,legspeed)
  742. lerp(WRJ,WRJ.C0,RJC0,speed)
  743. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
  744. lerp(HW,HW.C0,CFrame.new(-1,0.6,0.4) *CFrame.Angles(math.pi,-math.pi/5,math.pi/1.3),speed)
  745. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  746. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  747. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  748. end
  749. if i == 16 then
  750. PlaySound(Head,1,1.8,Sounds[4])
  751. end
  752. if i >= 16 and i <= 20 then
  753. local Raycast = Ray.new(Hitbox.Position +Vector3.new(0,-Hitbox.Size.Y,0),Vector3.new(0,-2,0))
  754. local Hit,Pos = workspace:FindPartOnRay(Raycast)
  755. if Hit ~= nil then
  756. effect(Char,Hit.BrickColor,Vector3.new(0.3,0.3,0.3),CFrame.new(Pos),0,0.1,Vector3.new(0.2,0.1,0.2),1,Meshes.Blast,nil)
  757. effect(Char,Hit.BrickColor,Vector3.new(0.5,0.5,0.5),CFrame.new(Pos),0,0.1,Vector3.new(0.35,0.3,0.35),1,Meshes.Blast,nil)
  758. local part = effect(Char,Hit.BrickColor,Vector3.new(1,1,1),CFrame.new(Pos),0,0.1,Vector3.new(0.5,0.5,0.5),1,Meshes.Blast,nil)
  759. MagDamage(5,part,math.random(8,13),0,0.3)
  760. end
  761. end
  762. Rwait()
  763. end
  764. end
  765.  
  766. function Slashes()
  767.  
  768. end
  769.  
  770. function Selected()
  771. click = mouse.Button1Down:connect(function()
  772. if on == false then return end
  773. coroutine.wrap(function()
  774. Rwait(400)
  775. if combo ~= 1 and enabled == true then
  776. combo = 1
  777. end
  778. end)()
  779. if combo == 1 and enabled == true then
  780. enabled = false
  781. Slash1()
  782. enabled = true
  783. combo = 2
  784. elseif combo == 2 and enabled == true then
  785. enabled = false
  786. Slash2()
  787. enabled = true
  788. combo = 3
  789. elseif combo == 3 and enabled == true then
  790. enabled = false
  791. Slash3()
  792. enabled = true
  793. combo = 4
  794. elseif combo == 4 and enabled == true then
  795. enabled = false
  796. Slash4()
  797. enabled = true
  798. combo = 1
  799. end
  800. end)
  801. keys = mouse.KeyDown:connect(function(key)
  802. key = key:lower()
  803. if enabled == false then return end
  804. if key == "f" then
  805. on = not on
  806. if on == false and enabled == true then
  807. enabled = false
  808. SheathWeld.Part0 = LA
  809. HW.Part1 = RA
  810. for i = 1,20 do
  811. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/2),armspeed)
  812. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/9),armspeed)
  813. lerp(WLH,WLH.C0,LHC0,legspeed)
  814. lerp(WRH,WRH.C0,RHC0,legspeed)
  815. lerp(WRJ,WRJ.C0,RJC0,speed)
  816. lerp(Neck,Neck.C0,NC0,speed)
  817. lerp(HW,HW.C0,CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi),speed)
  818. lerp(SheathWeld,SheathWeld.C0,CFrame.new(0.5,0,1) *CFrame.Angles(0,-math.pi/2,0),1)
  819. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  820. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  821. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  822. end
  823. Rwait()
  824. end
  825. PlaySound(Head,1,2,Sounds[1])
  826. for i = 1,10 do
  827. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,math.pi/8),armspeed)
  828. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,0),armspeed)
  829. lerp(WLH,WLH.C0,LHC0,legspeed)
  830. lerp(WRH,WRH.C0,RHC0,legspeed)
  831. lerp(WRJ,WRJ.C0,RJC0,speed)
  832. lerp(Neck,Neck.C0,NC0,speed)
  833. lerp(HW,HW.C0,CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi),speed)
  834. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  835. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  836. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  837. end
  838. Rwait()
  839. end
  840. for i = 1,10 do
  841. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,math.pi/8),armspeed)
  842. lerp(WRS,WRS.C0,RSC0,armspeed)
  843. lerp(WLH,WLH.C0,LHC0,legspeed)
  844. lerp(WRH,WRH.C0,RHC0,legspeed)
  845. lerp(WRJ,WRJ.C0,RJC0,speed)
  846. lerp(Neck,Neck.C0,NC0,speed)
  847. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  848. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  849. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  850. end
  851. Rwait()
  852. end
  853. Rwait(1)
  854. WLS.Parent = nil
  855. WRS.Parent = nil
  856. WLH.Parent = nil
  857. WRH.Parent = nil
  858. WRJ.Parent = nil
  859. LSH.Parent = T
  860. RSH.Parent = T
  861. LHH.Parent = T
  862. RHH.Parent = T
  863. RJC.Parent = HM
  864. Neck.C0 = NC0
  865. Anim.Parent = Char
  866. Animate.Parent = Human
  867. HW.Part1 = Sheath
  868. HW.C0 = CFrame.new(2.8,0,0)
  869. SheathWeld.Part0 = T
  870. SheathWeld.C0 = SheathC0
  871. wait(1)
  872. enabled = true
  873. end
  874. if on == true and enabled == true then
  875. enabled = false
  876. RJC = RJ:Clone()
  877. LSH = LS:Clone()
  878. RSH = RS:Clone()
  879. LHH = LH:Clone()
  880. RHH = RH:Clone()
  881. Anim = Char:FindFirstChild("Animate")
  882. if Anim ~= nil then
  883. Anim.Parent = nil
  884. end
  885. Animate = Human:FindFirstChild("Animator")
  886. if Animate ~= nil then
  887. Animate.Parent = nil
  888. end
  889. WLS.Parent = T
  890. WRS.Parent = T
  891. WLH.Parent = T
  892. WRH.Parent = T
  893. WRJ.Parent = T
  894. for i = 1,10 do
  895. lerp(WLS,WLS.C0,LSC0,armspeed)
  896. lerp(WRS,WRS.C0,RSC0,armspeed)
  897. lerp(WLH,WLH.C0,LHC0,legspeed)
  898. lerp(WRH,WRH.C0,RHC0,legspeed)
  899. lerp(WRJ,WRJ.C0,RJC0,speed)
  900. lerp(Neck,Neck.C0,NC0,speed)
  901. end
  902. for i = 1,10 do
  903. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,math.pi/8),armspeed)
  904. lerp(WRS,WRS.C0,RSC0,armspeed)
  905. lerp(WLH,WLH.C0,LHC0,legspeed)
  906. lerp(WRH,WRH.C0,RHC0,legspeed)
  907. lerp(WRJ,WRJ.C0,RJC0,speed)
  908. lerp(Neck,Neck.C0,NC0,speed)
  909. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  910. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  911. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  912. end
  913. Rwait()
  914. end
  915. SheathWeld.Part0 = LA
  916. for i = 1,20 do
  917. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,0),armspeed)
  918. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,0),armspeed)
  919. lerp(WLH,WLH.C0,LHC0,legspeed)
  920. lerp(WRH,WRH.C0,RHC0,legspeed)
  921. lerp(WRJ,WRJ.C0,RJC0,speed)
  922. lerp(Neck,Neck.C0,NC0,speed)
  923. lerp(SheathWeld,SheathWeld.C0,CFrame.new(0.5,-0.7,1) *CFrame.Angles(0,-math.pi/2,0),1)
  924. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  925. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  926. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  927. end
  928. Rwait()
  929. end
  930. HW.Part1 = RA
  931. PlaySound(Head,1,1.5,Sounds[1])
  932. for i = 1,20 do
  933. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/2),armspeed)
  934. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/9),armspeed)
  935. lerp(WLH,WLH.C0,LHC0,legspeed)
  936. lerp(WRH,WRH.C0,RHC0,legspeed)
  937. lerp(WRJ,WRJ.C0,RJC0,speed)
  938. lerp(Neck,Neck.C0,NC0,speed)
  939. lerp(HW,HW.C0,CFrame.new(0,-1,0) *CFrame.Angles(0,0,math.pi),speed)
  940. lerp(SheathWeld,SheathWeld.C0,CFrame.new(0.5,0,1) *CFrame.Angles(0,-math.pi/2,0),1)
  941. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  942. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  943. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  944. end
  945. Rwait()
  946. end
  947. for i = 1,15 do
  948. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,math.pi/2,0),armspeed)
  949. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  950. lerp(WLH,WLH.C0,LHC0,legspeed)
  951. lerp(WRH,WRH.C0,RHC0,legspeed)
  952. lerp(WRJ,WRJ.C0,RJC0,speed)
  953. lerp(Neck,Neck.C0,NC0,speed)
  954. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  955. lerp(SheathWeld,SheathWeld.C0,CFrame.new(0,0,1.5) *CFrame.Angles(0,-math.pi/2,0),1)
  956. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  957. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  958. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  959. end
  960. Rwait()
  961. end
  962. SheathWeld.Part0 = T
  963. SheathWeld.C0 = SheathC0
  964. enabled = true
  965. end
  966. end
  967. if key == "z" and on == true and enabled == true then
  968. enabled = false
  969. FencerFury()
  970. enabled = true
  971. end
  972. if key == "x" and on == true and enabled == true then
  973. enabled = false
  974. CuttingSlash()
  975. enabled = true
  976. end
  977. if key == "c" and on == true and enabled == true then
  978. enabled = false
  979. GrandPierce()
  980. enabled = true
  981. end
  982. end)
  983. end
  984.  
  985. function Deselected()
  986. click:disconnect()
  987. keys:disconnect()
  988. end
  989.  
  990. hopbin.Selected:connect(Selected)
  991. hopbin.Deselected:connect(Deselected)
  992.  
  993. while true do
  994. if on == true then
  995. angle = (angle % 100) +anglespeed/10
  996. armangle = (armangle % 100) +armanglespeed/10
  997. legangle = (legangle % 100) +leganglespeed/10
  998. if action == "Idle" and enabled == true then
  999. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  1000. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/6,0,0),armspeed)
  1001. lerp(WLH,WLH.C0,LHC0,legspeed)
  1002. lerp(WRH,WRH.C0,RHC0,legspeed)
  1003. lerp(WRJ,WRJ.C0,RJC0,speed)
  1004. lerp(Neck,Neck.C0,NC0,speed)
  1005. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  1006. end
  1007. if action == "Walk" and enabled == true then
  1008. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/4,0,0),armspeed)
  1009. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/6,0,0),armspeed)
  1010. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.sin(legangle),0,0),legspeed)
  1011. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.sin(legangle),0,0),legspeed)
  1012. lerp(WRJ,WRJ.C0,RJC0,speed)
  1013. lerp(Neck,Neck.C0,NC0,speed)
  1014. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  1015. end
  1016. if HM.Velocity.Y >= 5 and enabled == true then
  1017. action = "Jump"
  1018. jumping = true
  1019. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  1020. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/6,0,0),armspeed)
  1021. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/10,0,0),legspeed)
  1022. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,1,-1),legspeed)
  1023. lerp(WRJ,WRJ.C0,RJC0,speed)
  1024. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  1025. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  1026. Rwait()
  1027. end
  1028. if HM.Velocity.Y <= -5 and enabled == true then
  1029. action = "Fall"
  1030. falling = true
  1031. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  1032. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/6,0,0),armspeed)
  1033. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/10,0,0),legspeed)
  1034. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.5,-0.5) *CFrame.Angles(math.pi/4,0,0),legspeed)
  1035. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/20,0,0),speed)
  1036. lerp(Neck,Neck.C0,NC0,speed)
  1037. lerp(HW,HW.C0,CFrame.new(0,0,1) *CFrame.Angles(math.pi,-math.pi/2,math.pi/2),speed)
  1038. Rwait()
  1039. end
  1040. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
  1041. action = "Idle"
  1042. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  1043. action = "Walk"
  1044. end
  1045. end
  1046. Rwait()
  1047. end
Add Comment
Please, Sign In to add comment