Black_Gear

IDK

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