Advertisement
Dark_EccentricYT

Untitled

Dec 28th, 2018
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.39 KB | None | 0 0
  1. --Ahuhuhuhu it's a good hammer amirite ahuahuahuahua
  2. --Credits to W8X for helping out with the magnitude damage function and stuff
  3. --Credits to MakerModelLua to fix a small problem ;D
  4. function lerp(weld,beglerp,endlerp,speed)
  5. weld.C0 = beglerp:lerp(endlerp,speed)
  6. return weld.C0
  7. end
  8. local speed = 0.2
  9. local angle = 0
  10. local anglespeed = 1.5
  11. local armspeed = 0.2
  12. local armangle = 0
  13. local armanglespeed = 1.5
  14. local legspeed = 0.2
  15. local legangle = 0
  16. local leganglespeed = 1.5
  17. x2enabled = true
  18. ignore = {}
  19. action = "Idle"
  20. Mode = "TwoHanded"
  21. on = false
  22. enabled = true
  23. jumping = false
  24. falling = false
  25. handleexception = false
  26. combo = 1
  27. Player = game.Players.LocalPlayer
  28. Char = Player.Character
  29. Anim = Char:FindFirstChild("Animate")
  30. Human = Char.Humanoid
  31. Human.WalkSpeed = 14
  32. mouse = Player:GetMouse()
  33. Sounds = {"rbxasset://sounds/unsheath.wav", "rbxassetid://161006212", "rbxassetid://2248511", "rbxassetid://2101137", "rbxassetid://2248511","rbxassetid://157631498","rbxassetid://161006195","rbxassetid://157878578"}
  34. T = Char:findFirstChild("Torso")
  35. Head = Char.Head
  36. LA = Char:findFirstChild("Left Arm")
  37. RA = Char:findFirstChild("Right Arm")
  38. LL = Char:findFirstChild("Left Leg")
  39. RL = Char:findFirstChild("Right Leg")
  40. LS = T:findFirstChild("Left Shoulder")
  41. RS = T:findFirstChild("Right Shoulder")
  42. LH = T:findFirstChild("Left Hip")
  43. RH = T:findFirstChild("Right Hip")
  44. Neck = T:findFirstChild("Neck")
  45. HM = Char:findFirstChild("HumanoidRootPart")
  46. RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  47. WLS = Instance.new("Weld", nil)
  48. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  49. WLS.C1 = CFrame.new(0, 0.5, 0)
  50. WLS.Part0 = T
  51. WLS.Part1 = LA
  52. WRS = Instance.new("Weld", nil)
  53. WRS.Part0 = T
  54. WRS.Part1 = RA
  55. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  56. WRS.C1 = CFrame.new(0, 0.5, 0)
  57. WLH = LH
  58. WRH = RH
  59. WeldLH = Instance.new("Weld", nil)
  60. WeldLH.C0 = CFrame.new(-0.5, -1, 0)
  61. WeldLH.C1 = CFrame.new(0, 1, 0)
  62. WeldLH.Part0 = T
  63. WeldLH.Part1 = LL
  64. WeldRH = Instance.new("Weld", nil)
  65. WeldRH.C0 = CFrame.new(0.5, -1, 0)
  66. WeldRH.C1 = CFrame.new(0, 1, 0)
  67. WeldRH.Part0 = T
  68. WeldRH.Part1 = RL
  69. LSC0 = WLS.C0
  70. RSC0 = WRS.C0
  71. LHC0 = WLH.C0
  72. RHC0 = WRH.C0
  73. WLHC0 = WeldLH.C0
  74. WRHC0 = WeldRH.C0
  75. WRJ = RJ
  76. RJC0 = WRJ.C0
  77. NC0 = Neck.C0
  78. hopbin = Instance.new("HopperBin", Player.Backpack)
  79. hopbin.Name = "Xyphon"
  80. Run = game:GetService("RunService")
  81.  
  82. New = function(Object, Parent, Name, Data)
  83. local Object = Instance.new(Object)
  84. for Index, Value in pairs(Data or {}) do
  85. Object[Index] = Value
  86. end
  87. Object.Parent = Parent
  88. Object.Name = Name
  89. return Object
  90. end
  91.  
  92. Hammer = New("Model",Char,"Hammer",{})
  93. Part = New("Part",Hammer,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-89.0500031, 1.85000014, 88.3500061, 0.999999642, 0, -5.96046448e-008, 5.96046448e-008, 0, 0.999999642, 0, -1, 0),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  94. coolpart = Part
  95. Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 3, 5),})
  96. Part = New("Part",Hammer,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-89.0500031, 3.25000048, 87.9500122, -0.999999404, -2.98023366e-008, -1.73452321e-007, 1.73452307e-007, -2.45785998e-007, -0.999999404, 2.98023206e-008, -0.999999404, 3.05390671e-007),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  97. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.100000001),Scale = Vector3.new(1, 1.5, 1),MeshType = Enum.MeshType.Wedge,})
  98. Part = New("Part",Hammer,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-89.0500031, 3.25000048, 88.75, 0.999999642, 1.21847012e-008, -1.34932521e-009, -1.34931466e-009, -1.49011612e-008, -0.999999404, -1.2184695e-008, 0.999999583, 4.47034836e-008),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  99. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.100000001),Scale = Vector3.new(1, 1.5, 1),MeshType = Enum.MeshType.Wedge,})
  100. Part = New("Part",Hammer,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-89.0500031, 0.450000226, 88.75, -0.999999404, -1.21847004e-008, 4.47034836e-008, 4.47034836e-008, 1.49011559e-008, 0.999999404, -1.2184695e-008, 0.999999583, 4.47034836e-008),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  101. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.100000001),Scale = Vector3.new(1, 1.5, 1),MeshType = Enum.MeshType.Wedge,})
  102. Part = New("Part",Hammer,"Part",{BrickColor = BrickColor.new("Mid gray"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-89.0500031, 0.450000226, 87.9500122, 0.999999285, 2.98023295e-008, 1.34110451e-007, -1.34110451e-007, 2.45785998e-007, 0.999999285, 2.98023206e-008, -0.999999404, 3.05390671e-007),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.803922, 0.803922, 0.803922),})
  103. Mesh = New("SpecialMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.100000001),Scale = Vector3.new(1, 1.5, 1),MeshType = Enum.MeshType.Wedge,})
  104. Handle = New("Part",Hammer,"Handle",{BrickColor = BrickColor.new("Dark orange"),Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.5, 0.5, 0.5),CFrame = CFrame.new(-89.0500031, 1.85000014, 91.75, -1, 0, 0, 0, 0, -1, 0, -1, 0),CanCollide = false,Locked = true,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.627451, 0.372549, 0.207843),})
  105. Mesh = New("CylinderMesh",Handle,"Mesh",{Scale = Vector3.new(1, 11, 1),})
  106.  
  107.  
  108. Parts = {}
  109. for i,v in pairs(Hammer:GetChildren()) do
  110. table.insert(Parts,v)
  111. end
  112.  
  113. local prev
  114. local parts = Parts
  115.  
  116. for i = 1,#parts do
  117. if (parts[i].className == "Part" or parts[i].className == "WedgePart") then
  118. if (prev ~= nil) then
  119. local weld = Instance.new("Weld")
  120. weld.Part0 = prev
  121. weld.Part1 = parts[i]
  122. weld.C0 = prev.CFrame:inverse()
  123. weld.C1 = parts[i].CFrame:inverse()
  124. weld.Parent = Hammer
  125. end
  126. prev = parts[i]
  127. end
  128. end
  129.  
  130. handle = Handle
  131. handleweld = Instance.new("Weld",T)
  132. handleweld.Part0 = RA
  133. handleweld.Part1 = handle
  134. handleweld.C0 = CFrame.new(0,-0.8,-1) *CFrame.Angles(-math.pi/2,0,0)
  135. handleweld.C1 = CFrame.new(0,0,0.5)
  136. hanw = handleweld.C0
  137. saven = Neck.C0
  138.  
  139. PlaySound = function(part,volume,pitch,id)
  140. local Sound = Instance.new("Sound", part)
  141. Sound.SoundId = id
  142. Sound.Pitch = pitch
  143. Sound.Volume = volume
  144. coroutine.wrap(function()
  145. wait()
  146. Sound:Play()
  147. game.Debris:AddItem(Sound,1)
  148. end)()
  149. end
  150.  
  151. function GetDistance(Obj,Mag)
  152. for _,v in pairs(workspace:GetChildren()) do
  153. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Char then
  154. local Mag2 = (v.Torso.Position - Obj.Position).magnitude
  155. if Mag2 < Mag then
  156. return v
  157. end
  158. end
  159. end
  160. end
  161.  
  162. ShowDmg = function(totake)
  163. local modl = Instance.new("Model", workspace)
  164. modl.Name = tostring(totake)
  165. local prt = Instance.new("Part", modl)
  166. prt.CanCollide = false
  167. prt.BrickColor = BrickColor.Red()
  168. prt.Name = "Head"
  169. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  170. prt.TopSurface = 0
  171. prt.BottomSurface = 0
  172. prt.FormFactor = 3
  173. prt.Size = Vector3.new(1, 0.2, 1)
  174. local bm = Instance.new("BlockMesh", prt)
  175. local hum = Instance.new("Humanoid", modl)
  176. hum.Health = 0
  177. hum.MaxHealth = 0
  178. hum.WalkSpeed = 0
  179. bodypos = Instance.new("BodyPosition", prt)
  180. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  181. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  182. game.Debris:AddItem(modl, 1)
  183. coroutine.resume(coroutine.create(function()
  184. for i = 1, 3 do
  185. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  186. Rwait()
  187. end
  188. end))
  189. end
  190.  
  191. --Credits to MakerModelLua for helping me fix a small problem ;D
  192. function Denature(Body)
  193. local pr = Instance.new("Part",Body)
  194. pr.CanCollide = false
  195. pr.TopSurface = 0
  196. pr.BottomSurface = 0
  197. pr.FormFactor = 3
  198. pr.BrickColor = BrickColor.new("Really black")
  199. pr.Size = Vector3.new(0.2,0.2,0.2)
  200. pr.CFrame = Body.Torso.CFrame
  201. local prm = Instance.new("SpecialMesh",pr)
  202. prm.MeshType = "Sphere"
  203. local prw = Instance.new("Weld",pr)
  204. prw.Part0 = pr
  205. prw.Part1 = Body.Torso
  206. game.Debris:AddItem(pr,1.5)
  207. local pmscale = prm.Scale
  208. spawn(function()
  209. for i = 1,3 do
  210. Body.Humanoid:TakeDamage(1)
  211. ShowDmg(5)
  212. Rwait(38)
  213. end
  214. end)
  215. spawn(function()
  216. for i = 1,3 do
  217. for i = 0,1.25,0.25/5 do
  218. local pra = Instance.new("Part",Body)
  219. pra.Anchored = true
  220. pra.CanCollide = false
  221. pra.TopSurface = 0
  222. pra.BottomSurface = 0
  223. pra.FormFactor = 3
  224. pra.BrickColor = BrickColor.new("Really black")
  225. pra.Size = Vector3.new(0.2,0.2,0.2)
  226. pra.CFrame = Body.Torso.CFrame *CFrame.new(math.random(-40,40)/10,math.random(-20,20)/10,math.random(-15,15)/10)
  227. game.Debris:AddItem(pra,0.5)
  228. pra.Transparency = i/4
  229. pr.Transparency = i
  230. prm.Scale = pmscale +Vector3.new(50*i,50*i,50*i)
  231. Rwait()
  232. end
  233. Rwait(5)
  234. end
  235. end)
  236. end
  237.  
  238.  
  239. function Damage(magnitude,part,damg,knockback,ignoretime)
  240. if ignoretime == 0 or ignoretime == nil then
  241. ignoretime = 0.5
  242. end
  243. local Body = GetDistance(part,magnitude)
  244. if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
  245. ignore[Body] = true
  246. Body.Humanoid:TakeDamage(damg)
  247. spawn(function()
  248. ShowDmg(damg)
  249. end)
  250. if knockback ~= nil and knockback >= 0 then
  251. local v = Instance.new("BodyVelocity",Body.Torso)
  252. v.maxForce = Vector3.new(1e4,0,1e4)
  253. v.P = 1e15
  254. v.velocity = Body.Torso.CFrame.lookVector *-knockback
  255. game.Debris:AddItem(v,0.3)
  256. end
  257. coroutine.resume(coroutine.create(function()
  258. wait(ignoretime)
  259. ignore[Body] = false
  260. end))
  261. end
  262. end
  263.  
  264. function LiftDamage(magnitude,part,damg,knockback,ignoretime)
  265. if lifted == true then return end
  266. if ignoretime == 0 or ignoretime == nil then
  267. ignoretime = 0.5
  268. end
  269. Body = GetDistance(part,magnitude)
  270. if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
  271. lifted = true
  272. ignore[Body] = true
  273. Body.Humanoid:TakeDamage(damg)
  274. spawn(function()
  275. ShowDmg(damg)
  276. end)
  277. if knockback ~= nil and knockback >= 0 then
  278. local v = Instance.new("BodyVelocity",Body.Torso)
  279. v.maxForce = Vector3.new(1e4,0,1e4)
  280. v.P = 1e15
  281. v.velocity = Body.Torso.CFrame.lookVector *-knockback
  282. game.Debris:AddItem(v,0.3)
  283. end
  284. coroutine.resume(coroutine.create(function()
  285. wait(ignoretime)
  286. ignore[Body] = false
  287. end))
  288. end
  289. end
  290.  
  291. function PowerDamage(magnitude,part,damg,knockback,ignoretime)
  292. if ignoretime == 0 or ignoretime == nil then
  293. ignoretime = 0.5
  294. end
  295. local Body = GetDistance(part,magnitude)
  296. if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
  297. hit = Body
  298. ignore[Body] = true
  299. Body.Humanoid:TakeDamage(damg)
  300. spawn(function()
  301. ShowDmg(damg)
  302. end)
  303. spawn(function()
  304. Denature(hit)
  305. end)
  306. if knockback ~= nil and knockback >= 0 then
  307. local v = Instance.new("BodyVelocity",Body.Torso)
  308. v.maxForce = Vector3.new(1e4,0,1e4)
  309. v.P = 1e15
  310. v.velocity = Body.Torso.CFrame.lookVector *-knockback
  311. game.Debris:AddItem(v,0.3)
  312. end
  313. coroutine.resume(coroutine.create(function()
  314. wait(ignoretime)
  315. ignore[Body] = false
  316. end))
  317. end
  318. end
  319.  
  320. function Rwait(long)
  321. if long == 0 or long == nil then
  322. Run.RenderStepped:wait()
  323. else
  324. for i = 0,long do
  325. Run.RenderStepped:wait()
  326. end
  327. end
  328. end
  329.  
  330. function TwoHandedSlash1()
  331. handleexception = true
  332. for i = 1,20 do
  333. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,0.4) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  334. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-2,0,-0.25) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  335. lerp(WLH,WLH.C0,LHC0,legspeed)
  336. lerp(WRH,WRH.C0,RHC0,legspeed)
  337. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/3.5),speed)
  338. lerp(Neck,Neck.C0,NC0,speed)
  339. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,1.5,0),0.2)
  340. Rwait()
  341. end
  342. PlaySound(Head,1,0.5,Sounds[2])
  343. for i = 1,20 do
  344. Damage(2,coolpart,math.random(9,15))
  345. lerp(WLS,WLS.C0,LSC0 *CFrame.new(3.2,0,-0.5) *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed)
  346. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,0.25) *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed)
  347. lerp(WLH,WLH.C0,LHC0,legspeed)
  348. lerp(WRH,WRH.C0,RHC0,legspeed)
  349. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
  350. lerp(Neck,Neck.C0,NC0,speed)
  351. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,1.5,0),0.2)
  352. Rwait()
  353. end
  354. handleexception = false
  355. end
  356.  
  357. function TwoHandedSlash2()
  358. handleexception = true
  359. for i = 1,20 do
  360. lerp(WLS,WLS.C0,LSC0 *CFrame.new(3,0,-0.5) *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed)
  361. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,0.25) *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed)
  362. lerp(WLH,WLH.C0,LHC0,legspeed)
  363. lerp(WRH,WRH.C0,RHC0,legspeed)
  364. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/3.5),speed)
  365. lerp(Neck,Neck.C0,NC0,speed)
  366. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,-1.5,-1) *CFrame.Angles(math.pi,0,0),0.2)
  367. Rwait()
  368. end
  369. PlaySound(Head,1,0.55,Sounds[2])
  370. for i = 1,20 do
  371. Damage(2,coolpart,math.random(9,15))
  372. lerp(WLS,WLS.C0,LSC0 *CFrame.new(3,0,-0.5) *CFrame.Angles(0,math.pi/5,math.pi/2),armspeed)
  373. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,0.25) *CFrame.Angles(0,math.pi/5,math.pi/2),armspeed)
  374. lerp(WLH,WLH.C0,LHC0,legspeed)
  375. lerp(WRH,WRH.C0,RHC0,legspeed)
  376. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/3.5),speed)
  377. lerp(Neck,Neck.C0,NC0,speed)
  378. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0.05,0) *CFrame.Angles(-math.pi/2.5,0,0),0.2)
  379. Rwait()
  380. end
  381. handleexception = false
  382. end
  383.  
  384. function TwoHandedSlash3()
  385. handleexception = true
  386. for i = 1,20 do
  387. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2,0,0) *CFrame.Angles(math.pi/1.05,0,math.pi/6),armspeed)
  388. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.05,0,0),armspeed)
  389. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  390. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,-math.pi/5),legspeed)
  391. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(-math.pi/5,0,0),speed)
  392. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed)
  393. lerp(handleweld,handleweld.C0,hanw *CFrame.Angles(-math.pi/5,0,0),0.2)
  394. Rwait()
  395. end
  396. PlaySound(Head,1,0.8,Sounds[2])
  397. for i = 1,20 do
  398. Damage(2,coolpart,math.random(9,15))
  399. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2,0,0) *CFrame.Angles(math.pi/10,0,math.pi/6),armspeed)
  400. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/10,0,0),armspeed)
  401. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/5),legspeed)
  402. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  403. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/5,0,0),speed)
  404. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
  405. lerp(handleweld,handleweld.C0,hanw,0.2)
  406. Rwait()
  407. end
  408. handleexception = false
  409. end
  410.  
  411. function OneHandedSlash1()
  412. handleexception = true
  413. for i = 1,20 do
  414. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  415. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/1.75,math.pi/2),armspeed)
  416. lerp(WLH,WLH.C0,LHC0,legspeed)
  417. lerp(WRH,WRH.C0,RHC0,legspeed)
  418. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/4),speed)
  419. lerp(Neck,Neck.C0,NC0,speed)
  420. lerp(handleweld,handleweld.C0,hanw,0.2)
  421. Rwait()
  422. end
  423. PlaySound(Head,1,0.4,Sounds[2])
  424. for i = 1,20 do
  425. Damage(2,coolpart,math.random(9,15))
  426. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  427. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/10,math.pi/2),armspeed)
  428. lerp(WLH,WLH.C0,LHC0,legspeed)
  429. lerp(WRH,WRH.C0,RHC0,legspeed)
  430. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/4),speed)
  431. lerp(Neck,Neck.C0,NC0,speed)
  432. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,-0.5,-0.9) *CFrame.Angles(-math.pi/3,0,0),0.2)
  433. Rwait()
  434. end
  435. handleexception = false
  436. end
  437.  
  438. function OneHandedSlash2()
  439. handleexception = true
  440. for i = 1,20 do
  441. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  442. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi,-math.pi/5,math.pi/5),armspeed)
  443. lerp(WLH,WLH.C0,LHC0,legspeed)
  444. lerp(WRH,WRH.C0,RHC0,legspeed)
  445. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/4),speed)
  446. lerp(Neck,Neck.C0,NC0,speed)
  447. lerp(handleweld,handleweld.C0,hanw,0.2)
  448. Rwait()
  449. end
  450. PlaySound(Head,1,0.5,Sounds[2])
  451. for i = 1,20 do
  452. Damage(2,coolpart,math.random(9,15))
  453. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  454. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1,0,-0.7) *CFrame.Angles(math.pi/25,-math.pi/25,-math.pi/10),armspeed)
  455. lerp(WLH,WLH.C0,LHC0,legspeed)
  456. lerp(WRH,WRH.C0,RHC0,legspeed)
  457. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/4),speed)
  458. lerp(Neck,Neck.C0,NC0,speed)
  459. Rwait()
  460. end
  461. handleexception = false
  462. end
  463.  
  464. function OneHandedSlash3()
  465. handleexception = true
  466. for i = 1,20 do
  467. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  468. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-1,0,-0.7) *CFrame.Angles(math.pi,math.pi/5,-math.pi/5),armspeed)
  469. lerp(WLH,WLH.C0,LHC0,legspeed)
  470. lerp(WRH,WRH.C0,RHC0,legspeed)
  471. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/4),speed)
  472. lerp(Neck,Neck.C0,NC0,speed)
  473. lerp(handleweld,handleweld.C0,hanw,0.2)
  474. Rwait()
  475. end
  476. PlaySound(Head,1,0.45,Sounds[2])
  477. for i = 1,20 do
  478. Damage(2,coolpart,math.random(9,15))
  479. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  480. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/5,math.pi/5),armspeed)
  481. lerp(WLH,WLH.C0,LHC0,legspeed)
  482. lerp(WRH,WRH.C0,RHC0,legspeed)
  483. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/4),speed)
  484. lerp(Neck,Neck.C0,NC0,speed)
  485. Rwait()
  486. end
  487. handleexception = false
  488. end
  489.  
  490. function Fissure()
  491. handleexception = true
  492. for i = 1,20 do
  493. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2,0,0) *CFrame.Angles(math.pi/1.05,0,math.pi/6),armspeed)
  494. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.05,0,0),armspeed)
  495. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  496. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,-math.pi/5),legspeed)
  497. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(-math.pi/5,0,0),speed)
  498. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed)
  499. lerp(handleweld,handleweld.C0,hanw *CFrame.Angles(-math.pi/5,0,0),0.2)
  500. Rwait()
  501. end
  502. PlaySound(Head,1,0.8,Sounds[2])
  503. Human.WalkSpeed = 0
  504. for i = 1,100 do
  505. Damage(2,coolpart,math.random(9,15))
  506. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2,0,0) *CFrame.Angles(math.pi/10,0,math.pi/6),armspeed)
  507. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/10,0,0),armspeed)
  508. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/5),legspeed)
  509. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  510. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(math.pi/5,0,0),speed)
  511. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
  512. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0.2,0),0.2)
  513. if i == 7 then
  514. PlaySound(Head,1,1.5,Sounds[8])
  515. coroutine.resume(coroutine.create(function()
  516. local Parts = {}
  517. local distance = 0.45
  518. local HMCF = HM.CFrame
  519. for i = 1, 75 do
  520. local fispart = Instance.new("Part")
  521. fispart.Anchored = true
  522. fispart.CanCollide = false
  523. fispart.TopSurface = 0
  524. fispart.BottomSurface = 0
  525. fispart.FormFactor = 3
  526. fispart.Size = Vector3.new(1,1,1)
  527. local fispartm = Instance.new("BlockMesh", fispart)
  528. fispartm.Name = "Mesh"
  529. fispartm.Scale = Vector3.new(5,5,5)
  530. table.insert(Parts,fispart)
  531. end
  532. Rwait(1)
  533. local Ignore = {}
  534. for I_shall,ignore_this in pairs(workspace:GetChildren()) do
  535. if ignore_this:IsA("Model") then
  536. if ignore_this:FindFirstChild("Humanoid") then
  537. Ignore[#Ignore +1] = ignore_this
  538. end
  539. end
  540. end
  541. for num,partrr in pairs(Parts) do
  542. partrr.Parent = Char
  543. distance = distance +0.8
  544. partrr.CFrame = HMCF *CFrame.new(1.25,3,-4-distance) *CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  545. coroutine.resume(coroutine.create(function()
  546. for i = 0,1,0.1 do
  547. Damage(4,partrr,math.random(4,8),50,0.25)
  548. if partrr:FindFirstChild("Mesh") ~= nil then
  549. partrr.Mesh.Scale = partrr.Mesh.Scale -Vector3.new(0.3635,0.3635,0.3635)
  550. end
  551. Rwait()
  552. end
  553. end))
  554. local Ray = Ray.new(partrr.Position + Vector3.new(0,0.1,0),Vector3.new(0,-999,0))
  555. local Hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
  556. if Hit == nil then partrr:Destroy() end
  557. if Hit ~= nil then
  558. partrr.CFrame = CFrame.new(pos) *CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  559. partrr.BrickColor = Hit.BrickColor
  560. partrr.Material = Hit.Material
  561. end
  562. game.Debris:AddItem(partrr,1)
  563. Rwait()
  564. end
  565. Parts = {}
  566. end))
  567. end
  568. Rwait()
  569. end
  570. Human.WalkSpeed = 14
  571. handleexception = false
  572. end
  573.  
  574. function SlamHammer()
  575. Human.WalkSpeed = 0
  576. for i = 1,20 do
  577. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed)
  578. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.05,0,math.pi/5),armspeed)
  579. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.25,0,-0.25) *CFrame.Angles(0,-math.pi/4,0),legspeed)
  580. lerp(WRH,WRH.C0,RHC0 *CFrame.new(-0.5,0,-0.25) *CFrame.Angles(0,-math.pi/4,0),legspeed)
  581. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/4),speed)
  582. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/4),speed)
  583. lerp(handleweld,handleweld.C0,hanw,0.2)
  584. Rwait()
  585. end
  586. local BV = Instance.new("BodyVelocity",HM)
  587. BV.maxForce = Vector3.new(1e5,0,1e5)
  588. BV.P = 1e8
  589. BV.Velocity = HM.CFrame.lookVector *80
  590. game.Debris:AddItem(BV,0.3)
  591. PlaySound(Head,1,0.4,Sounds[2])
  592. LH.Part0 = nil
  593. RH.Part0 = nil
  594. WeldLH.Parent = T
  595. WeldRH.Parent = T
  596. for i = 1,50 do
  597. lerp(WeldLH,WeldLH.C0,WLHC0,legspeed)
  598. lerp(WeldRH,WeldRH.C0,WRHC0,legspeed)
  599. end
  600. for i = 1,40 do
  601. Damage(4,coolpart,math.random(9,15))
  602. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/8),armspeed)
  603. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.4,0,-0.1) *CFrame.Angles(math.pi/8.1,-math.pi/4,math.pi/8),armspeed)
  604. lerp(WeldLH,WeldLH.C0,WLHC0 *CFrame.new(0.5,0,0) *CFrame.Angles(-math.pi/2,0,-math.pi/4),legspeed/1.5)
  605. lerp(WeldRH,WeldRH.C0,WRHC0 *CFrame.new(0.4,1.5,-0.1) *CFrame.Angles(0,-math.pi/4,0),legspeed/1.5)
  606. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-1.5) *CFrame.Angles(0,0,math.pi/4),speed)
  607. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/4),speed)
  608. lerp(handleweld,handleweld.C0,hanw,0.2)
  609. Rwait()
  610. end
  611. LH.Part0 = T
  612. RH.Part0 = T
  613. WeldLH.Parent = nil
  614. WeldRH.Parent = nil
  615. Human.WalkSpeed = 14
  616. end
  617.  
  618. function DashSpin()
  619. Human.WalkSpeed = 0
  620. local BV = Instance.new("BodyVelocity",HM)
  621. BV.maxForce = Vector3.new(1e5,0,1e5)
  622. BV.P = 1e8
  623. BV.Velocity = HM.CFrame.lookVector *80
  624. game.Debris:AddItem(BV,0.3)
  625. local eff = Instance.new("Part",Char)
  626. eff.Anchored = true
  627. eff.CanCollide = false
  628. eff.TopSurface = 0
  629. eff.BottomSurface = 0
  630. eff.FormFactor = 3
  631. eff.BrickColor = BrickColor.new("Institutional white")
  632. eff.Size = Vector3.new(1,1,1)
  633. eff.CFrame = HM.CFrame *CFrame.new(0,0,4) *CFrame.Angles(math.pi/2,0,0)
  634. effm = Instance.new("SpecialMesh",eff)
  635. effm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  636. effm.Scale = Vector3.new(2,5,2)
  637. game.Debris:AddItem(eff,1)
  638. spawn(function()
  639. for i = 0,1,0.02 do
  640. eff.Transparency = i
  641. Rwait()
  642. end
  643. end)
  644. for i = 1,40 do
  645. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,math.pi/4,0),armspeed)
  646. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,math.pi/2,0),armspeed)
  647. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
  648. lerp(WRH,WRH.C0,RHC0,legspeed)
  649. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/2.05),speed)
  650. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2.05),speed)
  651. lerp(handleweld,handleweld.C0,hanw,0.2)
  652. Rwait()
  653. end
  654. Human.WalkSpeed = 14
  655. for i = 1,5 do
  656. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,0.4) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  657. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-2,0,-0.25) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  658. lerp(WLH,WLH.C0,LHC0,legspeed)
  659. lerp(WRH,WRH.C0,RHC0,legspeed)
  660. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/3.5),speed)
  661. lerp(Neck,Neck.C0,NC0,speed)
  662. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,1.5,0),0,0.2)
  663. Rwait()
  664. end
  665. for i = 1,3 do
  666. for i = 0,1,0.05 do
  667. Damage(4,coolpart,math.random(9,15),0.2)
  668. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,0.4) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  669. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-2,0,-0.25) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  670. lerp(WLH,WLH.C0,LHC0,legspeed)
  671. lerp(WRH,WRH.C0,RHC0,legspeed)
  672. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi*i*2),speed)
  673. lerp(Neck,Neck.C0,NC0,speed)
  674. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,1.5,0),0.2)
  675. Rwait()
  676. end
  677. Rwait()
  678. PlaySound(Head,1,1,Sounds[2])
  679. end
  680. end
  681.  
  682. function Pummeler()
  683. pummel = false
  684. local BV = Instance.new("BodyVelocity",HM)
  685. BV.maxForce = Vector3.new(1e5,0,1e5)
  686. BV.P = 1e10
  687. BV.Velocity = HM.CFrame.lookVector *40
  688. game.Debris:AddItem(BV,0.3)
  689. LH.Part0 = nil
  690. RH.Part0 = nil
  691. WeldLH.Parent = T
  692. WeldRH.Parent = T
  693. deb = false
  694. for i = 1,50 do
  695. lerp(WeldLH,WeldLH.C0,WLHC0,legspeed)
  696. lerp(WeldRH,WeldRH.C0,WRHC0,legspeed)
  697. end
  698. for i = 1,20 do
  699. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,math.pi/4,0),armspeed)
  700. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,math.pi/2,0),armspeed)
  701. lerp(WeldLH,WeldLH.C0,WLHC0,legspeed)
  702. lerp(WeldRH,WeldRH.C0,WRHC0 *CFrame.Angles(math.pi/2.2,0,0),legspeed)
  703. lerp(WRJ,WRJ.C0,RJC0,speed)
  704. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
  705. lerp(handleweld,handleweld.C0,hanw,0.2)
  706. if i == 8 then
  707. con1 = RL.Touched:connect(function(hit)
  708. if deb == false and hit.Parent ~= nil and hit.Parent:FindFirstChild("Torso") ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health >= 0 then
  709. deb = true
  710. BV:Destroy()
  711. BG = Instance.new("BodyGyro",hit.Parent.Torso)
  712. BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  713. BG.P = 10000
  714. BG.CFrame = hit.Parent.Torso.CFrame *CFrame.Angles(math.rad(90),0,0)
  715. BP = Instance.new("BodyPosition",hit.Parent.Torso)
  716. BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  717. BP.P = 10000
  718. BP.Position = hit.Parent.Torso.Position -Vector3.new(0,3,0)
  719. game.Debris:AddItem(BG,0.5)
  720. game.Debris:AddItem(BP,0.5)
  721. pummel = true
  722. end
  723. end)
  724. end
  725. Rwait()
  726. end
  727. con1:disconnect()
  728. if pummel == true then
  729. for i = 1,10 do
  730. lerp(Neck,Neck.C0,NC0,speed)
  731. lerp(WeldLH,WeldLH.C0,WLHC0,legspeed)
  732. lerp(WeldRH,WeldRH.C0,WRHC0,legspeed)
  733. Rwait()
  734. end
  735. LH.Part0 = T
  736. RH.Part0 = T
  737. WeldLH.Parent = nil
  738. WeldRH.Parent = nil
  739. for i = 1,3 do
  740. for i = 1,15 do
  741. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2,0,0) *CFrame.Angles(math.pi/1.05,0,math.pi/6),armspeed)
  742. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.05,0,0),armspeed)
  743. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  744. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,-math.pi/5),legspeed)
  745. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(-math.pi/5,0,0),speed)
  746. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed)
  747. lerp(handleweld,handleweld.C0,hanw *CFrame.Angles(-math.pi/5,0,0),0.2)
  748. Rwait()
  749. end
  750. PlaySound(Head,1,0.5,Sounds[2])
  751. for i = 1,15 do
  752. Damage(2,coolpart,math.random(9,15))
  753. lerp(WLS,WLS.C0,LSC0 *CFrame.new(2,0,0) *CFrame.Angles(math.pi/10,0,math.pi/6),armspeed)
  754. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/10,0,0),armspeed)
  755. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/5),legspeed)
  756. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  757. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(math.pi/5,0,0),speed)
  758. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
  759. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0.2,0),0.2)
  760. Rwait()
  761. end
  762. Rwait()
  763. end
  764. end
  765. if pummel == false then
  766. for i = 1,10 do
  767. lerp(Neck,Neck.C0,NC0,speed)
  768. lerp(WeldLH,WeldLH.C0,WLHC0,legspeed)
  769. lerp(WeldRH,WeldRH.C0,WRHC0,legspeed)
  770. Rwait()
  771. end
  772. LH.Part0 = T
  773. RH.Part0 = T
  774. WeldLH.Parent = nil
  775. WeldRH.Parent = nil
  776. end
  777. deb = false
  778. end
  779.  
  780. function PowerSlash()
  781. for i = 1,20 do
  782. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  783. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.4,0,-0.5) *CFrame.Angles(math.pi/1.2,math.pi/10,-math.pi/4),armspeed)
  784. lerp(WLH,WLH.C0,LHC0,legspeed)
  785. lerp(WRH,WRH.C0,RHC0,legspeed)
  786. lerp(WRJ,WRJ.C0,RJC0,speed)
  787. lerp(Neck,Neck.C0,NC0,speed)
  788. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0.2,0),0.2)
  789. Rwait()
  790. end
  791. for i = 1,30 do
  792. local p = Instance.new("Part",Char)
  793. p.Anchored = true
  794. p.CanCollide = false
  795. p.FormFactor = 3
  796. p.BrickColor = BrickColor.new("Really black")
  797. p.Size = Vector3.new(0.5,0.5,0.5)
  798. p.CFrame = coolpart.CFrame *CFrame.new(math.random(-40,40)/20,0,math.random(-40,40)/20) *CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  799. game.Debris:AddItem(p,0.7)
  800. coroutine.resume(coroutine.create(function()
  801. for i = 0,1.05,0.05 do
  802. p.Transparency = i
  803. p.CFrame = coolpart.CFrame *CFrame.new(math.random(-40,40)/20,0,math.random(-40,40)/20) *CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  804. Rwait()
  805. end
  806. end))
  807. end
  808. for i = 1,20 do
  809. PowerDamage(4,coolpart,math.random(4,18),50,0.45)
  810. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  811. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/30,math.pi/3),armspeed)
  812. lerp(WLH,WLH.C0,LHC0,legspeed)
  813. lerp(WRH,WRH.C0,RHC0,legspeed)
  814. lerp(WRJ,WRJ.C0,RJC0,speed)
  815. lerp(Neck,Neck.C0,NC0,speed)
  816. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0.2,0),0.2)
  817. Rwait()
  818. end
  819. end
  820.  
  821. function LiftSpinwheel()
  822. handleexception = true
  823. for i = 1,20 do
  824. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.4,0,-1) *CFrame.Angles(math.pi/2,0,-math.pi/5),armspeed)
  825. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0.2,0,-0.1) *CFrame.Angles(math.pi/2,0,-math.pi/5),armspeed)
  826. lerp(WLH,WLH.C0,LHC0,legspeed)
  827. lerp(WRH,WRH.C0,RHC0,legspeed)
  828. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  829. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  830. lerp(handleweld,handleweld.C0,hanw *CFrame.new(-1,-1,-0.5) *CFrame.Angles(0,-math.pi/2,math.pi/2),0.2)
  831. Rwait()
  832. end
  833. lifted = false
  834. for i = 1,20 do
  835. LiftDamage(2,coolpart,math.random(16,24))
  836. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.8,1,-1) *CFrame.Angles(math.pi/1.2,math.pi/10,0),armspeed)
  837. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0.2,0,-0.1) *CFrame.Angles(math.pi/1.2,-math.pi/10,-math.pi/10),armspeed)
  838. lerp(WLH,WLH.C0,LHC0,legspeed)
  839. lerp(WRH,WRH.C0,RHC0,legspeed)
  840. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  841. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  842. lerp(handleweld,handleweld.C0,hanw *CFrame.new(-1,-1,-0.5) *CFrame.Angles(0,-math.pi/2,math.pi/2),0.2)
  843. Rwait()
  844. end
  845. print(lifted)
  846. if lifted == true then
  847. BP = Instance.new("BodyPosition",Body.Torso)
  848. BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  849. BP.P = 2e4
  850. BP.Position = Body.Torso.CFrame.p +Vector3.new(0,20,0)
  851. Rwait(50)
  852. PBP = Instance.new("BodyPosition",T)
  853. PBP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  854. PBP.P = 1e6
  855. PBP.Position = Body.Torso.CFrame.p+(Body.Torso.CFrame.lookVector *5)
  856. for i = 1,3 do
  857. for i = 0,1.05,0.05 do
  858. Damage(2,coolpart,math.random(4,8),0,0.2)
  859. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,0.4) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  860. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-2,0,-0.25) *CFrame.Angles(0,math.pi/1.05,math.pi/2),armspeed)
  861. lerp(WLH,WLH.C0,LHC0,legspeed)
  862. lerp(WRH,WRH.C0,RHC0,legspeed)
  863. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,math.pi/2,-math.pi*i*2),speed)
  864. lerp(Neck,Neck.C0,NC0,speed)
  865. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,1.5,0),0.2)
  866. Rwait()
  867. end
  868. PlaySound(Head,1,1.1,Sounds[2])
  869. Rwait()
  870. end
  871. BP:Destroy()
  872. PBP:Destroy()
  873. Body = nil
  874. end
  875. handleexception = false
  876. end
  877.  
  878. function Selected()
  879. click = mouse.Button1Down:connect(function()
  880. if combo == 1 and on == true and enabled == true and Mode == "TwoHanded" then
  881. enabled = false
  882. coroutine.resume(coroutine.create(function()
  883. Rwait(100)
  884. if enabled == true then
  885. combo = 1
  886. end
  887. end))
  888. TwoHandedSlash1()
  889. combo = 2
  890. enabled = true
  891. elseif combo == 1 and on == true and enabled == true and Mode == "OneHanded" then
  892. enabled = false
  893. coroutine.resume(coroutine.create(function()
  894. Rwait(100)
  895. if enabled == true then
  896. combo = 1
  897. end
  898. end))
  899. OneHandedSlash1()
  900. combo = 2
  901. enabled = true
  902. elseif combo == 2 and on == true and enabled == true and Mode == "TwoHanded" then
  903. enabled = false
  904. coroutine.resume(coroutine.create(function()
  905. Rwait(100)
  906. if enabled == true then
  907. combo = 1
  908. end
  909. end))
  910. TwoHandedSlash2()
  911. enabled = true
  912. combo = 3
  913. elseif combo == 2 and on == true and enabled == true and Mode == "OneHanded" then
  914. enabled = false
  915. coroutine.resume(coroutine.create(function()
  916. Rwait(100)
  917. if enabled == true then
  918. combo = 1
  919. end
  920. end))
  921. OneHandedSlash2()
  922. combo = 3
  923. enabled = true
  924. elseif combo == 3 and on == true and enabled == true and Mode == "TwoHanded" then
  925. enabled = false
  926. TwoHandedSlash3()
  927. enabled = true
  928. combo = 1
  929. elseif combo == 3 and on == true and enabled == true and Mode == "OneHanded" then
  930. enabled = false
  931. OneHandedSlash3()
  932. combo = 1
  933. enabled = true
  934. end
  935. end)
  936. keys = mouse.KeyDown:connect(function(key)
  937. key = key:lower()
  938. if enabled == false then return end
  939. if key == "e" then
  940. if Mode == "TwoHanded" then
  941. Mode = "OneHanded"
  942. elseif Mode == "OneHanded" then
  943. Mode = "TwoHanded"
  944. end
  945. end
  946. if key == "f" then
  947. on = not on
  948. if on == false then
  949. for i = 1, 10 do
  950. lerp(WLS,WLS.C0,LSC0,armspeed)
  951. lerp(WRS,WRS.C0,RSC0,armspeed)
  952. lerp(WLH,WLH.C0,LHC0,legspeed)
  953. lerp(WRH,WRH.C0,RHC0,legspeed)
  954. lerp(WRJ,WRJ.C0,RJC0,speed)
  955. lerp(Neck,Neck.C0,NC0,speed)
  956. Rwait()
  957. end
  958. WLS.Parent = nil
  959. WRS.Parent = nil
  960. LSH.Parent = T
  961. RSH.Parent = T
  962. Neck.C0 = saven
  963. end
  964. if on == true then
  965. --EquipAnim()
  966. RJC = RJ:Clone()
  967. LSH = LS:Clone()
  968. RSH = RS:Clone()
  969. Neck.C0 = saven
  970. WLS.Parent = T
  971. WRS.Parent = T
  972. end
  973. end
  974. if key == "z" and on == true and Mode == "TwoHanded" then
  975. enabled = false
  976. Fissure()
  977. enabled = true
  978. wait(0.5)
  979. elseif key == "z" and on == true and Mode == "OneHanded" then
  980. enabled = false
  981. SlamHammer()
  982. enabled = true
  983. end
  984. if key == "x" and on == true and Mode == "TwoHanded" then
  985. enabled = false
  986. DashSpin()
  987. enabled = true
  988. elseif key == "x" and x2enabled == true and on == true and Mode == "OneHanded" then
  989. enabled = false
  990. x2enabled = false
  991. PowerSlash()
  992. enabled = true
  993. wait(5)
  994. x2enabled = true
  995. end
  996. if key == "c" and on == true and Mode == "TwoHanded" then
  997. enabled = false
  998. Pummeler()
  999. enabled = true
  1000. end
  1001. if key == "v" and on == true and Mode == "TwoHanded" then
  1002. enabled = false
  1003. LiftSpinwheel()
  1004. enabled = true
  1005. end
  1006. end)
  1007. end
  1008.  
  1009. function Deselected()
  1010. click:disconnect()
  1011. keys:disconnect()
  1012. end
  1013.  
  1014. hopbin.Selected:connect(Selected)
  1015. hopbin.Deselected:connect(Deselected)
  1016.  
  1017. while true do
  1018. if enabled == true then
  1019. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0,0.2),0.2)
  1020. elseif enabled == false then
  1021. if handleexception == false then
  1022. lerp(handleweld,handleweld.C0,hanw *CFrame.new(0,0,0.2),0.2)
  1023. end
  1024. end
  1025. if on == true then
  1026. angle = (angle % 100) +anglespeed/10
  1027. armangle = (armangle % 100) +armanglespeed/10
  1028. legangle = (legangle % 100) +leganglespeed/10
  1029. if action == "Idle" and enabled == true and Mode == "TwoHanded" then
  1030. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,math.pi/4,0),armspeed)
  1031. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,math.pi/2,0),armspeed)
  1032. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
  1033. lerp(WRH,WRH.C0,RHC0,legspeed)
  1034. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/20,0,0),speed)
  1035. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/20,0,0),speed)
  1036. end
  1037. if action == "Idle" and enabled == true and Mode == "OneHanded" then
  1038. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/10),armspeed)
  1039. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/8),armspeed)
  1040. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/30),legspeed)
  1041. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/30),legspeed)
  1042. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/10),speed)
  1043. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.sin(angle*0.25/2)*0.3/2,0,math.pi/10),speed)
  1044. end
  1045. if action == "Walk" and enabled == true and Mode == "TwoHanded" then
  1046. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,math.pi/4,0),armspeed)
  1047. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,0.05) *CFrame.Angles(math.pi/2,math.pi/2,0),armspeed)
  1048. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
  1049. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
  1050. lerp(WRJ,WRJ.C0,RJC0,speed)
  1051. lerp(Neck,Neck.C0,NC0,speed)
  1052. end
  1053. if action == "Walk" and enabled == true and Mode == "OneHanded" then
  1054. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/40),armspeed)
  1055. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/3.5,math.pi/10),armspeed)
  1056. lerp(WLH,WLH.C0,LHC0,legspeed)
  1057. lerp(WRH,WRH.C0,RHC0,legspeed)
  1058. lerp(WRJ,WRJ.C0,RJC0,speed)
  1059. lerp(Neck,Neck.C0,NC0,speed)
  1060. end
  1061. if HM.Velocity.Y >= 10 and enabled == true and Mode == "TwoHanded" then
  1062. while HM.Velocity.Y >= 10 and enabled == true do
  1063. action = "Jump"
  1064. jumping = true
  1065. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,math.pi/4,0),armspeed)
  1066. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,math.pi/2,0),armspeed)
  1067. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/15),legspeed)
  1068. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
  1069. lerp(WRJ,WRJ.C0,RJC0,speed)
  1070. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  1071. Rwait()
  1072. end
  1073. end
  1074. if HM.Velocity.Y >= 5 and enabled == true and Mode == "OneHanded" then
  1075. while HM.Velocity.Y >= 5 and enabled == true do
  1076. action = "Jump"
  1077. jumping = true
  1078. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/40),armspeed)
  1079. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/3.5,math.pi/10),armspeed)
  1080. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/15),legspeed)
  1081. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
  1082. lerp(WRJ,WRJ.C0,RJC0,speed)
  1083. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  1084. Rwait()
  1085. end
  1086. end
  1087. if HM.Velocity.Y <= -5 and enabled == true and Mode == "TwoHanded" then
  1088. while HM.Velocity.Y <= -5 and enabled == true do
  1089. action = "Fall"
  1090. falling = true
  1091. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,math.pi/4,0),armspeed)
  1092. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,math.pi/2,0),armspeed)
  1093. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
  1094. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/3),legspeed)
  1095. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/8,0,0),speed)
  1096. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/8,0,0),speed)
  1097. Rwait()
  1098. end
  1099. end
  1100. if HM.Velocity.Y <= -5 and enabled == true and Mode == "OneHanded" then
  1101. while HM.Velocity.Y <= -5 and enabled == true do
  1102. action = "Fall"
  1103. falling = true
  1104. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/40),armspeed)
  1105. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/3.5,math.pi/10),armspeed)
  1106. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
  1107. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/3),legspeed)
  1108. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/8,0,0),speed)
  1109. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/8,0,0),speed)
  1110. Rwait()
  1111. end
  1112. end
  1113. if Vector3.new(T.Velocity.X,0,T.Velocity.Z).magnitude <= 2 then
  1114. action = "Idle"
  1115. elseif Vector3.new(T.Velocity.X,0,T.Velocity.Z).magnitude <= 20 then
  1116. action = "Walk"
  1117. end
  1118. end
  1119. Rwait()
  1120. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement