Dark_EccentricYT

Untitled

May 9th, 2017
14,143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 38.66 KB | None | 0 0
  1. wait(1) --remove if you're using it in-game
  2. local function lerp(weld,beglerp,endlerp,speed)
  3. weld.C0 = beglerp:lerp(endlerp,speed)
  4. return weld.C0
  5. end
  6.  
  7. local speed = 0.2
  8. local angle = 0
  9. local anglespeed = 2
  10. local armspeed = 0.2
  11. local armangle = 0
  12. local armanglespeed = 2
  13. local legspeed = 0.2
  14. local legangle = 0
  15. local leganglespeed = 2
  16. local idle = 0
  17. local on = true
  18. local damen = false
  19. local enabled = true
  20. local buff = false
  21. local zenabled = 0
  22. local xenabled = 0
  23. local cenabled = 0
  24. local venabled = 0
  25. local eenabled = 0
  26. local Debounce = {}
  27. local TakeDamage = false
  28. local combo = 1
  29. local Player = game.Players.LocalPlayer
  30. local mouse = Player:GetMouse()
  31. local Char = Player.Character
  32. if Char:FindFirstChild("Shirt") ~= nil then
  33. Char.Shirt:Destroy()
  34. Instance.new("Shirt",Char).ShirtTemplate = "http://www.roblox.com/asset/?id=4609119"
  35. end
  36. if Char:FindFirstChild("Pants") ~= nil then
  37. Char.Pants:Destroy()
  38. Instance.new("Pants",Char).PantsTemplate = "http://www.roblox.com/asset/?id=4609244"
  39. end
  40. local Human = Char.Humanoid
  41. Human.MaxHealth = 500
  42. wait(0.1)
  43. Human.Health = Human.MaxHealth
  44. local Sounds = {"rbxassetid://588693156","rbxassetid://588693579","rbxassetid://588735023","rbxassetid://588737825","rbxassetid://163619849","rbxassetid://240517975","rbxassetid://233856154","rbxassetid://401057781","rbxassetid://401057825","rbxassetid://401057895","rbxassetid://199149186","rbxassetid://199149269"}
  45. local Head = Char.Head
  46. local LA = Char:findFirstChild("Left Arm")
  47. local RA = Char:findFirstChild("Right Arm")
  48. local LL = Char:findFirstChild("Left Leg")
  49. local RL = Char:findFirstChild("Right Leg")
  50. local T = Char:findFirstChild("Torso")
  51. local LS = T:findFirstChild("Left Shoulder")
  52. local RS = T:findFirstChild("Right Shoulder")
  53. local LH = T:findFirstChild("Left Hip")
  54. local RH = T:findFirstChild("Right Hip")
  55. local Neck = T:findFirstChild("Neck")
  56. local HM = Char:findFirstChild("HumanoidRootPart")
  57. local RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  58. local WLS = Instance.new("Motor", T)
  59. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  60. WLS.C1 = CFrame.new(0, 0.5, 0)
  61. WLS.Part0 = T
  62. WLS.Part1 = LA
  63. local WRS = Instance.new("Motor", T)
  64. WRS.Part0 = T
  65. WRS.Part1 = RA
  66. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  67. WRS.C1 = CFrame.new(0, 0.5, 0)
  68. local WLH = LH
  69. local WRH = RH
  70. local LSC0 = WLS.C0
  71. local RSC0 = WRS.C0
  72. local LHC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  73. local LHC1 = CFrame.new(-0.5, 1 ,0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  74. local RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  75. local RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  76. local WRJ = RJ
  77. local RJC0 = WRJ.C0
  78. local RJC1 = WRJ.C1
  79. local NC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  80. local Run = game:GetService("RunService")
  81. local noweightprop = PhysicalProperties.new(0,0.3,0.5,0,0) --apply to parts you add by doing part.CustomPhysicalProperties = noweightprop
  82. local Machete = Instance.new("Part",Char)
  83. Machete.CanCollide = false
  84. Machete.Locked = true
  85. Machete.TopSurface = 10
  86. Machete.BottomSurface = 10
  87. Machete.CustomPhysicalProperties = noweightprop
  88. Machete.FormFactor = 3
  89. Machete.Size = Vector3.new(0.5,2,0.5)
  90. local MacheteMesh = Instance.new("SpecialMesh",Machete)
  91. MacheteMesh.Scale = Vector3.new(1,0.5,0.4)
  92. MacheteMesh.MeshId = "http://www.roblox.com/asset/?id=123248347"
  93. MacheteMesh.TextureId = "http://www.roblox.com/asset/?id=123248449"
  94. local MacheteWeld = Instance.new("Motor",Machete)
  95. MacheteWeld.Part0 = RA
  96. MacheteWeld.Part1 = Machete
  97. MacheteWeld.C0 = CFrame.new(0,-1.15,-1.8) *CFrame.Angles(-math.pi/2,0,0)
  98. local HW = MacheteWeld
  99. local hc0 = HW.C0
  100. local Mask = Instance.new("Part",Char)
  101. Mask.CanCollide = false
  102. Mask.Locked = true
  103. Mask.TopSurface = 10
  104. Mask.BottomSurface = 10
  105. Mask.FormFactor = 3
  106. Mask.Size = Vector3.new(1,1,1)
  107. local MaskMesh = Instance.new("SpecialMesh",Mask)
  108. MaskMesh.Scale = Vector3.new(0.125,0.125,0.125)
  109. MaskMesh.MeshId = "http://www.roblox.com/asset/?id=5158270"
  110. MaskMesh.TextureId = "http://www.roblox.com/asset/?id=5158267"
  111. local MaskWeld = Instance.new("Weld",Head)
  112. MaskWeld.Part0 = Head
  113. MaskWeld.Part1 = Mask
  114. MaskWeld.C0 = CFrame.new(0,0.075,-0.65) *CFrame.Angles(-math.pi/2,0,0)
  115.  
  116. Anim = Char:FindFirstChild("Animate")
  117. if Anim ~= nil then
  118. Anim.Parent = nil
  119. end
  120. Animate = Human:FindFirstChild("Animator")
  121. if Animate ~= nil then
  122. Animate.Parent = nil
  123. end
  124.  
  125. local gui = Instance.new("ScreenGui",Player.PlayerGui)
  126. local skill1 = Instance.new("TextLabel",gui)
  127. skill1.Size = UDim2.new(0,150,0,50)
  128. skill1.Position = UDim2.new(0.75,0,0.75,0)
  129. skill1.Text = ""
  130. skill1.TextWrapped = true
  131. skill1.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  132. local skill1text = Instance.new("TextLabel",gui)
  133. skill1text.Size = UDim2.new(0,150,0,50)
  134. skill1text.Position = UDim2.new(0.75,0,0.75,0)
  135. skill1text.TextColor3 = Color3.new(1,1,1)
  136. skill1text.BackgroundTransparency = 1
  137. skill1text.Text = "[Z] \n Machete Toss"
  138. skill1text.TextWrapped = true
  139. skill1text.TextScaled = true
  140. skill1text.Font = "Antique"
  141. skill1text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  142. skill1img = Instance.new("ImageLabel",skill1)
  143. skill1img.Size = UDim2.new(0,0,1,0)
  144. skill1img.Image = "rbxassetid://48965808"
  145. skill1img.BackgroundColor3 = BrickColor.new("Crimson").Color
  146. local skill2 = Instance.new("TextLabel",gui)
  147. skill2.Size = UDim2.new(0,150,0,50)
  148. skill2.Position = UDim2.new(0.875,0,0.75,0)
  149. skill2.Text = ""
  150. skill2.TextWrapped = true
  151. skill2.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  152. local skill2text = Instance.new("TextLabel",gui)
  153. skill2text.Size = UDim2.new(0,150,0,50)
  154. skill2text.Position = UDim2.new(0.875,0,0.75,0)
  155. skill2text.TextColor3 = Color3.new(1,1,1)
  156. skill2text.BackgroundTransparency = 1
  157. skill2text.Text = "[X] \n Machete Combo"
  158. skill2text.TextWrapped = true
  159. skill2text.TextScaled = true
  160. skill2text.Font = "Antique"
  161. skill2text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  162. skill2img = Instance.new("ImageLabel",skill2)
  163. skill2img.Size = UDim2.new(0,0,1,0)
  164. skill2img.Image = "rbxassetid://48965808"
  165. skill2img.BackgroundColor3 = BrickColor.new("Crimson").Color
  166. local skill3 = Instance.new("TextLabel",gui)
  167. skill3.Size = UDim2.new(0,150,0,50)
  168. skill3.Position = UDim2.new(0.75,0,0.85,0)
  169. skill3.Text = ""
  170. skill3.TextWrapped = true
  171. skill3.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  172. local skill3text = Instance.new("TextLabel",gui)
  173. skill3text.Size = UDim2.new(0,150,0,50)
  174. skill3text.Position = UDim2.new(0.75,0,0.85,0)
  175. skill3text.TextColor3 = Color3.new(1,1,1)
  176. skill3text.BackgroundTransparency = 1
  177. skill3text.Text = "[C] \n Choke"
  178. skill3text.TextWrapped = true
  179. skill3text.TextScaled = true
  180. skill3text.Font = "Antique"
  181. skill3text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  182. skill3img = Instance.new("ImageLabel",skill3)
  183. skill3img.Size = UDim2.new(0,0,1,0)
  184. skill3img.Image = "rbxassetid://48965808"
  185. skill3img.BackgroundColor3 = BrickColor.new("Crimson").Color
  186. local skill4 = Instance.new("TextLabel",gui)
  187. skill4.Size = UDim2.new(0,150,0,50)
  188. skill4.Position = UDim2.new(0.875,0,0.85,0)
  189. skill4.Text = ""
  190. skill4.TextWrapped = true
  191. skill4.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  192. local skill4text = Instance.new("TextLabel",gui)
  193. skill4text.Size = UDim2.new(0,150,0,50)
  194. skill4text.Position = UDim2.new(0.875,0,0.85,0)
  195. skill4text.TextColor3 = Color3.new(1,1,1)
  196. skill4text.BackgroundTransparency = 1
  197. skill4text.Text = "[V] \n Guts Spill"
  198. skill4text.TextWrapped = true
  199. skill4text.TextScaled = true
  200. skill4text.Font = "Antique"
  201. skill4text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  202. skill4img = Instance.new("ImageLabel",skill4)
  203. skill4img.Size = UDim2.new(0,0,1,0)
  204. skill4img.Image = "rbxassetid://48965808"
  205. skill4img.BackgroundColor3 = BrickColor.new("Crimson").Color
  206. local skill5 = Instance.new("TextLabel",gui)
  207. skill5.Size = UDim2.new(0,150,0,50)
  208. skill5.Position = UDim2.new(0.8125,0,0.65,0)
  209. skill5.Text = ""
  210. skill5.TextWrapped = true
  211. skill5.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  212. local skill5text = Instance.new("TextLabel",gui)
  213. skill5text.Size = UDim2.new(0,150,0,50)
  214. skill5text.Position = UDim2.new(0.8125,0,0.65,0)
  215. skill5text.TextColor3 = Color3.new(1,1,1)
  216. skill5text.BackgroundTransparency = 1
  217. skill5text.Text = "[E] \n Killing Machine"
  218. skill5text.TextWrapped = true
  219. skill5text.TextScaled = true
  220. skill5text.Font = "Antique"
  221. skill5text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
  222. skill5img = Instance.new("ImageLabel",skill5)
  223. skill5img.Size = UDim2.new(0,0,1,0)
  224. skill5img.Image = "rbxassetid://48965808"
  225. skill5img.BackgroundColor3 = BrickColor.new("Crimson").Color
  226.  
  227. local Meshes={
  228. Blast="20329976",
  229. Crown="1323306",
  230. Ring="3270017",
  231. Claw="10681506",
  232. Crystal="9756362",
  233. Coil="9753878",
  234. Cloud="1095708",
  235. Skull="4770583",
  236. SpinyShell="1080954",
  237. }
  238.  
  239. local function nooutlines(part)
  240. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  241. end
  242.  
  243. local function getmesh(mesh)
  244. return "rbxassetid://"..mesh
  245. end
  246.  
  247. --[[
  248. Might look confusing, but it isn't really.
  249.  
  250. Example:
  251. effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
  252. --]]
  253.  
  254. ArtificialHB = Instance.new("BindableEvent", script)
  255. ArtificialHB.Name = "Heartbeat"
  256.  
  257. script:WaitForChild("Heartbeat")
  258.  
  259. frame = 1 / 60
  260. tf = 0
  261. allowframeloss = false
  262. tossremainder = false
  263. lastframe = tick()
  264. script.Heartbeat:Fire()
  265.  
  266. game:GetService("RunService").Heartbeat:connect(function(s, p)
  267. tf = tf + s
  268. if tf >= frame then
  269. if allowframeloss then
  270. script.Heartbeat:Fire()
  271. lastframe = tick()
  272. else
  273. for i = 1, math.floor(tf / frame) do
  274. script.Heartbeat:Fire()
  275. end
  276. lastframe = tick()
  277. end
  278. if tossremainder then
  279. tf = 0
  280. else
  281. tf = tf - frame * math.floor(tf / frame)
  282. end
  283. end
  284. end)
  285.  
  286. local function Rwait(num)
  287. if num == 0 or num == nil then
  288. ArtificialHB.Event:wait()
  289. else
  290. for i = 0, num do
  291. ArtificialHB.Event:wait()
  292. end
  293. end
  294. end
  295.  
  296. local function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
  297. local p = Instance.new("Part", part or workspace)
  298. p.Anchored = true
  299. p.CanCollide = false
  300. p.FormFactor = Enum.FormFactor.Custom
  301. p.Material = "SmoothPlastic"
  302. p.CFrame = cframe
  303. p.BrickColor = brickcolor
  304. p.Size = Vector3.new(1,1,1)
  305. p.Transparency = trans
  306. nooutlines(p)
  307. local m = Instance.new("SpecialMesh",p)
  308. if meshtype ~= nil and meshid == nil then
  309. m.MeshType = meshtype
  310. end
  311. if meshtype == nil and meshid ~= nil then
  312. m.MeshId = getmesh(meshid)
  313. end
  314. m.Scale = size
  315. coroutine.wrap(function()
  316. for i = 0,loopwait,0.1 do
  317. p.CFrame = p.CFrame
  318. p.Transparency = p.Transparency +transincrement
  319. m.Scale = m.Scale + scaleby
  320. Rwait()
  321. end
  322. p:Destroy()
  323. end)()
  324. return p
  325. end
  326.  
  327. local PlaySound = function(part,volume,pitch,id,looped)
  328. local Sound = Instance.new("Sound", part)
  329. Sound.SoundId = id
  330. Sound.Pitch = pitch
  331. Sound.Volume = volume
  332. coroutine.wrap(function()
  333. wait()
  334. Sound:Play()
  335. if looped == nil then
  336. game.Debris:AddItem(Sound,10)
  337. end
  338. end)()
  339. if looped == true then
  340. Sound.Looped = true
  341. end
  342. return Sound
  343. end
  344.  
  345. local ShowDmg = function(totake)
  346. local modl = Instance.new("Model", workspace)
  347. modl.Name = tostring(totake)
  348. local prt = Instance.new("Part", modl)
  349. prt.CanCollide = false
  350. prt.BrickColor = BrickColor.Red()
  351. prt.Name = "Head"
  352. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  353. prt.TopSurface = 0
  354. prt.BottomSurface = 0
  355. prt.FormFactor = 3
  356. prt.Size = Vector3.new(1, 0.2, 1)
  357. local bm = Instance.new("BlockMesh", prt)
  358. local hum = Instance.new("Humanoid", modl)
  359. hum.Health = 0
  360. hum.MaxHealth = 0
  361. hum.WalkSpeed = 0
  362. bodypos = Instance.new("BodyPosition", prt)
  363. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  364. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  365. game.Debris:AddItem(modl, 1)
  366. coroutine.resume(coroutine.create(function()
  367. for i = 1, 3 do
  368. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  369. Rwait()
  370. end
  371. end))
  372. end
  373.  
  374. local function ChargeAt(Strength)
  375. local BV = Instance.new("BodyVelocity",HM)
  376. BV.maxForce = Vector3.new(1e5,0,1e5)
  377. BV.velocity = HM.CFrame.lookVector *Strength
  378. game.Debris:AddItem(BV,0.1)
  379. end
  380.  
  381. local function Damage(hit,mm,knockback,knockbackvelocity)
  382. if hit ~= nil and damen == true and hit.Parent ~= Char then
  383. local hum = GetHumanoid(hit.Parent)
  384. if hum ~= nil then
  385. if TakeDamage == true then
  386. if buff == false then
  387. hum:TakeDamage(mm)
  388. spawn(function()
  389. ShowDmg(mm)
  390. end)
  391. elseif buff == true then
  392. hum:TakeDamage(mm*2)
  393. spawn(function()
  394. ShowDmg(mm*2)
  395. end)
  396. end
  397. elseif TakeDamage == false then
  398. if buff == false then
  399. hum.Health = hum.Health - mm
  400. spawn(function()
  401. ShowDmg(mm)
  402. end)
  403. elseif buff == true then
  404. hum.Health = hum.Health - mm*2
  405. spawn(function()
  406. ShowDmg(mm)
  407. end)
  408. end
  409. end
  410. PlaySound(hum.Torso,1,1,Sounds[math.random(8,12)])
  411. if knockback ~= nil and knockback ~= 0 then
  412. if knockbackvelocity == nil then
  413. local v = Instance.new("BodyVelocity",hum.Torso)
  414. v.maxForce = Vector3.new(1e5,1e5,1e5)
  415. v.P = 1e20
  416. v.velocity = HM.CFrame.lookVector *knockback
  417. game.Debris:AddItem(v,0.3)
  418. else
  419. local v = Instance.new("BodyVelocity",hum.Torso)
  420. v.maxForce = Vector3.new(1e5,1e5,1e5)
  421. v.P = 1e20
  422. v.velocity = knockbackvelocity *knockback
  423. game.Debris:AddItem(v,0.3)
  424. end
  425. end
  426. end
  427. damen = false
  428. end
  429. end
  430.  
  431. local function GetDistance(Obj,Mag)
  432. local Bodies = {}
  433. local hum
  434. for _,v in pairs(workspace:GetChildren()) do
  435. if v ~= Char then
  436. hum = GetHumanoid(v)
  437. if hum ~= nil and hum.Torso ~= nil then
  438. local Mag2 = (hum.Torso.Position - Obj.Position).magnitude
  439. if Mag2 < Mag then
  440. Bodies[#Bodies + 1] = v
  441. end
  442. end
  443. end
  444. end
  445. return Bodies,hum
  446. end
  447.  
  448. --darkus stuff
  449.  
  450. function GetHumanoid(Character)
  451.  
  452. assert(Character, 'bad argument #1 to Character (Model expected, got nil)')
  453.  
  454. local hum
  455.  
  456. if Character == Char then return end
  457.  
  458. if Character.ClassName == "Hat" or Character.ClassName == "Accessory" then
  459. for q,e in next, Character.Parent:children() do
  460. if e:isA'Humanoid' then
  461. hum = e
  462. end
  463. if e:isA'ForceField' then
  464. return
  465. end
  466. end
  467. else
  468. for q,e in next, Character:children() do
  469. if e:isA'Humanoid' then
  470. hum = e
  471. end
  472. if e:isA'ForceField' then
  473. return
  474. end
  475. end
  476. end
  477. return hum
  478. end
  479.  
  480. function GetNear(Object, Distance)
  481.  
  482. assert(Object, 'bad argument #1 to Object (Model expected, got nil)')
  483.  
  484. local Distance = (Distance and Distance or 25)
  485. local rtn = {}
  486.  
  487. for q,e in next, workspace:children() do
  488. local Hum = e:FindFirstChild'Humanoid'
  489. if Hum ~= nil then
  490. Tor = Hum.Torso
  491. end
  492. if Tor ~= nil then
  493. local dist = (Object.Position-Tor.Position).magnitude
  494. if dist <= Distance then
  495. rtn[#rtn+1] = e
  496. end
  497. end
  498. end
  499. return rtn
  500. end
  501.  
  502. local function DamageNear(Distance, Part, Damage, Knockback, DebounceTime, KnockbackVelocity)
  503. if damen == false then return end
  504. assert(Part, 'bad argument #2 to Part (Part expected, got nil)')
  505. assert(Part:isA'BasePart', ('bad argument #2 to Part (Part expected, got %s)'):format(Part.ClassName))
  506.  
  507. if DebounceTime == 0 or DebounceTime == nil then
  508. DebounceTime = 0.5
  509. end
  510.  
  511. local Distance = (Distance and Distance or 25)
  512. local Noobs = GetNear(Part, Distance)
  513.  
  514. for nild, Character in next, Noobs do
  515.  
  516. local Human = GetHumanoid(Character)
  517. if Human and not Debounce[Character] then
  518. -- no clue why they were using spawn but ok...
  519.  
  520. Debounce[Character] = true
  521.  
  522. if TakeDamage then
  523. if buff == false then
  524. Human:TakeDamage(mm)
  525. spawn(function()
  526. ShowDmg(mm)
  527. end)
  528. elseif buff == true then
  529. Human:TakeDamage(Damage)
  530. spawn(function()
  531. ShowDmg(Damage*2)
  532. end)
  533. end
  534. else
  535. if buff == false then
  536. Human.Health = Human.Health - Damage
  537. spawn(function()
  538. ShowDmg(Damage)
  539. end)
  540. elseif buff == true then
  541. Human:TakeDamage(Damage*2)
  542. spawn(function()
  543. ShowDmg(Damage*2)
  544. end)
  545. end
  546. end
  547. PlaySound(Human.Torso,1,1,Sounds[math.random(8,12)])
  548. if Knockback then
  549. if KnockbackVelocity == nil then
  550. local v = Instance.new("BodyVelocity", Human.Torso)
  551. v.maxForce = Vector3.new(1e5,1e5,1e5)
  552. v.P = 1e20
  553. v.velocity = HM.CFrame.lookVector * Knockback
  554. spawn(function()
  555. game:service'Debris':AddItem(v,0.3)
  556. end)
  557. else
  558. local v = Instance.new("BodyVelocity", Human.Torso)
  559. v.maxForce = Vector3.new(1e5,1e5,1e5)
  560. v.P = 1e20
  561. v.velocity = KnockbackVelocity * Knockback
  562. spawn(function()
  563. game:service'Debris':AddItem(v,0.3)
  564. end)
  565. end
  566. end
  567.  
  568. coroutine.wrap(function()--spawn(function()
  569. wait(DebounceTime)
  570. Debounce[Character] = nil
  571. end)()--end)
  572.  
  573. end
  574. end
  575.  
  576. return
  577. end
  578. --
  579.  
  580. local function Slash1()
  581. for i = 1,11 do
  582. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  583. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.05,0,math.pi/10),armspeed)
  584. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  585. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  586. lerp(HW,HW.C0,hc0,speed)
  587. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  588. lerp(WLH,WLH.C0,LHC0,legspeed)
  589. lerp(WRH,WRH.C0,RHC0,legspeed)
  590. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  591. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  592. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  593. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  594. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.3*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  595. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.3*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  596. end
  597. Rwait()
  598. end
  599. damen = true
  600. PlaySound(Machete,1,0.6,Sounds[1])
  601. for i = 1,14 do
  602. DamageNear(4,Machete,math.random(7,14),5)
  603. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  604. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/20,0,-math.pi/10),armspeed)
  605. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/5),speed)
  606. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  607. lerp(HW,HW.C0,hc0,speed)
  608. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  609. lerp(WLH,WLH.C0,LHC0,legspeed)
  610. lerp(WRH,WRH.C0,RHC0,legspeed)
  611. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  612. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  613. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  614. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  615. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.3*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  616. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.3*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  617. end
  618. Rwait()
  619. end
  620. damen = false
  621. end
  622.  
  623. local function Kick2()
  624. local walkspeed = Human.WalkSpeed
  625. Human.WalkSpeed = 0
  626. for i = 1,11 do
  627. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  628. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/10,0,0),armspeed)
  629. lerp(WLH,WLH.C0,LHC0,legspeed)
  630. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.3,0.5,0) *CFrame.Angles(0,0,math.pi/10),legspeed)
  631. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  632. lerp(Neck,Neck.C0,NC0,speed)
  633. lerp(HW,HW.C0,hc0,speed)
  634. Rwait()
  635. end
  636. damen = true
  637. PlaySound(Machete,1,0.6,"rbxassetid://200632211")
  638. ChargeAt(50)
  639. for i = 1,10 do
  640. DamageNear(3,RL,math.random(7,14),15)
  641. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  642. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/10,0,0),armspeed)
  643. lerp(WLH,WLH.C0,LHC0,legspeed)
  644. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.3,0,0) *CFrame.Angles(0,0,math.pi/2),legspeed)
  645. lerp(WRJ,WRJ.C0,RJC0,speed)
  646. lerp(Neck,Neck.C0,NC0,speed)
  647. lerp(HW,HW.C0,hc0,speed)
  648. Rwait()
  649. end
  650. Human.WalkSpeed = walkspeed
  651. damen = false
  652. end
  653.  
  654. local function BackSlash3()
  655. local walkspeed = Human.WalkSpeed
  656. for i = 1,11 do
  657. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  658. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/5,math.pi/2),armspeed)
  659. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/1.005),speed)
  660. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  661. lerp(HW,HW.C0,hc0,speed)
  662. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  663. lerp(WLH,WLH.C0,LHC0,legspeed)
  664. lerp(WRH,WRH.C0,RHC0,legspeed)
  665. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  666. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  667. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  668. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  669. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.3*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  670. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.3*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  671. end
  672. Rwait()
  673. end
  674. damen = true
  675. PlaySound(Machete,1,0.8,Sounds[1])
  676. ChargeAt(45)
  677. Human.WalkSpeed = 0
  678. for i = 1,14 do
  679. DamageNear(4,Machete,math.random(7,14),5)
  680. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed*1.5)
  681. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/30,math.pi/2),armspeed*1.5)
  682. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/8),legspeed)
  683. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.3,0,0),legspeed)
  684. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/5),speed*1.5)
  685. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed*1.5)
  686. lerp(HW,HW.C0,hc0,speed*1.5)
  687. Rwait()
  688. end
  689. Human.WalkSpeed = walkspeed
  690. damen = false
  691. end
  692.  
  693. local function MacheteToss()
  694. damen = true
  695. local walkspeed = Human.WalkSpeed
  696. Human.WalkSpeed = 0
  697. for i = 1,20 do
  698. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-1) *CFrame.Angles(math.pi/1.4,0,math.pi/4),armspeed)
  699. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-1) *CFrame.Angles(math.pi/1.4,0,-math.pi/4),armspeed)
  700. lerp(WLH,WLH.C0,LHC0,legspeed)
  701. lerp(WRH,WRH.C0,RHC0,legspeed)
  702. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(-math.pi/7.5,0,0),speed)
  703. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/10,0,0),speed)
  704. lerp(HW,HW.C0,hc0,speed)
  705. Rwait()
  706. end
  707. HW.Part0 = HM
  708. HW.C0 = CFrame.new()
  709. for i = 1,40 do
  710. DamageNear(4,Machete,math.random(7,14),15)
  711. if i % 4 == 0 then
  712. PlaySound(Machete,1,0.75,Sounds[2])
  713. end
  714. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-1) *CFrame.Angles(math.pi/2,0,math.pi/4),armspeed)
  715. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-1) *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
  716. lerp(WLH,WLH.C0,LHC0,legspeed)
  717. lerp(WRH,WRH.C0,RHC0,legspeed)
  718. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(math.pi/7.5,0,0),speed)
  719. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/10,0,0),speed)
  720. lerp(HW,HW.C0,hc0 *CFrame.new(0,1+i,0) *CFrame.Angles(-i,0,0),speed)
  721. Rwait()
  722. end
  723. for i = 40,0,-1 do
  724. DamageNear(4,Machete,math.random(7,14),15)
  725. if i % 4 == 0 then
  726. PlaySound(Machete,1,0.75,Sounds[2])
  727. end
  728. lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-1) *CFrame.Angles(math.pi/2,0,math.pi/4),armspeed)
  729. lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-1) *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
  730. lerp(WLH,WLH.C0,LHC0,legspeed)
  731. lerp(WRH,WRH.C0,RHC0,legspeed)
  732. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(math.pi/7.5,0,0),speed)
  733. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/10,0,0),speed)
  734. lerp(HW,HW.C0,hc0 *CFrame.new(0,1+i,0) *CFrame.Angles(-i,0,0),speed)
  735. Rwait()
  736. end
  737. HW.Part0 = RA
  738. HW.C0 = hc0
  739. Human.WalkSpeed = walkspeed
  740. damen = false
  741. end
  742.  
  743. local function KillingMachine()
  744. PlaySound(Head,1,0.8,Sounds[3])
  745. local walkspeed = Human.WalkSpeed
  746. Human.WalkSpeed = 0
  747. buff = true
  748. for i = 1,20 do
  749. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/2),armspeed)
  750. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/2),armspeed)
  751. lerp(WLH,WLH.C0,LHC0,legspeed)
  752. lerp(WRH,WRH.C0,RHC0,legspeed)
  753. lerp(WRJ,WRJ.C0,RJC0,speed)
  754. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/8,0,0),speed)
  755. lerp(HW,HW.C0,hc0,speed)
  756. Rwait()
  757. end
  758. local bufffire = Instance.new("Fire",HM)
  759. bufffire.Color = BrickColor.new("New Yeller").Color
  760. bufffire.Size = 10
  761. Human.WalkSpeed = walkspeed
  762. spawn(function()
  763. Rwait(1000)
  764. buff = false
  765. bufffire:Destroy()
  766. effect(HM,BrickColor.new("Black"),Vector3.new(4,4,4),HM.CFrame,0,0.1,Vector3.new(-0.1,-0.1,-0.1),3,nil,"Sphere")
  767. PlaySound(Head,1,0.7,Sounds[4])
  768. end)
  769. end
  770.  
  771. local choking = false
  772.  
  773. local function Choke(hit)
  774. choking = true
  775. local beforeprop = hit.Parent.Humanoid.Torso.CustomPhysicalProperties
  776. for i = 1,40 do
  777. for i,v in pairs(hit.Parent:GetChildren()) do
  778. if v.ClassName == "Part" then
  779. v.CustomPhysicalProperties = noweightprop
  780. end
  781. end
  782. hit.Parent.Humanoid.PlatformStand = true
  783. hit.Parent.Humanoid:ChangeState(1)
  784. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.1,0,-math.pi/3),armspeed/2)
  785. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed/2)
  786. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/2),speed/2)
  787. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed/2)
  788. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  789. lerp(WLH,WLH.C0,LHC0,legspeed)
  790. lerp(WRH,WRH.C0,RHC0,legspeed)
  791. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  792. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  793. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  794. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  795. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.3*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  796. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.3*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  797. end
  798. Rwait()
  799. end
  800. for i = 1,30 do
  801. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2.4,0,0),armspeed)
  802. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed)
  803. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/2.4),legspeed)
  804. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/2.4),legspeed)
  805. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.6) *CFrame.Angles(math.pi/2.4,0,0),speed)
  806. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  807. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  808. lerp(WLH,WLH.C0,LHC0,legspeed)
  809. lerp(WRH,WRH.C0,RHC0,legspeed)
  810. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  811. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  812. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  813. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  814. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.3*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  815. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.3*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  816. end
  817. Rwait()
  818. end
  819. Human:ChangeState(2)
  820. for i,v in pairs(hit.Parent:GetChildren()) do
  821. if v.ClassName == "Part" then
  822. v.CustomPhysicalProperties = beforeprop
  823. end
  824. end
  825. Damage(hit,math.random(18,28))
  826. hit.Parent.Humanoid.PlatformStand = false
  827. grabweld:Destroy()
  828. local ok = effect(hit.Parent.Torso,BrickColor.White(),Vector3.new(),hit.Parent.Torso.CFrame *CFrame.Angles(-math.pi/2,0,0),0,0.1,Vector3.new(1,1,1),3,Meshes.Blast,nil)
  829. PlaySound(ok,1,0.6,"rbxassetid://174295284")
  830. choking = false
  831. damen = false
  832. enabled = true
  833. end
  834.  
  835. local function GrabChoke()
  836. damen = true
  837. PlaySound(Claw,1,0.7,Sounds[2])
  838. local dmgbx = LA.Touched:connect(function(hit) if choking == false and hit.Parent ~= nil and hit.Parent:FindFirstChild("Humanoid").Health >= 0 and hit.Parent:FindFirstChild("HumanoidRootPart") ~= nil then grabweld = Instance.new("Weld",T) grabweld.Part0 = LA grabweld.Part1 = hit.Parent.Torso grabweld.C0 = CFrame.new(0,-1.5,0) grabweld.C0 = grabweld.C0 *CFrame.Angles(-math.pi/2,math.pi,0) choking = true print(hit,grabweld,damen) Choke(hit) end end)
  839. for i = 1,100 do
  840. if choking == true then break end
  841. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/5),armspeed)
  842. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed)
  843. lerp(WLH,WLH.C0,LHC0,legspeed)
  844. lerp(WRH,WRH.C0,RHC0,legspeed)
  845. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  846. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  847. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 2 then
  848. lerp(WLH,WLH.C0,LHC0,legspeed)
  849. lerp(WRH,WRH.C0,RHC0,legspeed)
  850. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  851. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  852. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  853. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  854. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.3*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  855. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.3*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  856. end
  857. Rwait()
  858. end
  859. if choking == false then
  860. damen = false
  861. enabled = true
  862. end
  863. dmgbx:disconnect()
  864. end
  865.  
  866. local click = mouse.Button1Down:connect(function()
  867. if on == false then return end
  868. if enabled == false then return end
  869. if combo == 1 and enabled == true then
  870. enabled = false
  871. Slash1()
  872. enabled = true
  873. combo = 2
  874. coroutine.wrap(function()
  875. Rwait(400)
  876. if combo ~= 1 and enabled == true then
  877. combo = 1
  878. end
  879. end)()
  880. elseif combo == 2 and enabled == true then
  881. enabled = false
  882. Kick2()
  883. enabled = true
  884. combo = 3
  885. coroutine.wrap(function()
  886. Rwait(400)
  887. if combo ~= 1 and enabled == true then
  888. combo = 1
  889. end
  890. end)()
  891. elseif combo == 3 and enabled == true then
  892. enabled = false
  893. BackSlash3()
  894. enabled = true
  895. combo = 1
  896. end
  897. end)
  898.  
  899. local canlaugh = true
  900.  
  901. local keys = mouse.KeyDown:connect(function(key)
  902. key = key:lower()
  903. if enabled == false then return end
  904. if key == "q" and on == true and enabled == true then
  905. idle = 500
  906. end
  907. if key == "h" and on == true and enabled == true then
  908. if canlaugh == true then
  909. canlaugh = false
  910. PlaySound(Head,3,0.85,"rbxassetid://504011121")
  911. Rwait(300)
  912. canlaugh = true
  913. end
  914. end
  915. if key == "z" and on == true and enabled == true and zenabled == 1 then
  916. zenabled = 0
  917. enabled = false
  918. MacheteToss()
  919. enabled = true
  920. elseif key == "x" and on == true and enabled == true and xenabled == 1 then
  921. xenabled = 0
  922. enabled = false
  923. --MacheteCombo()
  924. enabled = true
  925. elseif key == "c" and on == true and enabled == true and cenabled == 1 then
  926. cenabled = 0
  927. enabled = false
  928. GrabChoke()
  929. elseif key == "v" and on == true and enabled == true and venabled == 1 then
  930. venabled = 0
  931. enabled = false
  932. --GutsSpill()
  933. enabled = true
  934. elseif key == "e" and on == true and enabled == true and eenabled == 1 then
  935. eenabled = 0
  936. enabled = false
  937. buff = true
  938. KillingMachine()
  939. enabled = true
  940. elseif key == string.char(50) and enabled == true then
  941. Human.WalkSpeed = 32
  942. end
  943. end)
  944.  
  945. local keys = mouse.KeyUp:connect(function(key)
  946. if key == string.char(50) and enabled == true then
  947. Human.WalkSpeed = 16
  948. end
  949. end)
  950.  
  951. local function Cast(Pos,Dir,Amp,IgnoreList)
  952. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
  953. end
  954.  
  955. while true do
  956. local surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,4,Char)
  957. if zenabled < 1 then
  958. zenabled = zenabled +0.01 *0.25
  959. else
  960. zenabled = 1
  961. end
  962. if xenabled < 1 then
  963. xenabled = xenabled +0.01 *0.2
  964. else
  965. xenabled = 1
  966. end
  967. if cenabled < 1 then
  968. cenabled = cenabled +0.01 *0.15
  969. else
  970. cenabled = 1
  971. end
  972. if eenabled < 1 then
  973. eenabled = eenabled +0.01 *0.1
  974. else
  975. eenabled = 1
  976. end
  977. if venabled < 1 then
  978. venabled = venabled +0.01 *0.15
  979. else
  980. venabled = 1
  981. end
  982. if enabled == false then
  983. idle = 0
  984. end
  985. idle = idle +1
  986. skill1img:TweenSize(UDim2.new(zenabled,0,1,0), "Out","Quad",0.1,false,nil)
  987. skill2img:TweenSize(UDim2.new(xenabled,0,1,0), "Out","Quad",0.1,false,nil)
  988. skill3img:TweenSize(UDim2.new(cenabled,0,1,0), "Out","Quad",0.1,false,nil)
  989. skill4img:TweenSize(UDim2.new(venabled,0,1,0), "Out","Quad",0.1,false,nil)
  990. skill5img:TweenSize(UDim2.new(eenabled,0,1,0), "Out","Quad",0.1,false,nil)
  991. if on == true then
  992. angle = (angle % 100) +anglespeed/10
  993. armangle = (armangle % 100) +armanglespeed/10
  994. legangle = (legangle % 100) +leganglespeed/10
  995. if action == "Idle" and enabled == true and surface ~= nil then
  996. if idle < 500 then
  997. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/10,0,-math.pi/10),armspeed)
  998. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/8,math.pi/25),armspeed)
  999. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2,0) *CFrame.Angles(-math.pi/30,0,math.pi/15),legspeed)
  1000. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.25,0.2,0),legspeed)
  1001. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(0,0,-math.pi/10),speed)
  1002. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/10+math.sin(angle*0.25)*0.025,0,math.pi/10),speed)
  1003. lerp(HW,HW.C0,hc0,speed)
  1004. elseif idle >= 500 then
  1005. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/4,0,-math.pi/7),armspeed)
  1006. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/6,0,math.pi/7),armspeed)
  1007. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.2,0) *CFrame.Angles(-math.pi/30,0,math.pi/15),legspeed)
  1008. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.25,0.2,0),legspeed)
  1009. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2),speed)
  1010. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.cos(angle*0.125/2)*0.25,0,math.sin(angle*0.125/2)),speed)
  1011. lerp(HW,HW.C0,hc0 *CFrame.new(0,-0.9,1.7) *CFrame.Angles(math.pi/2.5,0,0),speed)
  1012. end
  1013. end
  1014. if action == "Walk" and enabled == true and surface ~= nil then
  1015. idle = 0
  1016. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.sin(armangle),0,0),armspeed)
  1017. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/3,math.pi/9),armspeed)
  1018. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0.1,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  1019. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.1,0.2-math.cos(legangle)*0.05,0) *CFrame.Angles(0,0,math.asin(math.cos(legangle*0.75))),legspeed)
  1020. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2),speed)
  1021. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/10+math.sin(angle*0.25)*0.1,0,0),speed)
  1022. lerp(HW,HW.C0,hc0,speed)
  1023. end
  1024. if action == "Run" and enabled == true and surface ~= nil then
  1025. idle = 0
  1026. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/4+math.sin(armangle)*1.25,0,0),armspeed*1.25)
  1027. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/2.3,math.pi/9),armspeed)
  1028. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.05+math.cos(legangle)*0.5,-0.05*math.cos(legangle),0) *CFrame.Angles(0,0,math.rad(10)+math.sin(legangle)),legspeed)
  1029. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.05+math.cos(legangle)*0.5,0.05*math.cos(legangle),0) *CFrame.Angles(0,0,-math.rad(10)+math.sin(legangle)),legspeed)
  1030. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.1) *CFrame.Angles(math.pi/5,0,0),speed)
  1031. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5+math.sin(angle*0.25)*0.1,0,0),speed)
  1032. lerp(HW,HW.C0,hc0,speed)
  1033. end
  1034. if HM.Velocity.Y >= 5 and enabled == true and surface == nil then
  1035. action = "Jump"
  1036. idle = 0
  1037. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/10,0,-math.pi/10),armspeed*1.5)
  1038. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/8,math.pi/25),armspeed*1.5)
  1039. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed*1.5)
  1040. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.5,0.5,0) *CFrame.Angles(0,0,-math.pi/8),legspeed*1.5)
  1041. lerp(WRJ,WRJ.C0,RJC0,speed*1.5)
  1042. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed*1.5)
  1043. lerp(HW,HW.C0,hc0,speed*1.5)
  1044. Rwait()
  1045. elseif HM.Velocity.Y <= -5 and enabled == true and surface == nil then
  1046. action = "Fall"
  1047. idle = 0
  1048. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/10,0,-math.pi/10),armspeed*1.5)
  1049. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/8,math.pi/25),armspeed*1.5)
  1050. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed*1.5)
  1051. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.15,0) *CFrame.Angles(0,0,-math.pi/8),legspeed*1.5)
  1052. lerp(WRJ,WRJ.C0,RJC0,speed*1.5)
  1053. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed*1.5)
  1054. lerp(HW,HW.C0,hc0,speed*1.5)
  1055. Rwait()
  1056. end
  1057. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
  1058. action = "Idle"
  1059. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude < 20 then
  1060. action = "Walk"
  1061. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 20 then
  1062. action = "Run"
  1063. end
  1064. end
  1065. Rwait()
  1066. end
Add Comment
Please, Sign In to add comment