Advertisement
rbxnub

JASON EDITED

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