yoinkydoodlewastaken

re

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