Advertisement
spidercraft78

Untitled

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