ViggoCS

Virdis

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