Advertisement
marioisdabomb

Untitled

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