D0MiN0_FX

Shard Dagger [ BROKEN ] [ RARE ]

Oct 13th, 2016
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.82 KB | None | 0 0
  1. local wfc = function(m, n)
  2. return m:WaitForChild(n)
  3. end
  4. local RbxUtility = LoadLibrary("RbxUtility")
  5. local Create = RbxUtility.Create
  6. local Player = game:GetService("Players").LocalPlayer
  7. local Mouse = Player:GetMouse()
  8. repeat
  9. wait()
  10. until Player.Character ~= nil
  11. local Character = Player.Character
  12. local Humanoid = Character:WaitForChild("Humanoid")
  13. Anim = "Idle"
  14. jumping = false
  15. walkforw = false
  16. idleforw = false
  17. walk = 0
  18. idle = 0
  19. deb = false
  20. safehum = true
  21. canwalk = true
  22. Effects = {
  23. buffer = {}
  24. , add = function(self, part, mesh, rotate, size, transparency, time, toPoint, speed)
  25. local data = {part = part, mesh = mesh or nil, rotate = rotate or false, size = vt(), transparency = not size and transparency or 0, toPoint = toPoint or nil, speed = speed or 0.1}
  26. table.insert(self.buffer, data)
  27. game:GetService("Debris"):AddItem(part, time or 5)
  28. end, update = function(self, step)
  29. for i,v in ipairs(self.buffer) do
  30. if v.part == nil or v.part.Parent == nil then
  31. table.remove(self.buffer, i)
  32. else
  33. if v.part.Transparency == 0 then
  34. game:GetService("Debris"):AddItem(v.part, 1)
  35. table.remove(self.buffer, i)
  36. else
  37. if v.mesh then
  38. v.mesh.Scale = v.mesh.Scale + vt(v.size.X * step, v.size.Y * step, v.size.Z * step)
  39. else
  40. v.part.Size = v.part.Size + vt(v.size.X * step, v.size.Y * step, v.size.Z * step)
  41. end
  42. v.part.Transparency = v.part.Transparency + v.transparency * step
  43. if v.toPoint then
  44. v.part.CFrame = v.part.CFrame:lerp(v.toPoint, v.speed)
  45. end
  46. if v.rotate then
  47. v.part.CFrame = v.part.CFrame * RandomCFRot()
  48. end
  49. end
  50. end
  51. end
  52. end}
  53. curkeys = ""
  54. curinactive = 0
  55. curmaxinactive = 0.2
  56. Stats = {
  57. Speed = {
  58. effects = {}
  59. , add = function(self, time, amount)
  60. local data = {amount = amount, time = time}
  61. data.remove = function(self)
  62. self.time = 0
  63. end
  64. table.insert(self.effects, data)
  65. end, update = function(self, step)
  66. local new = 1
  67. for i,v in ipairs(self.effects) do
  68. new = new + v.amount
  69. if v.time ~= nil then
  70. v.time = v.time - step
  71. if v.time <= 0 then
  72. table.remove(self.effects, i)
  73. end
  74. end
  75. end
  76. if new < 0 then
  77. new = 0
  78. end
  79. Humanoid.WalkSpeed = 16 * new
  80. end}
  81. }
  82. game:GetService("RunService").RenderStepped:connect(function(step)
  83. Stats.Speed:update(step)
  84. end)
  85. it = Instance.new
  86. vt = Vector3.new
  87. cf = CFrame.new
  88. euler = CFrame.fromEulerAnglesXYZ
  89. angles = CFrame.Angles
  90. PlayerGui = Player:WaitForChild("PlayerGui")
  91. Backpack = Player:WaitForChild("Backpack")
  92. Torso = Character:WaitForChild("Torso")
  93. Head = Character:WaitForChild("Head")
  94. LeftArm = Character:WaitForChild("Left Arm")
  95. LeftLeg = Character:WaitForChild("Left Leg")
  96. RightArm = Character:WaitForChild("Right Arm")
  97. RightLeg = Character:WaitForChild("Right Leg")
  98. Neck = Torso:WaitForChild("Neck")
  99. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  100. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  101. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  102. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  103. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  104. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  105. RootPart = Character:WaitForChild("HumanoidRootPart")
  106. RootJoint = RootPart:WaitForChild("RootJoint")
  107. RootCF = euler(-1.57, 0, 3.14)
  108. pi = math.pi
  109. pi2 = pi * 2
  110. sin = math.sin
  111. cos = math.cos
  112. local N = wfc(wfc(Character, "Torso"), "Neck")
  113. local RW = wfc(Character.Torso, "Right Shoulder")
  114. local LW = wfc(Character.Torso, "Left Shoulder")
  115. local RH = wfc(Character.Torso, "Right Hip")
  116. local LH = wfc(Character.Torso, "Left Hip")
  117. local RJ = wfc(wfc(Character, "HumanoidRootPart"), "RootJoint")
  118. local RS, LS = Instance.new("Motor"), Instance.new("Motor")
  119. RS.Part0 = RW.Part0
  120. LS.Part0 = LW.Part0
  121. RW.Parent = nil
  122. RS.Parent = Torso
  123. RS.C0 = RW.C0
  124. LS.C0 = LW.C0
  125. local RootPart = Character.HumanoidRootPart
  126. local DN1 = N.C1
  127. local DRS1 = RS.C1
  128. local DLS1 = LS.C1
  129. local DRH1 = RH.C1
  130. local DLH1 = LH.C1
  131. local DRJ1 = RJ.C1
  132. local RootJoint = RJ
  133. local Neck = N
  134. local RootCF = euler(-1.57, 0, 3.14)
  135. local necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  136. local necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  137. local DN1 = N.C1
  138. local DRS1 = RS.C1
  139. local DLS1 = LS.C1
  140. local DRH1 = RH.C1
  141. local DLH1 = LH.C1
  142. local DRJ1 = RJ.C1
  143. local DN0 = N.C0
  144. local DRS0 = RS.C0
  145. local DLS0 = LS.C0
  146. local DRH0 = RH.C0
  147. local DLH0 = LH.C0
  148. local DRJ0 = RJ.C0
  149. DLH0_ = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  150. DRH0_ = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  151. swait = function(num)
  152. if num == 0 or num == nil then
  153. game:service("RunService").Heartbeat:wait(0)
  154. else
  155. for i = 0, num do
  156. game:service("RunService").Heartbeat:wait(0)
  157. end
  158. end
  159. do
  160. return true
  161. end
  162. end
  163. rwait = function(num)
  164. if num == 0 or num == nil then
  165. game:service("RunService").RenderStepped:wait(0)
  166. else
  167. for i = 0, num do
  168. game:service("RunService").RenderStepped:wait(0)
  169. end
  170. end
  171. do
  172. return true
  173. end
  174. end
  175. removeControl = function()
  176. canjump = false
  177. end
  178. resumeControl = function()
  179. canjump = true
  180. end
  181. Humanoid.Changed:connect(function()
  182. if canjump == false then
  183. Humanoid.Jump = false
  184. end
  185. end)
  186. rayCast = function(Pos, Dir, Max, Ignore)
  187. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  188. end
  189. clerp = function(a, b, t)
  190. return a:lerp(b, t)
  191. end
  192. Weld = function(X, Y, Zero)
  193. local CJ = CFrame.new(X.Position)
  194. local C0 = X.CFrame:inverse() * CJ
  195. local C1 = Y.CFrame:inverse() * CJ
  196. if Zero then
  197. C0 = CFrame.new()
  198. end
  199. local W = Create("Weld")({Name = "Weld", Parent = X, Part0 = X, Part1 = Y, C0 = C0, C1 = C1})
  200. return W
  201. end
  202. local WeldObjects = function(parent, h)
  203. for i,obj in pairs(parent:GetChildren()) do
  204. if not h and not parent:FindFirstChild("Handle") then
  205. do
  206. Weld(not obj:IsA("BasePart") and not obj:IsA("UnionOperation") or Handle, obj)
  207. obj.Anchored = false
  208. -- DECOMPILER ERROR at PC27: LeaveBlock: unexpected jumping out IF_THEN_STMT
  209.  
  210. -- DECOMPILER ERROR at PC27: LeaveBlock: unexpected jumping out IF_STMT
  211.  
  212. end
  213. end
  214. end
  215. end
  216. local Bezier = {}
  217. Bezier.__index = Bezier
  218. Bezier.new = function(...)
  219. local points = {...}
  220. assert(#points >= 3, "Must have at least 3 points")
  221. local bezier = {}
  222. local V3 = Vector3.new
  223. local lerpV3 = V3().lerp
  224. local lines = {}
  225. local numLines = 0
  226. local finalLine = nil
  227. local CreatePoint = function(v3)
  228. local point = {v3.X, v3.Y, v3.Z}
  229. point.ToVector3 = function(self)
  230. return V3(self[1], self[2], self[3])
  231. end
  232. point.lerp = function(self, other, ratio)
  233. return lerpV3(self:ToVector3(), other:ToVector3(), ratio)
  234. end
  235. return point
  236. end
  237. for i = 1, #points - 1 do
  238. local p1 = CreatePoint(points[i])
  239. local p2 = CreatePoint(points[i + 1])
  240. local line = {p1, p2, CreatePoint(p1)}
  241. lines[#lines + 1] = line
  242. end
  243. do
  244. do
  245. local relativeLines = lines
  246. for n = #lines, 2, -1 do
  247. local newLines = {}
  248. for i = 1, n - 1 do
  249. local l1, l2 = relativeLines[i], relativeLines[i + 1]
  250. local line = {l1[3], l2[3], CreatePoint(l1[3])}
  251. newLines[i] = line
  252. lines[#lines + 1] = line
  253. end
  254. relativeLines = newLines
  255. end
  256. finalLine = relativeLines[1]
  257. numLines = #lines
  258. bezier.Get = function(self, ratio, clampRatio)
  259. -- DECOMPILER ERROR at PC15: Unhandled construct in 'MakeBoolean' P3
  260.  
  261. -- DECOMPILER ERROR at PC15: Unhandled construct in 'MakeBoolean' P3
  262.  
  263. if not clampRatio or ((ratio >= 0 or not 0)) then
  264. for i = 1, numLines do
  265. local line = lines[i]
  266. local mid = line[1]:lerp(line[2], ratio)
  267. local pt = line[3]
  268. pt[1] = mid.X
  269. end
  270. return finalLine[3]:ToVector3()
  271. end
  272. end
  273. bezier.GetPath = function(self, step)
  274. assert(type(step) == "number", "Must provide a step increment")
  275. assert(step > 0 and step < 1, "Step out of domain; should be between 0 and 1 (exclusive)")
  276. local path = {}
  277. local lastI = 0
  278. for i = 0, 1, step do
  279. lastI = i
  280. path[#path + 1] = self:Get(i)
  281. end
  282. if 1 - lastI >= step * 0.5 then
  283. do
  284. do
  285. local overrideLast = lastI >= 1
  286. path[#path + (overrideLast and 0 or 1)] = bezier:Get(1)
  287. do return path end
  288. -- DECOMPILER ERROR: 7 unprocessed JMP targets
  289. end
  290. end
  291. end
  292. end
  293. bezier.GetPoints = function(self)
  294. return points
  295. end
  296. do return setmetatable(bezier, Bezier) end
  297. -- DECOMPILER ERROR: 1 unprocessed JMP targets
  298. end
  299. end
  300. end
  301. Color = function(r, g, b)
  302. return Color3.new(r / 255, g / 255, b / 255)
  303. end
  304. lerp = function(a, b, k)
  305. return a + (b - a) * k
  306. end
  307. SineInOut = function(step)
  308. return 0.5 + math.cos(step * math.pi) * -0.5
  309. end
  310. normalize = function(value, min, max)
  311. return (value - min) / (max - min)
  312. end
  313. RandomCFRot = function()
  314. return CFrame.Angles(math.rad(math.random(360)), math.rad(math.random(360)), math.rad(math.random(360)))
  315. end
  316. NoOutline = function(Part)
  317. Part.TopSurface = 10
  318. end
  319. CreatePart = function()
  320. local part = Instance.new("Part")
  321. part.Size = vt(0.2, 0.2, 0.2)
  322. NoOutline(part)
  323. part.Anchored = true
  324. part.CanCollide = false
  325. local mesh = Instance.new("SpecialMesh", part)
  326. mesh.MeshType = "Brick"
  327. mesh.Scale = vt(5, 5, 5)
  328. return part, mesh
  329. end
  330. zapp = function(p0, p1, partcount, offset, color, transparency, material, size, fade, fadetrans, delay)
  331. if not partcount then
  332. partcount = math.ceil(p0 - p1.magnitude / 10)
  333. end
  334. if not offset then
  335. offset = 2
  336. end
  337. if not color then
  338. color = BrickColor.new("Bright yellow")
  339. end
  340. if type(color) == "string" then
  341. color = BrickColor.new(color)
  342. end
  343. if not transparency then
  344. transparency = 0.5
  345. end
  346. if not material then
  347. material = "Neon"
  348. end
  349. if not size then
  350. size = 0.2
  351. end
  352. if fade == nil then
  353. fade = true
  354. end
  355. if not fadetrans then
  356. fadetrans = 1
  357. end
  358. print(partcount)
  359. local parts = {}
  360. local lastpos = p0
  361. local lastranpos = p0
  362. for i = 1, partcount do
  363. local curpos = p0:lerp(p1, i / partcount)
  364. local curranpos = cf(curpos, lastpos) * cf(math.random(-offset * 10, offset * 10) / 10, math.random(-offset * 10, offset * 10) / 10, 0).p
  365. local p, m = CreatePart()
  366. p.BrickColor = color
  367. p.Transparency = transparency
  368. p.Material = material
  369. if i == partcount then
  370. curranpos = curpos
  371. end
  372. local range = lastranpos - curranpos.magnitude
  373. m.Scale = vt(size * 5, size * 5, range * 5)
  374. p.CFrame = cf(lastranpos, curranpos) * cf(0, 0, -range / 2)
  375. p.Parent = Character
  376. if fade then
  377. Effects:add(p, m, fase, nil, fadetrans)
  378. end
  379. table.insert(parts, {part = p, mesh = m})
  380. if delay ~= nil then
  381. if type(delay) == "function" then
  382. delay(curpos, curranpos, lastpos, curranpos, p, m)
  383. else
  384. wait(delay)
  385. end
  386. end
  387. lastpos = curpos
  388. lastranpos = curranpos
  389. end
  390. return parts
  391. end
  392. CheckHumanoidOfPart = function(part)
  393. local h = nil
  394. local h1, h2 = part.Parent:FindFirstChild("Humanoid"), part.Parent.Parent:FindFirstChild("Humanoid")
  395. if h1 then
  396. h = h1
  397. else
  398. if h2 then
  399. h = h2
  400. else
  401. return false
  402. end
  403. end
  404. return h, h.Parent
  405. end
  406. CheckHumanoidOfModel = function(Model)
  407. for i,v in ipairs(Model:GetChildren()) do
  408. if v:IsA("Humanoid") then
  409. return true, v
  410. end
  411. end
  412. end
  413. CheckHumanoid = function(Pos, Rad, MinRad, args)
  414. if not args then
  415. args = {}
  416. end
  417. if not MinRad then
  418. MinRad = 0
  419. end
  420. if DEBUG then
  421. local n = Instance.new("Part")
  422. n.Anchored = true
  423. n.CanCollide = false
  424. n.Transparency = 0.8
  425. n.TopSurface = "Smooth"
  426. n.BottomSurface = "Smooth"
  427. n.FormFactor = "Custom"
  428. n.Size = Vector3.new(Rad, Rad, Rad)
  429. n.CFrame = CFrame.new(Pos)
  430. local m = Instance.new("SpecialMesh")
  431. m.MeshType = "Sphere"
  432. m.Parent = n
  433. n.Parent = Character
  434. game:GetService("Debris"):AddItem(n, 0.2)
  435. end
  436. do
  437. local Results = {}
  438. for i,v in ipairs(workspace:GetChildren()) do
  439. if v:IsA("Model") then
  440. local go = false
  441. if args.ignoreSelf == true then
  442. go = true
  443. else
  444. if v ~= Character then
  445. go = true
  446. end
  447. end
  448. if go then
  449. local succes, humanoid = CheckHumanoidOfModel(v)
  450. if succes and humanoid.Health > 0 then
  451. for _,b in ipairs(v:GetChildren()) do
  452. if b:IsA("BasePart") then
  453. local Dist = Pos - b.CFrame.p.magnitude
  454. if Dist <= Rad / 2 and MinRad / 2 <= Dist then
  455. table.insert(Results, {Model = v, Humanoid = humanoid, Distance = Dist, HitPart = b})
  456. break
  457. end
  458. end
  459. end
  460. end
  461. end
  462. end
  463. end
  464. table.sort(Results, function(a, b)
  465. do return a.Distance < b.Distance end
  466. -- DECOMPILER ERROR: 1 unprocessed JMP targets
  467. end)
  468. return Results
  469. end
  470. end
  471. so = function(id, par, vol, pit)
  472. local sou = Instance.new("Sound", par or workspace)
  473. sou.Volume = vol
  474. sou.Pitch = pit or 1
  475. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  476. sou:play()
  477. game:GetService("Debris"):AddItem(sou, 6)
  478. end
  479. KnockBack = function(Target, Amount, Dir, Position, Extra, args)
  480. if not args then
  481. args = {}
  482. end
  483. local Torso = Target.Parent:FindFirstChild("Torso")
  484. if not Torso then
  485. return
  486. end
  487. local Vel = nil
  488. if not Extra then
  489. Extra = Vector3.new(0, 0, 0)
  490. end
  491. if Dir then
  492. Vel = Dir * Amount + Extra
  493. else
  494. Dir = Torso.Position - Position.unit
  495. Vel = Dir * Amount + Extra
  496. end
  497. local bf = it("BodyVelocity")
  498. bf.Velocity = Vel
  499. bf.MaxForce = vt(math.huge, math.huge, math.huge)
  500. bf.Parent = Torso
  501. game:GetService("Debris"):AddItem(bf, args.time or 0.2)
  502. end
  503. takeDamage = function(Target, Min, Max, args)
  504. if not args then
  505. args = {}
  506. end
  507. local h = Target
  508. local hit = Target.Parent:FindFirstChild("Torso")
  509. if not hit then
  510. return 0
  511. end
  512. local succes = true
  513. local blocked = false
  514. local enblock = false
  515. local staggering = false
  516. if DEBUG then
  517. local nrargs = 0
  518. for i,v in pairs(args) do
  519. nrargs = nrargs + 1
  520. end
  521. if nrargs > 0 then
  522. print("Damage - Arguments")
  523. for i,v in pairs(args) do
  524. print("\t" .. tostring(i) .. " = " .. tostring(v))
  525. end
  526. end
  527. end
  528. do
  529. local dmg = math.random(Min, Max)
  530. if args.maxDamage and args.maxDamage < dmg then
  531. dmg = args.maxDamage
  532. end
  533. if dmg <= 3 and dmg > 0 and blocked ~= true and not args.noSound then
  534. local hitnum = math.random(1, 5)
  535. if hitnum == 1 then
  536. so("199149321", hit, 1, 1)
  537. else
  538. if hitnum == 2 then
  539. so("199149338", hit, 1, 1)
  540. else
  541. if hitnum == 3 then
  542. so("199149367", hit, 1, 1)
  543. else
  544. if hitnum == 4 then
  545. so("199149409", hit, 1, 1)
  546. else
  547. if hitnum == 5 then
  548. so("199149452", hit, 1, 1)
  549. end
  550. end
  551. end
  552. end
  553. end
  554. else
  555. do
  556. do
  557. if blocked ~= true and dmg > 0 and not args.noSound then
  558. local hitnum = math.random(1, 6)
  559. if hitnum == 1 then
  560. so("199149137", hit, 1, 1)
  561. else
  562. if hitnum == 2 then
  563. so("199149186", hit, 1, 1)
  564. else
  565. if hitnum == 3 then
  566. so("199149221", hit, 1, 1)
  567. else
  568. if hitnum == 4 then
  569. so("199149235", hit, 1, 1)
  570. else
  571. if hitnum == 5 then
  572. so("199149269", hit, 1, 1)
  573. else
  574. if hitnum == 6 then
  575. so("199149297", hit, 1, 1)
  576. end
  577. end
  578. end
  579. end
  580. end
  581. end
  582. end
  583. dmg = math.floor(dmg)
  584. coroutine.resume(coroutine.create(function(Hum, Dam)
  585. Hum.Health = Hum.Health - Dam
  586. end), h, dmg)
  587. local col = "Damage"
  588. if dmg < 0 then
  589. dmg = dmg * -1
  590. col = "Heal"
  591. end
  592. args.TextColor = col
  593. local disp = dmg
  594. if not DEBUG then
  595. disp = math.floor(dmg + 0.5)
  596. end
  597. return dmg, succes
  598. end
  599. end
  600. end
  601. end
  602. end
  603. if not Player:FindFirstChild("ShardDagger") then
  604. asset = require(script:WaitForChild("MainModule"))()
  605. else
  606. asset = Player:FindFirstChild("ShardDagger"):Clone()
  607. end
  608. local Handle = asset:WaitForChild("Handle")
  609. local Crystal = asset:WaitForChild("Crystal")
  610. local Part1 = asset:WaitForChild("Part1")
  611. local Part2 = asset:WaitForChild("Part2")
  612. local Union = asset:WaitForChild("Union")
  613. Weld(Handle, Crystal)
  614. Weld(Handle, Part1)
  615. Weld(Handle, Part2)
  616. Weld(Handle, Union)
  617. local rDag = asset:Clone()
  618. local rHandle = rDag:WaitForChild("Handle")
  619. local rCrystal = rDag:WaitForChild("Crystal")
  620. local rPart1 = rDag:WaitForChild("Part1")
  621. local rPart2 = rDag:WaitForChild("Part2")
  622. local rUnion = rDag:WaitForChild("Union")
  623. local lDag = asset:Clone()
  624. local lHandle = lDag:WaitForChild("Handle")
  625. local lCrystal = lDag:WaitForChild("Crystal")
  626. local lPart1 = lDag:WaitForChild("Part1")
  627. local lPart2 = lDag:WaitForChild("Part2")
  628. local lUnion = lDag:WaitForChild("Union")
  629. RW = Weld(RightArm, rHandle)
  630. RW.C0 = cf(-1, 0, 0) * angles(-pi / 2, 0, pi / 2)
  631. RW.C1 = cf()
  632. LW = Weld(LeftArm, lHandle)
  633. LW.C0 = cf(-1, 0, 0) * angles(pi / 2, 0, pi / 2)
  634. LW.C1 = cf()
  635. rDag.Parent = Character
  636. lDag.Parent = Character
  637. time = 0
  638. game:GetService("RunService").RenderStepped:connect(function(step)
  639. time = time + step
  640. local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  641. local velderp = RootPart.Velocity.y
  642. local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  643. if Anim == "Walk" and canwalk then
  644. if walkforw == true then
  645. RH.C1 = clerp(RH.C1, DRH1 * cf(0.2, -0.2, 0) * euler(0, 0, 1), Humanoid.WalkSpeed / 120)
  646. LH.C1 = clerp(LH.C1, DLH1 * cf(0.1, 0.2, 0) * euler(0, 0, 1), Humanoid.WalkSpeed / 120)
  647. else
  648. RH.C1 = clerp(RH.C1, DRH1 * cf(-0.1, 0.2, 0) * euler(0, 0, -1), Humanoid.WalkSpeed / 120)
  649. LH.C1 = clerp(LH.C1, DLH1 * cf(-0.2, -0.2, 0) * euler(0, 0, -1), Humanoid.WalkSpeed / 120)
  650. end
  651. if not deb then
  652. local t = 0.1
  653. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  654. N.C0 = clerp(N.C0, DN0, t)
  655. N.C1 = clerp(N.C1, DN1 * angles(0.15, 0, -0.2), t)
  656. LS.C0 = clerp(LS.C0, DLS0, t)
  657. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  658. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0.2, 0), t)
  659. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0.2, 0), t)
  660. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.3, 0) * CFrame.Angles(0.3, 0.5, 0.5), t)
  661. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4, 0, 0.9) * cf(0, 0, 0.2), t)
  662. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, -0.05, 0.2), t)
  663. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  664. RW.C1 = RW.C1:lerp(angles(-pi / 2 - 1, 0, pi / 2), t)
  665. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  666. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1, 0, pi / 2), t)
  667. end
  668. else
  669. do
  670. if Anim == "Idle" then
  671. local t = 0.1
  672. local t2 = 0.02
  673. if deb == false then
  674. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.3, 0) * CFrame.Angles(0.3, 0.5, 0.5) * angles(0, 0, sin(time) / 10), t)
  675. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4, 0, 0.9) * cf(0, 0, 0.2) * angles(0, 0, sin(time + 1) / 10), t)
  676. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.25, 0, 0.2) * angles(sin(time) / 20, 0, 0), t)
  677. N.C1 = clerp(N.C1, DN1 * CFrame.new() * CFrame.Angles(0.1, 0, -0.2) * angles(-sin(time) / 15, 0, 0), t)
  678. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  679. N.C0 = clerp(N.C0, DN0, t)
  680. LS.C0 = clerp(LS.C0, DLS0 * angles(0, 0, 0), t)
  681. RS.C0 = clerp(RS.C0, DRS0, t)
  682. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0.2, -0.4) * angles(0, 0, sin(time) / 20), t)
  683. RH.C0 = clerp(RH.C0, DRH0_ * angles(-0.05, -0.1, 0) * angles(0, 0, -sin(time) / 20), t)
  684. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  685. RW.C1 = RW.C1:lerp(angles(-pi / 2 - 1, 0, pi / 2), t)
  686. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  687. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1, 0, pi / 2), t)
  688. end
  689. if canwalk then
  690. RH.C1 = clerp(RH.C1, DRH1 * cf() * angles(0, 0, 0), t)
  691. LH.C1 = clerp(LH.C1, DLH1 * cf() * angles(0, 0, 0), t)
  692. end
  693. end
  694. do
  695. if RootPart.Velocity.y > 1 and hitfloor == nil then
  696. Anim = "Jump"
  697. jumping = true
  698. if deb == false then
  699. N.C0 = clerp(N.C0, necko * euler(-0.2, 0, 0), 0.1)
  700. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.1)
  701. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, 0), 0.1)
  702. RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 0.2), 0.1)
  703. RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  704. LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(-0.8, 0, -0.2), 0.1)
  705. LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  706. RH.C0 = clerp(RH.C0, cf(1, -1, -0.3) * euler(-0.5, 1.57, 0) * euler(-0.2, 0, 0), 0.1)
  707. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.3) * euler(-0.5, -1.57, 0) * euler(-0.2, 0, 0), 0.1)
  708. end
  709. if canwalk then
  710. LH.C1 = clerp(LH.C1, DLH1, 0.1)
  711. RH.C1 = clerp(RH.C1, DRH1, 0.1)
  712. end
  713. else
  714. if RootPart.Velocity.y < -1 and hitfloor == nil then
  715. Anim = "Fall"
  716. jumping = true
  717. if deb == false then
  718. Neck.C0 = clerp(Neck.C0, necko * euler(0.4, 0, 0), 0.1)
  719. Neck.C1 = clerp(Neck.C1, necko2 * euler(0, 0, 0), 0.1)
  720. RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, 0), 0.15)
  721. RS.C0 = clerp(RS.C0, cf(1.5, 0.5, 0) * euler(0.1, 0, 1), 0.1)
  722. RS.C1 = clerp(RS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  723. LS.C0 = clerp(LS.C0, cf(-1.5, 0.5, 0) * euler(0.1, 0, -1), 0.1)
  724. LS.C1 = clerp(LS.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.1)
  725. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0.4, 1.57, 0), 0.1)
  726. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(-0.2, -1.57, 0), 0.1)
  727. end
  728. if canwalk then
  729. LH.C1 = clerp(LH.C1, DLH1, 0.1)
  730. RH.C1 = clerp(RH.C1, DRH1, 0.1)
  731. end
  732. else
  733. if torvel < 1 and hitfloor ~= nil then
  734. jumping = false
  735. Anim = "Idle"
  736. idle = idle + 0.5
  737. if idle >= 10 then
  738. idle = 0
  739. if idleforw == true then
  740. idleforw = false
  741. else
  742. if idleforw == false then
  743. idleforw = true
  744. end
  745. end
  746. end
  747. else
  748. if torvel > 2 and torvel < 100 and hitfloor ~= nil then
  749. jumping = false
  750. Anim = "Walk"
  751. walk = walk + 0.5
  752. if walk >= 10 then
  753. walk = 0
  754. if walkforw == true then
  755. walkforw = false
  756. else
  757. if walkforw == false then
  758. walkforw = true
  759. end
  760. end
  761. end
  762. end
  763. end
  764. end
  765. end
  766. Effects:update(step)
  767. if curkeys ~= "" then
  768. curinactive = curinactive + step
  769. end
  770. if curmaxinactive <= curinactive then
  771. curinactive = 0
  772. curkeys = ""
  773. end
  774. if safehum then
  775. Humanoid.PlatformStand = false
  776. Humanoid.Sit = false
  777. end
  778. end
  779. end
  780. end
  781. end)
  782. Humanoid:WaitForChild("Animator"):Destroy()
  783. Character:WaitForChild("Animate").Disabled = true
  784. genBody = function()
  785. local n = Create("BodyPosition")({MaxForce = vt(math.huge, math.huge, math.huge), D = 500})
  786. return n
  787. end
  788. local body, body2 = nil, nil
  789. lasthit = nil
  790. local mouseEnabled = false
  791. local mouseCombo = 0
  792. local mouseMax = 3
  793. DEBUG = false
  794. loop = function(time, func)
  795. local loopev, ended = nil, nil
  796. local total = 0
  797. loopev = game:GetService("RunService").RenderStepped:connect(function(step)
  798. total = total + step
  799. func(step, total)
  800. if time <= total then
  801. loopev:disconnect()
  802. ended = true
  803. end
  804. end)
  805. repeat
  806. wait()
  807. until ended
  808. end
  809. local cols = {"Really black", "Dark indigo"}
  810. mousecombo = function()
  811. deb = true
  812. while 1 do
  813. if mouseEnabled then
  814. if mouseMax < mouseCombo then
  815. mouseCombo = 0
  816. end
  817. if mouseCombo == 0 then
  818. local Hit = {}
  819. do
  820. loop(0.13, function(step, total)
  821. local t = 10 * step
  822. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  823. N.C0 = clerp(N.C0, DN0, t)
  824. N.C1 = clerp(N.C1, DN1 * angles(0.15, 0, -0.3), t)
  825. LS.C0 = clerp(LS.C0, DLS0, t)
  826. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  827. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0.9, 0), t)
  828. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0.9, 0), t)
  829. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.3, 0) * CFrame.Angles(0.3, 0.5, 0.5), t)
  830. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-1.2, 0, 1.2) * cf(0, 0, 0.2), t)
  831. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 1), t)
  832. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  833. RW.C1 = RW.C1:lerp(angles(-pi / 2 - 1, 0, pi / 2), t)
  834. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  835. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1, 0, pi / 2), t)
  836. end)
  837. loop(0.2, function(step, total)
  838. local t = 12 * step
  839. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  840. N.C0 = clerp(N.C0, DN0, t)
  841. N.C1 = clerp(N.C1, DN1 * angles(0.15, 0, 0.3), t)
  842. LS.C0 = clerp(LS.C0, DLS0, t)
  843. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  844. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.5, 0), t)
  845. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.5, 0), t)
  846. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.3, 0) * CFrame.Angles(0.3, 0.5, 0.5), t)
  847. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(1.5, 0, 1.2) * cf(0, 0, 0.2), t)
  848. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.6), t)
  849. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  850. RW.C1 = RW.C1:lerp(angles(-pi / 2 - 1, 0, pi / 2), t)
  851. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  852. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1, 0, pi / 2 + 0.5), t)
  853. local curdmg = {10, 15}
  854. local Results = CheckHumanoid(lPart2.CFrame.p, 3)
  855. for _,Result in ipairs(Results) do
  856. local go = true
  857. for _,v in ipairs(Hit) do
  858. if Result.Humanoid == v then
  859. go = false
  860. break
  861. end
  862. end
  863. do
  864. if go then
  865. table.insert(Hit, Result.Humanoid)
  866. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  867. if s then
  868. lasthit = Result.Model
  869. KnockBack(Result.Humanoid, 10, nil, Torso.Position)
  870. end
  871. end
  872. do
  873. -- DECOMPILER ERROR at PC259: LeaveBlock: unexpected jumping out DO_STMT
  874.  
  875. end
  876. end
  877. end
  878. end)
  879. end
  880. else
  881. do
  882. if mouseCombo == 1 then
  883. local Hit = {}
  884. loop(0.0833, function(step, total)
  885. local t = 10 * step
  886. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  887. N.C0 = clerp(N.C0, DN0, t)
  888. N.C1 = clerp(N.C1, DN1 * angles(0.15, 0, 0.3), t)
  889. LS.C0 = clerp(LS.C0, DLS0, t)
  890. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  891. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.4, 0), t)
  892. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.4, 0), t)
  893. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, 0), t)
  894. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, 0.3) * cf(0, 0, 0.2), t)
  895. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.4), t)
  896. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  897. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  898. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  899. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1, 0, pi / 2), t)
  900. end)
  901. canwalk = false
  902. Stats.Speed:add(0.2, -100)
  903. loop(0.2, function(step, total)
  904. local t = 15 * step
  905. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  906. N.C0 = clerp(N.C0, DN0, t)
  907. N.C1 = clerp(N.C1, DN1 * angles(-0.2, 0, -0.3), t)
  908. LS.C0 = clerp(LS.C0, DLS0, t)
  909. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  910. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0.3, 0), t)
  911. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0.3, 0), t)
  912. LH.C1 = clerp(LH.C1, DLH1 * angles(0, 0, 1.5), t)
  913. RH.C1 = clerp(RH.C1, DRH1 * angles(0, 0, 0.4), t)
  914. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.1), t)
  915. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.5), t)
  916. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0, 0.3), t)
  917. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  918. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  919. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  920. LW.C1 = LW.C1:lerp(angles(pi / 2, 0, pi / 2), t)
  921. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 10
  922. local curdmg = {10, 15}
  923. local Results = CheckHumanoid(LeftLeg.CFrame * cf(0, -1.5, 0).p, 3)
  924. for _,Result in ipairs(Results) do
  925. local go = true
  926. for _,v in ipairs(Hit) do
  927. if Result.Humanoid == v then
  928. go = false
  929. break
  930. end
  931. end
  932. do
  933. if go then
  934. table.insert(Hit, Result.Humanoid)
  935. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  936. if s then
  937. lasthit = Result.Model
  938. KnockBack(Result.Humanoid, 20, nil, Torso.Position)
  939. end
  940. end
  941. do
  942. -- DECOMPILER ERROR at PC292: LeaveBlock: unexpected jumping out DO_STMT
  943.  
  944. end
  945. end
  946. end
  947. end)
  948. canwalk = true
  949. else
  950. do
  951. if mouseCombo == 2 then
  952. local Hit = {}
  953. loop(0.14, function(step, total)
  954. local t = 20 * step
  955. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  956. N.C0 = clerp(N.C0, DN0, t)
  957. N.C1 = clerp(N.C1, DN1 * angles(0.15, 0, -0.9), t)
  958. LS.C0 = clerp(LS.C0, DLS0, t)
  959. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  960. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.5, 0), t)
  961. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.5, 0), t)
  962. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.3, 0) * CFrame.Angles(0.3, 0, -0.5), t)
  963. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0, 0.2) * cf(0, 0, 0.2), t)
  964. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 1), t)
  965. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  966. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  967. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  968. LW.C1 = LW.C1:lerp(angles(pi / 2, 0, pi / 2), t)
  969. end)
  970. loop(0.25, function(step, total)
  971. local t = 15 * step
  972. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  973. N.C0 = clerp(N.C0, DN0, t)
  974. N.C1 = clerp(N.C1, DN1 * angles(0.05, 0, 0.7), t)
  975. LS.C0 = clerp(LS.C0, DLS0, t)
  976. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  977. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.5, 0), t)
  978. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.5, 0), t)
  979. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.3, 0) * CFrame.Angles(-1, 0, -1.6), t)
  980. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0, 0.2) * cf(0, 0, 0.2), t)
  981. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, -0.8), t)
  982. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  983. RW.C1 = RW.C1:lerp(angles(0, 0, pi / 2), t)
  984. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  985. LW.C1 = LW.C1:lerp(angles(pi / 2, 0, pi / 2), t)
  986. local curdmg = {10, 15}
  987. local Results = CheckHumanoid(rPart2.CFrame.p, 3)
  988. for _,Result in ipairs(Results) do
  989. local go = true
  990. for _,v in ipairs(Hit) do
  991. if Result.Humanoid == v then
  992. go = false
  993. break
  994. end
  995. end
  996. do
  997. if go then
  998. table.insert(Hit, Result.Humanoid)
  999. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1000. if s then
  1001. lasthit = Result.Model
  1002. KnockBack(Result.Humanoid, 10, nil, Torso.Position)
  1003. end
  1004. end
  1005. do
  1006. -- DECOMPILER ERROR at PC254: LeaveBlock: unexpected jumping out DO_STMT
  1007.  
  1008. end
  1009. end
  1010. end
  1011. end)
  1012. else
  1013. do
  1014. if mouseCombo == 3 then
  1015. Hit = {}
  1016. loop(0.2, function(step, total)
  1017. local t = 20 * step
  1018. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1019. N.C0 = clerp(N.C0, DN0, t)
  1020. N.C1 = clerp(N.C1, DN1 * angles(0.05, 0, 0), t)
  1021. LS.C0 = clerp(LS.C0, DLS0, t)
  1022. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  1023. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1024. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1025. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0.5), t)
  1026. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, -0.5) * cf(0, 0, 0.2), t)
  1027. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), t)
  1028. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1029. RW.C1 = RW.C1:lerp(angles(pi / 2, -0.5, pi / 2), t)
  1030. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1031. LW.C1 = LW.C1:lerp(angles(pi / 2, -0.5, pi / 2), t)
  1032. end)
  1033. loop(0.3, function(step, total)
  1034. local t = 15 * step
  1035. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1036. N.C0 = clerp(N.C0, DN0, t)
  1037. N.C1 = clerp(N.C1, DN1 * angles(-0.05, 0, 0), t)
  1038. LS.C0 = clerp(LS.C0, DLS0, t)
  1039. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  1040. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1041. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1042. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4, 0, -0.8), t)
  1043. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.4, 0, 0.8) * cf(0, 0, 0.2), t)
  1044. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.05, 0, 0), t)
  1045. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1046. RW.C1 = RW.C1:lerp(angles(pi / 2 + 0.1, 0.2, pi / 2), t)
  1047. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1048. LW.C1 = LW.C1:lerp(angles(pi / 2 - 0.1, 0.2, pi / 2), t)
  1049. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 15
  1050. local curdmg = {10, 15}
  1051. local Results = CheckHumanoid(rPart2.CFrame.p, 3)
  1052. for _,Result in ipairs(Results) do
  1053. local go = true
  1054. for _,v in ipairs(Hit) do
  1055. if Result.Humanoid == v then
  1056. go = false
  1057. break
  1058. end
  1059. end
  1060. do
  1061. if go then
  1062. table.insert(Hit, Result.Humanoid)
  1063. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1064. if s then
  1065. lasthit = Result.Model
  1066. KnockBack(Result.Humanoid, 10, nil, Torso.Position)
  1067. end
  1068. end
  1069. do
  1070. -- DECOMPILER ERROR at PC265: LeaveBlock: unexpected jumping out DO_STMT
  1071.  
  1072. end
  1073. end
  1074. end
  1075. local curdmg = {10, 15}
  1076. local Results = CheckHumanoid(lPart2.CFrame.p, 3)
  1077. for _,Result in ipairs(Results) do
  1078. local go = true
  1079. for _,v in ipairs(Hit) do
  1080. if Result.Humanoid == v then
  1081. go = false
  1082. break
  1083. end
  1084. end
  1085. do
  1086. if go then
  1087. table.insert(Hit, Result.Humanoid)
  1088. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1089. if s then
  1090. KnockBack(Result.Humanoid, 10, nil, Torso.Position)
  1091. end
  1092. end
  1093. do
  1094. -- DECOMPILER ERROR at PC315: LeaveBlock: unexpected jumping out DO_STMT
  1095.  
  1096. end
  1097. end
  1098. end
  1099. end)
  1100. end
  1101. mouseCombo = mouseCombo + 1
  1102. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out DO_STMT
  1103.  
  1104. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1105.  
  1106. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_STMT
  1107.  
  1108. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out DO_STMT
  1109.  
  1110. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1111.  
  1112. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_STMT
  1113.  
  1114. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out DO_STMT
  1115.  
  1116. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1117.  
  1118. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_STMT
  1119.  
  1120. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1121.  
  1122. -- DECOMPILER ERROR at PC218: LeaveBlock: unexpected jumping out IF_STMT
  1123.  
  1124. end
  1125. end
  1126. end
  1127. end
  1128. end
  1129. end
  1130. end
  1131. end
  1132. mouseCombo = 0
  1133. deb = false
  1134. end
  1135. keycombo = function(keys)
  1136. if deb then
  1137. return
  1138. end
  1139. local reset = function()
  1140. curkeys = ""
  1141. curinactive = 0
  1142. end
  1143. if keys == "SAC" then
  1144. deb = true
  1145. reset()
  1146. canwalk = false
  1147. local Hit = {}
  1148. do
  1149. Stats.Speed:add(0.65, -100)
  1150. loop(0.25, function(step, total)
  1151. local t = 15 * step
  1152. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1153. N.C0 = clerp(N.C0, DN0, t)
  1154. N.C1 = clerp(N.C1, DN1 * angles(-0.2, 0, -0.3), t)
  1155. LS.C0 = clerp(LS.C0, DLS0, t)
  1156. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  1157. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1158. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1159. LH.C1 = clerp(LH.C1, DLH1 * cf() * angles(0.1, 0, 0), t)
  1160. RH.C1 = clerp(RH.C1, DRH1 * cf(0, 0, 0) * angles(0.1, 0, 0), t)
  1161. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.5), t)
  1162. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.5), t)
  1163. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, pi / 4), t)
  1164. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1165. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1166. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1167. LW.C1 = LW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1168. end)
  1169. loop(0.35, function(step, total)
  1170. local t = 20 * step
  1171. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1172. N.C0 = clerp(N.C0, DN0, t)
  1173. N.C1 = clerp(N.C1, DN1 * angles(-0.2, 0, -0.5), t)
  1174. LS.C0 = clerp(LS.C0, DLS0, t)
  1175. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  1176. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1177. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1178. LH.C1 = clerp(LH.C1, DLH1 * cf() * angles(1.2, 0, 0), t)
  1179. RH.C1 = clerp(RH.C1, DRH1 * cf(0, -0.25, 0) * angles(1, 0, 0), t)
  1180. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.5), t)
  1181. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.5), t)
  1182. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, pi / 2), t)
  1183. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1184. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1185. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1186. LW.C1 = LW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1187. local curdmg = {35, 50}
  1188. local Results = CheckHumanoid(LeftLeg.CFrame * cf(0, -1.5, 0).p, 3)
  1189. for _,Result in ipairs(Results) do
  1190. local go = true
  1191. for _,v in ipairs(Hit) do
  1192. if Result.Humanoid == v then
  1193. go = false
  1194. break
  1195. end
  1196. end
  1197. do
  1198. if go then
  1199. table.insert(Hit, Result.Humanoid)
  1200. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1201. if s then
  1202. lasthit = Result.Model
  1203. Result.Humanoid.Jump = true
  1204. KnockBack(Result.Humanoid, 100, nil, Torso.Position, vt(0, 50, 0))
  1205. end
  1206. end
  1207. do
  1208. -- DECOMPILER ERROR at PC302: LeaveBlock: unexpected jumping out DO_STMT
  1209.  
  1210. end
  1211. end
  1212. end
  1213. end)
  1214. canwalk = true
  1215. deb = false
  1216. end
  1217. else
  1218. do
  1219. if keys == "SSADQ" then
  1220. reset()
  1221. deb = true
  1222. loop(1, function(step, total)
  1223. local t = 15 * step
  1224. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1225. N.C0 = clerp(N.C0, DN0, t)
  1226. N.C1 = clerp(N.C1, DN1 * angles(0.1, 0, 0.7), t / 2)
  1227. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1228. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1229. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.8, 0), t)
  1230. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.8, 0), t)
  1231. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, pi + 0.5), t / 4)
  1232. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.3), t)
  1233. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1), t)
  1234. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1235. RW.C1 = RW.C1:lerp(angles(-pi / 2, total * 40, -pi / 5), t)
  1236. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1237. LW.C1 = LW.C1:lerp(angles(-pi / 2 + 1, 0, pi / 2), t)
  1238. local p1, m1 = CreatePart()
  1239. p1.CFrame = rPart2.CFrame * cf(0, math.random(-10, 10) / 10, 0)
  1240. p1.Transparency = 0.5
  1241. p1.BrickColor = BrickColor.new(cols[math.random(1, #cols)])
  1242. m1.Scale = vt(1, 1, 1)
  1243. Effects:add(p1, m1, true, vt(5, 5, 5), 1, 10, p1.CFrame * cf(0, math.random(10, 50) / 10, 0))
  1244. p1.Parent = Character
  1245. end)
  1246. canwalk = false
  1247. Stats.Speed:add(0.3, -100)
  1248. loop(0.1, function(step, total)
  1249. local t = 15 * step
  1250. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1251. N.C0 = clerp(N.C0, DN0, t)
  1252. N.C1 = clerp(N.C1, DN1 * angles(0.3, 0, 0.1), t)
  1253. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1254. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1255. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.1, 0), t)
  1256. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.1, 0), t)
  1257. LH.C1 = clerp(LH.C1, DLH1 * cf(0.5, 0, 0) * angles(0, 0.3, -0.5), t)
  1258. RH.C1 = clerp(RH.C1, DRH1 * cf(-0.5, -0.5, 0) * angles(0, 0, -0.6), t)
  1259. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, pi + 0.1), t)
  1260. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.3), t)
  1261. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 1, 0) * CFrame.Angles(-0.6, 0, -0.1), t)
  1262. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1263. RW.C1 = RW.C1:lerp(angles(-pi / 2 + 0.5, 0, -pi / 5), t)
  1264. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1265. LW.C1 = LW.C1:lerp(angles(-pi / 2 + 1, 0, pi / 2), t)
  1266. end)
  1267. spawn(function()
  1268. local dir = Character.HumanoidRootPart.CFrame.lookVector
  1269. local cpos = Character.HumanoidRootPart.CFrame.p
  1270. local height = 300
  1271. local range = 60
  1272. for i = 1, range, 0.3 do
  1273. local pos = cpos + dir * (i * 5)
  1274. local Hit = {}
  1275. local RStart, REnd = pos + vt(0, height / 2, 0), pos + Vector3.new(math.random(-40, 40) / 10, 0, math.random(-40, 40) / 10)
  1276. local ray = Ray.new(RStart, REnd - RStart.unit * height)
  1277. local ig = {Character}
  1278. for i,v in ipairs(workspace:GetChildren()) do
  1279. if v:IsA("Model") and v:FindFirstChild("Humanoid") then
  1280. table.insert(ig, v)
  1281. end
  1282. end
  1283. local _, HitP = workspace:FindPartOnRayWithIgnoreList(ray, ig)
  1284. pos = HitP + vt(0, 3, 0)
  1285. local p1, m1 = CreatePart()
  1286. p1.CFrame = cf(HitP, pos) * angles(math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20)), math.rad(math.random(-20, 20)))
  1287. p1.Transparency = 0.5
  1288. p1.BrickColor = BrickColor.new(cols[math.random(1, #cols)])
  1289. m1.Scale = vt(30 + math.random(-10, 1), 30 + math.random(-10, 1), 0)
  1290. Effects:add(p1, m1, false, vt(0, 0, 400), 1, 10)
  1291. p1.Parent = Character
  1292. local curdmg = {5, 10}
  1293. local Results = CheckHumanoid(pos, 10)
  1294. for _,Result in ipairs(Results) do
  1295. local go = true
  1296. if go then
  1297. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1298. if s then
  1299. lasthit = Result.Model
  1300. KnockBack(Result.Humanoid, 20, nil, HitP)
  1301. end
  1302. end
  1303. end
  1304. swait()
  1305. end
  1306. end)
  1307. loop(0.2, function(step, total)
  1308. local t = 15 * step
  1309. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1310. N.C0 = clerp(N.C0, DN0, t)
  1311. N.C1 = clerp(N.C1, DN1 * angles(0.3, 0, 0.1), t)
  1312. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1313. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1314. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.1, 0), t)
  1315. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.1, 0), t)
  1316. LH.C1 = clerp(LH.C1, DLH1 * cf(0.5, 0, 0) * angles(0, 0.3, -0.5), t)
  1317. RH.C1 = clerp(RH.C1, DRH1 * cf(-0.5, -0.5, 0) * angles(0, 0, -0.6), t)
  1318. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -1.4), t)
  1319. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, -0.3), t)
  1320. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 1, 0) * CFrame.Angles(-0.6, 0, -0.1), t)
  1321. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1322. RW.C1 = RW.C1:lerp(angles(-pi / 2 - 0.5, 0, -pi / 5), t)
  1323. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1324. LW.C1 = LW.C1:lerp(angles(-pi / 2 + 1, 0, pi / 2), t)
  1325. end)
  1326. canwalk = true
  1327. deb = false
  1328. else
  1329. if keys == "WWE" then
  1330. deb = true
  1331. reset()
  1332. canwalk = false
  1333. Hit = {}
  1334. Stats.Speed:add(0.5, -100)
  1335. loop(0.2, function(step, total)
  1336. local t = 15 * step
  1337. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1338. N.C0 = clerp(N.C0, DN0, t)
  1339. N.C1 = clerp(N.C1, DN1 * angles(-0.1, 0, 0.1), t)
  1340. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1341. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1342. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.1, 0), t)
  1343. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.1, 0), t)
  1344. LH.C1 = clerp(LH.C1, DLH1 * cf(0.5, -0.3, 0) * angles(0, 0.1, -0.6), t)
  1345. RH.C1 = clerp(RH.C1, DRH1 * cf(-0.5, -0.3, 0) * angles(0, 0, -0.3), t)
  1346. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0.3), t)
  1347. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, -0.3), t)
  1348. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 1, 0) * CFrame.Angles(-0.3, 0, -0.1), t)
  1349. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1350. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1351. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1352. LW.C1 = LW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1353. end)
  1354. Humanoid.Jump = true
  1355. loop(0.3, function(step, total)
  1356. local t = 15 * step
  1357. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1358. N.C0 = clerp(N.C0, DN0, t)
  1359. N.C1 = clerp(N.C1, DN1 * angles(0.1, 0, 0.1), t)
  1360. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1361. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1362. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, -0.1, 0), t)
  1363. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, -0.1, 0), t)
  1364. LH.C1 = clerp(LH.C1, DLH1 * cf(0.1, -0.1, 0) * angles(0, 0, -0.2), t)
  1365. RH.C1 = clerp(RH.C1, DRH1 * cf(-0.5, -0.3, 0) * angles(0, 0, -0.1), t)
  1366. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.05, 0, -2.5), t)
  1367. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(0.05, 0, 2.5), t)
  1368. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 1, 0) * CFrame.Angles(-0.1, 0, -0.1), t)
  1369. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1370. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1371. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1372. LW.C1 = LW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1373. local p1, m1 = CreatePart()
  1374. p1.CFrame = lPart2.CFrame * cf(0, math.random(-10, 10) / 10, 0)
  1375. p1.Transparency = 0.5
  1376. p1.BrickColor = BrickColor.new(cols[math.random(1, #cols)])
  1377. m1.Scale = vt(1, 1, 1)
  1378. local p2, m2 = CreatePart()
  1379. p2.CFrame = rPart2.CFrame * cf(0, math.random(-10, 10) / 10, 0)
  1380. p2.Transparency = 0.5
  1381. p2.BrickColor = BrickColor.new(cols[math.random(1, #cols)])
  1382. m2.Scale = vt(1, 1, 1)
  1383. Effects:add(p1, m1, true, vt(20, 20, 20), 1, 10, p1.CFrame * cf(0, math.random(10, 20) / 10, 0))
  1384. p1.Parent = Character
  1385. Effects:add(p2, m2, true, vt(20, 20, 20), 1, 10, p2.CFrame * cf(0, math.random(10, 20) / 10, 0))
  1386. p2.Parent = Character
  1387. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 100 + vt(0, total * 150, 0)
  1388. local curdmg = {30, 45}
  1389. local Results = CheckHumanoid(rPart2.CFrame.p, 3)
  1390. for _,Result in ipairs(Results) do
  1391. local go = true
  1392. for _,v in ipairs(Hit) do
  1393. if Result.Humanoid == v then
  1394. go = false
  1395. break
  1396. end
  1397. end
  1398. do
  1399. if go then
  1400. table.insert(Hit, Result.Humanoid)
  1401. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1402. if s then
  1403. lasthit = Result.Model
  1404. KnockBack(Result.Humanoid, 50, nil, Torso.Position)
  1405. end
  1406. end
  1407. do
  1408. -- DECOMPILER ERROR at PC435: LeaveBlock: unexpected jumping out DO_STMT
  1409.  
  1410. end
  1411. end
  1412. end
  1413. local curdmg = {30, 45}
  1414. local Results = CheckHumanoid(lPart2.CFrame.p, 3)
  1415. for _,Result in ipairs(Results) do
  1416. local go = true
  1417. for _,v in ipairs(Hit) do
  1418. if Result.Humanoid == v then
  1419. go = false
  1420. break
  1421. end
  1422. end
  1423. do
  1424. if go then
  1425. table.insert(Hit, Result.Humanoid)
  1426. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1427. if s then
  1428. lasthit = Result.Model
  1429. KnockBack(Result.Humanoid, 50, nil, Torso.Position)
  1430. end
  1431. end
  1432. do
  1433. -- DECOMPILER ERROR at PC487: LeaveBlock: unexpected jumping out DO_STMT
  1434.  
  1435. end
  1436. end
  1437. end
  1438. end)
  1439. canwalk = true
  1440. deb = false
  1441. else
  1442. if keys == "SSE" and jumping then
  1443. deb = true
  1444. reset()
  1445. canwalk = false
  1446. safehum = false
  1447. Hit = {}
  1448. Humanoid.PlatformStand = true
  1449. local bp = genBody()
  1450. bp.Position = RootPart.Position
  1451. bp.Parent = RootPart
  1452. local bg = it("BodyGyro")
  1453. bg.MaxTorque = vt(math.huge, math.huge, math.huge)
  1454. bg.CFrame = workspace.CurrentCamera.CoordinateFrame
  1455. bg.Parent = RootPart
  1456. loop(0.3, function(step, total)
  1457. local t = 30 * step
  1458. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1459. N.C0 = clerp(N.C0, DN0, t)
  1460. N.C1 = clerp(N.C1, DN1 * angles(-0.1, 0, 0.1), t)
  1461. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1462. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1463. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1464. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1465. LH.C1 = clerp(LH.C1, DLH1 * cf(0, 0, 0) * angles(0.1, 0, -0.1), t)
  1466. RH.C1 = clerp(RH.C1, DRH1 * cf(0, 0, 0) * angles(0.1, 0, 0.1), t)
  1467. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.5, 0.3) * CFrame.Angles(-0.4, 0, -1.5), t)
  1468. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.5, 0.3) * CFrame.Angles(-0.4, 0, 1), t)
  1469. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), t)
  1470. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1471. RW.C1 = RW.C1:lerp(angles(pi / 2 + 1.5, 0, pi / 2), t)
  1472. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1473. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1.5, 0, pi / 2), t)
  1474. bg.CFrame = workspace.CurrentCamera.CoordinateFrame
  1475. end)
  1476. loop(0.3, function(step, total)
  1477. local t = 20 * step
  1478. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1479. N.C0 = clerp(N.C0, DN0, t)
  1480. N.C1 = clerp(N.C1, DN1 * angles(-0.1, 0, 0.1), t)
  1481. LS.C0 = clerp(LS.C0, DLS0 * cf(), t)
  1482. RS.C0 = clerp(RS.C0, DRS0 * cf() * angles(0, 0, 0), t)
  1483. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1484. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1485. LH.C1 = clerp(LH.C1, DLH1 * cf(0, 0, 0) * angles(0.1, 0, -0.1), t)
  1486. RH.C1 = clerp(RH.C1, DRH1 * cf(0, 0, 0) * angles(0.1, 0, 0.1), t)
  1487. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0.5, 0.3) * CFrame.Angles(1.7, 0, -1.2), t)
  1488. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0.5, 0.3) * CFrame.Angles(1.7, 0, 1.2), t)
  1489. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), t)
  1490. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1491. RW.C1 = RW.C1:lerp(angles(pi / 2 + 1.5, 0, pi / 2), t)
  1492. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1493. LW.C1 = LW.C1:lerp(angles(pi / 2 - 1.5, 0, pi / 2), t)
  1494. bg.CFrame = workspace.CurrentCamera.CoordinateFrame
  1495. local RStart, REnd = RootPart.Position, RootPart.Position + RootPart.CFrame.lookVector * 12
  1496. local ray = Ray.new(RStart, REnd - RStart.unit * 15)
  1497. local ig = {Character}
  1498. for i,v in ipairs(workspace:GetChildren()) do
  1499. if v:IsA("Model") and v:FindFirstChild("Humanoid") then
  1500. table.insert(ig, v)
  1501. end
  1502. end
  1503. local HitPart, HitP = workspace:FindPartOnRayWithIgnoreList(ray, ig)
  1504. if HitPart == nil then
  1505. bp.Position = RootPart.Position + RootPart.CFrame.lookVector * 12
  1506. end
  1507. local p1, m1 = CreatePart()
  1508. p1.CFrame = lPart2.CFrame * cf(0, math.random(-20, 20) / 10, 0)
  1509. p1.Transparency = 0.5
  1510. p1.BrickColor = BrickColor.new(cols[math.random(1, #cols)])
  1511. m1.Scale = vt(1, 1, 1)
  1512. local p2, m2 = CreatePart()
  1513. p2.CFrame = rPart2.CFrame * cf(0, math.random(-20, 20) / 10, 0)
  1514. p2.Transparency = 0.5
  1515. p2.BrickColor = BrickColor.new(cols[math.random(1, #cols)])
  1516. m2.Scale = vt(1, 1, 1)
  1517. Effects:add(p1, m1, true, vt(40, 40, 40), 1, 10, p1.CFrame * cf(0, math.random(10, 20) / 10, 0))
  1518. p1.Parent = Character
  1519. Effects:add(p2, m2, true, vt(40, 40, 40), 1, 10, p2.CFrame * cf(0, math.random(10, 20) / 10, 0))
  1520. p2.Parent = Character
  1521. local curdmg = {30, 45}
  1522. local Results = CheckHumanoid(rPart2.CFrame.p, 4)
  1523. for _,Result in ipairs(Results) do
  1524. local go = true
  1525. for _,v in ipairs(Hit) do
  1526. if Result.Humanoid == v then
  1527. go = false
  1528. break
  1529. end
  1530. end
  1531. do
  1532. if go then
  1533. table.insert(Hit, Result.Humanoid)
  1534. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1535. if s then
  1536. lasthit = Result.Model
  1537. KnockBack(Result.Humanoid, 20, nil, Torso.Position)
  1538. end
  1539. end
  1540. do
  1541. -- DECOMPILER ERROR at PC484: LeaveBlock: unexpected jumping out DO_STMT
  1542.  
  1543. end
  1544. end
  1545. end
  1546. local curdmg = {30, 45}
  1547. local Results = CheckHumanoid(lPart2.CFrame.p, 4)
  1548. for _,Result in ipairs(Results) do
  1549. local go = true
  1550. for _,v in ipairs(Hit) do
  1551. if Result.Humanoid == v then
  1552. go = false
  1553. break
  1554. end
  1555. end
  1556. do
  1557. if go then
  1558. table.insert(Hit, Result.Humanoid)
  1559. local _, s = takeDamage(Result.Humanoid, curdmg[1], curdmg[2], {})
  1560. if s then
  1561. lasthit = Result.Model
  1562. KnockBack(Result.Humanoid, 20, nil, Torso.Position)
  1563. end
  1564. end
  1565. do
  1566. -- DECOMPILER ERROR at PC536: LeaveBlock: unexpected jumping out DO_STMT
  1567.  
  1568. end
  1569. end
  1570. end
  1571. end)
  1572. Torso.Velocity = vt()
  1573. Humanoid.Jump = true
  1574. bp:Destroy()
  1575. bg:Destroy()
  1576. canwalk = true
  1577. safehum = true
  1578. deb = false
  1579. else
  1580. do
  1581. if keys == "SSQ" and lasthit and lasthit:FindFirstChild("Humanoid") and lasthit:FindFirstChild("Torso") and lasthit.Parent ~= nil then
  1582. deb = true
  1583. reset()
  1584. canwalk = false
  1585. Stats.Speed:add(0.3, -100)
  1586. loop(0.1, function(step, total)
  1587. local t = 15 * step
  1588. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1589. N.C0 = clerp(N.C0, DN0, t)
  1590. N.C1 = clerp(N.C1, DN1 * angles(-0.2, 0, 0), t)
  1591. LS.C0 = clerp(LS.C0, DLS0, t)
  1592. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  1593. LH.C0 = clerp(LH.C0, DLH0_ * angles(0, 0, 0), t)
  1594. RH.C0 = clerp(RH.C0, DRH0_ * angles(0, 0, 0), t)
  1595. LH.C1 = clerp(LH.C1, DLH1 * cf(0, 0, 0) * angles(0.1, 0, 0.1), t)
  1596. RH.C1 = clerp(RH.C1, DRH1 * cf(0, 0, 0) * angles(0.1, 0, 0.1), t)
  1597. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, -2.3), t)
  1598. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 2.3), t)
  1599. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0), t)
  1600. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1601. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1602. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1603. LW.C1 = LW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1604. end)
  1605. loop(0.2, function(step, total)
  1606. local t = 15 * step
  1607. RJ.C0 = clerp(RJ.C0, DRJ0, t)
  1608. N.C0 = clerp(N.C0, DN0, t)
  1609. N.C1 = clerp(N.C1, DN1 * angles(-0.2, 0, 0), t)
  1610. LS.C0 = clerp(LS.C0, DLS0, t)
  1611. RS.C0 = clerp(RS.C0, DRS0 * angles(0, 0, 0), t)
  1612. LH.C0 = clerp(LH.C0, DLH0_ * cf(0, 0, 0) * angles(0, 0, 0), t)
  1613. RH.C0 = clerp(RH.C0, DRH0_ * cf(0, 0, 0) * angles(0, 0, 0), t)
  1614. LH.C1 = clerp(LH.C1, DLH1 * cf(0.5, -1, 0) * angles(0.1, 0, 0.1), t)
  1615. RH.C1 = clerp(RH.C1, DRH1 * cf(0, 0, 0) * angles(0.1, 0, 1), t)
  1616. RS.C1 = clerp(RS.C1, DRS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, -1.6), t)
  1617. LS.C1 = clerp(LS.C1, DLS1 * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 1.6), t)
  1618. RJ.C1 = clerp(RJ.C1, DRJ1 * CFrame.new(0, 0, 1) * CFrame.Angles(-0.3, 0, 0), t)
  1619. RW.C0 = RW.C0:lerp(cf(0, -1, 0), t)
  1620. RW.C1 = RW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1621. LW.C0 = LW.C0:lerp(cf(0, -1, 0), t)
  1622. LW.C1 = LW.C1:lerp(angles(-pi / 2, 0, pi / 2), t)
  1623. end)
  1624. zapp(lasthit.Torso.Position, Torso.Position, nil, 3, nil, nil, nil, math.random(15, 20) / 10, nil, nil, function(curpos, curranpos, lastpos, curranpos, p, m)
  1625. pcall(function()
  1626. lasthit.Torso.CFrame = p.CFrame
  1627. local _, s = takeDamage(lasthit.Humanoid, 1, 3, {})
  1628. if s then
  1629. Humanoid.Health = Humanoid.Health + 1
  1630. if Humanoid.MaxHealth < Humanoid.Health then
  1631. Humanoid.Health = Humanoid.MaxHealth
  1632. end
  1633. end
  1634. end)
  1635. rwait()
  1636. end)
  1637. canwalk = true
  1638. deb = false
  1639. end
  1640. end
  1641. end
  1642. end
  1643. end
  1644. end
  1645. end
  1646. end
  1647. allowedkeys = {A = true, S = true, D = true, W = true, Q = true, E = true, Z = true, X = true, C = true}
  1648. Mouse.Button1Down:connect(function()
  1649. if deb then
  1650. return
  1651. end
  1652. mouseEnabled = true
  1653. mousecombo()
  1654. end)
  1655. Mouse.Button1Up:connect(function()
  1656. if not deb then
  1657. return
  1658. end
  1659. mouseEnabled = false
  1660. end)
  1661. Mouse.KeyDown:connect(function(key)
  1662. if Humanoid.Health == 0 then
  1663. return
  1664. end
  1665. key = key:upper()
  1666. if allowedkeys[key] then
  1667. curinactive = 0
  1668. curkeys = curkeys .. key
  1669. print(curkeys)
  1670. keycombo(curkeys)
  1671. end
  1672. end)
Add Comment
Please, Sign In to add comment