Advertisement
AgentVK

Maniac

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