Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 76.52 KB | None | 0 0
  1. local Player = game:service('Players').LocalPlayer
  2. repeat
  3. wait()
  4. until Player.Character ~= nil
  5. local plrs = game:GetService('Players')
  6. local plr = plrs.LocalPlayer
  7. local char = plr.Character
  8. local bp = plr.Backpack
  9. local hum = char.Humanoid
  10. local T = char.Torso
  11. local Character = char
  12. local Humanoid = hum
  13. local torso = char.Torso
  14. local Char = Player.Character
  15. local char = Char
  16. local mouse = Player:GetMouse()
  17. local Backpack = Player.Backpack
  18. local PlayerGui = Player.PlayerGui
  19. local Camera = workspace.CurrentCamera
  20. local Humanoid = Char:WaitForChild('Humanoid')
  21. local Torso = Char:WaitForChild('Torso')
  22. local Head = Char:WaitForChild('Head')
  23. local ra = Char:WaitForChild('Right Arm')
  24. local la = Char:WaitForChild('Left Arm')
  25. local rl = Char:WaitForChild('Right Leg')
  26. local ll = Char:WaitForChild('Left Leg')
  27. local rs = Torso:WaitForChild('Right Shoulder')
  28. local ls = Torso:WaitForChild('Left Shoulder')
  29. local rh = Torso:WaitForChild('Right Hip')
  30. local lh = Torso:WaitForChild('Left Hip')
  31. local neck = Torso:WaitForChild('Neck')
  32. local rootpart = Char:WaitForChild('HumanoidRootPart')
  33. local rj = rootpart:WaitForChild('RootJoint')
  34. local anim = Char:WaitForChild('Animate')
  35. local RunService = game:GetService('RunService')
  36. local UIA = game:GetService('UserInputService')
  37. local CF = CFrame.new
  38. local CA = CFrame.Angles
  39. local FEA = CFrame.fromEulerAnglesXYZ
  40. local FAA = CFrame.fromAxisAngle
  41. local V3 = Vector3.new
  42. local CN = Color3.new
  43. local Ice = Instance.new
  44. local BC = BrickColor.new
  45. local UD2 = UDim2.new
  46. local C3 = Color3.new
  47. local MR = math.rad
  48. local MP = math.pi
  49. local MD = math.deg
  50. local MH = math.huge
  51. local MS = math.sin
  52. local MC = math.cos
  53. local MT = math.tan
  54. local MAS = math.asin
  55. local MAC = math.acos
  56. local MAT = math.atan
  57. local components = CF().components
  58. local State = 'Calm'
  59. local Slash = false
  60. local Sheathed = false
  61. local combocounter = 0
  62. humanoid = char:findFirstChild('Humanoid')
  63. hum = humanoid
  64. torso = char:findFirstChild('Torso')
  65. head = char.Head
  66. ra = char:findFirstChild('Right Arm')
  67. ra.CanCollide = true
  68. la = char:findFirstChild('Left Arm')
  69. la.CanCollide = true
  70. rl = char:findFirstChild('Right Leg')
  71. rl.CanCollide = true
  72. ll = char:findFirstChild('Left Leg')
  73. ll.CanCollide = true
  74. rs = torso:findFirstChild('Right Shoulder')
  75. ls = torso:findFirstChild('Left Shoulder')
  76. rh = torso:findFirstChild('Right Hip')
  77. lh = torso:findFirstChild('Left Hip')
  78. neck = torso:findFirstChild('Neck')
  79. rootpart = char:findFirstChild('HumanoidRootPart')
  80. rj = rootpart:findFirstChild('RootJoint')
  81. anim = char:findFirstChild('Animate')
  82. camera = workspace.CurrentCamera
  83. plr.CameraMaxZoomDistance = math.huge
  84. pcall(function()
  85. anim:Destroy()
  86. end)
  87. pcall(function()
  88. char.Health.Disabled = true
  89. end)
  90. pcall(function()
  91. humanoid.Animator:Destroy()
  92. end)
  93. local rjo = rootpart.RootJoint:Clone()
  94. function newWeld(wp0, wp1, wc0x, wc0y, wc0z)
  95. local wld = Instance.new('Weld', wp1)
  96. wld.Part0 = wp0
  97. wld.Part1 = wp1
  98. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  99. return wld
  100. end
  101. for k, v in pairs(char:children('')) do
  102. if v:isA('BasePart') then
  103. v.BrickColor = BrickColor.new('Really black')
  104. end
  105. end
  106. pcall(function()
  107. char['Body Colors'].HeadColor = BrickColor.new('Really black')
  108. char['Body Colors'].TorsoColor = BrickColor.new('Really black')
  109. char['Body Colors'].LeftArmColor = BrickColor.new('Really black')
  110. char['Body Colors'].RightArmColor = BrickColor.new('Really black')
  111. char['Body Colors'].LeftLegColor = BrickColor.new('Really black')
  112. char['Body Colors'].RightLegColor = BrickColor.new('Really black')
  113. end)
  114. local mult = 1
  115. la.Size = la.Size * mult
  116. ra.Size = ra.Size * mult
  117. ll.Size = ll.Size * mult
  118. rl.Size = rl.Size * mult
  119. torso.Size = torso.Size * mult
  120. head.Size = head.Size * mult
  121. rootpart.Size = rootpart.Size * mult
  122. local lm = newWeld(torso, la, -1.7 * mult, 0.5 * mult, 0)
  123. lm.C1 = CFrame.new(0, 0.5 * mult, 0)
  124. local rm = newWeld(torso, ra, 1.7 * mult, 0.5 * mult, 0)
  125. rm.C1 = CFrame.new(0, 0.5 * mult, 0)
  126. local neck = newWeld(torso, head, 0, mult, 0)
  127. local llegm = newWeld(torso, ll, -0.5 * mult, -1 * mult, 0)
  128. llegm.C1 = CFrame.new(0, mult, 0)
  129. local rlegm = newWeld(torso, rl, 0.5 * mult, -1 * mult, 0)
  130. rlegm.C1 = CFrame.new(0, mult, 0)
  131. local rj = rjo:Clone()
  132. rj.Part0 = rootpart
  133. rj.Part1 = torso
  134. rj.Parent = rootpart
  135. neck.C1 = CFrame.new(0, -(mult / 2), 0)
  136. neckc0 = neck.C0
  137. rsc0 = rm.C0
  138. lsc0 = lm.C0
  139. llc0 = llegm.C0
  140. rlc0 = rlegm.C0
  141. rootc0 = rj.C0
  142. rootc1 = rj.C1
  143. wait()
  144. function Create(Instanc, prop)
  145. local p = Instance.new(Instanc)
  146. for i, v in pairs(prop) do
  147. p[i] = v
  148. end
  149. return p
  150. end
  151. function rwait(num)
  152. if num == 0 or num == nil then
  153. game:service('RunService').Stepped:wait(0)
  154. else
  155. for i = 0, num do
  156. game:service('RunService').Stepped:wait(0)
  157. end
  158. end
  159. return true
  160. end
  161. local pony = Instance.new('PointLight', Torso)
  162. pony.Name = 'LePontyPontz'
  163. pony.Brightness = 1
  164. pony.Color = Color3.new(0, 1, 0)
  165. coroutine.wrap(function()
  166. game:service('RunService').Stepped:connect(function()
  167. pony.Range = 5 + math.abs(math.sin(tick() / 2)) * 6
  168. end)
  169. end)()
  170. local setupPart = function(part)
  171. part.Anchored = true
  172. part.FormFactor = 'Custom'
  173. part.CanCollide = false
  174. part.BrickColor = BrickColor.new('Sea green')
  175. part.Material = 'Neon'
  176. part.TopSurface = 'SmoothNoOutlines'
  177. part.BottomSurface = 'SmoothNoOutlines'
  178. part.FrontSurface = 'SmoothNoOutlines'
  179. part.BackSurface = 'SmoothNoOutlines'
  180. part.LeftSurface = 'SmoothNoOutlines'
  181. part.RightSurface = 'SmoothNoOutlines'
  182. end
  183. function CFrameFromTopBack(at, top, back)
  184. local right = top:Cross(back)
  185. return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  186. end
  187. function CreateTriangle(parent, a, b, c)
  188. local this = {}
  189. local mPart1 = Instance.new('WedgePart')
  190. setupPart(mPart1)
  191. local mPart2 = Instance.new('WedgePart')
  192. setupPart(mPart2)
  193. function this:Set(a, b, c)
  194. local ab, bc, ca = b - a, c - b, a - c
  195. local abm, bcm, cam = ab.magnitude, bc.magnitude, ca.magnitude
  196. local edg1 = math.abs(0.5 + ca:Dot(ab) / (abm * abm))
  197. local edg2 = math.abs(0.5 + ab:Dot(bc) / (bcm * bcm))
  198. local edg3 = math.abs(0.5 + bc:Dot(ca) / (cam * cam))
  199. if edg1 < edg2 then
  200. if edg1 < edg3 then
  201. else
  202. a, b, c = c, a, b
  203. ab, bc, ca = ca, ab, bc
  204. abm = cam
  205. end
  206. elseif edg2 < edg3 then
  207. a, b, c = b, c, a
  208. ab, bc, ca = bc, ca, ab
  209. abm = bcm
  210. else
  211. a, b, c = c, a, b
  212. ab, bc, ca = ca, ab, bc
  213. abm = cam
  214. end
  215. local len1 = -ca:Dot(ab) / abm
  216. local len2 = abm - len1
  217. local width = (ca + ab.unit * len1).magnitude
  218. local maincf = CFrameFromTopBack(a, ab:Cross(bc).unit, -ab.unit)
  219. mPart1.Parent = parent
  220. mPart1.Size = Vector3.new(1, 1, 1)
  221. mPart1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  222. local Mesh = Instance.new('SpecialMesh', mPart1)
  223. Mesh.MeshType = 'Wedge'
  224. Mesh.Scale = Vector3.new(0.005, width, len1)
  225. mPart2.Parent = parent
  226. mPart2.Size = Vector3.new(1, 1, 1)
  227. mPart2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  228. local Mesh = Instance.new('SpecialMesh', mPart2)
  229. Mesh.MeshType = 'Wedge'
  230. Mesh.Scale = Vector3.new(0.005, width, len2)
  231. end
  232. function this:SetProperty(prop, value)
  233. mPart1[prop] = value
  234. mPart2[prop] = value
  235. end
  236. function this:GetProperty(prop)
  237. return mPart1[prop]
  238. end
  239. this:Set(a, b, c)
  240. function this:Destroy()
  241. mPart1:Destroy()
  242. mPart2:Destroy()
  243. end
  244. return this
  245. end
  246. local ttt
  247. local lastdps = tick()
  248. local ohp = hum.Health
  249. local berserk = false
  250. hum.Changed:connect(function(val)
  251. if val == 'Health_XML' then
  252. if hum.Health < ohp then
  253. lastdps = tick()
  254. end
  255. ohp = hum.Health
  256. if not berserk and hum.Health < hum.MaxHealth * 0.15 then
  257. ttt = true
  258. hum.WalkSpeed = 0
  259. hum.MaxHealth = 1 / 0
  260. otheranims = true
  261. do
  262. local rs = game:service('RunService').Stepped
  263. function GW()
  264. local wave = Instance.new('Part', Torso)
  265. wave.BrickColor = BrickColor.new('Really black')
  266. wave.Anchored = true
  267. wave.CanCollide = false
  268. wave.Locked = true
  269. wave.Size = Vector3.new(1, 1, 1)
  270. wave.TopSurface = 'Smooth'
  271. wave.BottomSurface = 'Smooth'
  272. wave.Material = 'Neon'
  273. wave.Transparency = 0.35
  274. wave.CFrame = Torso.CFrame
  275. wm = Instance.new('SpecialMesh', wave)
  276. wm.MeshType = 'Sphere'
  277. wm.Scale = Vector3.new(1, 1, 1)
  278. coroutine.wrap(function()
  279. for i = 0, 15 do
  280. wave.Size = wave.Size + Vector3.new(1, 1, 1)
  281. wave.CFrame = Torso.CFrame
  282. wave.Transparency = i / 14
  283. wait()
  284. end
  285. wait()
  286. wave:Destroy()
  287. end)()
  288. end
  289. Spawn(function()
  290. while ttt do
  291. GW()
  292. wait(math.random(1, 4))
  293. end
  294. end)
  295. local prtz = {
  296. la,
  297. Head,
  298. Torso
  299. }
  300. local pes = {}
  301. for i, v in pairs(prtz) do
  302. coroutine.wrap(function()
  303. local dsa = Instance.new('ParticleEmitter', v)
  304. local color1 = Color3.new(0.5, 1, 0.5)
  305. local color2 = Color3.new(0, 0.3333333333333333, 0)
  306. local sequence = ColorSequence.new(color1, color2)
  307. dsa.Color = sequence
  308. dsa.LightEmission = 0.8
  309. dsa.Texture = 'http://www.roblox.com/asset/?id=242102147'
  310. dsa.LockedToPart = true
  311. dsa.EmissionDirection = 'Top'
  312. dsa.Lifetime = NumberRange.new(1)
  313. dsa.VelocitySpread = 10
  314. dsa.Size = NumberSequence.new(1)
  315. table.insert(pes, dsa)
  316. end)()
  317. end
  318. Mode = 'Kneeling'
  319. berserk = true
  320. wait(2)
  321. hum.MaxHealth = 10000
  322. for i = 500, 7500, 15 do
  323. hum.Health = i
  324. game:service('RunService').Stepped:wait()
  325. end
  326. ttt = false
  327. for q, e in pairs(pes) do
  328. game.Destroy(e)
  329. end
  330. hum.WalkSpeed = 8
  331. otheranims = false
  332. end
  333. end
  334. elseif val == 'PlatformStand' then
  335. hum.PlatformStand = false
  336. elseif val == 'Sit' then
  337. hum.Sit = false
  338. elseif val == 'WalkSpeed' then
  339. end
  340. end)
  341. regening = false
  342. lastdps = tick()
  343. function regenHealth()
  344. if regening then
  345. return
  346. end
  347. if tick() - lastdps < 25 then
  348. return
  349. end
  350. regening = true
  351. local s = wait(1)
  352. local health = hum.Health
  353. if health > 0 and health < hum.MaxHealth then
  354. local newHealthDelta = hum.MaxHealth * 0.03
  355. health = health + newHealthDelta
  356. hum.Health = math.min(health, hum.MaxHealth)
  357. end
  358. regening = false
  359. end
  360. local LastTrail
  361. local Trails = {}
  362. function asd(parent, string)
  363. repeat
  364. wait()
  365. until parent:FindFirstChild(string)
  366. wait()
  367. return parent:FindFirstChild(string)
  368. end
  369. local beamy = asd(game.ReplicatedStorage, 'Beamy'):Clone()
  370. local Model = asd(game.ReplicatedStorage, 'mdl'):Clone()
  371. Model.Parent = Char
  372. local shm, swm, shem = Model:WaitForChild('Sheath'), Model:WaitForChild('Sword'), Model:WaitForChild('Shield')
  373. local LAH, RAH, TH = shem:WaitForChild('LeftArmHandle'), swm:WaitForChild('RightArmHandle'), shm:WaitForChild('TorsoHandle')
  374. LAH.Transparency, RAH.Transparency, TH.Transparency = 1, 1, 1
  375. local law = Create('Weld', {
  376. Parent = la,
  377. Part0 = la,
  378. Part1 = LAH,
  379. C0 = CFrame.new(0, 0, 0)
  380. })
  381. local raw = Create('Weld', {
  382. Parent = ra,
  383. Part0 = ra,
  384. Part1 = RAH,
  385. C0 = CFrame.new(0, 0, 0)
  386. })
  387. local rawc0 = raw.C0
  388. local lawc0 = law.C0
  389. LAH.Anchored, RAH.Anchored, TH.Anchored = false, false, false
  390. local torw = Create('Weld', {
  391. Parent = Torso,
  392. Part0 = Torso,
  393. Part1 = TH,
  394. C0 = CFrame.new(0, 0, 0)
  395. })
  396. TrailPart = Create('Part', {
  397. Parent = Char,
  398. Anchored = false,
  399. CanCollide = false,
  400. Size = V3(0, 5, 0),
  401. Transparency = 1
  402. })
  403. TrailPartMesh = Create('Snap', {
  404. Parent = TrailPart,
  405. Part0 = RAH,
  406. Part1 = TrailPart,
  407. C0 = CFrame.new(0, -1, -4.2) * CFrame.Angles(MR(90), 0, 0)
  408. })
  409. local get = game.ReplicatedStorage:FindFirstChild('GoldSuit'):Clone()
  410. get.Parent = Char
  411. local torso = get:WaitForChild('Torso')
  412. local head = get:WaitForChild('Head')
  413. local rightarm = get:WaitForChild('RightArm')
  414. local leftarm = get:WaitForChild('LeftArm')
  415. local rightleg = get:WaitForChild('RightLeg')
  416. local leftleg = get:WaitForChild('LeftLeg')
  417. Create('Weld', {
  418. Parent = torso.Handle,
  419. Part0 = Torso,
  420. Part1 = torso.Handle,
  421. C0 = CFrame.new(0, 0, 0)
  422. })
  423. Create('Weld', {
  424. Parent = head.Handle,
  425. Part0 = Head,
  426. Part1 = head.Handle,
  427. C0 = CFrame.new(0, 0, 0)
  428. })
  429. Create('Weld', {
  430. Parent = rightarm.Handle,
  431. Part0 = ra,
  432. Part1 = rightarm.Handle,
  433. C0 = CFrame.new(0, 0, 0)
  434. })
  435. Create('Weld', {
  436. Parent = leftarm.Handle,
  437. Part0 = la,
  438. Part1 = leftarm.Handle,
  439. C0 = CFrame.new(0, 0, 0)
  440. })
  441. Create('Weld', {
  442. Parent = leftleg.Handle,
  443. Part0 = ll,
  444. Part1 = leftleg.Handle,
  445. C0 = CFrame.new(0, 0, 0)
  446. })
  447. Create('Weld', {
  448. Parent = rightleg.Handle,
  449. Part0 = rl,
  450. Part1 = rightleg.Handle,
  451. C0 = CFrame.new(0, 0, 0)
  452. })
  453. function recurse(c)
  454. for i, v in pairs(c:children()) do
  455. if v:IsA('BasePart') then
  456. v.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  457. end
  458. recurse(v)
  459. end
  460. end
  461. recurse(get)
  462. recurse(Model)
  463. ra.Transparency = 1
  464. la.Transparency = 1
  465. ll.Transparency = 1
  466. rl.Transparency = 1
  467. HitDB = {}
  468. function Damage(part)
  469. smthn = part.Touched:connect(function(hit)
  470. Human = hit.Parent:findFirstChild('Humanoid')
  471. if Human ~= nil and hit.Parent.Name ~= Player.Name and Slash == true and HitDB[hit.Parent.Humanoid] == nil then
  472. coroutine.wrap(function()
  473. HitDB[hit.Parent.Humanoid] = true
  474. Human.Health = Human.Health - 25
  475. local vu = Instance.new('BodyVelocity', hit.Parent.Torso)
  476. vu.P = 500
  477. vu.maxForce = Vector3.new(10000000000, 5.0E21, 100000000000)
  478. vu.velocity = Head.CFrame.lookVector * 10
  479. game:GetService('Debris'):AddItem(vu, 0.267)
  480. wait(0.25)
  481. HitDB[hit.Parent.Humanoid] = nil
  482. end)()
  483. end
  484. end)
  485. return smthn
  486. end
  487. hum.WalkSpeed = 8
  488. hum.MaxHealth = 10000
  489. hum.Health = 10000
  490. function lerp(weld, beglerp, endlerp, speed)
  491. if weld.ClassName == 'Weld' or weld.ClassName == 'Motor6D' then
  492. weld.C0 = beglerp:lerp(endlerp, speed)
  493. else
  494. weld.CFrame = beglerp:lerp(endlerp, speed)
  495. end
  496. return weld.ClassName == 'Weld' or weld.ClassName == 'Motor6D' and weld.C0 or weld.CFrame
  497. end
  498. function Ragdoll(Format, Character, Force)
  499. if Force ~= true then
  500. if Character:FindFirstChild('Ragdoll') ~= nil and Format == true then
  501. return false
  502. end
  503. if Character:FindFirstChild('Ragdoll') == nil and Format == false then
  504. return false
  505. end
  506. end
  507. local Head, Torso, Humanoid
  508. local Dead = false
  509. for _, Children in pairs(Character:GetChildren()) do
  510. if Children.ClassName == 'ForceField' then
  511. Children:Remove()
  512. end
  513. if Children.Name == '' then
  514. Children:Remove()
  515. end
  516. if Children.Name == 'Head' then
  517. Head = Children
  518. end
  519. if Children.Name == 'Torso' then
  520. Torso = Children
  521. end
  522. if Children.ClassName == 'Humanoid' then
  523. Humanoid = Children
  524. end
  525. if Children:IsA('Accoutrement') then
  526. if Children:FindFirstChild('Handle') ~= nil then
  527. if math.random(1, 3) == 1 then
  528. coroutine.wrap(function()
  529. Children.Parent = Workspace
  530. wait()
  531. Children.Parent = Character
  532. Children.Handle.CanCollide = true
  533. end)()
  534. else
  535. Children.Parent = Workspace
  536. Children.Handle.CanCollide = true
  537. end
  538. else
  539. Children:Remove()
  540. end
  541. end
  542. end
  543. if Humanoid ~= nil and Humanoid.Health <= 0 then
  544. Dead = true
  545. end
  546. if Torso ~= nil then
  547. for _, Children2 in pairs(Torso:GetChildren()) do
  548. if Children2:IsA('JointInstance') then
  549. Children2:Remove()
  550. end
  551. end
  552. end
  553. if Head ~= nil then
  554. if (function()
  555. if Dead == true and math.random(1, 2) == 1 then
  556. return true
  557. else
  558. return false
  559. end
  560. end)() == false then
  561. local Neck = Instance.new('Motor6D')
  562. Neck.Name = 'Neck'
  563. Neck.Part0 = Torso
  564. Neck.Part1 = Head
  565. Neck.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180))
  566. Neck.C1 = CFrame.new(0, -0.5, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(180))
  567. Neck.MaxVelocity = 0.1
  568. Neck.Parent = Torso
  569. end
  570. end
  571. if Format == true then
  572. local Ragdoll = Instance.new('IntValue')
  573. Ragdoll.Name = 'Ragdoll'
  574. Ragdoll.Parent = Character
  575. if Torso ~= nil then
  576. Torso.Velocity = Torso.Velocity / 1.25
  577. Torso.RotVelocity = Torso.RotVelocity / 1.25 + Head.CFrame.lookVector * 80
  578. if Dead == true and Humanoid ~= nil then
  579. local Humanoid2 = Humanoid:Clone()
  580. wait()
  581. Humanoid:Remove()
  582. Humanoid2.Parent = Character
  583. Humanoid = Humanoid2
  584. end
  585. local Limb = Character:FindFirstChild('Right Arm')
  586. if Limb ~= nil then
  587. Limb.Velocity = Torso.Velocity
  588. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  589. local Joint = Instance.new('Glue')
  590. Joint.Name = 'RightShoulder'
  591. Joint.Part0 = Torso
  592. Joint.Part1 = Limb
  593. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  594. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  595. Joint.Parent = Torso
  596. local Weight = Instance.new('Part')
  597. Weight.Name = ''
  598. Weight.TopSurface = 0
  599. Weight.BottomSurface = 0
  600. Weight.Shape = 'Block'
  601. Weight.FormFactor = 'Custom'
  602. Weight.Size = Vector3.new(1, 1, 1)
  603. Weight.Transparency = 1
  604. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  605. Weight.Parent = Character
  606. local Weld = Instance.new('Weld')
  607. Weld.Part0 = Limb
  608. Weld.Part1 = Weight
  609. Weld.C0 = CFrame.new(0, -0.5, 0)
  610. Weld.Parent = Limb
  611. end
  612. local Limb = Character:FindFirstChild('Left Arm')
  613. if Limb then
  614. Limb.Velocity = Torso.Velocity
  615. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  616. local Joint = Instance.new('Glue')
  617. Joint.Name = 'LeftShoulder'
  618. Joint.Part0 = Torso
  619. Joint.Part1 = Limb
  620. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  621. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  622. Joint.Parent = Torso
  623. local Weight = Instance.new('Part')
  624. Weight.Name = ''
  625. Weight.TopSurface = 0
  626. Weight.BottomSurface = 0
  627. Weight.Shape = 'Block'
  628. Weight.FormFactor = 'Custom'
  629. Weight.Size = Vector3.new(1, 1, 1)
  630. Weight.Transparency = 1
  631. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  632. Weight.Parent = Character
  633. local Weld = Instance.new('Weld')
  634. Weld.Part0 = Limb
  635. Weld.Part1 = Weight
  636. Weld.C0 = CFrame.new(0, -0.5, 0)
  637. Weld.Parent = Limb
  638. end
  639. local Limb = Character:FindFirstChild('Right Leg')
  640. if Limb then
  641. Limb.Velocity = Torso.Velocity
  642. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  643. local Joint = Instance.new('Glue')
  644. Joint.Name = 'RightHip'
  645. Joint.Part0 = Torso
  646. Joint.Part1 = Limb
  647. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  648. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  649. Joint.Parent = Torso
  650. local Weight = Instance.new('Part')
  651. Weight.Name = ''
  652. Weight.TopSurface = 0
  653. Weight.BottomSurface = 0
  654. Weight.Shape = 'Block'
  655. Weight.FormFactor = 'Custom'
  656. Weight.Size = Vector3.new(1, 1, 1)
  657. Weight.Transparency = 1
  658. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  659. Weight.Parent = Character
  660. local Weld = Instance.new('Weld')
  661. Weld.Part0 = Limb
  662. Weld.Part1 = Weight
  663. Weld.C0 = CFrame.new(0, -0.5, 0)
  664. Weld.Parent = Limb
  665. end
  666. local Limb = Character:FindFirstChild('Left Leg')
  667. if Limb then
  668. Limb.Velocity = Torso.Velocity
  669. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  670. local Joint = Instance.new('Glue')
  671. Joint.Name = 'LeftHip'
  672. Joint.Part0 = Torso
  673. Joint.Part1 = Limb
  674. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  675. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  676. Joint.Parent = Torso
  677. local Weight = Instance.new('Part')
  678. Weight.Name = ''
  679. Weight.TopSurface = 0
  680. Weight.BottomSurface = 0
  681. Weight.Shape = 'Block'
  682. Weight.FormFactor = 'Custom'
  683. Weight.Size = Vector3.new(1, 1, 1)
  684. Weight.Transparency = 1
  685. Weight.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  686. Weight.Parent = Character
  687. local Weld = Instance.new('Weld')
  688. Weld.Part0 = Limb
  689. Weld.Part1 = Weight
  690. Weld.C0 = CFrame.new(0, -0.5, 0)
  691. Weld.Parent = Limb
  692. end
  693. local Weight = Instance.new('Part')
  694. Weight.Name = ''
  695. Weight.TopSurface = 0
  696. Weight.BottomSurface = 0
  697. Weight.Shape = 'Block'
  698. Weight.FormFactor = 'Custom'
  699. Weight.Size = Vector3.new(1.75, 1.5, 1.1)
  700. Weight.Transparency = 1
  701. Weight.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  702. Weight.Parent = Character
  703. local Weld = Instance.new('Weld')
  704. Weld.Part0 = Torso
  705. Weld.Part1 = Weight
  706. Weld.C0 = CFrame.new(0, 0.5, 0)
  707. Weld.Parent = Torso
  708. end
  709. elseif Format == false then
  710. if Character:FindFirstChild('Ragdoll') ~= nil then
  711. Character.Ragdoll:Remove()
  712. end
  713. if Torso ~= nil then
  714. local Limb = Character:FindFirstChild('Right Arm')
  715. if Limb ~= nil then
  716. local Joint = Instance.new('Motor6D')
  717. Joint.Name = 'Right Shoulder'
  718. Joint.Part0 = Torso
  719. Joint.Part1 = Limb
  720. Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  721. Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  722. Joint.MaxVelocity = 0.15
  723. Joint.Parent = Torso
  724. end
  725. local Limb = Character:FindFirstChild('Left Arm')
  726. if Limb ~= nil then
  727. local Joint = Instance.new('Motor6D')
  728. Joint.Name = 'Left Shoulder'
  729. Joint.Part0 = Torso
  730. Joint.Part1 = Limb
  731. Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  732. Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  733. Joint.MaxVelocity = 0.15
  734. Joint.Parent = Torso
  735. end
  736. local Limb = Character:FindFirstChild('Right Leg')
  737. if Limb ~= nil then
  738. local Joint = Instance.new('Motor6D')
  739. Joint.Name = 'Right Hip'
  740. Joint.Part0 = Torso
  741. Joint.Part1 = Limb
  742. Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  743. Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0)
  744. Joint.MaxVelocity = 0.1
  745. Joint.Parent = Torso
  746. end
  747. local Limb = Character:FindFirstChild('Left Leg')
  748. if Limb ~= nil then
  749. local Joint = Instance.new('Motor6D')
  750. Joint.Name = 'Left Hip'
  751. Joint.Part0 = Torso
  752. Joint.Part1 = Limb
  753. Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  754. Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0)
  755. Joint.MaxVelocity = 0.1
  756. Joint.Parent = Torso
  757. end
  758. local Animate = Character:FindFirstChild('Animate')
  759. if Animate ~= nil then
  760. local Animate2 = Animate:Clone()
  761. Animate:Remove()
  762. Animate2.Parent = Character
  763. end
  764. end
  765. else
  766. return false
  767. end
  768. return true, Format
  769. end
  770. local Grabbed = false
  771. Ctrl = false
  772. local lastclick = tick()
  773. mouse.Button1Down:connect(function()
  774. if tick() - lastclick > 0.4 then
  775. combocounter = 0
  776. end
  777. if otheranims then
  778. return
  779. end
  780. if Grabbed then
  781. return
  782. end
  783. if Sheathed then
  784. otheranims = true
  785. Mode = 'Sheath'
  786. wait(0.7)
  787. raw.Part0 = ra
  788. law.Part0 = la
  789. raw.C0 = rawc0
  790. law.C0 = lawc0
  791. Sheathed = false
  792. otheranims = false
  793. return
  794. end
  795. Slash = true
  796. local p0 = rootpart.CFrame * CF(0, 0, -7)
  797. local p1 = rootpart.CFrame * CF(0, 0, -15)
  798. if combocounter == 0 and not otheranims then
  799. otheranims = true
  800. Mode = 'Knee'
  801. local asdf = Damage(ll)
  802. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  803. wait(0.3)
  804. asdf:disconnect()
  805. otheranims = false
  806. combocounter = 1
  807. elseif combocounter == 1 and not otheranims then
  808. otheranims = true
  809. Mode = 'Slash11'
  810. wait(0.3)
  811. Mode = 'Slash12'
  812. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  813. wait(0.3)
  814. Mode = 'Slash21'
  815. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  816. wait(0.5)
  817. otheranims = false
  818. combocounter = 2
  819. elseif combocounter == 2 and not otheranims then
  820. otheranims = true
  821. Mode = 'Slash31'
  822. wait(0.3)
  823. Mode = 'Slash32'
  824. rootpart.CFrame = rootpart.CFrame:lerp(p0, 0.1)
  825. wait(0.5)
  826. otheranims = false
  827. combocounter = 3
  828. elseif combocounter == 3 and not otheranims then
  829. otheranims = true
  830. sDps = Damage(LAH)
  831. Mode = 'Bash11'
  832. wait(0.3)
  833. rootpart.CFrame = rootpart.CFrame:lerp(p1, 0.6)
  834. wait(1)
  835. sDps:disconnect()
  836. otheranims = false
  837. combocounter = 0
  838. end
  839. Slash = false
  840. lastclick = tick()
  841. end)
  842. function MediumParticleEmit(Object, Color)
  843. coroutine.wrap(function()
  844. while true do
  845. if not Wait(3.1) or not Object then
  846. break
  847. end
  848. do
  849. local p = Instance.new('Part', Object.Parent)
  850. p.Name = 'Trail'
  851. p.TopSurface = 0
  852. p.BottomSurface = 0
  853. p.Anchored = true
  854. p.Material = 'Neon'
  855. p.CanCollide = false
  856. p.FormFactor = 'Custom'
  857. p.Size = Vector3.new(0.01, 0.01, 0.01)
  858. if type(Color) ~= 'userdata' or not Color then
  859. end
  860. p.BrickColor = BrickColor.new(Color)
  861. p.CFrame = Object.CFrame * CFrame.new(math.random(-1, 1), math.random(-1, 1) - 3, math.random(-1, 1))
  862. local m = Instance.new('BlockMesh', p)
  863. m.Scale = Vector3.new(2, 2, 2)
  864. coroutine.wrap(function()
  865. for i = 1, 15 do
  866. p.Transparency = i / 15
  867. m.Scale = m.Scale + Vector3.new(0.1, 0.1, 0.1)
  868. p.CFrame = CFrame.new(p.Position + Vector3.new(math.random(-5, 5) / 20, 0.4, math.random(-5, 5) / 20)) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10) / i, math.random(-10, 10) / i, 0.5)
  869. Wait()
  870. end
  871. p:Destroy()
  872. end)()
  873. end
  874. end
  875. end)()
  876. end
  877. function IsNear(Position, Distance, SinglePlayer, db)
  878. if SinglePlayer then
  879. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  880. end
  881. local List = {}
  882. for i, v in pairs(workspace:GetChildren()) do
  883. if v:IsA('Model') and v:findFirstChild('Torso') and Distance > (v.Torso.CFrame.p - Position).magnitude then
  884. table.insert(List, v)
  885. end
  886. end
  887. return List
  888. end
  889. local beaming = false
  890. local Shielding = false
  891. mouse.KeyDown:connect(function(k)
  892. if otheranims then
  893. return
  894. end
  895. if beaming then
  896. return
  897. end
  898. if Shielding then
  899. return
  900. end
  901. if k == 'q' then
  902. if Grabbed then
  903. return
  904. end
  905. otheranims = true
  906. if not Sheathed then
  907. Mode = 'Sheath'
  908. wait(0.7)
  909. raw.Part0 = Torso
  910. law.Part0 = Torso
  911. raw.C0 = rawc0 * CFrame.new(1.8, 3.3, 0.65) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-45), 0, 0)
  912. law.C0 = lawc0 * CFrame.new(-0.3, 0.5, 0.25) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-45), 0, 0)
  913. Sheathed = true
  914. else
  915. Mode = 'Sheath'
  916. wait(0.7)
  917. raw.Part0 = char:findFirstChild('Right Arm')
  918. law.Part0 = char:findFirstChild('Left Arm')
  919. raw.C0 = rawc0
  920. law.C0 = lawc0
  921. Sheathed = false
  922. end
  923. otheranims = false
  924. elseif k == 'g' then
  925. if Sheathed then
  926. otheranims = true
  927. Mode = 'Sheath'
  928. wait(0.7)
  929. raw.Part0 = ra
  930. law.Part0 = la
  931. raw.C0 = rawc0
  932. law.C0 = lawc0
  933. Sheathed = false
  934. otheranims = false
  935. return
  936. end
  937. otheranims = true
  938. Mode = 'Shielding'
  939. Shielding = true
  940. do
  941. local storedHp = hum.Health
  942. coroutine.wrap(function()
  943. local shieldTime = tick()
  944. while Shielding do
  945. if tick() - shieldTime > 60 then
  946. otheranims = false
  947. Shielding = false
  948. break
  949. end
  950. hum.Health = storedHp
  951. game:service('RunService').Stepped:wait()
  952. end
  953. end)()
  954. end
  955. elseif k:byte() == 50 then
  956. Ctrl = true
  957. elseif k:byte() == 48 then
  958. coroutine.wrap(function()
  959. for i = 70, 60, -1 do
  960. camera.FieldOfView = i
  961. wait()
  962. end
  963. end)()
  964. hum.WalkSpeed = 18
  965. elseif k == 'r' then
  966. otheranims = true
  967. Mode = 'Stomp1'
  968. wait(0.5)
  969. Mode = 'Stomp2'
  970. do
  971. local Charging = true
  972. pt = Instance.new('Part', Torso)
  973. pt.Anchored = true
  974. pt.CanCollide = false
  975. pt.Locked = true
  976. pt.Material = 'Neon'
  977. pt.FormFactor = 'Custom'
  978. pt.Size = Vector3.new(1, 1, 1)
  979. pt.CFrame = rootpart.CFrame * CFrame.new(0, -1, 0)
  980. pt.Transparency = 0.6
  981. pt.BrickColor = BrickColor.new('Bright green')
  982. msh = Instance.new('SpecialMesh', pt)
  983. msh.MeshId = 'http://www.roblox.com/asset/?id=20329976'
  984. msh.Scale = Vector3.new(10, 2, 10)
  985. pt2 = pt:clone()
  986. pt2.Parent = Torso
  987. pt2.CFrame = rootpart.CFrame * CFrame.new(0, -1, 0)
  988. pt2.BrickColor = BrickColor.new('Really black')
  989. msh2 = msh:clone()
  990. msh2.Parent = pt2
  991. msh2.Scale = Vector3.new(10, 2, 10)
  992. custommath = {
  993. 25,
  994. 26,
  995. 27,
  996. 28,
  997. 29,
  998. 30,
  999. 31,
  1000. 32,
  1001. 33,
  1002. 34,
  1003. 35,
  1004. 36,
  1005. 37,
  1006. 38,
  1007. 39,
  1008. 40,
  1009. 41,
  1010. 42,
  1011. 43,
  1012. 44,
  1013. 45,
  1014. 46,
  1015. 47,
  1016. 48,
  1017. 49,
  1018. 50,
  1019. 51,
  1020. 52,
  1021. 53,
  1022. 54,
  1023. 55,
  1024. 56,
  1025. 57,
  1026. 58,
  1027. 59,
  1028. 60,
  1029. 61,
  1030. 62,
  1031. 63,
  1032. 64,
  1033. 65,
  1034. 66,
  1035. 67,
  1036. 68,
  1037. 69,
  1038. 70,
  1039. 71,
  1040. 72,
  1041. 73,
  1042. 74,
  1043. 75,
  1044. 76,
  1045. 77,
  1046. 78,
  1047. 79,
  1048. 80,
  1049. 81,
  1050. 82,
  1051. 83,
  1052. 84,
  1053. 85,
  1054. 86,
  1055. 87,
  1056. 88,
  1057. 89,
  1058. 90,
  1059. 91,
  1060. 92,
  1061. 93,
  1062. 94,
  1063. 95,
  1064. 96,
  1065. 97,
  1066. 98,
  1067. 99,
  1068. 100,
  1069. -25,
  1070. -26,
  1071. -27,
  1072. -28,
  1073. -29,
  1074. -30,
  1075. -31,
  1076. -32,
  1077. -33,
  1078. -34,
  1079. -35,
  1080. -36,
  1081. -37,
  1082. -38,
  1083. -39,
  1084. -40,
  1085. -41,
  1086. -42,
  1087. -43,
  1088. -44,
  1089. -45,
  1090. -46,
  1091. -47,
  1092. -48,
  1093. -49,
  1094. -50,
  1095. -51,
  1096. -52,
  1097. -53,
  1098. -54,
  1099. -55,
  1100. -56,
  1101. -57,
  1102. -58,
  1103. -59,
  1104. -60,
  1105. -61,
  1106. -62,
  1107. -63,
  1108. -64,
  1109. -65,
  1110. -66,
  1111. -67,
  1112. -68,
  1113. -69,
  1114. -70,
  1115. -71,
  1116. -72,
  1117. -73,
  1118. -74,
  1119. -75,
  1120. -76,
  1121. -77,
  1122. -78,
  1123. -79,
  1124. -80,
  1125. -81,
  1126. -82,
  1127. -83,
  1128. -84,
  1129. -85,
  1130. -86,
  1131. -87,
  1132. -88,
  1133. -89,
  1134. -90,
  1135. -91,
  1136. -92,
  1137. -93,
  1138. -94,
  1139. -95,
  1140. -96,
  1141. -97,
  1142. -98,
  1143. -99,
  1144. -100
  1145. }
  1146. bl = Instance.new('Part', char)
  1147. bl.Locked = true
  1148. bl.Name = 'Shell'
  1149. bl.BrickColor = BrickColor.new('Really black')
  1150. bl.Anchored = true
  1151. bl.Material = 'Neon'
  1152. bl.CanCollide = false
  1153. bl.Transparency = 0
  1154. bl.Reflectance = 0
  1155. bl.BottomSurface = 0
  1156. bl.TopSurface = 0
  1157. bl.Shape = 0
  1158. blm = Instance.new('SpecialMesh', bl)
  1159. blm.MeshType = 'Sphere'
  1160. blm.Scale = Vector3.new(1, 1, 1)
  1161. coroutine.resume(coroutine.create(function()
  1162. for i = 1, math.huge, 4 do
  1163. if Charging == true then
  1164. game:service('RunService').Stepped:wait()
  1165. bl.CFrame = rootpart.CFrame * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-i / 10), math.rad(-i / 10), math.rad(i / 10))
  1166. blm.Scale = blm.Scale + Vector3.new(0.5, 0.5, 0.5)
  1167. bl.Transparency = bl.Transparency + 0.05
  1168. pt.CFrame = rootpart.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(i * 2), 0)
  1169. pt2.CFrame = rootpart.CFrame * CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-i * 2), 0)
  1170. msh.Scale = msh.Scale + Vector3.new(0.7, 0, 0.7)
  1171. msh2.Scale = msh2.Scale + Vector3.new(0.7, 0, 0.7)
  1172. pt.Transparency = pt.Transparency + 0.015
  1173. pt2.Transparency = pt2.Transparency + 0.015
  1174. elseif Charging == false then
  1175. break
  1176. end
  1177. end
  1178. end))
  1179. local Damaged = {}
  1180. coroutine.wrap(function()
  1181. for i, v in pairs(IsNear(Torso.Position, 25, nil, true)) do
  1182. if v ~= Char then
  1183. if Damaged[v:FindFirstChild('Humanoid')] and tick() - Damaged[v:FindFirstChild('Humanoid')] < 0.25 then
  1184. return
  1185. end
  1186. v:FindFirstChild('Humanoid').Health = v:findFirstChild('Humanoid').Health - 25
  1187. v:findFirstChild('Humanoid').PlatformStand = true
  1188. local vu = Instance.new('BodyVelocity', v:findFirstChild('Torso'))
  1189. vu.P = 500
  1190. vu.maxForce = Vector3.new(10000000000, 5.0E21, 100000000000)
  1191. vu.velocity = Head.CFrame.lookVector * 80
  1192. game:GetService('Debris'):AddItem(vu, 0.267)
  1193. Damaged[v:FindFirstChild('Humanoid')] = tick()
  1194. end
  1195. end
  1196. end)()
  1197. Spawn(function()
  1198. while game:service('RunService').Stepped:wait() do
  1199. if p and p.Transparency >= 1 then
  1200. pcall(function()
  1201. p:Destroy()
  1202. end)
  1203. break
  1204. end
  1205. if not p then
  1206. break
  1207. end
  1208. p.CFrame = p.CFrame * CFrame.Angles(math.rad(2), math.rad(2), math.rad(2)) + Vector3.new(0, 0.2, 0)
  1209. p.Transparency = p.Transparency + 0.01
  1210. end
  1211. end)
  1212. wait(1)
  1213. pt:Destroy()
  1214. pt2:Destroy()
  1215. bl:Destroy()
  1216. Charging = false
  1217. otheranims = false
  1218. end
  1219. elseif k == 'e' then
  1220. do
  1221. local weld5 = function(part0, part1, c0, c1)
  1222. weeld = Instance.new('Weld', part0)
  1223. weeld.Part0 = part0
  1224. weeld.Part1 = part1
  1225. weeld.C0 = c0
  1226. weeld.C1 = c1
  1227. return weeld
  1228. end
  1229. if not Sheathed then
  1230. otheranims = true
  1231. Mode = 'Sheath'
  1232. wait(0.7)
  1233. raw.Part0 = Torso
  1234. law.Part0 = Torso
  1235. raw.C0 = rawc0 * CFrame.new(1.8, 3.3, 0.65) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-45), 0, 0)
  1236. law.C0 = lawc0 * CFrame.new(-0.3, 0.5, 0.25) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-45), 0, 0)
  1237. Sheathed = true
  1238. otheranims = false
  1239. return
  1240. end
  1241. if not Grabbed then
  1242. otheranims = true
  1243. Mode = 'Grabbing'
  1244. con1 = ra.Touched:connect(function(hit)
  1245. if hit:IsDescendantOf(Char) then
  1246. return
  1247. end
  1248. ht = hit.Parent
  1249. hum1 = ht:FindFirstChild('Humanoid')
  1250. if hum1 ~= nil then
  1251. hum1.Changed:connect(function(a)
  1252. if not hum1 then
  1253. return
  1254. end
  1255. if a == 'PlatformStand' then
  1256. hum1.PlatformStand = true
  1257. elseif a == 'Jump' then
  1258. hum1.Jump = false
  1259. elseif a == 'WalkSpeed' then
  1260. hum1.WalkSpeed = 0
  1261. elseif a == 'JumpPower' then
  1262. hum1.JumpPower = 0
  1263. end
  1264. end)
  1265. hum1.PlatformStand = true
  1266. hum1.Jump = false
  1267. hum1.WalkSpeed = 0
  1268. hum1.JumpPower = 0
  1269. gp = ht
  1270. local asde = weld5(ra, ht:FindFirstChild('Torso'), CFrame.new(0, -1.3, 0), CFrame.new(0, 0, 0))
  1271. asde.Parent = ra
  1272. asde.Name = 'asde'
  1273. asde.C0 = asde.C0 * CFrame.Angles(math.rad(-90), math.rad(0), 0)
  1274. Grabbed = true
  1275. end
  1276. end)
  1277. wait(0.5)
  1278. con1:disconnect()
  1279. otheranims = false
  1280. else
  1281. otheranims = true
  1282. pcall(function()
  1283. repeat
  1284. ht:findFirstChild('Humanoid').Health = ht:findFirstChild('Humanoid').Health - ht:findFirstChild('Humanoid').MaxHealth * 0.01
  1285. game:service('RunService').Stepped:wait()
  1286. hum:TakeDamage(-5)
  1287. until ht:findFirstChild('Humanoid').Health <= ht:findFirstChild('Humanoid').MaxHealth * 0.015
  1288. end)
  1289. Mode = 'Slash11'
  1290. wait(0.4)
  1291. Mode = 'Throw1'
  1292. pcall(function()
  1293. ra:findFirstChild('asde'):Destroy()
  1294. end)
  1295. local vu = Instance.new('BodyVelocity', ht.Torso)
  1296. vu.P = 500
  1297. vu.maxForce = Vector3.new(10000000000, 5.0E21, 100000000000)
  1298. vu.velocity = Head.CFrame.lookVector * 100
  1299. game:GetService('Debris'):AddItem(vu, 0.267)
  1300. wait(0.5)
  1301. Ragdoll(true, ht)
  1302. ht:findFirstChild('Humanoid').PlatformStand = true
  1303. coroutine.wrap(function()
  1304. wait(5)
  1305. ht:breakJoints('')
  1306. end)()
  1307. Grabbed = false
  1308. otheranims = false
  1309. end
  1310. end
  1311. elseif k == 'f' then
  1312. otheranims = true
  1313. if Grabbed then
  1314. return
  1315. end
  1316. if not Sheathed then
  1317. Mode = 'Sheath'
  1318. wait(0.7)
  1319. raw.Part0 = Torso
  1320. law.Part0 = Torso
  1321. raw.C0 = rawc0 * CFrame.new(1.8, 3.3, 0.65) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-45), 0, 0)
  1322. law.C0 = lawc0 * CFrame.new(-0.3, 0.5, 0.25) * CFrame.Angles(0, math.rad(90), 0) * CFrame.Angles(math.rad(-45), 0, 0)
  1323. Sheathed = true
  1324. otheranims = false
  1325. return
  1326. end
  1327. Mode = 'Beam'
  1328. hum.WalkSpeed = 0
  1329. do
  1330. local m0del = Instance.new('Model', char)
  1331. local wave = Instance.new('Part', m0del)
  1332. wave.CFrame = char.Head.CFrame * CFrame.new(0, 0, -10)
  1333. wave.TopSurface = 'Smooth'
  1334. wave.BottomSurface = 'Smooth'
  1335. wave.BrickColor = BrickColor.new('Bright green')
  1336. wave.Anchored = true
  1337. wave.FormFactor = 'Custom'
  1338. wave.Shape = 'Ball'
  1339. wave.CanCollide = false
  1340. wave.Transparency = 1
  1341. wave.Material = 'Neon'
  1342. wave.Size = Vector3.new(0.4, 0.4, 0.4)
  1343. local needaloop = true
  1344. beaming = true
  1345. local coro = coroutine.resume(coroutine.create(function()
  1346. while needaloop do
  1347. game:service('RunService').Stepped:wait()
  1348. local c = char
  1349. local radius = 25
  1350. local pos = wave.CFrame * CFrame.new(0, 0, 20)
  1351. local clrz = {
  1352. 'Really black',
  1353. 'Bright green'
  1354. }
  1355. for i = 1, 1 do
  1356. do
  1357. local clr = clrz[math.random(1, #clrz)]
  1358. pos = wave.CFrame * CFrame.new(0, 0, 2)
  1359. local p = Instance.new('Part', c)
  1360. local mafa = math.random(-360, 360)
  1361. p.CanCollide = false
  1362. p.Size = Vector3.new(1.3, 1.3, 1.3)
  1363. local m = Instance.new('SpecialMesh', p)
  1364. m.MeshType = 'Sphere'
  1365. spawn(function()
  1366. for i = 0, 50 do
  1367. local int, int2 = 0.05, 0.05
  1368. m.Scale = m.Scale - Vector3.new(int, int, int)
  1369. p.Transparency = p.Transparency + int2
  1370. game:service('RunService').Stepped:wait()
  1371. end
  1372. pcall(function()
  1373. p:Destroy()
  1374. end)
  1375. end)
  1376. p.BrickColor = BrickColor.new(clr)
  1377. p.Material = 'Neon'
  1378. p.CFrame = pos * CFrame.new(math.random(-radius, radius), math.random(-radius, radius), math.random(-radius, radius)) * CFrame.Angles(mafa, mafa, mafa)
  1379. local bp = Instance.new('BodyPosition', p)
  1380. bp.MaxForce = Vector3.new(1 / 0, 1 / 0, 1 / 0)
  1381. bp.D = 100
  1382. bp.P = 300
  1383. bp.Position = pos.p
  1384. game.Debris:AddItem(p, 10)
  1385. end
  1386. end
  1387. end
  1388. end))
  1389. local nbeamy = beamy:Clone()
  1390. nbeamy.Parent = char
  1391. coroutine.wrap(function()
  1392. local Ringz = {}
  1393. for i, v in pairs(nbeamy:children('')) do
  1394. if v.Name:lower():find('ring') then
  1395. table.insert(Ringz, v)
  1396. end
  1397. end
  1398. local Rot = 0
  1399. while nbeamy do
  1400. Rot = Rot + 0.035
  1401. if Rot >= 360 then
  1402. Rot = 0
  1403. end
  1404. for q, e in pairs(Ringz) do
  1405. pcall(function()
  1406. if e.Name ~= 'Ring7' then
  1407. e.qCFrameWeldThingy.C0 = e.qCFrameWeldThingy.C0 * CFrame.Angles(0, 0, math.rad(e.Name ~= 'Ring4' and Rot or -Rot))
  1408. end
  1409. end)
  1410. end
  1411. game:service('RunService').Stepped:wait()
  1412. end
  1413. end)()
  1414. local bp = Instance.new('BodyPosition', nbeamy.FireFrom)
  1415. bp.MaxForce = Vector3.new(1 / 0, 1 / 0, 1 / 0)
  1416. bp.D = 100
  1417. bp.P = 1000
  1418. bp.Position = (char.Head.CFrame * CFrame.new(10, 20, -5)).p
  1419. for awe = 1, 250 do
  1420. wave.CFrame = char.Head.CFrame * CFrame.new(10, 20, -5)
  1421. nbeamy.FireFrom.CFrame = nbeamy.FireFrom.CFrame:lerp(CFrame.new(wave.CFrame.p, mouse.Hit.p) * CFrame.Angles(math.rad(180), 0, 0), 1)
  1422. bp.Position = (char.Head.CFrame * CFrame.new(10, 20, -5)).p
  1423. wave.Size = Vector3.new(wave.Size.X + 0.1, wave.Size.Y + 0.1, wave.Size.Z + 0.1)
  1424. game:service('RunService').Stepped:wait()
  1425. end
  1426. needaloop = false
  1427. local beam = Instance.new('Part', m0del)
  1428. beam.TopSurface = 'Smooth'
  1429. beam.BottomSurface = 'Smooth'
  1430. beam.Material = 'Neon'
  1431. beam.Transparency = 0.6
  1432. beam.Anchored = true
  1433. beam.BrickColor = BrickColor.new('Bright green')
  1434. beam.CanCollide = false
  1435. local mesh = Instance.new('CylinderMesh', beam)
  1436. local realbeam = beam:Clone()
  1437. realbeam.Parent = m0del
  1438. realbeam.Color = Color3.new(0, 0.7843137254901961, 0)
  1439. realbeam.Transparency = 0.1
  1440. realbeam.CFrame = wave.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1441. beam.CFrame = wave.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1442. beam.Size = Vector3.new(23, 5, 23)
  1443. realbeam.Size = Vector3.new(24, 5, 24)
  1444. local p = wave:Clone()
  1445. p.Parent = m0del
  1446. p.Anchored = true
  1447. p.Transparency = 1
  1448. p.Size = Vector3.new(10, 10, 10)
  1449. local Damaged = {}
  1450. for HAAA = 1, 500 do
  1451. do
  1452. local starthere = char.Head.CFrame * CFrame.new(10, 20, -5)
  1453. local idek = Ray.new(starthere.p, (mouse.Hit.p - starthere.p).unit * 1000)
  1454. local thx = {char, m0del}
  1455. table.insert(thx, p)
  1456. local Bonk, ovhere = workspace:FindPartOnRayWithIgnoreList(idek, thx)
  1457. local meg
  1458. p.Transparency = 1
  1459. if Bonk and Bonk.Parent:findFirstChild('Humanoid') then
  1460. do
  1461. local dionamuh = Bonk.Parent:findFirstChild('Humanoid')
  1462. if Damaged[dionamuh] and tick() - Damaged[dionamuh] > 0.05 then
  1463. Damaged[dionamuh] = tick()
  1464. pcall(function()
  1465. dionamuh.Health = dionamuh.Health - 2
  1466. end)
  1467. elseif not Damaged[dionamuh] then
  1468. Damaged[dionamuh] = tick()
  1469. end
  1470. end
  1471. end
  1472. meg = (starthere.p - ovhere).magnitude
  1473. coroutine.wrap(function()
  1474. local asd = Instance.new('Part', char)
  1475. asd.CFrame = CFrame.new(ovhere) * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)))
  1476. asd.Size = Vector3.new(5, 5, 5)
  1477. asd.Reflectance = 0.4
  1478. asd.Transparency = 0.05
  1479. asd.TopSurface, asd.BottomSurface = 0, 0
  1480. asd.CanCollide = false
  1481. asd.Color = Color3.new(0, 0.5882352941176471, 0)
  1482. asd.Anchored = true
  1483. asd.Locked = true
  1484. wait()
  1485. for i = 0.05, 1, 0.05 do
  1486. asd.Transparency = i
  1487. asd.Size = asd.Size + Vector3.new(0.2, 0.2, 0.2)
  1488. game:service('RunService').Stepped:wait()
  1489. end
  1490. asd:Destroy()
  1491. end)()
  1492. game:service('RunService').Stepped:wait()
  1493. realbeam.Size = Vector3.new(3.5, meg, 3.5)
  1494. beam.Size = Vector3.new(2.5, meg, 2.5)
  1495. realbeam.CFrame = CFrame.new(starthere.p, ovhere) * CFrame.new(0, 0, -meg / 2) * CFrame.Angles(math.rad(90), 0, 0)
  1496. beam.CFrame = CFrame.new(starthere.p, ovhere) * CFrame.new(0, 0, -meg / 2) * CFrame.Angles(math.rad(90), 0, 0)
  1497. pcall(function()
  1498. nbeamy.FireFrom.CFrame = nbeamy.FireFrom.CFrame:lerp(CFrame.new(starthere.p, ovhere) * CFrame.new(0, 0, 2) * CFrame.Angles(math.rad(180), 0, 0), 1)
  1499. end)
  1500. bp.Position = (char.Head.CFrame * CFrame.new(10, 20, -5)).p
  1501. wave.CFrame = starthere
  1502. end
  1503. end
  1504. nbeamy.FireFrom.Anchored = true
  1505. p:Destroy()
  1506. for i = 0, 1, 0.05 do
  1507. realbeam.Transparency = i
  1508. wave.Transparency = i
  1509. beam.Transparency = i
  1510. game:service('RunService').Stepped:wait()
  1511. end
  1512. nbeamy:Destroy()
  1513. beaming = false
  1514. m0del:Destroy()
  1515. hum.WalkSpeed = 8
  1516. otheranims = false
  1517. end
  1518. elseif k == 'c' then
  1519. if Sheathed then
  1520. otheranims = true
  1521. Mode = 'Sheath'
  1522. wait(0.7)
  1523. raw.Part0 = ra
  1524. law.Part0 = la
  1525. raw.C0 = rawc0
  1526. law.C0 = lawc0
  1527. Sheathed = false
  1528. otheranims = false
  1529. return
  1530. end
  1531. otheranims = true
  1532. hum.WalkSpeed = 0
  1533. Mode = 'Stabbing1'
  1534. wait(0.7)
  1535. Mode = 'Stabbing2'
  1536. do
  1537. local Parts = {}
  1538. local Damaged = {}
  1539. for i = 1, 360, 20 do
  1540. do
  1541. local s = Instance.new('Part', char)
  1542. table.insert(Parts, s)
  1543. s.Name = 'Spikey'
  1544. s.CFrame = Torso.CFrame * CFrame.new(0, -10, 0)
  1545. s.Size = Vector3.new(1, 1, 1)
  1546. s.CanCollide = false
  1547. s.Anchored = true
  1548. s.BrickColor = BrickColor.new('Bright green')
  1549. s.Locked = true
  1550. s.Name = 's'
  1551. s.Material = 'Neon'
  1552. s.Size = Vector3.new(1, 1, 1)
  1553. s.BottomSurface = Enum.SurfaceType.Smooth
  1554. s.TopSurface = Enum.SurfaceType.Smooth
  1555. local PurpleMesh = Instance.new('SpecialMesh', s)
  1556. PurpleMesh.MeshType = Enum.MeshType.FileMesh
  1557. PurpleMesh.Name = 'Mesh'
  1558. PurpleMesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  1559. PurpleMesh.MeshId = 'http://www.roblox.com/Asset/?id=9756362'
  1560. PurpleMesh.VertexColor = Vector3.new(1, 0, 1)
  1561. local qwe = -10
  1562. coroutine.wrap(function()
  1563. while s do
  1564. if qwe >= -1 then
  1565. qwe = 0
  1566. else
  1567. qwe = qwe + 0.4
  1568. end
  1569. s.CFrame = s.CFrame:lerp(CFrame.new(Torso.CFrame.p) * CFrame.new(0, qwe, 0) * CFrame.Angles(0, 0, 0) * CFrame.Angles(0, math.rad(i), 0) * CFrame.new(0, 0, -20), 0.3)
  1570. game:service('RunService').Stepped:wait()
  1571. end
  1572. end)()
  1573. coroutine.wrap(function()
  1574. repeat
  1575. wait()
  1576. until qwe >= -1
  1577. for i = 0.5, 2, 0.025 do
  1578. PurpleMesh.Scale = Vector3.new(i, i * 2, i)
  1579. game:service('RunService').Stepped:wait()
  1580. end
  1581. local it = Instance.new
  1582. local vt = Vector3.new
  1583. local cf = CFrame.new
  1584. local euler = CFrame.fromEulerAnglesXYZ
  1585. local angles = CFrame.Angles
  1586. local NoOutline = function(Part)
  1587. Part.TopSurface, Part.BottomSurface, Part.LeftSurface, Part.RightSurface, Part.FrontSurface, Part.BackSurface = 10, 10, 10, 10, 10, 10
  1588. end
  1589. local function part(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  1590. local fp = Instance.new('Part')
  1591. fp.formFactor = formfactor
  1592. fp.Parent = parent
  1593. fp.Reflectance = reflectance
  1594. fp.Transparency = transparency
  1595. fp.CanCollide = false
  1596. fp.Locked = true
  1597. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  1598. fp.Name = name
  1599. fp.Size = size
  1600. fp.Position = Torso.Position
  1601. fp.Material = material
  1602. fp:BreakJoints()
  1603. return fp
  1604. end
  1605. local function mesh(Mesh, part, meshtype, meshid, offset, scale)
  1606. local mesh = it(Mesh)
  1607. mesh.Parent = part
  1608. if Mesh == 'SpecialMesh' then
  1609. mesh.MeshType = meshtype
  1610. mesh.MeshId = meshid
  1611. end
  1612. mesh.Offset = offset
  1613. mesh.Scale = scale
  1614. return mesh
  1615. end
  1616. local function weld(parent, part0, part1, c0, c1)
  1617. local weld = it('Weld')
  1618. weld.Parent = parent
  1619. weld.Part0 = part0
  1620. weld.Part1 = part1
  1621. weld.C0 = c0
  1622. weld.C1 = c1
  1623. return weld
  1624. end
  1625. local function BreakEffect(brickcolor, cframe, x1, y1, z1)
  1626. local prt = part('Custom', char, 'Neon', 0, 0, brickcolor, 'Effect', vt(0.5, 0.5, 0.5))
  1627. prt.Anchored = true
  1628. prt.CFrame = cframe * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1629. local msh = mesh('SpecialMesh', prt, 'Sphere', '', vt(0, 0, 0), vt(x1, y1, z1))
  1630. coroutine.resume(coroutine.create(function(Part, CF, Numbb, randnumb)
  1631. CF = Part.CFrame
  1632. Numbb = 0
  1633. randnumb = math.random() - math.random()
  1634. for i = 0, 1, 0.05 do
  1635. wait()
  1636. CF = CF * cf(0, 1, 0)
  1637. Part.CFrame = CF * euler(Numbb, 0, 0)
  1638. Part.Transparency = i
  1639. Numbb = Numbb + randnumb
  1640. end
  1641. Part.Parent = nil
  1642. end), prt)
  1643. end
  1644. for i = 1, 3 do
  1645. BreakEffect(BrickColor.new('Bright green'), s.CFrame, 0.5, math.random(5, 10), 0.5)
  1646. end
  1647. coroutine.wrap(function()
  1648. for i, v in pairs(IsNear(Torso.Position, 35, nil, true)) do
  1649. if v ~= Char then
  1650. if Damaged[v:FindFirstChild('Humanoid')] and tick() - Damaged[v:FindFirstChild('Humanoid')] < 0.5 then
  1651. return
  1652. end
  1653. v:FindFirstChild('Humanoid').Health = v:findFirstChild('Humanoid').Health - 25
  1654. v:findFirstChild('Humanoid').PlatformStand = true
  1655. local vu = Instance.new('BodyVelocity', v:findFirstChild('Torso'))
  1656. vu.P = 500
  1657. vu.maxForce = Vector3.new(10000000000, 5.0E21, 100000000000)
  1658. vu.velocity = Head.CFrame.lookVector * 60
  1659. game:GetService('Debris'):AddItem(vu, 0.267)
  1660. Damaged[v:FindFirstChild('Humanoid')] = tick()
  1661. end
  1662. end
  1663. end)()
  1664. s:Destroy()
  1665. end)()
  1666. game:service('RunService').Stepped:wait()
  1667. end
  1668. end
  1669. wait(3)
  1670. hum.WalkSpeed = 8
  1671. otheranims = false
  1672. end
  1673. end
  1674. end)
  1675. mouse.KeyUp:connect(function(k)
  1676. if k:byte() == 48 then
  1677. coroutine.wrap(function()
  1678. for i = 60, 70 do
  1679. camera.FieldOfView = i
  1680. wait()
  1681. end
  1682. end)()
  1683. hum.WalkSpeed = 8
  1684. elseif k:byte() == 50 then
  1685. Ctrl = false
  1686. elseif k == 'g' then
  1687. Shielding = false
  1688. otheranims = false
  1689. end
  1690. end)
  1691. game.Lighting.TimeOfDay = '06:10:00'
  1692. pcall(game.Destroy, game:service('Lighting'):findFirstChild('SunRayz'))
  1693. local sr = Instance.new('SunRaysEffect', game.Lighting)
  1694. sr.Intensity = 0.1
  1695. sr.Name = 'SunRayz'
  1696. hum.JumpPower = 10
  1697. Jumping = false
  1698. lastCtrl = tick()
  1699. Character.Humanoid.Jumping:connect(function()
  1700. if Jumping then
  1701. return
  1702. end
  1703. local eCtrl = Ctrl
  1704. if eCtrl then
  1705. if tick() - lastCtrl < 0.2 then
  1706. eCtrl = false
  1707. end
  1708. lastCtrl = tick()
  1709. end
  1710. Mode = 'Jumping'
  1711. Jumping = true
  1712. local vu = Instance.new('BodyVelocity', Torso)
  1713. vu.P = 500
  1714. vu.maxForce = Vector3.new(10000000000, 5.0E21, 100000000000)
  1715. vu.velocity = Vector3.new(Head.CFrame.lookVector.X * (eCtrl and 60 or 10), eCtrl and 10 or 20, Head.CFrame.lookVector.Z * (eCtrl and 60 or 10))
  1716. game:GetService('Debris'):AddItem(vu, 0.267)
  1717. wait(0.7)
  1718. Jumping = false
  1719. end)
  1720. spawn(function()
  1721. while true do
  1722. local Size = Vector3.new(TrailPart.Size.X, TrailPart.Size.Y, TrailPart.Size.Z)
  1723. if Slash == true then
  1724. local P1 = (TrailPart.CFrame * CFrame.new(Size / 2)).p
  1725. local P2 = (TrailPart.CFrame * CFrame.new(Size / -2)).p
  1726. if LastTrail then
  1727. local p1 = CreateTriangle(Char, LastTrail[2], LastTrail[1], P2)
  1728. local p2 = CreateTriangle(Char, LastTrail[1], P1, P2)
  1729. Trails[#Trails + 1] = p1
  1730. Trails[#Trails + 1] = p2
  1731. end
  1732. LastTrail = {P1, P2}
  1733. else
  1734. LastTrail = nil
  1735. end
  1736. for i, v in pairs(Trails) do
  1737. v:SetProperty('Transparency', v:GetProperty('Transparency') + 0.1)
  1738. if 1 <= v:GetProperty('Transparency') then
  1739. v:Destroy()
  1740. Trails[i] = nil
  1741. end
  1742. end
  1743. rwait(0.5)
  1744. end
  1745. end)
  1746. SlashDamage = Damage(TrailPart)
  1747. local count = 0
  1748. local t = tick()
  1749. local Smooth = 1
  1750. local sine = 0
  1751. local change = 1
  1752. coroutine.wrap(function()
  1753. game:service('RunService').Heartbeat:connect(function()
  1754. local torso = char:FindFirstChild('Torso')
  1755. local mg = Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude
  1756. if not otheranims then
  1757. if mg < 3 and not Jumping then
  1758. Mode = 'Idling'
  1759. elseif mg > 3 and mg < 10 and not Jumping then
  1760. Mode = 'Walking'
  1761. elseif mg > 10 and not Jumping then
  1762. Mode = 'Running'
  1763. elseif Jumping and Vector3.new(0, torso.Velocity.y, 0).magnitude > 2 and mg > 1 then
  1764. Mode = 'Jumping'
  1765. end
  1766. end
  1767. count = count % 100 + 0.2 * hum.WalkSpeed / 6.5
  1768. angle = math.pi * math.sin(math.pi * 2 / 100 * count)
  1769. t = t + 0.2 * Smooth
  1770. sine = sine + change
  1771. if Mode == 'Jumping' then
  1772. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.6, -0.6) * CFrame.Angles(0, -math.rad(10), 0), 0.4)
  1773. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.4, -0.3), 0.4)
  1774. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), 0, 0), 0.4)
  1775. lerp(lm, lm.C0, lsc0 * CFrame.Angles(-math.rad(20), 0, -math.rad(30)), 0.4)
  1776. lerp(rm, rm.C0, rsc0 * CFrame.Angles(-math.rad(20), 0, math.rad(30)), 0.4)
  1777. lerp(rj, rj.C0, rootc0 * CFrame.Angles(math.rad(20), 0, 0), 0.4)
  1778. elseif Mode == 'Idling' then
  1779. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, math.sin(t / 20) / 7, 0) * CFrame.Angles(0, -math.rad(0), math.rad(8)), 0.3)
  1780. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, math.sin(t / 20) / 7, 0) * CFrame.Angles(0, 0, -math.rad(8)), 0.3)
  1781. if not Sheathed then
  1782. lerp(neck, neck.C0, neckc0 * CFrame.new(0, -math.cos(t / 20) / 7, 0) * CFrame.Angles(-1 * math.cos(t / 20) / 7, -math.rad(15), 0), 0.2)
  1783. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.sin(t / 20) / 7, -math.rad(5), -math.rad(20)), 0.2)
  1784. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t / 20) / 7, math.rad(5), math.rad(20)), 0.2)
  1785. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -math.sin(t / 20) / 7) * CFrame.Angles(0, 0, math.rad(15)), 0.3)
  1786. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  1787. else
  1788. lerp(neck, neck.C0, neckc0 * CFrame.new(0, -math.sin(t / 20) / 15, 0) * CFrame.Angles(-2 * math.cos(t / 15) / 20, -math.rad(5), 0), 0.2)
  1789. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(math.sin(t / 20) / 20, -math.rad(5), -math.rad(10)), 0.2)
  1790. lerp(rm, rm.C0, rsc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(math.rad(Grabbed and 120 or 0) + math.sin(t / 20) / 15, math.rad(5), math.rad(Grabbed and 20 or 0) + math.rad(10)), 0.2)
  1791. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -math.sin(t / 20) / 15) * CFrame.Angles(0, 0, math.rad(5)), 0.3)
  1792. end
  1793. elseif Mode == 'Walking' then
  1794. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3 * math.cos(sine / 14) / 2, -0.05 + -math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + math.sin(sine / 14) / 2.3, 0, 0), 0.4)
  1795. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3 * -math.cos(sine / 14) / 2, -0.05 + math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + -math.sin(sine / 14) / 2.3, 0, 0), 0.4)
  1796. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3 + 2 * math.cos(sine / 7)), math.rad(0 - 3 * math.cos(sine / 14)), math.rad(0)), 0.2)
  1797. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0.03 * math.cos(sine / 9), -math.sin(sine / 20) / 6) * CFrame.Angles(-math.rad(20 * math.cos(sine / 17)), math.rad(0), -math.rad(12)), 0.2)
  1798. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0.03 * math.cos(sine / 9), math.sin(sine / 20) / 6) * CFrame.Angles(math.rad(Grabbed and 120 or 0) + math.rad(20 * math.cos(sine / 17)), math.rad(0), math.rad(Grabbed and 20 or 0) + math.rad(12)), 0.2)
  1799. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1 * math.cos(sine / 7), 0) * CFrame.Angles(math.rad(2 + 2 * math.cos(sine / 7)), 0, math.rad(0 + 3 * math.cos(sine / 14))), 0.2)
  1800. if not Sheathed then
  1801. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  1802. end
  1803. elseif Mode == 'Running' then
  1804. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3 * math.cos(sine / 10) / 2, -0.05 + -math.sin(sine / 10) / 2) * CFrame.Angles(math.rad(-18) + math.sin(sine / 10) / 2, 0, 0), 0.4)
  1805. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3 * -math.cos(sine / 10) / 2, -0.05 + math.sin(sine / 10) / 2) * CFrame.Angles(math.rad(-18) + -math.sin(sine / 10) / 2, 0, 0), 0.4)
  1806. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(6 + 6 * math.cos(sine / 10) / 2), math.rad(0), math.rad(0)), 0.2)
  1807. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(-10 - 20 * math.cos(sine / 10) / 5), -math.rad(-40 + 10 * math.cos(sine / 10) / 5), -math.rad(50 - 10 * math.cos(sine / 10) / 5)), 0.2)
  1808. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(-10 - 20 * math.cos(sine / 10) / 5), math.rad(-40 + 10 * math.cos(sine / 10) / 5), math.rad(50 - 10 * math.cos(sine / 10) / 5)), 0.2)
  1809. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1 + 0.2 * math.cos(sine / 10) / 2, 0) * CFrame.Angles(math.rad(14 + 10 * math.cos(sine / 10) / 2), -math.cos(t / 6) / 30 + math.sin(rootpart.RotVelocity.y / 2) / 6, math.rad(0)), 0.2)
  1810. if not Sheathed then
  1811. lerp(raw, raw.C0, rawc0 * CFrame.Angles(0, 0, 0), 1)
  1812. end
  1813. elseif Mode == 'Sheath' then
  1814. if mg > 3 and mg < 18 then
  1815. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3 * math.cos(sine / 14) / 2, -0.05 + -math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + math.sin(sine / 14) / 2.3, 0, 0), 0.4)
  1816. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3 * -math.cos(sine / 14) / 2, -0.05 + math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + -math.sin(sine / 14) / 2.3, 0, 0), 0.4)
  1817. else
  1818. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, math.sin(t / 15) / 15, 0) * CFrame.Angles(0, -math.rad(0), math.rad(8)), 0.3)
  1819. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, math.sin(t / 15) / 15, 0) * CFrame.Angles(0, 0, -math.rad(8)), 0.3)
  1820. end
  1821. lerp(neck, neck.C0, neckc0 * CFrame.new(0, math.sin(t / 15) / 15, 0) * CFrame.Angles(-1 * math.cos(t / 25) / 10, -math.rad(15), 0), 0.2)
  1822. lerp(lm, lm.C0, lsc0 * CFrame.Angles(math.rad(10), math.rad(120), -math.rad(60)), 0.2)
  1823. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0.6, -0.2) * CFrame.Angles(math.rad(175), math.rad(0), math.rad(20)), 0.2)
  1824. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -math.sin(t / 15) / 15) * CFrame.Angles(0, 0, math.rad(15)), 0.3)
  1825. if not Sheathed then
  1826. lerp(raw, raw.C0, rawc0 * CFrame.new(-0.5, -1.6, -0.85) * CFrame.Angles(math.rad(92), math.rad(26), math.rad(90)), 1)
  1827. end
  1828. elseif Mode == 'Slash11' then
  1829. if mg > 3 then
  1830. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3 + 2 * math.cos(sine / 7)), math.rad(0 - 3 * math.cos(sine / 14)), math.rad(0)), 0.6)
  1831. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1 * math.cos(sine / 7), 0) * CFrame.Angles(math.rad(2 + 2 * math.cos(sine / 7)), 0, math.rad(0 + 3 * math.cos(sine / 14))), 0.6)
  1832. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3 * math.cos(sine / 14) / 2, -0.05 + -math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + math.sin(sine / 14) / 2.3, 0, 0), 0.6)
  1833. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3 * -math.cos(sine / 14) / 2, -0.05 + math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + -math.sin(sine / 14) / 2.3, 0, 0), 0.6)
  1834. else
  1835. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), 0.6)
  1836. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.2, -0.6) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.6)
  1837. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(0)), 0.6)
  1838. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), 0.6)
  1839. end
  1840. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1841. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(60), -math.rad(60), math.rad(110)), 0.6)
  1842. if not Sheathed then
  1843. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1.2, 0) * CFrame.Angles(-math.rad(20), 0, math.rad(90)), 1)
  1844. end
  1845. elseif Mode == 'Slash12' then
  1846. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(10), -math.rad(60), math.rad(10)), 0.6)
  1847. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(-math.rad(10), math.rad(0), -math.rad(10)), 0.6)
  1848. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(30), -math.rad(70), math.rad(30)), 0.6)
  1849. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), 0.6)
  1850. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(50), math.rad(40)), 0.6)
  1851. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(90)), 0.6)
  1852. if not Sheathed then
  1853. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, -0.5) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(60)), 1)
  1854. end
  1855. elseif Mode == 'Slash31' then
  1856. if mg > 3 then
  1857. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3 + 2 * math.cos(sine / 7)), math.rad(0 - 3 * math.cos(sine / 14)), math.rad(0)), 0.6)
  1858. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1 * math.cos(sine / 7), 0) * CFrame.Angles(math.rad(2 + 2 * math.cos(sine / 7)), 0, math.rad(0 + 3 * math.cos(sine / 14))), 0.6)
  1859. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3 * math.cos(sine / 14) / 2, -0.05 + -math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + math.sin(sine / 14) / 2.3, 0, 0), 0.6)
  1860. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3 * -math.cos(sine / 14) / 2, -0.05 + math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + -math.sin(sine / 14) / 2.3, 0, 0), 0.6)
  1861. else
  1862. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(math.rad(10), 0, 0), 0.4)
  1863. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(0), math.rad(5), -math.rad(5)), 0.4)
  1864. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(15), math.rad(15), math.rad(0)), 0.6)
  1865. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, -math.rad(15)), 0.6)
  1866. end
  1867. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(10), -math.rad(20)), 0.6)
  1868. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(60), -math.rad(60), math.rad(110)), 0.6)
  1869. if not Sheathed then
  1870. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1.2, 0) * CFrame.Angles(-math.rad(20), 0, math.rad(90)), 1)
  1871. end
  1872. elseif Mode == 'Slash32' then
  1873. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(10), -math.rad(30), math.rad(10)), 0.6)
  1874. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(-math.rad(20), math.rad(0), -math.rad(20)), 0.6)
  1875. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), -math.rad(50), math.rad(20)), 0.6)
  1876. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), 0.6)
  1877. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(50), math.rad(50), math.rad(50)), 0.6)
  1878. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(60)), 0.6)
  1879. if not Sheathed then
  1880. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, 0) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(90)), 1)
  1881. end
  1882. elseif Mode == 'Slash21' then
  1883. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(10), -math.rad(30), math.rad(10)), 0.6)
  1884. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(10), math.rad(0), -math.rad(10)), 0.6)
  1885. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(10), -math.rad(20), math.rad(10)), 0.6)
  1886. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(20), -math.rad(20)), 0.6)
  1887. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(10), math.rad(60)), 0.6)
  1888. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(40)), 0.6)
  1889. if not Sheathed then
  1890. lerp(raw, raw.C0, rawc0 * CFrame.new(-1, -1, -0.5) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(60)), 1)
  1891. end
  1892. elseif Mode == 'Bash11' then
  1893. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), 0.6)
  1894. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.2, -0.6) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.6)
  1895. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(0)), 0.6)
  1896. lerp(lm, lm.C0, lsc0 * CFrame.new(0, -0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1897. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t / 15) / 15, math.rad(5), math.rad(20)), 0.2)
  1898. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), 0.6)
  1899. if not Sheathed then
  1900. lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1901. end
  1902. elseif Mode == 'Kneeling' then
  1903. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, -0.5, -0.3) * CFrame.Angles(-math.rad(90), math.rad(0), math.rad(0)), 0.6)
  1904. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 1, -0.6) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1905. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(30), math.rad(0), -math.rad(0)), 0.6)
  1906. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(20)), 0.6)
  1907. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(90), math.rad(5), math.rad(20)), 0.2)
  1908. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(0)), 0.6)
  1909. if not Sheathed then
  1910. lerp(raw, raw.C0, rawc0 * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1)
  1911. end
  1912. elseif Mode == 'Stomp1' then
  1913. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.85, -0.4) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6)
  1914. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1915. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1916. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(30)), 0.6)
  1917. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(140), math.rad(0), -math.rad(30)), 0.6)
  1918. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1919. if not Sheathed then
  1920. lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1921. end
  1922. elseif Mode == 'Stomp2' then
  1923. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.1, -0.4) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.6)
  1924. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1925. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1926. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(30), -math.rad(30)), 0.6)
  1927. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), -math.rad(30), math.rad(30)), 0.6)
  1928. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1929. if not Sheathed then
  1930. lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1931. end
  1932. elseif Mode == 'Knee' then
  1933. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(25), math.rad(0), math.rad(0)), 0.6)
  1934. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.75, -1.2) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1935. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1936. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), math.rad(30), -math.rad(30)), 0.6)
  1937. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(20), -math.rad(30), math.rad(30)), 0.6)
  1938. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -0.3, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1939. if not Sheathed then
  1940. lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1941. end
  1942. elseif Mode == 'Grabbing' then
  1943. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, -math.rad(0), math.rad(8)), 0.3)
  1944. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -math.rad(8)), 0.3)
  1945. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, -math.rad(0), 0), 0.2)
  1946. lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, -math.rad(5), -math.rad(20)), 0.2)
  1947. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.rad(90), math.rad(5), math.rad(20)), 0.2)
  1948. elseif Mode == 'Throw1' then
  1949. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, -0.3) * CFrame.Angles(math.rad(10), -math.rad(30), math.rad(10)), 0.6)
  1950. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -0.2, 0) * CFrame.Angles(-math.rad(20), math.rad(0), -math.rad(20)), 0.6)
  1951. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(20), -math.rad(50), math.rad(20)), 0.6)
  1952. lerp(lm, lm.C0, lsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(30)), 0.6)
  1953. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(80), math.rad(50), math.rad(50)), 0.6)
  1954. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.1) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(60)), 0.6)
  1955. elseif Mode == 'Beam' then
  1956. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, -math.rad(0), math.rad(8)), 0.3)
  1957. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -math.rad(8)), 0.3)
  1958. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(0, -math.rad(0), 0), 0.2)
  1959. lerp(lm, lm.C0, lsc0 * CFrame.Angles(0, -math.rad(5), -math.rad(20)), 0.2)
  1960. lerp(rm, rm.C0, rsc0 * CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(170), math.rad(5), math.rad(20)), 0.2)
  1961. elseif Mode == 'Shielding' then
  1962. if mg > 3 then
  1963. lerp(lm, lm.C0, lsc0 * CFrame.new(0.7, -0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(85)), 0.6)
  1964. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t / 15) / 15, math.rad(5), math.rad(20)), 0.2)
  1965. lerp(neck, neck.C0, neckc0 * CFrame.Angles(math.rad(-3 + 2 * math.cos(sine / 7)), math.rad(0 - 3 * math.cos(sine / 14)), math.rad(0)), 0.6)
  1966. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0.1 * math.cos(sine / 7), 0) * CFrame.Angles(math.rad(2 + 2 * math.cos(sine / 7)), 0, math.rad(0 + 3 * math.cos(sine / 14))), 0.6)
  1967. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.3 * math.cos(sine / 14) / 2, -0.05 + -math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + math.sin(sine / 14) / 2.3, 0, 0), 0.6)
  1968. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.3 * -math.cos(sine / 14) / 2, -0.05 + math.sin(sine / 14) / 2) * CFrame.Angles(math.rad(-18) + -math.sin(sine / 14) / 2.3, 0, 0), 0.6)
  1969. else
  1970. lerp(lm, lm.C0, lsc0 * CFrame.new(0.1, -0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(60)), 0.6)
  1971. lerp(rm, rm.C0, rsc0 * CFrame.Angles(math.sin(t / 15) / 15, math.rad(5), math.rad(20)), 0.2)
  1972. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.2, 0) * CFrame.Angles(-math.rad(40), math.rad(30), math.rad(20)), 0.6)
  1973. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0.2, -0.6) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)), 0.6)
  1974. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), -math.rad(0)), 0.6)
  1975. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(30)), 0.6)
  1976. end
  1977. if not Sheathed then
  1978. lerp(raw, raw.C0, rawc0 * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 1)
  1979. end
  1980. elseif Mode == 'Stabbing1' then
  1981. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.85, -0.4) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.6)
  1982. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1983. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.6)
  1984. lerp(lm, lm.C0, lsc0 * CFrame.new(0.5, 0.5, 0) * CFrame.Angles(math.rad(130), math.rad(0), math.rad(40)), 0.6)
  1985. lerp(rm, rm.C0, rsc0 * CFrame.new(-0.5, 0.5, 0) * CFrame.Angles(math.rad(130), math.rad(0), -math.rad(40)), 0.6)
  1986. lerp(rj, rj.C0, rootc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(15), math.rad(0), math.rad(0)), 0.6)
  1987. if not Sheathed then
  1988. lerp(raw, raw.C0, rawc0 * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1)
  1989. end
  1990. elseif Mode == 'Stabbing2' then
  1991. lerp(rlegm, rlegm.C0, rlc0 * CFrame.new(0, 0.4, -0.6) * CFrame.Angles(-math.rad(10), math.rad(0), math.rad(0)), 0.6)
  1992. lerp(llegm, llegm.C0, llc0 * CFrame.new(0, -0.5, -0.3) * CFrame.Angles(-math.rad(60), math.rad(0), math.rad(0)), 0.6)
  1993. lerp(neck, neck.C0, neckc0 * CFrame.new(0, 0, 0) * CFrame.Angles(-math.rad(0), math.rad(0), -math.rad(0)), 0.6)
  1994. lerp(lm, lm.C0, lsc0 * CFrame.new(0.5, 0.5, -0.8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(40)), 0.6)
  1995. lerp(rm, rm.C0, rsc0 * CFrame.new(-0.5, 0.5, -0.8) * CFrame.Angles(math.rad(90), math.rad(0), -math.rad(40)), 0.6)
  1996. lerp(rj, rj.C0, rootc0 * CFrame.new(0, -1, -0.7) * CFrame.Angles(math.rad(0), math.rad(0), -math.rad(0)), 0.6)
  1997. if not Sheathed then
  1998. lerp(raw, raw.C0, rawc0 * CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(180), math.rad(0), math.rad(0)), 1)
  1999. end
  2000. end
  2001. end)
  2002. end)()
  2003. coroutine.wrap(function()
  2004. for i = 1, 3 do
  2005. MediumParticleEmit(Head, 'Bright green')
  2006. wait(0.05)
  2007. MediumParticleEmit(Head, 'Really black')
  2008. wait(0.03)
  2009. end
  2010. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement