Advertisement
Demonlord27

viridis

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